STM32U5G9J-DK1: Interfacing a 3.3 V I2C via 3.3 V-to-1.8 V level shifter
Hello all,
I want to connect a 3.3 V I2C based keypad with STM32U5G9J-DK1 via a carrier board on which the STM32 board sits via expansion connectors CN9 and CN10 present on it. I am using pins PG13, PG14, and PG9 for my I2C SDA, I2C SCL, and INTERRUPT, which are available as Pin No. 4, 2, and 8 respectively on CN10. The signals pass through a level shifter (TXS0104VDR) on the carrier board for conversion between 1.8 V signals at the STM32 end and 3.3 V signals at the keypad end.
These lines are also connected with external pull up resistors as indicated in images attached. All the capacitors between the signal lines and GND have been unmounted. Also, 0 Ohm resistors (R27, R28, and R29 have been unmounted).
During operation, STM32 can't detect any I2C device connected whereas the keypad seems to work perfectly when used in a different setup. Upon further investigation, it appears that all the three pins have become unresponsive, even when the board is used standalone, disengaged from the carrier board. Setting internal pull-ups via STMCube doesn't show up when these pins are probed for the same. Similarly, interrupts aren't detected via STM32 MCU even when interrupts are applied on the pins externally.
I suppose some design flaw is to be blamed for this malfunctioning and I hope you can help me diagnose it.


