cancel
Showing results for 
Search instead for 
Did you mean: 

Getting PEC error from Smbus .

Vel
Associate III

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:-0693W000006HUvZQAW.png 

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

0 REPLIES 0