Renesas M16C/6NK Hardware Manual page 288

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
Transfer a low power dissipation mode or on-chip
oscillator low power dissipation mode program to
a space other the flash memory
Jump to the low power dissipation mode or on-chip
oscillator low power dissipation mode program
transferred to a space other than the flash memory
(In the following steps, use the low power dissipation
mode in a space other than the flash memory.)
NOTES:
1.Set the FMSTP bit in the FMR0 register to "1" after setting the FMR01 bit in the FMR0 register to "1" (CPU rewrite mode).
2.Wait until clock stabilizes to switch clock source of the CPU clock to the main clock or sub clock.
3.Add tps µs wait time by program. Do not access the flash memory during this wait time.
4.Before entering wait mode or stop mode, be sure to set the FMR01 bit to "0" (CPU rewrite disabled).
Figure 21.7 Processing Before and After Low Power Dissipation Mode or On-chip Oscillator Low
Power Dissipation Mode
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
page 270 of 378
Low power dissipation mode
or on-chip oscillator low power
dissipation mode program
Set the FMR01 bit to "1" after setting it to "0"
(CPU rewrite mode enabled)
Set the FMSTP bit to "1" (the flash memory stops
operating. It is in a low power dissipation state)
Switch the clock source of the CPU clock.
Turn main clock stops.
(2)
Process in low power dissipation mode or
on-chip oscillator low power dissipation mode
Start
Wait
main clock - > until oscillation - > clock source of
oscillation
stabilizes
Set the FMSTP bit to "0" (flash memory operation)
Set the FMR01 bit to "0"
(CPU rewrite mode disabled)
Wait until the flash memory circuit
stabilizes (tps µs)
(3)
Jump to a desired address in the flash memory
21. Flash Memory Version
(1)
(4)
Switch
(2)
the CPU clock

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents