Interrupt CAN with k10 cortex M4F and freertos v8.2.2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Interrupt CAN with k10 cortex M4F and freertos v8.2.2

1,323 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

1,156 次查看
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 项奖励
回复

1,156 次查看
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 项奖励
回复