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.

SK-AM62A-LP: SPI2 CS signal not de-asserting (MCU+ SDK ver. 9.02)

Part Number: SK-AM62A-LP

Tool/software:

I've encountered an issue when using the AM62a R5 core to perform SPI transactions along SPI2. Even with the pins set to open drain (i.e. nothing on the RX side sending a response) I'm seeing that randomly, a transaction will fail because chip-select does not get released/toggled after the end of the transaction. The CS signal does not toggle again until the transaction times out. Here is a scope capture showing this behavior:

This issue occurs no matter what data size I send over the bus, as I've observed this happening with 8 bytes, 16 bytes, 32 bytes, and 64 bytes. I've also tried using word data length (16-bits) and it still fails with this CS getting stuck issue.

I've also managed to reproduce this on three separate boards that we are using. The SPI bus is operating in single master mode at 24000000Hz clock in blocking interrupt mode. Other SPI peripherals using the MCU SPI work without issue.

Please let me know if there's any way to workaround this or if more information is needed.