cancel
Showing results for 
Search instead for 
Did you mean: 

PC15 as GPIO input on STEVAL-PTOOL4A

AnthonyK
Associate II

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
AnthonyK
Associate II

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

View solution in original post

2 REPLIES 2
AnthonyK
Associate II

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

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