@usbalbin According to RM default pin mode (state on reset) for G4 is `Analog`. https://github.com/stm32-rs/stm32g4xx-hal/blob/64aa1ff0eddcd4a0532886d415a1ecdfc933e337/src/gpio.rs#L11