Configuring Interrupt on ARM Cortex M4F TM4C123G

areeg wrote on Thursday, March 14, 2019:

Hello,

I’m trying to handle external interrupts using FreeRTOS but the code isn’t resposive to any external interrupts.

I would like to understand how to assign correct priority values to the folloing #defines in FreeRTOSConfig.h

configKERNEL_INTERRUPT_PRIORITY
configMAX_SYSCALL_INTERRUPT_PRIORITY and
configMAX_API_CALL_INTERRUPT_PRIORITY

And if there is any realtion between interrupt priority in the controller and the numbers assigned.

Thanks in advance

rtel wrote on Friday, March 15, 2019:

First, are you sure this issue is related to FreeRTOS? Do the interrupts work when you have not started the scheduler?

Second, did you see this page: https://www.freertos.org/RTOS-Cortex-M3-M4.html It is complex, but that is due to the architecture rather than the kernel. If you are using the last couple of versions of FreeRTOS with configASSERT() defined then the asserts will catch nearly all, and maybe even all, misconfigurations.