Unclean I2C - STM32WL5MOCH
The I2C on our board is unclean, at all clock speeds - 1 MHz, 400 kHz and 100 kHz - even without rf circuitry running. Signal traces are about 5 cm long in total. Pullups were set at 1 kOhm to enable Fast Mode Plus, but even the Standard 100 kHz low frequency signal is glitchy.
All the modules work most of the time, but eventually they glitch out and quit. This probably has something to do with the I2C signals.
All of these chips are supposed to be able to handle a 1 kOhm pullup to 3.3V. They are also supposed to be able to handle up to a 1 MHz I2C clock.
Here is my schematic. SDA and SCL are connected to I2C2 on the STM32WL5MOCH.
To test the individual performance of each device, we individually enabled / disabled each module and then watched the I2C signal at 100 kHz.
Communicating with the OLED:
The MCU generates weird little spikes every once in a while, almost like it can't decide whether or not to hold that line down.
SHT40I-AD1B-R3 Temperature Sensor
VL53L4CDV0DH/1 Ranging Device:
What is that ugly signal? How do we get rid of it?
