MCF 5483 Slice Timers: problem with interrupts

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

MCF 5483 Slice Timers: problem with interrupts

1,490 次查看
luc
Contributor I
I am working with Coldfire 5483 and I want to use both SLT0 and SLT1 slice timers.
- SLT0 is used for generating 10ms tick for my SMX RTOS
- SLT1 is used for generating a 1ms time pulse
Both are configured in order to generate an interrupt.

My problem is that I only get interrupt for the timer with the highest priority.

Is anyone can explain me how to configure these 2 timers and which interrupt level and priority to choose?
标签 (1)
0 项奖励
回复
1 回复

805 次查看
luc
Contributor I
I think I found the cause of my problem. I was clearing interrupt of SLT1 by writing 1 to the status bit of SLT0 !!!
Sorry for this post :smileyhappy:
0 项奖励
回复