RT-Thread SPI Chained Transmission Illegal Access? Unveiling the Fatal Trap!

RT-Thread SPI Chained Transmission Illegal Access? Unveiling the Fatal Trap!

1. Introduction In discussions with developers using the Xianji RT-Thread BSP, it was found that the SPI device driver occasionally encounters illegal access exceptions in polling mode (as shown in the figure). Problem reproduction scenario:: 1. The developer only needs to transmit a single message once but did not explicitly initialize the struct rt_spi_message’s next … Read more