How to enable Transmit / DDS for Transmit (Tx) DMA output buffer transfers for Tx 1 on the PicoZed SDR

Hi,

I'm attempting to enable the Transmit / DDS for Transmit (Tx) DMA output buffer transfers for Tx 1 on the PicoZed SDR through a script without the aid of the IIO Oscope application (and the associated IIO server daemon [iiod]).

From my understanding, in order to enable / activate the data for Tx1, I can use the following echo commands to set the following IIO parameters for the cf-ad94361-dds-core-lpc (iio:device2) device to a one (1):

   echo 1 > /sys/bus/iio/devices/iio:device2/scan_elements/out_voltage0_en

   echo 1 > /sys/bus/iio/devices/iio:device2/scan_elements/out_voltage1_en

   echo 1 > /sys/bus/iio/devices/iio:device2/buffer/enable

However, after I a script that contains these commands, it appears that when I write data to the DMA Tx buffer the spectrum doesn't appear to change as if the data isn't being written.

Am I missing something in order to enable the DAC output buffers for Tx1?

Any feedback would be appreciated.  I look forward to your response.

- Brad

Parents
  • Hi Travis,

    Thank you for your feedback and the GibHub links for examples on how to use the Tx DMA buffers and DDS subsystems.

    I will look into referencing those examples for properly initializing (and shutting down) the Tx / DDS DAC buffer outputs but for is there a way I can use the file descriptors found in the /sys/bus/iio/devices/iio:devicex directories to quickly verify which parameters needs to be initialized set the DDS Mode to use the DAC Buffer Output and allow so data can be passed through to the DAC and the corresponding Tx 1 output?

    - Brad

Reply
  • Hi Travis,

    Thank you for your feedback and the GibHub links for examples on how to use the Tx DMA buffers and DDS subsystems.

    I will look into referencing those examples for properly initializing (and shutting down) the Tx / DDS DAC buffer outputs but for is there a way I can use the file descriptors found in the /sys/bus/iio/devices/iio:devicex directories to quickly verify which parameters needs to be initialized set the DDS Mode to use the DAC Buffer Output and allow so data can be passed through to the DAC and the corresponding Tx 1 output?

    - Brad

Children
No Data