This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil RTX interrupt handling

I'm using lpc1768 controller keil RTX rtos and uart receive function by an interrupt. I was set a NVIC priority using NVIC_SetPriority(UART1_IRQn,1) while thread processing it don't goes to IRQHandler if any uart rx interrupt was occur. After finish the thread process then goes to IRQ Handler. I don't know how to set a high interrupt priority using RTOS. Please help me to solve this issue.

Thanks & Regards,
Prasanth.

Parents
  • Thanks for your response Zack Havens. Yes my RTOS execution in privileged mode and version is 4.81.1. The functions you mentioned disable_irq() and enable_irq() both are defined but commented in cmsis_armcc.h. They didn't gets called anywhere in a program. Another function you mentioned tsk_lock() i can't find it from the program. what i wanna do next?

Reply
  • Thanks for your response Zack Havens. Yes my RTOS execution in privileged mode and version is 4.81.1. The functions you mentioned disable_irq() and enable_irq() both are defined but commented in cmsis_armcc.h. They didn't gets called anywhere in a program. Another function you mentioned tsk_lock() i can't find it from the program. what i wanna do next?

Children
No data