I tried to send and receive data using 2 FSCOMMS2 and 2 zedbaord, i use Matlab to controled this communication.
- Firstly, i connected Matlab (windows) and first Zedboard (to send with TX) and second Zedboard (to receive RX) using switch.
- Secondly, i create two object class iio_sys_obj_matlab with information to each target
se = iio_sys_obj_matlab; % Constructor for sending
se.ip_address = '10.1.25.141'; % first target
se.dev_name = 'ad9361';
se.in_ch_no = 2;
se.out_ch_no = 2;
se.in_ch_size = n; % n length of data
sr = iio_sys_obj_matlab; % Constructor for receiving
sr.ip_address = '10.1.25.143'; % second target
sr.dev_name = 'ad9361';
sr.in_ch_no = 2;
sr.out_ch_no = 2;
sr.in_ch_size = n;
sr.out_ch_size = n*5;
- I configured TX part for first target and RX part to the second target, and i usined to receive this loop
for i = 1:5
output = stepImpl(sr, inputr);
This steps doesn't work, I can not retrieve the same data. Can someone help me ?