Uart interrupt problem in Free RTOS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uart interrupt problem in Free RTOS

1,006 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Reply

763 Views
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 Kudos