AnsweredAssumed Answered

S32K146 SPI lost data

Question asked by 张 舜毅 on Mar 9, 2020
Latest reply on Mar 12, 2020 by Lukas Zadrapa

In the SDK routine, the baud rate used by spi is relatively low, such as 50K;There was no problem in the test of this communication rate in my code, but when I continued to increase the communication baud rate of spi to more than 300K, spi began to lose frames of data, and the higher the baud rate, the more serious the frame loss.I tried to increase the clock on the lpspi, but it didn't work.Do you have any ideas?

 

I have spent many days without solving this problem. Could you please help me to check the attached code? Where is my problem exactly

Attachments

Outcomes