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

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
Rx Data & Remote Frame
Automatic Reply
Frame Buffer Receive Mode
238
AT90CAN128
2. The MOb is ready to send a data or a remote frame when the MOb configuration is
3. Then, the CAN channel scans all the MObs in Tx configuration, finds the MOb hav-
4. When the transmission is completed the TXOK flag is set (interrupt).
5. All the parameters and data are available in the MOb until a new initialization.
1. Several fields must be initialized before receiving:
2. The MOb is ready to receive a data or a remote frame when the MOb configuration
3. When a frame identifier is received on CAN network, the CAN channel scans all the
4. On a hit, the IDT, the IDE and the DLC of the matched MOb are updated from the
5. Once the reception is completed, the data bytes of the received message are stored
6. All the parameters and data are available in the MOb until a new initialization.
A reply (data frame) to a remote frame can be automatically sent after reception of the
expected remote frame.
1. Several fields must be initialized before receiving the remote frame:
2. When a remote frame matches, automatically the RTRTAG and the reply valid bit
3. When the transmission of the reply is completed the TXOK flag is set (interrupt).
4. All the parameters and data are available in the MOb until a new initialization.
This mode is useful to receive multi frames. The priority between MObs offers a man-
agement for these incoming frames. One set MObs (including non-consecutive MObs)
is created when the MObs are set in this mode. Due to the mode setting, only one set is
possible. A frame buffer completed flag (or interrupt) - BXOK - will rise only when all the
MObs of the set will have received their dedicated CAN frame.
set (CONMOB).
ing the highest priority and tries to send it.
is set (CONMOB).
MObs in receive mode, tries to find the MOb having the highest priority which is
matching.
incoming (frame) values.
(not for remote frame) in the data buffer of the matched MOb and the RXOK flag is
set (interrupt).
(RPLV) are reset. No flag (or interrupt) is set at this time. Since the CAN data buffer
has not been used by the incoming remote frame, the MOb is then ready to be in
transmit mode without any more setting. The IDT, the IDE, the other tags and the
DLC of the received remote frame are used for the reply.
Identifier extension (IDE)
Remote transmission request (RTRTAG)
Data length code (DLC)
Reserved bit(s) tag (RBnTAG)
Data bytes of message (MSG)
Identifier tag (IDT)
Identifier mask (IDMSK)
Identifier extension (IDE)
Identifier extension mask (IDEMSK)
Remote transmission request (RTRTAG)
Remote transmission request mask (RTRMSK)
Data length code (DLC)
Reserved bit(s) tag (RBnTAG)
(c.f. Section “Rx Data & Remote Frame”)
4250C–CAN–03/04

Related parts for AT90CAN128-16AE