How to select the data source in example "HWSW Co-Design QPSK Transmit and Receive Using Analog Devices AD9361AD9364"

1 view (last 30 days)
Hello everyone,
I'm learning AD9361 through example "HWSW Co-Design QPSK Transmit and Receive Using Analog Devices AD9361AD9364". I find that there is two "bypass" IP cores in block design, one for tx and the other for rx. Let's take tx path for example, in my opinion, the purpose of this IP core is to select data source (from PL dut or from DMA), is it right? If it is right, then how does CPU control the "bypass" IP core to select the data source? Is there any register map information related to this IP core so that CPU can control it through specific register?

Answers (1)

Jieming Xu
Jieming Xu on 18 May 2021
Hi Xiaoxiao
Your understanding of the purpose of the IP cores is correct. The core is under the control of the MATLAB object/Simulink block property BypassUserLogic. Setting this value on the System object or Simulink block will set the core up correctly, this property is documented here. You can use code generation workflows to execute embedded C code on the processor, see the HW/SW co-design workflow.
Best regards,
Jieming Xu

Categories

Find more on Code Generation in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!