Notifications
Clear all

[Solved] Some out-of-range SBS parameters cause "Communication error"

DjiBattWorkshop
(@djibattworkshop)
Member Moderator

It was noticed in several forum topics that if some SBS parameters reported by chip were out-ranged the GUI throws "Communication error" message.

For example this thread.

https://www.laptopu.ro/community/laptop-battery-chip-reset-and-repair/dell-yy9rm-battery-not-charging/

Static and Dynamic parameters read Ok except SBS.ChargingCurrent() which field is empty.

1432 1

On pressing "Lock status" button it throws "Communication error". Probably when SBS.ChargingCurrent() is to be read for evaluation.

1434 3

Procedures where this parameters is used like Charging and AutoCycling become blocked as well.

1433 2

Manual read of SBS.ChargingCurrent() over Smbus tab 10 times with 1s interval revealed communication is Ok, but parameter is out-of-range. The value is 0xccc1=52417mA that is abnormal.

1437 6

The reason is some chips use FCC parameter as a base to calculate Charging Current.

uint16 ChgC = f(FCC, ...);

And this battery had FCC abnormal (what is typical for many bq208xx, bq304xx chips after long storage).

IMG 20211121 150549

After fixing the FCC, SBS.ChargingCurrent() was automatically fixed as well. Now pressing "Lock status" button does not throw any communication errors.

IMG 20211121 155046

Charging procedure become unblocked as well.

1441 8

 

ReplyQuote
Topic starter Posted : 21/11/2021 2:08 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Recommendation:

To print Charging Current reported by chip "as is" instead of treating out ranged values as communication error.

How to reproduce the issue:

To take any chip which uses FCC to calculate Charging Current, for example bq20889.

To change manually FCC to 65000.

To read then SBS, LockStatus, to try charge it.

 

ReplyQuote
Topic starter Posted : 21/11/2021 2:19 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Another topic with same bug.

https://www.laptopu.ro/community/forum-nlba1-laptop-battery-analyzer-and-repair-tool/no-battery-voltage/

 

ReplyQuote
Topic starter Posted : 21/11/2021 9:16 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Another 9 month old topic with same issue. Due to bad quality picture attached by TS, me only now noticed that SBS.ChargingCurrent() is missing in the report. Chip is bq20889, FCC=65xxx mAh. Battery was charging well from the first tab. TS did not return with any feedback to resolve the issue

https://www.laptopu.ro/community/forum-nlba1-laptop-battery-analyzer-and-repair-tool/dell-battery-only-charges-from-battery-info/

IMG 20211122 021146

 

ReplyQuote
Topic starter Posted : 22/11/2021 12:10 am
Nicusor
(@azzido)
Member Admin

@djibattworkshop 

The issue was explained on the forum. A fix could be added in the Battery Info tab to display the values exactly as they are received. For Charging and Discharging, the NLBA1 device has the charging and discharging algorithms done in the firmware. There are other checks on top of the raw values received from the chip. One check is to have the correct value for ChargingCurrent, it is part of the safety concept.

Once the FCC is displayed as it is received from the chip, it could be colored as red (wrong) and the user will know that there is an issue with it. Once it is fixed then the problem is solved.

 

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 05/12/2021 8:38 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @azzido

One check is to not have abnormal value for the FCC,

Do you mean Charging Current?

FCC is displayed "as is" even its out of range. 

ReplyQuote
Topic starter Posted : 05/12/2021 9:08 pm
Nicusor
(@azzido)
Member Admin

@djibattworkshop 

Yes, Charging Current.

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 05/12/2021 9:13 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @azzido

One check is to have the correct value for ChargingCurrent, it is part of the safety concept

As was explained in another thread the limit for Charging Current is 20000mA as per safety concept. So as me understood this concept correctly, device should not use the value above this limit to not go in overload, correct? 

ReplyQuote
Topic starter Posted : 05/12/2021 9:38 pm
Nicusor
(@azzido)
Member Admin

@djibattworkshop

More or less yes. There are several redundant checks to avoid using NLBA1 for other scopes. For overcurrent, there is another check against the instant current, if it is higher than 5000mA the charging stops. It seems that Dell has something similar, if the FCC is higher they even don't respond to CC command. It could be a bug or a feature...

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 06/12/2021 8:46 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @azzido

It seems that Dell has something similar, if the FCC is higher they even don't respond to CC command

They respond very well to CC register. It was confirmed using Smbus tab ReadWord 0x14 command. The value of CC in this case is modulated by FCC so its out of normal range. Its not read by NLBA1 first page, but read well using any other hardware like cp2112 or ev2300. 

ReplyQuote
Topic starter Posted : 06/12/2021 9:12 pm
Nicusor
(@azzido)
Member Admin
Share: