I use the Adalm Pluto SDR Active Learning Module,
for my thesis I am trying to configure the FIR Filter coefficients.
I already compiled a ftr. File but I can not transfer it on my chip.
iio = iio_sys_obj_matlab; iio.ip_address = '192.168.2.1'; iio.dev_name = 'ad9361'; iio.in_ch_no = 1; iio.out_ch_no = 1; iio = iio.setupImpl(); iio.writeFirData('somefilter.ftr');
Hi,Have you seen https://ez.analog.com/fpga/f/q-a/84214/ad9361-fir-setting-problem/70264#70264?Andrei
Moved to Virtual Classroom. Pluto questions go here.
Seems like I can load any filter and my
iio.writeFirData('SomeFilter.ftr') is always 0
What can be the Cause of an invaid Filter. I mean I created them with the Filter Wizard App
I wondering if there is some text encoding issue based on your region. We've seen issues with non-US versions of tools, but not really MATLAB yet. Mostly on the Xilinx side.
Can you load this filter: https://raw.githubusercontent.com/analogdevicesinc/iio-oscilloscope/master/filters/LTE10_MHz.ftr
No sorry. Still not working
iio.writeFirData('SomeFilter.ftr') is still 0
Can you send me each of the return codes for lines 335-347: https://github.com/analogdevicesinc/libiio/blob/bac1d5ef4ed70b422a55cd7c93b20ba943ec7631/bindings/matlab/iio_sys_obj_matlab.m#L335
This is the actual method called for writeFirData. Just use the MATLAB debugger and step in at the writeFirData call.
Thing I used the wrong iio_sys_obj_matlab
It is working with the version of you last git post
travisfcollins said: https://github.com/analogdevicesinc/libiio/blob/bac1d5ef4ed70b422a55cd7c93b20ba943ec7631/bindings/matlab/iio_sys_obj_matlab.m#L335
Ok good. Closing this issue now.