2022-03-22 02:00 AM
Solved! Go to Solution.
2022-03-23 04:55 AM
Impossible to answer, insufficient info.
I suspect you are making this harder than it actually is. If you are just monitoring a button, then wire button to Gnd, and use an internal or external pullup resistor, KISS.
Get a low cost demo board (Nucleo) andf a bread board, wire up your input, and put a scope on it so you can see what the input signal looks like.
Do you understand that a GPIO input is basically just the pin connected to the gates of a pair of FETs? (CMOS, plus some ESD diodes). The actual input the FETs' gate capacitance that needs to be charged (pF), not a resistive load that needs continuous drive current.
If you are a beginner, then consider looking at:
Paul
2022-03-23 05:24 AM
Yes I understood,
Thanks.
Virag