Hello,
I am developing a program on K10 Cortex-M4F that uses the CAN bus interrupt, but I do not get any CAN hardware interruption with FreeRTOS, However, the messages circulating on the bus.
For information, I used processor expert and authorize NMI interrupt and interrupt service to the CAN bus.
I wanted to know if FreeRTOS can block material interruptions? what to do to allow the hardware interrupt with FreeRTOS?
Thank you
First be sure the problem is related to FreeRTOS by trying to use the interrupt in a dummy app that doesn't use FreeRTOS.
Do you find the interrupt works after the FreeRTOS scheduler has been started, but not before? if so, see number 3 on the following FAQ page: http://www.freertos.org/FAQHelp.html
Hi Slah,
Actually there's no difference to create a interrupt function no matter integrate with the FreeRTOS or just baremetal.
I'd highly recommend that you should check the interrupt function should be assigned to the vector table correctly.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------