s32k314 Lpspi_Ip_SyncTransmit issue

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

s32k314 Lpspi_Ip_SyncTransmit issue

跳至解决方案
1,135 次查看
jwkang
Contributor III

Test SPI communication using the Lpspi_Ip_SyncTransmit issue in S32K314 In the Freertos development environment,

When transmitting SPI data, sometimes corrupted data occurs.

 

jwkang_0-1720507353788.png

0x7F should be output, but 0x7E seems to be output. Why does this happen? Please let me know if there is anything I need to check.

0 项奖励
回复
1 解答
1,015 次查看
jwkang
Contributor III

I solved it by modifying the Tx timing in my code.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,016 次查看
jwkang
Contributor III

I solved it by modifying the Tx timing in my code.

0 项奖励
回复
1,113 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @jwkang,

If this is a sporadic occurrence, can you measure the bus with an analog oscilloscope?

I see the baudrate is 10MHz.

What type of pins do you use?

The GPIO AC specification can be found in the DS.

Table 26. 5.0V (4.5V - 5.5V) GPIO Output AC Specification

Table 27. 3.3V (2.97V - 3.63V) GPIO Output AC Specification

 

Regards,

Daniel

 

0 项奖励
回复