Rev. 1.00
68
March 24, 2020
Rev. 1.00
69
March 24, 2020
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
• TKM0ROH/TKM0ROL – Touch Key Module 0 Reference Oscillator Capacitor Selection
Register Pair
Register
TKM0ROH
TKM0ROL
Bit
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Name
— — — — — — D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
R/W
— — — — — — R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR
— — — — — —
0
0
0
0
0
0
0
0
0
0
This register pair is used to store the touch key module 0 reference oscillator capacitor value. This
register pair will be loaded with the corresponding next time slot capacitor value from the dedicated
touch key data memory at the end of the current time slot when the auto scan mode or the periodic
auto scan mode is selected.
The reference oscillator internal capacitor value=
TKM0RO[9:0]×50pF
1024
• TKM0C0 Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
M0DFEN
—
M0SOFC M0SOF2 M0SOF1 M0SOF0
R/W
—
—
R/W
—
R/W
R/W
R/W
R/W
POR
—
—
0
—
0
0
0
0
Bit 7~6
Unimplemented, read as “0”
Bit 5
M0DFEN
: Touch key module 0 multi-frequency control
0: Disable
1: Enable
This bit is used to control the touch key oscillator frequency doubling function. When
this bit is set to 1, the key oscillator frequency will be doubled.
Bit 4
Unimplemented, read as “0”
Bit 3
M0SOFC
: Touch key module 0 C/F oscillator frequency hopping function control
selection
0: Controlled by the M0SOF2~M0SOF0
1: Controlled by hardware circuit
This bit is used to select the touch key oscillator frequency hopping function control
method. When this bit is set to 1, the key oscillator frequency hopping function is
controlled by the hardware circuit regardless of the M0SOF2~M0SOF0 bits value.
Bit 2~0
M0SOF2~M0SOF0
: Touch key module 0 reference and key oscillators hopping
frequency selection (M0SOFC=0)
000: 1.020MHz
001: 1.040MHz
010: 1.059MHz
011: 1.074MHz
100: 1.085MHz
101: 1.099MHz
110: 1.111MHz
111: 1.125MHz
These bits are used to select the touch key oscillator frequency for the hopping
function. Note that these bits are only available when the M0SOFC bit is cleared to 0.
The frequency mentioned here will be changed when the external or internal capacitor
is with different values. If the touch key operates at 1MHz frequency, users can adjust
the frequency in scale when any other frequency is selected.