English
Language : 

RM0313 Datasheet, PDF (747/900 Pages) STMicroelectronics – This reference manual targets application developers
RM0313
Touch sensing controller (TSC)
27.3.4
Charge transfer acquisition sequence
An example of a charge transfer acquisition sequence is detailed in Figure 261.
Figure 261. Charge transfer acquisition sequence
#,+?!("

#8 (I:


#3 (I:

#HARGETRANSFERFREQUENCY
3TATE
$ISCHARGE
#8AND#3
0ULSEHIGHSTATE
CHARGEOF#8
0ULSELOWSTATE
CHARGETRANSFER
FROM#8TO#3
T
-36
For higher flexibility, the charge transfer frequency is fully configurable. Both the pulse high
state (charge of CX) and the pulse low state (transfer of charge from CX to CS) duration can
be defined using the CTPH[3:0] and CTPL[3:0] bits in the TSC_CR register. The standard
range for the pulse high and low states duration is 500 ns to 2 µs. To ensure a correct
measurement of the electrode capacitance, the pulse high state duration must be set to
ensure that CX is always fully charged.
A dead time where both the sampling capacitor I/O and the channel I/O are in input floating
state is inserted between the pulse high and low states to ensure an optimum charge
transfer acquisition sequence. This state duration is 2 periods of HCLK.
At the end of the pulse high state and if the spread spectrum feature is enabled, a variable
number of periods of the SSCLK clock are added.
The reading of the sampling capacitor I/O, to determine if the voltage across CS has
reached the given threshold, is performed at the end of the pulse low state and its duration
is one period of HCLK.
DocID022448 Rev 4
747/900
761