Hello, can anybody tell me the maximum allowed voltage flowing into STM32 when in Open-Drain-mode on an STM32G030F6? The datasheet does not show any overvoltage protection diodes, so I am wondering if it is possible to sink 12V limited to 50µA?
The concrete use case is that I want to control a p-channel-MOSFET which gate is pulled up to 12V via an external 10kOhm resistor.
To switch the MOSFET I have to pull the gate down to GND, so I thought about using Open-Drain-output mode to let the 12V (limited by the external 10kOhm resistor) flow to ground.
Are there any protection diodes which would conduct from this 12V GPIO to e.g. VDD to limit input voltage?
Kind regards
Robin