SMBUS bus busy check
Hi,
I have a power management setup with a smart battery, charger Ic and the host msu - all connected on the SMBUS. I am facing some issues and I doubt that the data on the SMBUS is getting corrupted. The issue is only happening when the MCU tries to access the bus. There are bus traffic on the smbus due to the communication between the charger IC and the smart battery. So, should the MCU check if the bus is idle before initiating a communication on the smbus ? I have also noticed that the clock frequency is different between the communication between the chargerIC and the smart battery (64 KHz), and between the MCU and the charger IC/smartbattery (93 KHz). Can the difference in the clock frequency lead to data corruption ?
Is there an HAL SMBUS api to check if the bus is busy/idle which can be used before accessing the bus ?
I hope the HAL SMBUS library support bus arbitration and should the clock frequency be same for this ?
