This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/AWR1243: A question about mmwavelink

Part Number: AWR1243

Tool/software: TI C/C++ Compiler

Hello,team

I have a question when I read mmwave DFP Non-OS example. Why PC can communicate with AWR1243 over SPI when I setting the master without slave? I think communicating over SPI need to set master and slave, but I couldn't find where the code about setting awr1243 is.

  • Hi,

    Setting of Master/slave needs to be set in rlSetChannelConfig API.

    Please look for the detail of this API and structure in rl_sensor.c/.h

    Regards,

    Jitendra

  • Thanks for your answer, but it's not answer I want.  In the example for SPI, we need to Initialize the master and slave. In this application, PC is the master and AWR1243 is the slaver.

    The first question, in my opinion, the mmwavelink is code that initialize the master's SPI interface. But where is the code that initialize the slave's SPI interface? Is the firmware include MSS and BSS?

    The second question, once powered up the awr1243, we can transfer message from host to device over SPI. Is right?  In other words, Whether or not awr1243 have a ability to receive the message over SPI because the code has been flashed?

  • Hi,

    Yes, the AWR1243 SPI is initialized in the firmware. And the AWR1243 can receive SPI message after boot up

    thank you

    Cesar