6 years, 4 months ago.

library for embedded touch sensing using stm32L432kc?

Hello, I'm looking for a library for embedded touch sensing using stm32L432kc. if anybody can provide me with a guide on how to do the coding it'd be appreciated

1 Answer

6 years, 4 months ago.

Hello Maryam,

I'm not sure about mbed libraries, but you could take a look at the STM32CubeL4 which contains embedded software library as well as STM32 HAL APIs:

https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubel4.html

Here is a document that goes into detail about the embedded touch sensing library in the STM32Cube (which includes the general architecture as well as some examples to help get started):

https://www.st.com/content/ccc/resource/technical/document/user_manual/group0/d6/4c/20/0d/a1/c1/4c/99/DM00210526/files/DM00210526.pdf/jcr:content/translations/en.DM00210526.pdf

Hope this helps!

-Karen, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

Thanks for the reply. It is written on the documentations that there is 3 capacitive sensing channels in group 2 analog IO in the stm32l432kc. What is meant exactly by group 2? and which pins correspond to group 2? And do I add the sampling capacitors and sensing capacitors or they're already embedded on the nucleo stm32l432kc board?

posted by maryam magdy 28 Jul 2018

Hi Maryam,

Each group is a group of GPIOs, usually comprised of one GPIO dedicated to a sampling capacitor and the rest as channels. You should be able to see the corresponding pins for a board in the document linked above. I believe you need to add your own capacitors:

https://www.st.com/content/ccc/resource/technical/document/application_note/28/4b/40/7c/e6/68/44/9c/DM00087593.pdf/files/DM00087593.pdf/jcr:content/translations/en.DM00087593.pdf

I highly recommend referring to the community at ST: https://community.st.com/s/

They will surely know more about this than I do!

-Karen, team Mbed

posted by Karen Yen 31 Jul 2018