English
Language : 

M16C6NK Datasheet, PDF (288/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
21. Flash Memory Version
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.)
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) (1)
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 (4)
Start
Wait
Switch
main clock -> until oscillation -> clock source of
oscillation stabilizes
the CPU clock (2)
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
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 page 270 of 378
REJ09B0124-0200