[MPC5777C] How to enable interrupt nesting continuously?

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

[MPC5777C] How to enable interrupt nesting continuously?

1,212 Views
byungwouk
Contributor II

Hello all,

 

 

When PIT and external interrupt works, suddenly PIT ISR don't be called.

Priorities are defined that PIT ISR is lower than external ISR. and external ISR works well during PIT ISR is running.

It looks interrupt nesting works fine.

But At an unspecified point in time, PIT ISR is no longer called. However, external interrupts work well. at the last time PIT ISR is called, PIT ISR starts, but not finishied.

Checking interrupt-related registers, INTC.CPR_PRC is set as the priority same with PIT ISR.

I solve this problem that adding INTC.CPR_PRC=0 in PIT ISR.

this initialization (INTC.CPR_PRC=0) appear in the initialization function.

However, this initialization is needed in PIT ISR?

that unspecified point in time is around 5~15 minutes.

 

Thanks in advance.

0 Kudos
Reply
2 Replies

1,190 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,116 Views
byungwouk
Contributor II
It looks similar, but there is something difference.

The situation of this post is interrupt nesting works partially well.

I made a project like in the last post, It went well at first. but as time goes by, the PIT ISR stopped at an unspecified point of time.

So what I would like to know is, should interrupt nesting be called explicitly in PIT ISR?
0 Kudos
Reply