AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 254

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
CAN Highest Priority MOb
Register - CANHPMOB
CAN Page MOb Register -
CANPAGE
MOb Registers
CAN MOb Status Register -
CANSTMOB
254
AT90CAN128
• Bit 7:4 – HPMOB3:0: Highest Priority MOb Number
MOb having the highest priority in CANSIT registers.
If CANSIT = 0 (no MOb), the return value is 0xF.
• Bit 3:0 – CGP3:0: CAN General Purpose Bits
These bits can be pre-programmed to match with the wanted configuration of the
CANPAGE register (i.e., AINC and INDX2:0 setting).
• Bit 7:4 – MOBNB3:0: MOb Number
Selection of the MOb number, the available numbers are from 0 to 14.
• Bit 3 – AINC: Auto Increment of the FIFO CAN Data Buffer Index (Active Low)
• Bit 2:0 – INDX2:0: FIFO CAN Data Buffer Index
Byte location of the CAN data byte into the FIFO for the defined MOb.
The MOb registers has no initial (default) value after RESET.
• Bit 7 – DLCW: Data Length Code Warning
The incoming message does not have the DLC expected. Whatever the frame type, the
DLC field of the CANCDMOB register is updated by the received DLC.
• Bit 6 – TXOK: Transmit OK
This flag can generate an interrupt. It must be cleared using a read-modify-write soft-
ware routine on the whole CANSTMOB register.
The communication enabled by transmission is completed. When the controller is ready
to send a frame, if two or more message objects are enabled as producers, the lower
MOb index (0 to 14) is supplied first.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
0 - auto increment of the index (default value).
1- no auto increment of the index.
MOBNB3 MOBNB2 MOBNB1 MOBNB0
HPMOB3 HPMOB2 HPMOB1 HPMOB0
DLCW
R/W
R/W
R
7
1
7
0
7
-
TXOK
R/W
R/W
R
6
1
6
0
6
-
RXOK
R/W
R/W
R
5
1
5
0
5
-
BERR
R/W
R/W
R
4
1
4
0
4
-
CGP3
SERR
AINC
R/W
R/W
R/W
3
0
3
0
3
-
INDX2
CGP2
CERR
R/W
R/W
R/W
2
0
2
0
2
-
INDX1
CGP1
FERR
R/W
R/W
R/W
1
0
1
0
1
-
INDX0
AERR
CGP0
R/W
R/W
R/W
0
0
0
0
0
-
4250C–CAN–03/04
CANHPMOB
CANSTMOB
CANPAGE

Related parts for AT90CAN128-16AE