PC15 as GPIO input on STEVAL-PTOOL4A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 1:04 AM - edited ‎2025-04-03 2:10 AM
Hello,
I am trying to use PC15 as GPIO input on the STEVAL-PTOOL4A. I configured it using CubeMX with pull-down resistor however the pin status is not changing in the software. I am sure my switch works well (checked on oscilloscope) and the LSE is disabled. Just I generated the code using MC Workbench and configured the PC15 as input mode. Normally it should be configured for DIR signal as per the datasheet. In addition, I have found that the J13-5 (which normally should be connected to PC15) is always at 3.3V
Is there any additional configuration that should be made?
Thank you for your support
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 5:03 AM
It was my fault, the trigger should be connected to 0V and not 3.3V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 5:03 AM
It was my fault, the trigger should be connected to 0V and not 3.3V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-04 2:36 AM
Hello @AnthonyK,
Thank you for your feedback.
Best regards.
GMA
