Kind of an obvious question, but what is the max current any GPIO on the IMP004m can source or sink ? Particular use case is to drive an optocoupler (MOCD217M) that seems it only requires 1mA If to turn on (although I guess 2mA is better to be on the safe side and maintain some switching speed).
I looked through the STM32F412 datasheet as that is the underlying HW for the 004 and it’s stating
“The GPIOs (general purpose input/outputs) can sink or source up to ±8 mA, and sink or
source up to ±20 mA (with a relaxed VOL/VOH) except PC13, PC14 and PC15 which can
sink or source up to ±3mA”.
Now, we don’t know if the pin we’re intending to use is any of these 3mA ones, but even that should be enough for us.
Bottom line, we could drive the leds with a separate MOSFET, but would like to keep things simple and drive the OK’ LED directly. . What would be your recommendation ?
Other topic, I also saw that the STM32F412 has 5V tolerant GPIO pins. I always thought that was a definite no-go for any imp module. Has that changed with these more recent versions ?