cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO pin current info

SKund.1
Associate II

When a GPIO pin is connected to power an external device via Magnetic switch, from the STM32 point of view how does it know if the Magnetic switch is ON/OFF?

ON -> Device is powered ON similarly OFF.

Can STM32 detects change in current on GPIO pins?

Any suggestions would be much appreciated.

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
waclawek.jan
Super User

There's no provision to measure pin current in STM32. You would need to add your own external circuitry for that.

JW

View solution in original post

2 REPLIES 2
waclawek.jan
Super User

There's no provision to measure pin current in STM32. You would need to add your own external circuitry for that.

JW

Thanks for clarifying.