This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWRL1432: Hardware interrupt priority issue in FreeRTOS

Part Number: AWRL1432

Hi Experts

Customer is reading the codes of FreeRTOS and HWA driver for BSD use case.

They find that configMAX_SYSCALL_INTERRUPT_PRIORITY is 0xE0 and the HW interrpt priority of HWA is 1 which means HW interrupt is of higher priority than configMAX_SYSCALL_INTERRUPT_PRIORITY.

However according to FreeRTOS doc,  we should never call a FreeRTOS API in an Interrupt handler which is of of higher priority than configMAX_SYSCALL_INTERRUPT_PRIORITY.

So it may be illegal to call semephore_post in HWA interrupt handler,  is this statement correct?

Thanks

Ken

  • Hey Ken,

    As of SDK 5.4.0.0, the HWA interrupt priorities should be less than "configKERNEL_INTERRUPT_PRIORITY" and "configMAX_API_CALL_INTERRUPT_PRIORITY" as per FreeRTOS recommendations. This is mentioned in the release notes of the SDK documentation. 

    Regards,

    Kristien