跳至主要內容
Knowledgebase
Home
Renesas Electronics Taiwan - Knowledgebase

How to generate a bus-off state and detect it using CAN communication?

Latest Updated:03/20/2017

Question:

I want to detect a bus-off state in CAN communication by using the bus-off flag of the CANn control register.
How can I generate a bus-off state and detect it?

Answer:

To generate a bus-off state, cut the connection with the transceiver, etc. and transmit with the CANRX pin of the microcontroller pulled up to high level.
In order to detect a bus-off state, we advise you to check the BOFF flag in the interrupt handler (INTCE1 or INTCE2) processing routine.
Suitable Products
V850ES/Fx
V850/SF1