EasyManuals Logo

ST STM32L4 5 Series User Manual

ST STM32L4 5 Series
1830 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #792 background imageLoading...
Page #792 background image
Touch sensing controller (TSC) RM0351
792/1830 DocID024597 Rev 5
26.3.4 Charge transfer acquisition sequence
An example of a charge transfer acquisition sequence is detailed in Figure 186.
Figure 186. Charge transfer acquisition sequence
For higher flexibility, the charge transfer frequency is fully configurable. Both the pulse high
state (charge of C
X
) and the pulse low state (transfer of charge from C
X
to C
S
) 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 C
X
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 1 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 C
S
has
reached the given threshold, is performed at the end of the pulse low state and its duration
is one period of HCLK.
Note: The following TSC control register configurations are forbidden:
bits PGPSC are set to ‘000’ and bits CTPL are set to ‘0000’
bits PGPSC are set to ‘000’ and bits CTPL are set to ‘0001’
bits PGPSC are set to ‘001’ and bits CTPL are set to ‘0000’
-36
#HARGETRANSFERFREQUENCY
$EADTIMESTATE
0ULSELOWSTATE
3PREAD3PECTRUMSTATE
CHARGETRANSFER
#
3
READINGSTATE
#
8
(I:
#
3
(I:
3TATE
#
,+?!("
T
$ISCHARGE
#
8
AND#
3
0ULSEHIGHSTATE
CHARGEOF#
8
FROM#
8
TO#
3
$EADTIMESTATE
$EADTIMESTATE
$EADTIMESTATE
#
3
READINGSTATE
$EADTIMESTATE

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32L4 5 Series and is the answer not in the manual?

ST STM32L4 5 Series Specifications

General IconGeneral
BrandST
ModelSTM32L4 5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals