[MPC5777C] How to enable interrupt nesting continuously?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[MPC5777C] How to enable interrupt nesting continuously?

1,211件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,189件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

1,115件の閲覧回数
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 件の賞賛
返信