Error Handling; Can Programmer's Model - Sharp Blue Treak LH75400 User Manual

System-on-chip preliminary
Table of Contents

Advertisement

Controller Area Network

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
22-6
LH75400/01/10/11 (Preliminary) User's Guide
6/17/03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Blue treak lh75401Blue treak lh75410Blue treak lh75411

Table of Contents