STM32F05xx 系列是ST M0内核,用于电容触摸是用到其内部的TSC模块,不是全部的STM32都支持这个模块。用传统的测量充放电时间方式,就别折腾了,抗干扰麻烦。
参考UM1606 - STMTouch Driver User Manual v4.0
STM32F0xx and STM32F3xx devices using the embedded touch sensing controller IP (TSC).
– Surface charge-transfer acquisition principle managed by the touch sensing
controller
– Up to 24 channels
– Up to 8 channels can be acquired simultaneously (see Table 22, Table 23,
Table 27 and Table 28 for more details)
– Spread spectrum feature
– Programmable charge transfer frequency and max count value
|