Notifications
Clear all

How to read chip registers by NLBA1 tool

DjiBattWorkshop
(@djibattworkshop)
Member Moderator

 The best way to read and decode chip registers is to use dedicated software and hardware from chip manufacturer. But if you dont have such tools it could be done by NLBA1 software too. 

In example below it will be shown how to read registers on bq20zXXX chips like bq20z45, bq20z65, bq20z90 etc. 

Go to Smbus subtab and send these commands 

 Register 0x00 WriteWord 0x0051

 Register 0x00 ReadWord

 Register 0x00 WriteWord 0x0053

 Register 0x00 ReadWord

 Register 0x00 WriteWord 0x0054

 Register 0x00 ReadWord

 Register 0x00 WriteWord 0x0055

 Register 0x00 ReadWord

 Register 0x00 WriteWord 0x0006

 Register 0x00 ReadWord

 Register 0x00 WriteWord 0x0056

 Register 0x00 ReadWord 

 

Example for the first pair of commands 

Register 0x00 WriteWord 0x0051

Register 0x00 ReadWord 

Step 1. Enter 00 in both Register fields 

Step 2. Enter 0051 in Word field 

Step 3. Press WriteWord button 

Step 4. Press ReadWord button 

Above commands will be logged on right side shown in violet ellipse. 

NLBA1 Smbus WW000051 RW00

Repeat same steps for all other command pairs. Step 1 could be omitted because it is the same for all commands. All the log should look like this 

NLBA1 Smbus bq20zXX Set

Decoding the registers could be done using Windows Calculator in Programmer mode and chip Technical Reference Manual. 

 

ReplyQuote
Topic starter Posted : 04/07/2024 1:09 pm
Topic Tags
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

 Reading registers for bq30zXXX chips like bq30z55, bq30z551, bq30z554 etc. 

Go to Smbus subtab and send these commands 

Register 0x00 WriteWord 0x0051
Register 0x23 ReadBlock
Register 0x00 WriteWord 0x0053
Register 0x23 ReadBlock
Register 0x00 WriteWord 0x0054
Register 0x23 ReadBlock
Register 0x00 WriteWord 0x0055
Register 0x23 ReadBlock
Register 0x00 WriteWord 0x0056
Register 0x23 ReadBlock
Register 0x00 WriteWord 0x0057
Register 0x23 ReadBlock

Example for the first pair of commands 

Register 0x00 WriteWord 0x0051

Register 0x23 ReadBlock 

Step 1. Enter 00 in Register field 

Step 2. Enter 0051 in Word field 

Step 3. Press WriteWord button 

Step 4. Enter 23 in Register field 

Step 5. Press ReadBlock button 

Above commands will be logged on right side shown in violet ellipse. 

NLBA1 Smbus WW000051 RBL23

Repeat same steps for all other command pairs. Step 1 and 4 could be omitted because they are the same for other pairs. All the log should look like this 

NLBA1 Smbus WW000057 RBL23

Decoding the registers could be done using Windows Calculator in Programmer mode and chip Technical Reference Manual. 

ReplyQuote
Topic starter Posted : 04/07/2024 2:07 pm
profild1 liked
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Reading registers for bq40XXX chips like bq40z50, bq40z370, bq40z695a etc. 

Go to Smbus subtab and send these commands 

Register 0x44 WriteBlock 0x5100

Register 0x44 ReadBlock

Register 0x44 WriteBlock 0x5300

Register 0x44 ReadBlock

Register 0x44 WriteBlock 0x5400

Register 0x44 ReadBlock

Register 0x44 WriteBlock 0x5500

Register 0x44 ReadBlock

Register 0x44 WriteBlock 0x5600

Register 0x44 ReadBlock

Register 0x44 WriteBlock 0x5700

Register 0x44 ReadBlock

 

Example for the first pair of commands 

Register 0x44 WriteBlock 0x5100

Register 0x44 ReadBlock

 

Step 1. Enter 44 in Registers field 

Step 2. Enter 5100 in Block field 

Step 3. Press WriteBlock button 

Step 4. Press ReadBlock button 

Above commands will be logged on right side shown in violet ellipse. 

NLBA1 Smbus WBL445100 RBL44

Repeat same steps for all other command pairs. Step 1 could be omitted because it is the same for other pairs. All the log should look like this 

NLBA1 Smbus WBL445700 RBL44

Decoding the registers could be done using Windows Calculator in Programmer mode and chip Technical Reference Manual. 

ReplyQuote
Topic starter Posted : 29/09/2024 1:02 pm
Share: