Notifications
Clear all

Batterry U40 - 2530/3540

veigalex
(@veigalex)
Active Member Customer

Guys, could someone help with the correct pinout of the U40?
It is used on the 2530, 3540.

The doubt is pin 4, does it need 3.3v?

I have a schematic of one of them.

u40 2
U40 3

 1/2 - GND

3 - Temp

4 - ??

5 - D

6 - CLK

7 -  V+

 

Is correct?

ReplyQuote
Topic starter Posted : 08/06/2023 3:43 am
Topic Tags
u40
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Yes, it could be a power supply for eeprom chip. In this case this battery has i2c interface which is not supported. 

ReplyQuote
Posted : 08/06/2023 11:15 am
veigalex
(@veigalex)
Active Member Customer

@djibattworkshop 

Thanks for the answer.

I'm getting familiar with this world of Battery now. Does the NLBA only work with SMBUS?
Would I have to use other software in that case?

This post was modified 1 year ago by veigalex
ReplyQuote
Topic starter Posted : 09/06/2023 1:57 am
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @veigalex

Does the NLBA only work with SMBUS?

 Presently yes. Latest firmware 1.15 already has low-level i2c support but there is no high-level support yet. 

Also there are many varieties of i2c communication in the batteries depending on the pack maker. For example TI i2c chips could be read by their ev2300/ev2400 adapter and bqEVSW or bqStudio software. While others batteries like Fujitsu or Panasonic have different protocol. 

 You could try to read a battery by CH341A external eeprom reader. 

ReplyQuote
Posted : 09/06/2023 9:49 am
veigalex
(@veigalex)
Active Member Customer

@djibattworkshop 

 

Perfect. I'll leave the battery identification by the programs to help future users.

The last question. Is the CP212 Module different from the EV2300?
One is i2c and the other is SMBus interface, or am I getting confused?

Sem título
ReplyQuote
Topic starter Posted : 09/06/2023 12:28 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @veigalex

Is the CP212 Module different from the EV2300?

Yes

Posted by: @veigalex

One is i2c and the other is SMBus interface,

 No. 

 CP2112 - general purpose usb - smbus/i2c interface produced by Silabs for third-party developers 

 EV2300 - proprietary usb - smbus/hdq/i2c interface produced by Texas Instruments for their proprietary software 

 

ReplyQuote
Posted : 09/06/2023 12:39 pm
veigalex
(@veigalex)
Active Member Customer

Hi @djibattworkshop,

I looked at that battery again. Now I have more time.

Rereading your observations, could you say which program nowadays would be able to read data via I2C?
I was able to do the Bios dump via CH341, but I was unable to identify any parameters that resemble the recorded data.

Does Nbla1 work with CP2112?

I've  the dump, in case you want to see it out of curiosity.

If you have any guidance, I'd be happy to follow it.

 

ReplyQuote
Topic starter Posted : 15/08/2024 5:35 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @veigalex

could you say which program nowadays would be able to read data via I2C?

 just data could be read over i2c by most of i2c readers including Arduino sketches 

 but without decoding those data could be useless because they represent raw machine-like values 

So you need decoding software. Having in view i2c communication used by many different equipment produced by different vendors, it also has many encoding standards. In other words its need vendors software to decode it. 

For this specific battery we dont know the software which could properly decode received data. 

 

ReplyQuote
Posted : 15/08/2024 6:39 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @veigalex

Does Nbla1 work with CP2112?

 No. 

 

ReplyQuote
Posted : 15/08/2024 6:40 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @veigalex

I've  the dump, in case you want to see it out of curiosity.

 It makes sense if battery is popular and used in modern laptops. 

ReplyQuote
Posted : 15/08/2024 6:43 pm
veigalex
(@veigalex)
Active Member Customer

Thanks for the answer.

I can't attach a zip here.

Do you have an email I can send to you?

ReplyQuote
Topic starter Posted : 15/08/2024 8:33 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

 Is it laptop battery ? 

 What is its production year ? 

ReplyQuote
Posted : 16/08/2024 6:17 am
Share: