Hi,all
I have a board about S32K142, external crystal is 40Mhz, I config the code referencing the S32K1xx_Clock_Calculator_Rev1.
But when I set the LPIT,I meet the problem:
The code crashs,it does not work. I debug that finding it when I give the value to LPIT, it
debug error, I successfully run the project when I have the EVB board, which the external crystal is 8Mhz.
What should I do to fix it?
已解决! 转到解答。
Hello @Ada_Lovelace,
It seems like you use SPLLDIV2 as the peripheral clock.
But is SPLLDIV2 really 40MHz?
With 40Mhz crystal and MULT = 24, Prediv = 0
Regards,
Daniel
Hello @Ada_Lovelace,
It seems like you use SPLLDIV2 as the peripheral clock.
But is SPLLDIV2 really 40MHz?
With 40Mhz crystal and MULT = 24, Prediv = 0
Regards,
Daniel