S32K344 CAN AUTOSAR using Interrupt Mode - Example

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

S32K344 CAN AUTOSAR using Interrupt Mode - Example

442 Views
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

Tags (1)
0 Kudos
Reply
2 Replies

383 Views
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 Kudos
Reply

440 Views
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 Kudos
Reply