S32K344 SPI SyncTransmit

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

S32K344 SPI SyncTransmit

1,148 Views
SpikeGoodman
Contributor I

When executing SPI transmission instructions step by step (reading and writing the register values of the DRV8718), the program runs normally. However, when executing instructions continuously, the program crash. 


Could anyone give me a hint?

0 Kudos
Reply
3 Replies

1,127 Views
RomanVR
NXP Employee
NXP Employee

Hi @SpikeGoodman 

Could you please provide the set of configurations of the SPI driver along with the version of your Design Studio and RTD? This information will allow me to recreate your SPI transmission scenario and thoroughly review the potential cause of the issue.

I will be waiting for your answer.

- RomanVR.

Best Regards!
0 Kudos
Reply

1,113 Views
SpikeGoodman
Contributor I

8d8d871a58d5a7b28a776d0819b43cf6.jpeg

b646b5cde867fae77108c01c95e31fb6.jpeg

842de9c5dc72740aa4b66b90ca0915e4.jpeg

0 Kudos
Reply

1,097 Views
RomanVR
NXP Employee
NXP Employee

Hi @SpikeGoodman 

We always recommend working with the latest versions of the software and tools, as newer versions often address unexpected bugs and behaviors.  Therefore I provide an SPI example for the S32K344 compatible with Design Studio 3.5 and RTD 5.0.0: Example S32K344 SPI Transmit & Receive Using DMA DS3.5 RTD500.

Please let me know if the example works for you.

- RomanVR.

Best Regards!
0 Kudos
Reply