Touch sensing controller (TSC)
27.3.5
Spread spectrum feature
The spread spectrum feature allows to generate a variation of the charge transfer frequency.
This is done to improve the robustness of the charge transfer acquisition in noisy
environments and also to reduce the induced emission. The maximum frequency variation
is in the range of 10 % to 50 % of the nominal charge transfer period. For instance, for a
nominal charge transfer frequency of 250 KHz (4 µs), the typical spread spectrum deviation
is 10 % (400 ns) which leads to a minimum charge transfer frequency of ~227 KHz.
In practice, the spread spectrum consists of adding a variable number of f
the pulse high state using the principle shown below:
Figure 288. Spread spectrum variation principle
Deviation value
(SSD +1)
The table below details the maximum frequency deviation with different f
Table 96.
f
HCLK
24 MHz
48 MHz
The spread spectrum feature can be disabled/enabled using the SSE bit in the TSC_CR
register. The frequency deviation is also configurable to accommodate the device HCLK
clock frequency and the selected charge transfer frequency through the SSPSC and
SSD[6:0] bits in the TSC_CR register.
27.3.6
Max count error
The max count error prevents long acquisition times resulting from a faulty capacitive
sensing channel. It consists of specifying a maximum count value for the analog I/O group
counters. This maximum count value is specified using the MCV[2:0] bits in the TSC_CR
register. As soon as an acquisition group counter reaches this maximum value, the on-going
acquisition is stopped and the end of acquisition (EOAF bit) and max count error (MCEF bit)
flags are both set. An interrupt can also be generated if the corresponding end of acquisition
(EOAIE bit) or/and max count error (MCEIE bit) interrupt enable bits are set.
686/742
3
2
1
0
Spread spectrum deviation versus AHB clock frequency
Spread spectrum step
41.6 ns
20.8 ns
Doc ID 018940 Rev 1
n-1
n
n+1
Maximum spread spectrum deviation
RM0091
periods to
SSCLK
Number of pulses
settings:
HCLK
10666.6 ns
5333.3 ns
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers