Skip to main content
Visitor II
May 29, 2018
Question

Does STM8S005C6 support touch sensing?

  • May 29, 2018
  • 2 replies
  • 621 views
Posted on May 29, 2018 at 17:58

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

#stm8s
    This topic has been closed for replies.

    2 replies

    ST Employee
    May 30, 2018
    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

    Visitor II
    May 30, 2018
    Posted on May 30, 2018 at 13:01

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