Can Controller Operation - Intel 8XC196K Series User Manual

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL
Table 12-2. Control and Status Registers (Continued)
Register
††
Mnemonic
CAN_MSG x CON1
CAN_MSG x DATA0
CAN_MSG x DATA1
CAN_MSG x DATA2
CAN_MSG x DATA3
CAN_MSG x DATA4
CAN_MSG x DATA5
CAN_MSG x DATA6
CAN_MSG x DATA7
CAN_MSG x ID0
CAN_MSG x ID1
CAN_MSG x ID2
CAN_MSG x ID3
CAN_MSK15
1E0CH, 1E0DH,
1E0EH, 1E0FH
CAN_SGMSK
1E06H, 1E07H Standard Global Mask
CAN_STAT
INT_MASK1
INT_PEND1
The CCE bit in CAN_CON must be set to enable write access to the bit timing registers.
††
In register names, x = 1–15; in addresses, y = 1–F.

12.3 CAN CONTROLLER OPERATION

This section describes the address map, message objects, message frames (which contain mes-
sage objects), error detection and management logic, and bit timing for CAN transmissions and
receptions.
12-4
Register
††
Address
1E y 1H Message Object x Control 1
Program this register to indicate that a message is ready to
transmit or to initiate a transmission. Read this register to
determine whether the message object contains new data,
whether a message has been overwritten, whether software is
updating the message, and whether a transfer is pending.
1E y7 H
Message Object x Data 0–7
1E y 8H
The data registers contain data to be transmitted or data received.
1E y 9H
Do not use unused data bytes as scratch-pad memory; the CAN
1E y AH
controller writes random values to these registers during
1E y BH
operation.
1E y CH
1E y DH
1E y EH
1E y 2H
Message Object x Identification 0–3
1E y 3H
Write the message object's ID to this register. (This register is the
1E y 4H
same as the arbitration register of the 82527.)
1E y 5H
Message 15 Mask
Program this register to mask ("don't care") specific message
identifier bits for message 15 in addition to those bits masked by a
global mask. The message 15 mask is ANDed with the standard
or extended global mask, so any "don't care" bits defined in a
global mask are also "don't care" bits for message 15.
Program this register to mask ("don't care") specific message
identifier bits for standard message objects.
1E01H Status
This register reflects the current status of the CAN controller.
0013H Interrupt Mask 1
The CAN bit in this register enables and disables the CAN
interrupt request.
0012H Interrupt Pending 1
The CAN bit in this register, when set, indicates a pending CAN
interrupt request.
Description

Advertisement

Table of Contents
loading

Table of Contents