I was trying to implement the ADSB project all on the hardware (Part 4 of Four Quick Steps to Production: Using Model-Based Design for Software-Defined Radio) using ZCU102+AD9375 or maybe ZC706+AD9375 (I think this combination does not have BSP), so I am trying to build something like https://github.com/analogdevicesinc/MathWorks_tools/tree/2017b/targeting_models/ADSB . I was able to generate an hdl project through HDL Workflow Advisor and C codes using Matlab Coder. Now I want to generate a linux application and according to https://wiki.analog.com/resources/eval/user-guides/picozed_sdr/tutorials/adsb I should copy the files adsb_decode.c and makefile from https://github.com/analogdevicesinc/MathWorks_tools/tree/2017b/targeting_models/ADSB . But since I am not using AD9361 but AD9375, I should change the contents or recreate the file adsb_decode.c
Can you help me on how I could transform my files into a linux application or how I should change the contents of adsb_decode.c? If am missing or wrongdoing anything up to here, can you point it out.
You will have to rewrite adsb_decode.c to use the correct devices for AD9371/5. You will also need much more decimation in the FPGA since the minimum rate of the AD9371/5 is well above 4 MHz used in that application.
The latest BSP supports ZCU102 and ZC706 for AD9371/5 platforms.
I also have the same problem. Is there any documentation for adsb_decode.c for AD9371/5 or could you provide one?
Sorry no documentation or alternative versions exist for AD9371/5.
However, adsb_decode.c was created from: https://github.com/analogdevicesinc/libiio/blob/master/examples/ad9361-iiostream.c
We have a similar example for AD9371 you can start from: https://github.com/analogdevicesinc/libiio/blob/master/examples/ad9371-iiostream.c