![Renesas R8C series Скачать руководство пользователя страница 202](http://html1.mh-extra.com/html/renesas/r8c-series/r8c-series_hardware-manual_1440345202.webp)
R8C/18 Group, R8C/19 Group
17. Flash Memory Version
Rev.1.30
Apr 14, 2006
Page 187 of 233
REJ09B0222-0130
Figure 17.11
Process to Reduce Power Consumption in On-Chip Oscillator Mode (Main Clock
Stops)
Transfer an on-chip oscillator mode (main clock stops)
program to an area other then the flash memory.
Jump to the on-chip oscillator mode (main clock stops)
program which has been transferred to an area other
than the flash memory.
(The subsequent processing is executed by the program
in an area other than the flash memory.)
Write 0 to the FMR01 bit before writing 1
(CPU rewrite mode enabled)
Switch the clock source for the CPU clock.
Turn XIN off.
Process in on-chip oscillator mode (main
clock stops)
Write 0 to the FMR01 bit
(CPU rewrite mode disabled)
Jump to a specified address in the flash memory
On-chip oscillator mode
(main clock stops) program
NOTES:
1. Set the FMR01 bit to 1 (CPU rewrite mode) before setting the FMSTP bit to 1 .
2. Before switching to a different clock source for the CPU, make sure the designated clock is stable.
3. Insert a 30
µ
s wait time in a program. Do not access the flash memory during this wait time.
Write 1 to the FMSTP bit (flash memory stops.
low power consumption mode)
(1)
Wait until the flash memory circuit stabilizes
(30
µ
s)
(3)
Write 0 to the FMSTP bit
(flash memory operation)
Turn main clock on
→
wait until oscillation
stabilizes
→
switch the clock source for CPU
clock
(2)