SPI communication gets shifted when TouchGFX is used
Hello everyone,
I'm currently working with an stm32f746 chip, using TouchGFX and SPI slave. I am exchanging data via SPI every 10ms.
The communication generally works well, but it sometimes gets shifted or delayed whenever a screen-related action happens in TouchGFX. It wouldn't be a problem if the communication returned to its normal state, but the issue is that it continues to operate in this shifted state permanently.
For example:
Normal communication : AA BB CC DD EE FF GG
Shfited communication : CC DD EE FF GG AA BB
On my receiving end, this is manageable because I buffer the incoming data and reassemble the packet by comparing STX and ETX values. However, I'm not sure how to fix this on the transmission (sending) side.
If you have experienced a similar problem or know a solution, your help would be greatly appreciated.
Have a great day!
