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
  • Is the RTOS executing in privileged mode?

    The following depends on the version of RTX you are using...
    Did the thread disable interrupts during its execution?

    disable_irq()  //or similar
    ...
    enable_irq()  //or similar
    

    Look for tsk_lock(), as well.

Reply
  • Is the RTOS executing in privileged mode?

    The following depends on the version of RTX you are using...
    Did the thread disable interrupts during its execution?

    disable_irq()  //or similar
    ...
    enable_irq()  //or similar
    

    Look for tsk_lock(), as well.

Children