
243
7682C–AUTO–04/08
AT90CAN32/64/128
19.5.1.1
Disabled
In this mode, the MOb is “free”.
19.5.1.2
Tx Data & Remote Frame
1.
Several fields must be initialized before sending:
– Identifier tag (IDT)
– Identifier extension (IDE)
– Remote transmission request (RTRTAG)
– Data length code (DLC)
– Reserved bit(s) tag (RBnTAG)
– Data bytes of message (MSG)
2.
The MOb is ready to send a data or a remote frame when the MOb configuration is set
(CONMOB).
3.
Then, the CAN channel scans all the MObs in Tx configuration, finds the MOb having
the highest priority and tries to send it.
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.
19.5.1.3
Rx Data & Remote Frame
1.
Several fields must be initialized before receiving:
– 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)
2.
The MOb is ready to receive a data or a remote frame when the MOb configuration is
set (CONMOB).
3.
When a frame identifier is received on CAN network, the CAN channel scans all the
MObs in receive mode, tries to find the MOb having the highest priority which is
matching.
4.
On a hit, the IDT, the IDE and the DLC of the matched MOb are updated from the
incoming (frame) values.
5.
Once the reception is completed, the data bytes of the received message are stored
(not for remote frame) in the data buffer of the matched MOb and the RXOK flag is set
(interrupt).
1
0
x
0
Rx Data Frame
0
1
Rx Remote Frame
1
Rx Remote Frame then, Tx Data Frame (reply)
1
x
Frame Buffer Receive Mode
Table 19-1.
MOb Configuration (Continued)
MOb Configuration
Reply Valid
RTR Tag
Operating Mode