[MPC5777C] How to enable interrupt nesting continuously?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[MPC5777C] How to enable interrupt nesting continuously?

1,251 次查看
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,229 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 项奖励
回复

1,155 次查看
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 项奖励
回复