Uart interrupt problem in Free RTOS

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

Uart interrupt problem in Free RTOS

1,167 次查看
sreeramadhanala
Contributor I

Dear sir/mam,

We are using MK22FN512VLH12 for our application.

We are using mcuxpresso10.2 with freertos.

I am using 3 interrupts.

1.uart0 - priority 3

2.uart1- priority4

3.ftm-pririty 3

But all are working fine with some time.

But uart1 ,interrupt suddenly stop ?

Please help me what problem? Suggest how to handle multiple uart interrupts in freertos without losing data?

Thanks

Dhanalakshmi S

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

924 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Sreerama:

It is difficult to know exactly why your interrupt suddenly stop, maybe you have to provide more details.

I would suggest you can check  whether your interrupt handler always clearing the corresponding IRQ flag? If the flag is not cleared then the processor can get locked .

Regards

Daniel

0 项奖励
回复