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:
When I defined like this (SpiTimeCs2Clk=0.000001):
It works as half (500ns):
When I defined as 10us:
The result is again the half of defined:
Also the clock should be 1MHz, but it is 2MHz:
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:
Thank you,
MVR
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.
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.
-------------------------------------------------------------------------------