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
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
Also I could see that after reach the BUS OFF error IRQ:
It is called this function on FreeRTOS library: