Skip to main content
SKund.1
Associate II
Jun 28, 2021 9:00 AM UTC
Solved

GPIO pin current info

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 topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
Jun 28, 2021 10:23 AM UTC

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

JW

2 replies

waclawek.jan
waclawek.janBest answer
Super User
Jun 28, 2021 10:23 AM UTC

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

JW

SKund.1
SKund.1Author
Associate II
Jun 28, 2021 10:34 AM UTC

Thanks for clarifying.