
R01UH0240EJ0010 Rev.0.10
Page 603 of 728
Aug 05, 2011
R8C/36T-A Group
25. Touch Sensor Control Unit
Under development Preliminary document
Specifications in this document are tentative and subject to change.
Table 25.9
Status Operations
Status
Pin State
CHxB-CHxC short
Operation
CHxC
CHxB
CHxA
BCSHORT
= 0
BCSHORT
= 1
0
Hi-Z
OFF
Stopped, initial setting
1
Hi-Z
OFF
TSCU detection starts
2
H
Hi-Z
OFF
Wait for DTC transfer/Charge/Variable period 1
At transition from Status 1: Variable period 1 (1 to 1024 cycles) selected
by bits TCS10 to TCS19
At transition from Status 24: Variable period 1 (1 to 1024 cycles) selected
by bits TCSB10 to TCSB19
3
Hi-Z
OFF
Initialization
Measurement
STEP 1
4
Hi-Z
L
OFF
Variable period 2
Variable period 2 (1 to 64 cycles) selected by bits TCS20 to TCS25
Can be skipped by the TCS2C bit
5Hi-Z
L
OFF
Variable period 3
Variable period 3 (1 to 64 cycles) selected by bits TCS30 to TCS35
6
Hi-Z
OFF
ON
Variable period 4 (1 to 32 cycles) selected by bits TCS40 to TCS44
Can be skipped by the TCS4C bit
7
Hi-Z
OFF
ON
PRE measurement (ON/OFF selectable)
Selected by the PREMSR bit
8
Hi-Z
OFF
ON
Variable period 5
Variable period 5 (1 to 64 cycles) selected by bits TCS50 to TCS55
Can be skipped by the TCS5C bit
9
Hi-Z
OFF
ON
Main measurement period
Random measurement is selected by the RANDOM bit
Majority measurement can be selected by bits MJNUM0 to MJNUM2
10
Hi-Z
OFF
ON
Judging period for Main measurement
11
Hi-Z
OFF
Variable period 6 (1 to 64 cycles) selected by bits TCS60 to TCS65
Random value can be set to the number of cycles using the RANDOM6 bit.
(registers TSCURVR0 to TSCURVR3 are used)
Measurement
STEP 2
12
Hi-Z
OFF
Measurement STEP 2 starts
13
Hi-Z
L
OFF
Variable period 2
Variable period 2 (1 to 64 cycles) selected by bits TCS20 to TCS25
Can be skipped by the TCS2C bit
14
Hi-Z
L
OFF
Variable period 3
Variable period 3 (1 to 64 cycles) selected by bits TCS30 to TCS35
15
Hi-Z
OFF
ON
Variable period 4 (1 to 32 cycles) selected by bits TCS40 to TCS44
Can be skipped by the TCS4C bit
16
Hi-Z
OFF
ON
PRE measurement (ON/OFF selectable)
Selected by the PREMSR bit
17
Hi-Z
OFF
ON
Variable period 5
Variable period 5 (1 to 64 cycles) selected by bits TCS50 to TCS55
Can be skipped by the TCS5C bit
18
Hi-Z
OFF
ON
Main measurement period
Random measurement is selected by the RANDOM bit
Majority measurement can be selected by bits MJNUM0 to MJNUM2
19
Hi-Z
OFF
ON
Judging period for Main measurement
20
Hi-Z
OFF
Judgement on the secondary counter value
(2)Variable period 6 (1 to 64 cycles) selected by bits TCS60 to TCS65
Random value can be set to the number of cycles using the RANDOM6 bit.
(registers TSCURVR0 to TSCURVR3 are used)
21
Hi-Z
L
OFF
Discharge
Variable period (1 to 64 cycles) selected by bits TCS20 to TCS25
Can be skipped by the DISCHRG bit
22
Hi-Z
OFF
DTC transfer request
23
Hi-Z
OFF
Judgement on scan mode
24
Hi-Z
OFF
Measurement channel update
25
Hi-Z
OFF
Wait for DTC transfer
26
Hi-Z
OFF
Interrupt signal generation