
Rev. 1.10
84
March 02, 2020
Rev. 1.10
85
March 02, 2020
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
• TKM0THS Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
M0K2THF M0K1THF
—
—
M0K2THS M0K1THS
R/W
—
—
R/W
R/W
—
—
R/W
R/W
POR
—
—
0
0
—
—
0
0
Bit 7~6
Unimplemented, read as “0”
Bit 5
M0K2THF
: Touch key module 0 KEY2 upper/lower threshold comparison flag
0: Not less than lower threshold or not larger than upper threshold
1: Less than lower threshold or larger than upper threshold
Bit 4
M0K1THF
: Touch key module 0 KEY1 upper/lower threshold comparison flag
0: Not less than lower threshold or not larger than upper threshold
1: Less than lower threshold or larger than upper threshold
Bit 3~2
Unimplemented, read as “0”
Bit 1
M0K2THS
: Touch key module 0 KEY2 upper or lower threshold comparison
selection
0: Lower threshold comparison
1: Upper threshold comparison
Bit 0
M0K1THS
: Touch key module 0 KEY1 upper or lower threshold comparison
selection
0: Lower threshold comparison
1: Upper threshold comparison
Touch Key Operation
When a finger touches or is in proximity to a touch pad, the capacitance of the pad will increase.
By using this capacitance variation to change slightly the frequency of the internal sense oscillator,
touch actions can be sensed by measuring these frequency changes. Using an internal programmable
divider the reference clock is used to generate a fixed time period. By counting a number of
generated clock cycles from the sense oscillator during this fixed time period touch key actions can
be determined.
TKST
M0KOEN
M0ROEN
KEY OSC CLK
Reference OSC CLK
f
CFTMCK
Enable
f
CFTMCK
(M0DFEN=0)
f
CFTMCK
(M0DFEN=1)
TKBUSY
TKRCOV
Cleared by
hardware
Set Touch Key TKRCOV
interrupt request flag
8-bit time slot counter overflow
time
Touch Key Manual Scan Mode Timing Diagram