Rev.2.00 Oct 16, 2006 page 282 of 354
REJ09B0340-0200
M30245 Group
2. Power Control
______
(1) The processor does not switch to stop mode when the NMI pin is at “L” level.
____________
(2) When returning from stop mode by hardware reset, RESET pin must be set to “L” level until
main clock oscillation is stabilized.
(3) When entering wait mode, insert a JMP.B instruction before a WAIT instruction. Do not ex-
ecute any instructions which can generate a write to RAM between the JMP.B and WAIT
instructions. Disable the DMA transfers, if a DMA transfer may occur between the JMP.B and
WAIT instructions. After the WAIT instruction, insert at least 4 NOP instructions. When enter-
ing wait mode, the instruction queue roadstead the instructions following WAIT, and depend-
ing on timing, some of these may execute before the microcomputer enters wait mode.
Program example when entering wait mode
Program Example:
JMP.B
L1
; Insert JMP.B instruction before WAIT instruction
L1:
FSET
I
;
WAIT
; Enter wait mode
NOP
; More than 4 NOP instructions
NOP
NOP
NOP
(4) When entering stop mode, insert a JMP.B instruction immediately after executing an instruc-
tion which sets the CM10 bit in the CM1 register to “1”, and then insert at least 4 NOP instruc-
tions. When entering stop mode, the instruction queue reads ahead the instructions following
the instruction which sets the CM10 bit to “1” (all clock stops), and, some of these may
execute before the microcomputer enters stop mode or before the interrupt routine for return-
ing from stop mode.
Program example when entering stop mode
Program Example:
FSET
I
BSET
CM10
; Enter stop mode
JMP.B
L2
; Insert JMP.B instruction
L2:
NOP
; More than 4 NOP instructions
NOP
NOP
NOP
2.16.4 Precautions in Power Control
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...