AnsweredAssumed Answered

Communication between 2 FMCOMMS2

Question asked by Musatafahaydar on Jul 13, 2016
Latest reply on Aug 29, 2016 by ACozma

Hi,

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

se.out_ch_size =n;

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);

end

 

This steps doesn't work, I can not retrieve  the same data. Can someone  help me ?

Outcomes