The invention provides an I2C
bus communication optimization method and device, equipment and a storage medium, and relates to the technical field of communication, and the method comprises the steps: monitoring a
signal quality parameter of an I2C
bus to obtain a real-time transmission state; based on the monitored
signal quality parameters, dynamically adjusting
time sequence parameters by using an
adaptive algorithm; when it is detected that devices with different rates exist on the I2C
bus,
clock domain synchronization is carried out based on the adjusted
time sequence parameters, and reliable communication between the mixed rate devices is ensured; and when the plurality of main devices access the I2C bus, judging the bus state according to the monitoring result of the
signal quality parameter, and adjusting the
access time sequence of the I2C bus to optimize the multi-main competition efficiency. According to the technical scheme, the inherent defects that in a traditional I2C protocol, static
time sequence parameter limitation, the multi-main-device competition problem, the mixing rate compatibility is poor and the like are effectively overcome, and the communication performance and efficiency of the I2C bus under the requirements of full-temperature-domain stability, multi-device hot plugging, ultra-low
power consumption and high reliability are remarkably improved.