
CMT2380F17
Rev0.1 | 87/347
www.cmostek.com
The alternative to save the operating power is to slow the MCU’s operating speed by programming
SCKS2~SCKS0 bits (in CKCON0 register, see Section “9 System Clock”) to a non-0/0/0 value. The user
should examine which program segments are suitable for lower operating speed. In principle, the lower
operating speed should not affect the system’s normal function. Then, restore its normal speed in the other
program segments.
13.2.2
Sub-Clock Mode
The alternative to slow down the MCU’s operating speed by programming OSCS1~0 can select the
ILRCO for system clock. The 32KHz ILRCO provides the MCU to operates in an ultra-low speed and low
power operation. Additional programming SCKS2~SCK
S0 bits (in CKCON0 register, see Section “9 System
Clock”), the user could put the MCU speed down to 250Hz slowest.
13.2.3
RTC Mode
The CMT2380F17 has a simple RTC module that allows a user to continue running an accurate timer
while the rest of the device is powered-
down. In RTC mode, the RTC module behaves a “Clock” function and
can be a wake-
up source from chip power down by RTC overflow rate. Please refer Section “11
Real-Time-Clock (RTC)/System-
Timer” for more detail information.
13.2.4
Watch Mode
If Watch-Dog-Timer is enabled and NSW is set, Watch-Dog-Timer will keep running in power down mode
to support an auto-wakeup function, which named Watch Mode in CMT2380F17. When WDT overflows, set
WDTF and wakeup CPU from interrupt or system reset by software configured. The maximum wakeup period
is about 2 seconds that is defined by WDT pre-
scaler. Please refer Section “10 Watch Dog Timer (WDT)” and
Section “15 Interrupt” for more detail information.
。
13.2.5
Monitor Mode
If AWBOD1 (PCON2.3) is set, BOD1 will keep VDD monitor in power down mode. It is the Monitor Mode
in CMT2380F17. When BOD1 meets the detection level, set BOF1 and wakeup CPU from interrupt or system
reset by software configured. Please refer Section “13.1 Brown-Out Detector” and Section “15 Interrupt” for
more detail information.
。
13.2.6
Idle Mode
可
Setting the IDL bit in PCON enters idle mode. Idle mode halts the internal CPU clock. The CPU state is
preserved in its entirety, including the RAM, stack pointer, program counter, program status word, and
accumulator. The Port pins hold the logical states they had at the time that Idle was activated. Idle mode
leaves the peripherals running in order to allow them to wake up the CPU when an interrupt is generated.
Timer 0, Timer 1, Timer 2, Timer 3, DMA, SPI, KBI, ADC, S0, S1, TWI0/I2C0, RTC, MCD, BOD0 and BOD1
will continue to function during Idle mode. PCA Timer and WDT are conditional enabled during Idle mode to
wake up CPU. Any enabled interrupt source or reset may terminate Idle mode. When exiting Idle mode with
an interrupt, the interrupt will immediately be serviced, and following RETI, the next instruction to be executed
will be the one following the instruction that put the device into Idle.
Note: When the MCU is in idle mode and power-down mode, the ADC input channel must be set to "analog
input only".
Содержание CMT2380F17
Страница 27: ...CMT2380F17 Rev0 1 27 347 www cmostek com 1 25 Phase Noise...
Страница 111: ...CMT2380F17 Rev0 1 111 347 www cmostek com INT2IS 1 0 Selected Port Pin of nINT2 00 P4 4 01 P3 0 10 P1 1 11 P1 6...
Страница 131: ...CMT2380F17 Rev0 1 131 347 www cmostek com Figure 16 1 Timer 0 Mode 0 Structure Figure15 2 Timer 1 Mode 0 Structure...
Страница 161: ...CMT2380F17 Rev0 1 161 347 www cmostek com Figure 16 32 Split Timer 3 Mode 1 Structure AR with Ex INT...
Страница 177: ...CMT2380F17 Rev0 1 177 347 www cmostek com Figure 17 3 PCA Interrupt System...
Страница 239: ...CMT2380F17 Rev0 1 239 347 www cmostek com Figure 19 5 8 bit Timer Mode Configuration for S1BRG S1TME 1...
Страница 246: ...CMT2380F17 Rev0 1 246 347 www cmostek com SnMIPS S0MI S1MI 1 P3 3 P4 7...
Страница 289: ...CMT2380F17 Rev0 1 289 347 www cmostek com...