Capacitive sense problem - STM32F0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-11 5:56 PM
Hi there,
I am attempting to implement capacitve touch sensing using basic touch keys with an stm32f051. I have generated the project with STM32cubeMX, so setup is all there. But, struggling to write code to perform an acquisition and read sensors.
What is the simplest code for main.c to read the sensors and light an LED for each touch sensor BTN when pressed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-12 1:31 AM
no experience directly, sorry for that.
but I know the track layout is critical for this function.
is this a custom board ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-12 3:39 AM
You may want to ha a look at the examples provided in the Cube package:
STM32Cube_FW_F0.zip\Projects\STM32F072B-Discovery\Applications
\TouchSensing
STM32Cube_FW_F0
.zip
\Projects\STM32072B_EVAL\Applications\TouchSensingSTM32Cube_FW_F0
.zip
\Projects\STM32091C_EVAL\Applications\TouchSensingBest regards,
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-12 2:56 PM
Yes, its for a custom board. The board is complete and track layout determined
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-12 2:58 PM
Ok thanks. I've reviewed the discovery application, but perhaps not the other two
