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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

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.