I am using MPC5746C controller for developing Front camera module application.
In that CAN BUS 1 if we simulate the Buss off interrupt triggers only 3-4 times after that is not triggering , Auto bus recovery is not happening even thought i have enabled BOFFREC and also after that BOFFINT INTERRUPT also not coming .
I am creating SWCAN bus off by shorting CAN wire into ground .. TXERROR counter is reaching to 255 then its going into bus off state but after even though continue short i am not getting any interrupt for further(only getting 4 times initially).
Same scenario tested in 2 wire CAN , there i am receiving continuous interrupt unit ll bus wires shorted to ground..
Here is the vector address details.
SWCAN- CanBusOffInterrupt_1, /* Vector # 579 FlexCAN1_1_ESR_BOFF
2Wire CAN -CanBusOffInterrupt_2 /Vector # 591 FLEXCAN_2_ESR_BOFF
please help:)
Thanks
@Petr Stancik updated