Interrupt CAN with k10 cortex M4F and freertos v8.2.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupt CAN with k10 cortex M4F and freertos v8.2.2

1,336件の閲覧回数
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,169件の閲覧回数
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,169件の閲覧回数
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 件の賞賛
返信