cancel
Showing results for 
Search instead for 
Did you mean: 

Does STM8S005C6 support touch sensing?

Shan Song
Associate
Posted on May 29, 2018 at 17:58

If yes, why this is not mentioned at all in its datasheet?

#stm8s
2 REPLIES 2
Artur IWANICKI
ST Employee
Posted on May 30, 2018 at 08:06

Hello,

It is possible to realize RC touch sensing on STM8S005C6.

Within STM8S family line we propose software solution (without any special HW) thus it is not mentioned in the datasheet. For

#stm8s

there is RC (resistor-capacitor) acquisition library prepared, available

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm8-embedded-software/stm8s-touch-lib.html

. There are ready examples for STM8S207, but you can easily tune it to your MCU.

Another example could be

https://my.st.com/content/my_st_com/en/products/embedded-software/mcus-embedded-software/stm8-embedded-software/stsw-stm8html

for

https://my.st.com/content/my_st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-eval-tools/stm8-mcu-eval-tools/stm8-mcu-eval-boards/stm8s-discovery.html

(with STM8S105C6)where there is one touch button. STM8S005C6 has the same peripherals set like STM8S105C6 so it would be much easier to migrate your code.

Best Regards,

Artur

henry.dick
Senior II
Posted on May 30, 2018 at 13:01

A better question is: does your code support touch sensing?