
Rev. 1.10
38
March 02, 2020
Rev. 1.10
39
March 02, 2020
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
System Operation Modes
There are six different modes of operation for the microcontroller, each one with its own
special characteristics and which can be chosen according to the specific performance and
power requirements of the application. There are two modes allowing normal operation of the
microcontroller, the FAST Mode and SLOW Mode. The remaining four modes, the SLEEP, IDLE0,
IDLE1 and IDLE2 Mode are used when the microcontroller CPU is switched off to conserve power.
Operation
Mode
CPU
Register Setting
f
SYS
f
H
f
SUB
f
LIRC
f
LIRC
/8
FHIDEN FSIDEN CKS2~CKS0
FAST
On
x
x
000~110
f
H
~f
H
/64
On
On
On
On
SLOW
On
x
x
111
f
SUB
On/Off
(1)
On
On
On
IDLE0
Off
0
1
000~110
Off
Off
On
On
On
111
On
IDLE1
Off
1
1
xxx
On
On
On
On
On
IDLE2
Off
1
0
000~110
On
On
Off
On
On
111
Off
SLEEP
Off
0
0
xxx
Off
Off
Off On/Off
(2)
On
(3)
Note: 1. The f
H
clock will be switched on or off by configuring the corresponding oscillator enable
bit in the SLOW mode.
2. The f
LIRC
clock can be switched on or off by configuring the touch key function M0TSS bit
being enabled or disabled in the SLEEP mode.
3. The f
LIRC
/8 clock will be switched on since the WDT function is always enabled in the
SLEEP mode.
FAST Mode
This is one of the main operating modes where the microcontroller has all of its functions
operational and where the system clock is provided by one of the high speed oscillators. This mode
operates allowing the microcontroller to operate normally with a clock source will come from HIRC
oscillator. The high speed oscillator will however first be divided by a ratio ranging from 1 to 64,
the actual ratio being selected by the CKS2~CKS0 bits in the SCC register. Although a high speed
oscillator is used, running the microcontroller at a divided clock ratio reduces the operating current.
SLOW Mode
This is also a mode where the microcontroller operates normally although now with a slower speed
clock source. The clock source used will be from f
SUB
. The f
SUB
clock is derived from the LIRC
oscillator. Running the microcontroller in this mode allows it to run with much lower operating
currents.
SLEEP Mode
The SLEEP Mode is entered when a HALT instruction is executed and when the FHIDEN and
FSIDEN bit are low. In the SLEEP mode the CPU will be stopped. The f
SUB
clock provided to the
peripheral function will also be stopped, too. However, the f
LIRC
/8 clock still continue to operate
since the WDT function is always enabled.
IDLE0 Mode
The IDLE0 Mode is entered when a HALT instruction is executed and when the FHIDEN bit in the
SCC register is low and the FSIDEN bit in the SCC register is high. In the IDLE0 Mode the CPU
will be switched off but the low speed oscillator will be turned on to drive some peripheral functions.