R01UH0822EJ0100 Rev.1.00
Page 934 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
31.7.2.2
Transition from Read Mode to P/E Mode
Switching to ROM P/E mode is required before executing a software command for the ROM.
shows the Procedure for Transition from ROM/E2 DataFlash Read Mode to ROM P/E Mode.
shows the Procedure for Transition from ROM/E2 DataFlash Read Mode to E2 DataFlash P/E Mode.
Figure 31.7
Procedure for Transition from ROM/E2 DataFlash Read Mode to ROM P/E Mode
Start in ROM/E2 DataFlash
read mode
FENTRYR register = AA01h
Yes
End in ROM P/E mode
Middle-speed operating mode
OPCCR.OPCM[2:0] bits =
000b?
Set ROM P/E mode
FPR register = A5h
FPMCR register = 12h
FPMCR register = EDh
FPMCR register = 12h
High-speed operating mode
No
FPR register = A5h
FPMCR register = 92h
FPMCR register = 6Dh
FPMCR register = 92h
FPR register = A5h
FPMCR register = D2h
FPMCR register = 2Dh
FPMCR register = D2h
FPR register = A5h
FPMCR register = 82h
FPMCR register = 7Dh
FPMCR register = 82h
FPR register = A5h
FPMCR register = C2h
FPMCR register = 3Dh
FPMCR register = C2h
Set the FCLK frequency in
the FISR.PCKA[4:0] bits
Set 12h in
the FPMCR register
Wait for t
DIS
*1
Set 92h in the FPMCR register
Set 82h in the FPMCR register
Set D2h in
the FPMCR register
Set C2h in
the FPMCR register
Wait for t
MS
*1
Note 1. t
DIS
: ROM mode transition wait time 1 (Refer to the Electrical Characteristics chapter.)
t
MS
: ROM mode transition wait time 2 (Refer to the Electrical Characteristics chapter.)