EasyManua.ls Logo

Renesas M32R/ECU Series - Page 566

Renesas M32R/ECU Series
839 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13-19
13
32180 Group Users Manual (Rev.1.0)
13.2 CAN Module Related Registers
CAN MODULE
(1) BOS (Bus Off Status) bit (Bit 1)
When BOS bit = "1", it means that the CAN module is in a buss off state.
[Set condition]
This bit is set to "1" when the transmit error count register value exceeded 255 and a bus off state is
entered.
[Clear condition]
This bit is cleared when restored from the bus off state.
(2) EPS (Error Passive Status) bit (Bit 2)
When EPS bit = "1", it means that the CAN module is in an error passive state.
[Set condition]
This bit is set to "1" when the transmit or receive error count register value exceeded 127 and an error
passive state is entered.
[Clear condition]
This bit is cleared when restored from the error passive state.
(3) CBS (CAN Bus Error) bit (Bit 3)
[Set condition]
This bit is set to "1" when an error is detected on the CAN bus.
[Clear condition]
This bit is cleared when the CAN module finished sending or receiving normally.
(4) BCS (BasicCAN Status) bit (Bit 4)
When BCS bit = "1", it means that the CAN module is operating in BasicCAN mode.
[Set condition]
This bit is set to "1" when the CAN module is operating in BasicCAN mode. BasicCAN mode is useful
when the following conditions are met:
CAN Control Register BCM bit = "1"
Slots 14 and 15 both are set for data frame reception
[Clear condition]
This bit is cleared by clearing the BCM bit to "0".
(5) LBS (Loopback Status) bit (Bit 6)
When LBS bit = "1", it means that the CAN module is operating in loopback mode.
[Set condition]
This bit is set to "1" by setting the CAN Control Register LBM (loopback mode) bit to "1".
[Clear condition]
This bit is cleared by clearing the LBM bit to "0".

Table of Contents

Related product manuals