Interrupt CAN with k10 cortex M4F and freertos v8.2.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupt CAN with k10 cortex M4F and freertos v8.2.2

1,324 Views
achourislaheddi
Contributor I

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

Labels (1)
0 Kudos
Reply
2 Replies

1,157 Views
FreeRTOS_org
Contributor IV

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

0 Kudos
Reply

1,157 Views
jeremyzhou
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply