263
7679H–CAN–08/08
AT90CAN32/64/128
– 00 - disable.
– 01 - enable transmission.
– 10 - enable reception.
– 11 - enable frame buffer reception
These bits are
not
cleared once the communication is performed. The user must re-write the
configuration to enable a new communication.
• This operation is necessary to be able to reset the BXOK flag.
• This operation also set the corresponding bit in the CANEN registers.
• Bit 5 – RPLV: Reply Valid
Used in the automatic reply mode after receiving a remote frame.
– 0 - reply not ready.
– 1 - reply ready and valid.
• Bit 4 – IDE: Identifier Extension
IDE bit of the remote or data frame to send.
This bit is updated with the corresponding value of the remote or data frame received.
– 0 - CAN standard rev 2.0 A (identifiers length = 11 bits).
– 1 - CAN standard rev 2.0 B (identifiers length = 29 bits).
• Bit 3:0 – DLC3:0: Data Length Code
Number of Bytes in the data field of the message.
DLC field of the remote or data frame to send. The range of DLC is from 0 up to 8. If DLC field >8
then effective DLC=8.
This field is updated with the corresponding value of the remote or data frame received. If the
expected DLC differs from the incoming DLC, a DLC warning appears in the CANSTMOB
register.
19.11.3
CAN Identifier Tag Registers -
CANIDT1, CANIDT2, CANIDT3, and CANIDT4
V2.0 part A
V2.0 part B
Bit
15/7
14/6
13/5
12/4
11/3
10/2
9/1
8/0
-
-
-
-
-
RTRTAG
-
RB0TAG
CANIDT4
-
-
-
-
-
-
-
-
CANIDT3
IDT2
IDT1
IDT0
-
-
-
-
-
CANIDT2
IDT10
IDT9
IDT8
IDT7
IDT6
IDT5
IDT4
IDT3
CANIDT1
Bit
31/23
30/22
29/21
28/20
27/19
26/18
25/17
24/16
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
-
-
-
-
-
-
-
-
Bit
15/7
14/6
13/5
12/4
11/3
10/2
9/1
8/0
IDT4
IDT3
IDT2
IDT1
IDT0
RTRTAG
RB1TAG
RB0TAG
CANIDT4
IDT12
IDT11
IDT10
IDT9
IDT8
IDT7
IDT6
IDT5
CANIDT3
IDT20
IDT19
IDT18
IDT17
IDT16
IDT15
IDT14
IDT13
CANIDT2
IDT28
IDT27
IDT26
IDT25
IDT24
IDT23
IDT22
IDT21
CANIDT1