English
Language : 

SH7760 Datasheet, PDF (870/1345 Pages) Renesas Technology Corp – SuperHTM RISC engine
Method 1 (Halt Mode)
HCAN2 is in Normal Mode
Method 2 (on-the-fly)
HCAN2 is in Normal Mode
Set MCR1 (Halt Mode)
Is HCAN2 transmitter,
receiver, or Bus Off?
No
Generate interrupt (IRR0
End the
current
session
Yes
Read IRR0 and GSR4 as 1
Set corresponding CANMBIMR bit
Read corrensponding
CANRXPR(CANRFPR) bit
as 0?
Clear
CANRXPR
No
Yes
Change ID or MBC of mailbox
Read IRR0 and GSR4 as 1
HCAN2 is in Halt Mode
Change ID or MBC field of
mailbox
Clear MCR1
Read Corrensponding
RXPR bit
0
1
Clear corresponding RXPR
Abandon the received MSG
Clear corresponding CANMBIMR bit
HCAN2 is in Normal Mode
HCAN2 is in normal mode
and ready for action
Note: The shadowed boxes need to be done by software (host processor)
Figure 22.9 Changing ID of Receive Box or Changing Receive Box to Transmit Box
Rev. 1.0, 02/03, page 820 of 1294