There has been a rumor circulating: The hardware I2C design of STM32 has a bug, and it is better not to use it; using software I2C is more reliable.For a long time, to avoid unnecessary trouble, I have not used hardware I2C, mainly because software I2C is also quite convenient, and can be used on almost any port.Recently, I designed a board that happened to use I2C, so I decided to test whether the