Jump to content

NithinA

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by NithinA

  1. The issue was caused from a silly mistake at the software side where the mmap function was allocating a smaller memory for the DMA
  2. Hello, I am building a project where I need to use DMA to transfer data from PL to PS. I am following the tutorial given here. My board is Eclypse-Z7 and the application is a petalinux project. The project is working fine for small data transfers. When the size of the data is more than ~130kB, it fails. Can it be caused by lack of large contiguous memory in DDR? The width of the address bus is set to 26 in the AXI DMA IP. To debug the issue, i have slowed down the data which the AXI Stream sends to the DMA. For small data size, the DMA runs for a time enough to acquire the data from the AXI stream. When the number of bytes to be transferred is set to a high value, DMA stops immediately. Can anyone suggest ways to overcome this?
  3. Hello, Is there any way to control the sampling rate of the ZMOD ADC 1410 in a manner similar to the "frequencyDivider " parameter for the ZMOD DAC 1411 available in the ZMOD library?
  4. NithinA

    Stopping ZMOD DAC

    @Ana-Maria BalasThanks for all the help. The Linux project and the DAC is now working fine.
  5. NithinA

    Stopping ZMOD DAC

    Steps I followed 1) cloned the petalinux project git clone -b zmod_dac/master --single-branch https://github.com/Digilent/Eclypse-Z7-OS 2) Sourced the petalinux tools 3) Imported the new hardware (did not make any change in the configuration) petalinux-config --get-hw-description=<path to directory containing new .hdf> 4) Built the project petalinux-build 5) Packaged the project petalinux-package --boot --force --fsbl images/linux/zynq_fsbl.elf --u-boot 6) Copied the BOOT.BIN and image.ub into the boot partition of the SD card. (I am using the Debian 10 rootfs image) 7) Established the TCF agent in XSDK and ran the demo. I am seeing an error in the console saying "That is not a valid UIO device or map number. Check /sys/class/uio for more information about the available UIO devices". Can you point out the steps which are missing?
  6. NithinA

    Stopping ZMOD DAC

    @Ana-Maria Balas I was using the DAC demo for Linux. I tried executing the baremetal demo using the .hdf file you provided. The DAC is stopping in the baremetal project, but not in the Linux project.
  7. NithinA

    Stopping ZMOD DAC

    @Ana-Maria Balas I tried both the hdf file and the tcl scripts. The DAC is still not turning off. Should I update anything in the ZMOD library as well?
  8. NithinA

    Stopping ZMOD DAC

    Hello, I am working on a project where I need to control the ZMOD DAC 1411 to generate arbitrary waveforms. I am able to load the desired waveform into the buffer and start the DAC. But, when I try to use the stop() function available in the ZMOD library, the DAC does not stop. I can set the DAC output to 0V to mimic turning off (I could not find any data on the impedance offered by the DAC when it is off), but would like to know why the stop() function does not work. The zmod library can be found here.
  9. NithinA

    ZMOD ADC Trigger mode

    @JColvin Thanks for the answer. This is exactly what I needed to know.
  10. NithinA

    ZMOD ADC Trigger mode

    Hello, Can anyone explain the triggered polling method available for ZMODADC1410 module? What exactly is meant by the "window" parameter? Some details regarding the ZMOD ADC module can be found here.
  11. @futbol Thanks for the GitHub example. This is similar to what I need.
  12. The sampling need not be uninterrupted. It is enough to acquire a block of data limited by the memory available, then transfer it to PC and repeat the data acquisition. Currently, I do not have access to other FPGA platforms. If the board is operated in a Linux environment, can we change the values for threshold (mentioned in previous post) via software?
  13. Hello I am working on an application where I have to continuously sample a signal using ZMOD ADC 1410 (only one channel is required) at highest possible speed and send the data to a PC (preferably via ethernet). If the sampled value is greater than a threshold value, the ZMOD DAC 1411 should also output a voltage pulse from one of its channels. I would like to have the threshold value to be adjustable at runtime (preferably via software). I am new to Zync platform and any suggestions on how to proceed will be helpful.
×
×
  • Create New...