I am using an STM32 microcontroller.
I need to have a GPIO output which needs an external pulldown so some relays stay in the right state when the MCU is not running yet. It seems the open drain mode is only for external pull ups as the only possible outputs are open drain and GND.
What can I do to solve my problem? I don't see a configuration that outputs either open-drain or VCC
The output of the MCU (BRAKE_PWR_CTRL) is driving a MOSFET which then drives the relay as shown: