Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

BQ27510-G3 CheckSum problem

$
0
0

Dear,

I'm using BQ27510-G3 and it is soldered on my PCB. It communicates with MCU over I2C. I've tested I2C communication with my scope, and it seems to be OK. I have a problem when I want to update some of the parameters in data flash. For example, I want to modify the value of the tapper current (Subclass ID=36, offset = 2). According to my scope, when I want to write new checksum value, BQ27510-G3 dont acknowledges. Here is my I2C sequence:

S 0xAA 0x00 0x14 0x04 St

S 0xAA 0x00 0x72 0x36 St

S 0xAA 0x00 0xFF 0xFF St

S 0xAA 0x00 0xFF 0xFF St

When I read control register, I see that chip is in full access mode. 

S 0xAA 0x61 0x00 St

S 0xAA 0x3E 0x24 St

S 0xAA 0x3F 0x00 St

Now I'm reading current value of the Tapper Current, and it responds to me with 0x64 0x00 (100mA). This is as in the PDF.

S 0xAA 0x42 RS 0xAB Byte1 Byte2 St 

Reading current checksum:

S 0xAA 0x60 RS 0xAB CheckSum_Old St

Write new value for Tapper current - 20mA

S 0xAA 0x42 0x14 St

Everithing above goes Ok. Calculate new CheckSum according to the formula in PDF and write it.

S 0xAA 0x60 NEW_Check_Sum St - Here I dont get acknowledge from BQ27510-G3.

I've also tried to read old value of the Tapper Current and Old value of the CheckSum, and write this values to its locations without new values. Again I dont get acknowledge from BQ27510-G3.

Can you please help me with this? I dont have EMV and dont use BQStudio. I can only use mu MCU.

Best regards,

Vojin Ilic

 


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>