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.

AWR1243: SPI Communication Protocol

Part Number: AWR1243

Hello, 

From the trace log file from the AWR1243 BOOST set up, and from the AWR ICD,I noticed that the host sends the 0x5678 0x8765 0xFFFF .... 0xFFFF message on the channel.

This message signals that the host is ready to receive the messages from the AWR SPI slave device.  Is this message necessary for the communication protocol to work since the host is always the master and the AWR is always the slave ?

Is this message only necessary if we enable ACK based messaging ? If I do not want ACK based messaging (which I can enable from the command message flags), then can I get away with not having the host to send this 0x5678 message ? 

Thank you

RJ

  • Hello RJ,

    Yes, Your understanding is correct.

    If you disable the ACK and if host application calls API, mmWave device AWR1243 will not send host interrupt and so mmWaveLink will not write CNYS (0x5678 0x8765 0xFFFF...).

    But still if awr1243 wants to send Asynchronous event (Error/Status/Reports), it will raise Host irq and mmWaveLink will write CNYS (0x5678 0x8765 0xFFFF...). Though Asynchronous events are optional, it carries important information.

    Disabling ACK is not recommended as this doesn't gurantee that messages are correctly received by awr1243. Let us know for what reason, you want to disable the ACK

    Kaushal
  • Hi Kaushal:

    Thank you for your explanation. It is very helpful.

    I am not looking at disabling the ACK during setting up the device. It is a possibility that if the some aspects of the device set up takes a longer time for example setting up the biphase modulator for each chirp which would take one SPI message for configuration, CSYNC and ACK time will add more to the time it takes to set up the BPM for each chirp. In such a scenario, I may think of disabling ACK to reduce the total amount of SPI transactions.

    Regards,

    RJ