How to configure the FMCOMMS5 Transmitter & Receiver block to transmit data through a specific channel?

2 views (last 30 days)
Hi, I'm running the model "HW/SW Co-Design QPSK Transmit and Receive Using Analog Devices AD9361/AD9364". The default channel used in FMCOMMS5 block is channel 1 (TX1A_A & RX1A_A), and it works fine with the default value. Now I try to transmit and receive data through channel 2 (TX2A_A & RX2A_A), so I change the parameter "Channel Mapping" in FMCOMMS5 Transmitter & Receiver block into "2", as indicated in the following instruction:
However, in this case, I cannot receive anything in the diagnostic viewer. What's wrong with the configuration? Is there anything else I need to configure?

Accepted Answer

Lakshmi Bugide
Lakshmi Bugide on 15 Oct 2020
Hi,
By default, the model "HW/SW Co-Design QPSK Transmit and Receive Using Analog Devices AD9361/AD9364" is designed to work with Channel1 of the device. If you want to transmit and recieve with channel 2 , you need to map the Hardware generation Model (HDL_QPSK) interfaces to Channel2 Target Platform interfaces instead of Channel1 interfaces. You have to change the interfaces at Step 1.3 Set target Interface of IP Core Generation Workflow/https://ww2.mathworks.cn/help/supportpkg/xilinxzynqbasedradio/ug/hw-sw-co-design-qpsk-transmit-and-receive-using-analog-devices-ad9361-ad9364.html;jsessionid=b5a8b838ef5b95014eff2f7ae46c#d122e9019.
  2 Comments
Xiaoxiao Liu
Xiaoxiao Liu on 17 Oct 2020
Thanks for your reply!
The problem has now been solved, but I find that the error rate of receiving messages is very high, as shown in the figure below. I think it's abnormal. Since TX and Rx have been directly connected through the cable, it shows that the SNR is high enough, so the error rate should be very low. Why does this happen?
Arash Jafari
Arash Jafari on 28 Jun 2022
Hello Liu,
Please check the UART console of the carrier board during boot up, if the RX digital tune failed!
Kind Regards
Arash

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!