Datasheet
Section 15 Controller Area Network for Tiny (TinyCAN)
Rev. 4.00 Mar. 15, 2006 Page 341 of 556
REJ09B0026-0400
Ye s
No
0
1
Note: Processing in a shaded box requires setting by software.
TinyCAN is in normal mode
TinyCAN is in halt mode
TinyCAN is during
transmission, reception,
or in bus off state?
TinyCAN is in normal mode
Set HLTRQ in MCR to 1
(halt mode)
Read RHI in TCIRR0 = 1
Read HALT in GSR = 1
Interrupt occurred
(RHI in TCIRR0 = 1)
Method 1: Halt mode Method 2: Other than halt mode
Change ID, MBCR, and LAFM
of Mailbox
Clear HLTRQ in MCR to 0
Ye s
No
TinyCAN is in normal mode
Read corresponding
RXPR (RFPR) = 0
Read corresponding
RXPR (RFPR)
TinyCAN is in normal mode
and ready for action
Set corresponding MBn in
MBIMR to 1
Change ID and MBCR
of Mailbox
Write 1 to corresponding MBn
in RXPR (MBn in RFPR) and
delete receive message
Clear corresponding MBn in
MBIMR to 0
Write 1 to MBn in RXPR
(MBn in RFPR)
Figure 15.17 Flowchart for Changing ID, MBCR, and LAFM of Receive Mailbox










