This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ40Z50-R1: PEC Calculation for other Microcontrollers

Part Number: BQ40Z50-R1

Hi,

Due to several reasons, I am using other MCUs to read data from a BQ40Z50-R1. 

I manually wrote a write block a read block to get data from the ManufacturerBlockAccess 0x44.

When writing using I2C, the information cannot be retrieved , which I suspect is due to the PEC byte after the last data byte.

So what I want to ask is, is there a certain function I can add into my code to calculate the PEC byte for me to successfully retrieve the information I need?

Thanks.