Renesas R8C/18 Series Hardware Manual page 202

16-bit single-chip mcu
Table of Contents

Advertisement

R8C/18 Group, R8C/19 Group
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.)
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.
Figure 17.11
Process to Reduce Power Consumption in On-Chip Oscillator Mode (Main Clock
Stops)
Rev.1.30
Apr 14, 2006
REJ09B0222-0130
Page 187 of 233
On-chip oscillator mode
(main clock stops) program
Write 0 to the FMR01 bit before writing 1
(CPU rewrite mode enabled)
Write 1 to the FMSTP bit (flash memory stops.
low power consumption mode)
Switch the clock source for the CPU clock.
Turn XIN off.
Process in on-chip oscillator mode (main
clock stops)
Turn main clock on → wait until oscillation
stabilizes → switch the clock source for CPU
(2)
clock
Write 0 to the FMSTP bit
(flash memory operation)
Write 0 to the FMR01 bit
(CPU rewrite mode disabled)
Wait until the flash memory circuit stabilizes
(30 µ s)
(3)
Jump to a specified address in the flash memory
17. Flash Memory Version
(1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/1 seriesR8c seriesR8c/19 series

Table of Contents