Other Parts Discussed in Thread: BQSTUDIO
I'm having difficulty mapping some register view data in BatteryManagment Studio to the information in the technical reference manual
Specifically for ChargingStatus
The technical reference manual (TRM) for the BQ40Z50 (sluua43a.pdf) defines the bit fields this way:
12.1.41 ManufacturerAccess() 0x0055 ChargingStatus
This command returns the ChargingStatus() flags
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSVD RSVD RSVD RSVD RSVD RSVD CCC CVR CCR VCT MCHG IN HV MV LV PV RSVD OT HT STH RT STL LT UT
When I use bqStudio 1.3.54 (with show advanced view mode on) , the "Charging Status" bit register shows CCC as bit 10 and the lower bits for temperature range are not shown at all (see above picture)
In the TRM, the CCC bit is bit 17 and there are temperature range flags in bits 0-6 (which are not shown in bqStudio).
The PV bit ( bit 8 in the TRM ) is mapped to bit 0 in the above image.
It appears the bits were shifted and truncated
Am I misunderstanding the displayed data and its mapping to the TRM?
In other cases the BqStudio 1.3.54 data mapped well with the TRM.
Thanks
John Wright