S32K344 CAN AUTOSAR using Interrupt Mode - Example

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

S32K344 CAN AUTOSAR using Interrupt Mode - Example

445件の閲覧回数
MVR
Contributor III

Hello everyone,

I'm looking for any example about CAN using interrupt mode. 

I created the code on Tresos tool and I'm using FreeRTOS as the OS.

My code always getting a bus off error. I would like to compare with any example, I was able to find only Polling mode examples.

Thanks

MVR

タグ(1)
0 件の賞賛
返信
2 返答(返信)

386件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I am not aware of such example. 
However for bus off; it is entered when MCU is transmitting and detect bit error. This can be caused by wrong pin setting, or fault on transceiver, so check that.

BR, Petr

0 件の賞賛
返信

443件の閲覧回数
MVR
Contributor III

Also I could see that after reach the BUS OFF error IRQ:

MVR_1-1716437552406.png

 

It is called this function on FreeRTOS library:

MVR_0-1716437486609.png

 

0 件の賞賛
返信