Skip to main content
Associate III
April 3, 2025
Solved

PC15 as GPIO input on STEVAL-PTOOL4A

  • April 3, 2025
  • 1 reply
  • 415 views

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

AnthonyK_0-1743667452123.png

 

Best answer by AnthonyK

It was my fault, the trigger should be connected to 0V and not 3.3V

1 reply

AnthonyKAuthorBest answer
Associate III
April 3, 2025

It was my fault, the trigger should be connected to 0V and not 3.3V

GMA
Technical Moderator
April 4, 2025

Hello @AnthonyK,

Thank you for your feedback.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA