Page 84
7. Voltage Detection Circuit
7.3 Function
TMP89FM42
RA002
If VDCR2<VDxEN> is set at "1", when the supply voltage (VDD) becomes lower than the detection voltage
(VDxLVL), VDCR1<VDxSF> is set to "1". When the supply voltage (VDD) becomes equal to or higher than
the detection voltage (VDxLVL), VDCR1<VDxSF> is cleared to "0".
Unlike VDCR1<VDxF>, VDCR1<VDxSF> does not hold the set state.
Note 1: When the supply voltage (VDD) becomes lower than the detection voltage (VDxLVL) in the STOP, IDLE0 or
SLEEP0 mode, the voltage detection flag and the voltage detection status flag are changed after the opera-
tion mode is returned to NORMAL or SLOW mode.
Note 2: Depending on the voltage detection timing, the voltage detection status flag (VDxSF) may be changed ear-
lier than the voltage detection flag (VDxF) by a maximum of 2/fcgck[s].
Figure 7-3 Changes in the Voltage Detection Flag and the Voltage Detection Status Flag
7.3.5
Selecting the STOP mode release signal
By setting VDCR2<SRSS> to select the voltage detection STOP mode release signal as the STOP mode
release signal, STOP mode can be released when the supply voltage (VDD) becomes equal to or higher than
the detection voltage (VDxLVL).
To use this function, set VDCR2<VDxMOD> to "0" and set the operation mode to generate voltage detec-
tion interrupt request signals. In addition, before the operation is switched to STOP mode, clear SYSCR1
<RELM> to "0" and select the edge release mode.
If the level release mode is selected and the supply voltage (VDD) is equal to or higher than the detection
voltage (VDxLVL), STOP mode cannot be activated.
Setting VDCR2<SRSS> to "00" allows STOP mode to be released depending on the state of the
STOP
pin.
Setting it to "01" allows STOP mode to be released when the supply voltage (VDD) becomes equal to or
higher than the detection voltage (VDxLVL).
Setting it to "10" allows STOP mode to be released depending on the state of the
STOP
pin or when the sup-
ply voltage (VDD) becomes equal to or higher than the detection voltage (VDxLVL).
Refer to Section 2 "CPU" for settings to activate or release STOP mode.
Note 1: After STOP mode is released by a voltage detection STOP mode release signal, the interrupt latch
becomes "1". If it is undesirable to accept an interrupt after STOP mode is released, disable interrupts
before STOP mode is activated. In addition, clear the interrupt latch before enabling interrupts after STOP
mode is released.
Note 2: If the supply voltage (VDD) becomes equal to or higher than the detection voltage (VDxLVL) within 1
machine cycle after SYSCR1<STOP> is set to "1" and STOP mode is activated, STOP mode is not
released.
Note 3: When the voltage detection interrupt request signal of the voltage detection circuit is used as the STOP
mode release signal, take into account sudden fluctuations in the supply voltage (VDD) and changes near
the detection voltage (VDxLVL) in setting the detection voltage (VDxLVL) and the warm-up time.
Detection voltage level
VDD level
VDCR1<VDxF>
VDCR2<VDxEN>
Write 0 to VDCR1<VDxF>
The flag is not set because VDCR2<VDxEN> is 0 .
VDCR1<VDxSF>
Summary of Contents for TLCS-870/C1 Series
Page 1: ...8 Bit Microcontroller TLCS 870 C1 Series TMP89FM42 查询TMP89FM42供应商 捷多邦 专业PCB打样工厂 24小时加急出货 ...
Page 3: ...Revision History Date Revision 2007 10 25 1 First Release 2007 11 3 2 Contents Revised ...
Page 4: ......
Page 14: ......
Page 18: ...1 3 Block Diagram TMP89FM42 1 3 Block Diagram Figure 1 2 Block Diagram ...
Page 22: ...1 4 Pin Names and Functions TMP89FM42 ...
Page 60: ...2 CPU Core 2 5 Revision History TMP89FM42 ...
Page 76: ...3 Interrupt Control Circuit 3 8 Revision History TMP89FM42 ...
Page 86: ...4 External Interrupt control circuit 4 3 Function TMP89FM42 ...
Page 102: ...7 Voltage Detection Circuit 7 5 Revision History TMP89FM42 ...
Page 126: ...8 I O Ports 8 3 I O Port Registers TMP89FM42 Note 2 i 0 to 1 ...
Page 136: ...8 I O Ports 8 5 Revision History TMP89FM42 ...
Page 142: ...9 Special Function Registers 9 3 SFR3 0x0E40 to 0x0EFF TMP89FM42 ...
Page 146: ...10 Low Power Consumption Function for Peripherals TMP89FM42 ...
Page 149: ...TMP89FM42 11 3 Revision History Rev Description RA001 Deleted SLEEP2 description ...
Page 150: ...11 Divider Output DVO 11 3 Revision History TMP89FM42 ...
Page 220: ...15 Real Time Clock RTC 15 4 Real Time Clock Operation TMP89FM42 ...
Page 250: ...16 Asynchronous Serial Interface UART 16 15 Revision History TMP89FM42 ...
Page 302: ...18 Serial Bus Interface SBI 18 7 Revision History TMP89FM42 ...
Page 338: ...21 Flash Memory 21 4 Toggle Bit D6 TMP89FM42 ...
Page 384: ...22 Serial PROM Mode 22 15 Revision History TMP89FM42 ...
Page 388: ...24 Input Output Circuit 24 1 Control Pins TMP89FM42 ...
Page 404: ...25 Electrical Characteristics 25 11 Revision History TMP89FM42 ...
Page 406: ...26 Package Dimensions TMP89FM42 ...
Page 408: ......