2021-01-04 10:47 PM
Hi Team,
I am using Smart battery in my product. While reading the battery voltage or current I'm getting the PEC error in smbus line, but the received PEC value is correct. In smbus line three devices were connected, Host(mcu (stm32h7)), Master(Battery) and Slave (charger IC).
Attaching screenshot for your reference:-
I'm using this API bool smbusCommunication::SmbusRead(const uint8_t memLocation, const uint8_t devAddress, uint32_t &data, bool &isCRCmatch) to read data from SM Bus
Please advise how to solve this issue.
Here i have attached the communication part.
Thanks,
vel