Incorrect voltage on input pin of STM32L4Q5CG when pulled-up to supply voltage via external resistor
Hello All,
I have the following setup:
- Stand-alone STM32L4Q5CG on 48-pin breakout board with coupling caps installed
- PB11 tied to 3.3V via external 4.7K pull-up resistor
- PB9 tied to 3.3V via external 4.7K pull-up resistor
- STM32CubeMx rev. 6.0.1
- Firmware package: STM32Cube FW_L4 V1.16.0
- PB11 (pin 22) configured as input with no internal pull-up/pull-down
- PB9 (pin 46) configured as I2C1 SDA with no internal pull-up and max output speed set to HIGH.
These are the problems I am seeing:
- Measured voltage on PB11 is 1.2V instead of 3.3V as expected. When pin is grounded, current shoots up to 230mA. It appears this pin is acting as an output rather than an input.
- Measured voltage on PB9 (SDA_1) is 1.22V instead of 3.3V as expected. By contrast, when using I2C4 instead of I2C1, measured voltage on PB7 (SDA_4) is 3.3V as expected.
The voltages on the other configured inputs and outputs are all fine except for these two. I have tried using internal pull-up resistors instead of external ones, but the results are the same. I have also tried using older L4 firmware packages besides v1.16.0 but again, it made no difference. Are there any known issues with pins PB11 and PB9 on this particular MCU? Any suggestions?
