2025-03-10 10:23 AM
Hi everyone,
I’m currently working on an I2C communication setup using the Nucleo-H753ZI DK but the cubeMx document is for the STM32H743BIT (the MCU for my custom board) and aiming to run it in Fast Mode (400 kHz). However, when configuring the I2C clock speed to 400 kHz, the CLK signal becomes unstable, as shown in the attached image.
To ensure the setup is functioning correctly, I ran tests with I2C configured at 100 kHz, and the communication works perfectly in that case.
I’ve also included an image of the system clock configuration in case there’s something that could be optimized.
Does anyone know what might be causing the instability in the CLK signal, preventing proper communication at 400 kHz?
Thanks in advance for your help!
2025-03-10 10:41 AM
What pullup value are you using?
Look at the signal on an oscilloscope to see what's happening:
2025-03-10 11:04 AM
Increase the logic analyzer sample rate. Looks like it's just too slow to capture things at the resolution you're expecting. Compare sample rate to time between edges. Probably you only have 1-2 samples per pulse here.