s32k314 Lpspi_Ip_SyncTransmit issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k314 Lpspi_Ip_SyncTransmit issue

Jump to solution
372 Views
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 Kudos
Reply
1 Solution
252 Views
jwkang
Contributor III

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

View solution in original post

0 Kudos
Reply
2 Replies
253 Views
jwkang
Contributor III

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

0 Kudos
Reply
350 Views
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 Kudos
Reply