2025-03-05 8:43 PM - edited 2025-03-05 8:55 PM
Dear ST Team,
I am currently working with the STM32F407 board and implementing SPI communication between a Master and a slave. While the slave does respond to data sent by the Master, I am encountering an issue where the received data sometimes rolls and contains unexpected garbage values.
Could you please provide guidance on possible causes and troubleshooting steps to resolve this issue? Any insights into proper SPI configuration, clock synchronization, or handling of buffer overflows would be greatly appreciated.
Looking forward to your support.
2025-03-05 10:29 PM
Search the forum for topics on SPI slave - you will find some info there.
To keep it short: it is close to impossible to implement SPI slave in a microcontroller unless the master is kind enough to implement specially relaxed timing for it.
2025-03-05 11:48 PM
Any better way of handling this issue.
Because we have a STM32F407 as a SPI Slave and MCP2210 as the SPI Master