R01UH0823EJ0100 Rev.1.00
Page 1511 of 1823
Jul 31, 2019
RX23W Group
43. Capacitive Touch Sensing Unit (CTSU)
43.2.18
CTSU Error Status Register (CTSUERRS)
CTSUSPMD[1:0] Bit (Calibration Mode)
These bits are used to calibrate the CTSU.
When measuring the capacitance, set these bits to 00b.
CTSUTSOD Bit (TS Pin Fixed Output)
This bit is used to calibrate the CTSU. When setting this bit to 1, the TS pins are forced to the logic level specified by the
CTSUCR0.CTSUIOC bit.
When measuring the capacitance, set this bit to 0.
CTSUDRV Bit (Calibration Setting 1)
This bit is used to calibrate the CTSU.
When measuring the capacitance, set this bit to 0.
CTSUTSOC Bit (Calibration Setting 2)
This bit is used to calibrate the CTSU.
When measuring the capacitance, set this bit to 0.
CTSUICOMP Bit (TSCAP Voltage Error Monitor)
If the offset current amount set by the CTSUSO1 register exceeds the sensor ICO input current during touch
measurement, the TSCAP voltage becomes abnormal and touch measurement cannot be correctly performed. This bit
monitors the TSCAP voltage and it is set to 1 if the voltage becomes abnormal. If the TSCAP voltage becomes abnormal,
the sensor ICO counter value will be undefined, but touch measurement is normally completed, so it difficult to detect an
abnormality by reading the sensor ICO counter value. If the CTSU reference ICO current adjustment bits
(CTSURICOA[7:0]) in the CTSUSO1 register are set to a value other than 0, check this bit when touch measurement is
completed.
Address(es): CTSU.CTSUERRS 000A 091Ch
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
CTSUI
COMP
—
—
—
—
—
—
—
CTSUT
SOC
—
—
—
CTSUD
RV
CTSUT
SOD
CTSUSPMD[1:0
]
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b1, b0
Calibration Mode
b1 b0
0 0: Capacitance measurement mode
0 1: Setting prohibited
1 0: Calibration mode
1 1: Setting prohibited
R/W
b2
TS Pin Fixed Output
0: Capacitance measurement mode
1: TS pins are forced to be high or low
R/W
b3
Calibration Setting 1
0: Capacitance measurement mode
1: Calibration setting 1
R/W
b6 to b4
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b7
Calibration Setting 2
0: Capacitance measurement mode
1: Calibration setting 2
R/W
b14 to b8
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b15
TSCAP Voltage Error Monitor
0: Normal TSCAP voltage
1: Abnormal TSCAP voltage
R