2382486_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2382486_en-US

2382486_en-US

SPI (Slave) + DMA data reception error

When the S32K144 SPI is configured in SLAVE mode and uses DMA, data misalignment occurs during data reception (e.g., the correct sequence should be 1, 2, 3, 4, 5, 6, but the actual received data is 3, 4, 5, 6, 1, 2, indicating a misalignment). Analysis of the communication data sequence using an oscilloscope shows it is normal, and the data received by the SPI during the first communication is also normal. The current communication method is that the master and slave microcontrollers periodically trigger SPI communication.

Re: SPI(Slave )+DMA 数据接收异常

IDE:S32 Design Studio for ARM Version 2.2, custom board.

Re: SPI(Slave )+DMA 数据接收异常

Hi @GLB 

Which software and IDE you are using? Could you please share your code and configuration so I can try to reproduce the issue on my side?

Also, are you working with a custom board or an evaluation board (EVB)?


BR, VaneB

标记 (1)
无评分
版本历史
最后更新:
4 小时之前
更新人: