S32k312 INTM latency

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

S32k312 INTM latency

475 Views
jhuang1
Contributor I

    I want to add INTM to my project to monitor pit0, pit1 and an siul2 external interrupt. The period of pit0 and pit1 are 1ms and 5ms each, so I set the INTM latency of them to 15000 which leads to a latency of 250us(INM reference clock is 60MHz ) at first, but it resulted in an NCF6 error. Then I set the latency to 60000 which leads to a latency of 1ms, the error still exist. The NCF6 error disappeared until I set the latency to a huge number or disable the INTM. I think maybe I made some mistakes on the INTM setting, so I attached the setting page after the note.

0 Kudos
1 Reply

414 Views
Nhi_Nguyen
NXP Employee
NXP Employee

Hi @jhuang1 ,

You're configuring Option B

Nhi_Nguyen_0-1704439955743.png

So, PIT is running with clock: 30 MHz, INTM running with clock 60Mhz, Core clock is 120 MHz.

I tried to configurate that same with you. 

Nhi_Nguyen_1-1704445012959.png

Nhi_Nguyen_0-1704446461670.pngNhi_Nguyen_1-1704446480666.pngNhi_Nguyen_2-1704446516840.pngNhi_Nguyen_3-1704446530182.png

Then, I have:

Nhi_Nguyen_4-1704446570194.png

This is issue case:

Nhi_Nguyen_5-1704446587399.png

So, please ensure that you provide enough wait time PIT interrupt before stop timer.

Best regards,

Nhi

0 Kudos