|
TMP86CM49UG Datasheet, PDF (31/252 Pages) Toshiba Semiconductor – 8 Bit Microcontroller | |||
|
◁ |
TMP86CM49UG
System Control Register 1
SYSCR1
7
6
5
4
3
2
1
0
(0038H) STOP RELM RETM OUTEN
WUT
(Initial value: 0000 00**)
0: CPU core and peripherals remain active
STOP
STOP mode start
R/W
1: CPU core and peripherals are halted (Start STOP mode)
Release method for STOP
0: Edge-sensitive release
RELM
R/W
mode
1: Level-sensitive release
Operating mode after STOP
0: Return to NORMAL1/2 mode
RETM
R/W
mode
1: Return to SLOW1 mode
0: High impedance
OUTEN Port output during STOP mode
R/W
1: Output kept
Return to NORMAL mode
Return to SLOW mode
00
Warm-up time at releasing
WUT
STOP mode
01
10
11
3 x 216/fc
216/fc
3 x 214/fc
214/fc
3 x 213/fs
213/fs
3 x 26/fs
26/fs
R/W
Note 1: Always set RETM to â0â when transiting from NORMAL mode to STOP mode. Always set RETM to â1â when transiting
from SLOW mode to STOP mode.
Note 2: When STOP mode is released with RESET pin input, a return is made to NORMAL1 regardless of the RETM contents.
Note 3: fc: High-frequency clock [Hz], fs: Low-frequency clock [Hz], *; Donât care
Note 4: Bits 1 and 0 in SYSCR1 are read as undefined data when a read instruction is executed.
Note 5: As the hardware becomes STOP mode under OUTEN = â0â, input value is fixed to â0â; therefore it may cause external
interrupt request on account of falling edge.
Note 6: When the key-on wakeup is used, RELM should be set to "1".
Note 7: Port P20 is used as STOP pin. Therefore, when stop mode is started, OUTEN does not affect to P20, and P20 becomes
High-Z mode.
Note 8: The warmig-up time should be set correctly for using oscillator.
System Control Register 2
SYSCR2
(0039H)
7
XEN
6
XTEN
5
SYSCK
4
IDLE
3
2
1
TGHALT
0
(Initial value: 1000 *0**)
XEN
0: Turn off oscillation
High-frequency oscillator control
1: Turn on oscillation
0: Turn off oscillation
XTEN Low-frequency oscillator control
1: Turn on oscillation
R/W
SYSCK
Main system clock select
(Write)/main system clock moni-
tor (Read)
0: High-frequency clock (NORMAL1/NORMAL2/IDLE1/IDLE2)
1: Low-frequency clock (SLOW1/SLOW2/SLEEP1/SLEEP2)
IDLE
CPU and watchdog timer control 0: CPU and watchdog timer remain active
(IDLE1/2 and SLEEP1/2 modes) 1: CPU and watchdog timer are stopped (Start IDLE1/2 and SLEEP1/2 modes)
0: Feeding clock to all peripherals from TG
R/W
TG control (IDLE0 and SLEEP0
TGHALT
1: Stop feeding clock to peripherals except TBT from TG.
modes)
(Start IDLE0 and SLEEP0 modes)
Note 1: A reset is applied if both XEN and XTEN are cleared to â0â, XEN is cleared to â0â when SYSCK = â0â, or XTEN is cleared
to â0â when SYSCK = â1â.
Note 2: *: Donât care, TG: Timing generator, *; Donât care
Note 3: Bits 3, 1 and 0 in SYSCR2 are always read as undefined value.
Note 4: Do not set IDLE and TGHALT to â1â simultaneously.
Note 5: Because returning from IDLE0/SLEEP0 to NORMAL1/SLOW1 is executed by the asynchronous internal clock, the period
of IDLE0/SLEEP0 mode might be shorter than the period setting by TBTCR<TBTCK>.
Note 6: When IDLE1/2 or SLEEP1/2 mode is released, IDLE is automatically cleared to â0â.
Note 7: When IDLE0 or SLEEP0 mode is released, TGHALT is automatically cleared to â0â.
Note 8: Before setting TGHALT to â1â, be sure to stop peripherals. If peripherals are not stopped, the interrupt latch of peripherals
may be set after IDLE0 or SLEEP0 mode is released.
Page 17
|
▷ |