S32K312 CAN
a week ago
127 Views
chenyh
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 Replies
Friday
106 Views

NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @chenyh
You can try reading bit BOFFREC from the CTRL1 register to confirm if bus off recovery is disabled.
You can also monitor FlexCAN_Ip_MainFunctionBusOff_Privileged function, since it is in charge of clearing the BusOff Status Flag.
Best regards,
Julián
Friday
95 Views
chenyh
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
15 Views

NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @chenyh
Please try to manually write 1 to BOFFREC. The module should remain in BusOff until you write 1. Keep in mind that if a CAN node does not send any messages, it will not enter a "bus-off" state.
Aa node only enters bus-off when its error counter exceeds a certain threshold, usually due to detecting transmission errors on the bus while attempting to send or receive messages, not just by not sending any data at all.
Best regards,
Julián
