I'm having a lot of trouble dealing with bus errors on my KE06 product. When I induce a bus error, say by being the only one on the bus and I send a frame, the peripheral enters a bus-flooding retry state.
The trouble occurs when I try to inhibit the bus flood. Requesting an abort by way of MSCAN_CANTARQ=MSCAN_CANTBSEL is usually successful but every few tries the flood continues and I don't get the TXE interrupt advertised by the ref manual.
Attempting to work around this with manual bus recovery is unsuccessful for two different, mutually exclusive reasons: 1) BOHOLD in MSCAN_CANMISC is never set despite BORM being set in MSCAN_CANCTL1.
2) There doesn't seem to be a way to tell that the bus off condition has cleared: SYNCH remains set despite the bus off state.
Has anyone encountered a similar problem with this peripheral on the KE06? Seems strange for such a mature periph module.
TIA Howard