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.

CC2340R5: Problem about using ROM serial bootloader over SPI interface

Part Number: CC2340R5

Tool/software:

Hi TI Support Team,

I am planning to flash the CC2340 using the ROM serial bootloader over the SPI interface.

My setup includes two CC2340 MCUs: one acting as the host and the other as the slave.

According to TRM section 8.5, I have configured the SPI format with SPH set to 1, SPO set to 1, and a bit rate of 100k.

Additionally, I have set a host GPIO as an output to pull down the slave's DIO21, ensuring it enters bootloader mode.

The host sends the ping command (0x03 0x20 0x20) to the slave. However, I am unsure how to receive an acknowledgment from the slave.

I attempted to send a 512-byte SPI packet (including the ping command) to the slave, but I did not receive any acknowledgment data on MISO.

Could you provide guidance on properly using the ROM serial bootloader over SPI?

Thank you for your support.