PIT0 timer stops interrupting!! CW10.2, K10

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

PIT0 timer stops interrupting!! CW10.2, K10

775件の閲覧回数
ignisuti
Contributor IV

I'm using FreeRTOS. This OS was using my SysTick timer. So, for my code, I utilized the PIT0 timer as my SysTick.

 

Problem is that in a few odd scenerios that I've yet to fully understand, my interrupt for this timer stops interrupting. My understanding is that the ONLY way for this to happen is if an interrupt of equal or higher priority is currently active. 

 

I set the PIT0 interrupt to have priority 0 (highest priority). But, that made no difference. 

 

Any suggestions?

0 件の賞賛
返信
1 返信

546件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hello,

are you using the Processor Expert FreeRTOS version from

http://mcuoneclipse.wordpress.com/2012/05/27/freertos-v7-1-1-released/ ?

 

Is only the tick timer stopping, or all your interrupts are masked/disabled?

I have seen cases with stack overflow where the interupt masks were not correctly restored, causing interrutps disabled afterwards.

 

I suggest you increase the stack size for your tasks and make sure that there is no stack overflow.

 

Hope this helps,

BK