
Controller Area Network
LH75400/01/10/11 (Preliminary) User’s Guide
22-6
6/17/03
22.2.7 Error Handling
Errors are handled according to the CAN protocol. There are two types of errors that can
occur: transmit errors and receive errors.
The CAN Controller has two counters, one for transmission errors and one for reception
errors. These counters automatically increment as errors are encountered.
According to the CAN protocol, once the error count exceeds 255, the bus must be
released and the network stopped. This status is reflected in the Status Register. If the
error count exceeds 127, the CAN Controller enters an ’Error Passive’ state, as defined in
the CAN protocol. The Error Warning Limit Register defaults to 96 decimal; if either counter
exceeds this value, the Error Status bit in the Status Register is set and an Error Warning
Interrupt is generated if enabled.
22.3 CAN Programmer’s Model
The base address for the CAN Controller is:
CAN Controller Base Address: 0xFFFC5000