LPSPI CS to CLK time issue using S32K344uC

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

LPSPI CS to CLK time issue using S32K344uC

265 Views
MVR
Contributor III

Hello everyone,

I'm facing a issue with the time between CS and CLCK on LPSPI, I would like to define it to 10us, but I can see 5us.

I'm using S32K344uC (S32K3X4EVB-Q172 board), I tested with LPSPI2 and LPSPI4. The SW version is: S32K3_RTD_2_0_1_D2207_ASR_REL_4_4_REV_0000_20220707.

Also I defined the clock of LPSPI to 20MHz:

MVR_1-1700079564352.png

When I defined like this (SpiTimeCs2Clk=0.000001):

MVR_0-1700076246886.png


It works as half (500ns):

MVR_2-1700079916053.png

 

When I defined as 10us:

MVR_2-1700076455722.png

The result is again the half of defined:

MVR_3-1700080171338.png

Also the clock should be 1MHz, but it is 2MHz:

MVR_4-1700080194792.png

Do you guys know why I'm facing this error?

If I defined the clock as 40MHz, it works fine, but the maximum time between CS and CLOCK that I can reach is 6.4us (1/40MHz * 255). I would like to reach 10us to wake up a driver:

MVR_0-1700081061195.png

Thank you,

MVR

Tags (1)
0 Kudos
1 Reply

212 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi MVR,

Thank you for the report.
Sorry for the inconvenience we bring you!
Please check if this issue has been fixed in newer S32K3 RTD.

ARTD-26591.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos