AnsweredAssumed Answered

FMCOMMS2 DAC buffer control via Matlab

Question asked by strack on May 9, 2014
Latest reply on Jul 14, 2014 by dpu



I'm using Matlab as a front-end to drive an application, using IIO as the communication mechansim between the host PC and the ZedBoard/FMCOMMS2 target.  As such, I based my Matlab code on the examples in GitHub (iio-cmdsrv/clients/matlab ) and have been able to read/write registers on the AD9361 and move data buffers to/from the DDR on the ZedBoard.


My question is: How can I configure the length and enable the DAC buffer (cf-ad9361-dds-core-lpc device) using IIO commands from Matlab?  The buffer attribute has sub-attributes (length and enable) that do not appear to be directly controllable using existing commands in the provided Matlab IIO server (iio_cmdsrv.m).