This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Charging using TPS65950

Hi,

I have tried changing the BCII ref2 register.

Current sequence.

 

                //disable automatic ac charge before changing any BCI registers

                Write 0x30 to reg BOOT_BCI

 

                //write to key to enable write to charge current set register

                Write 0xe7 to reg BCIMFKEY

 

                //write to charge current set low byte register since that is the only one I want to change

                Write 0x32 to reg BCIIREF2

 

                //Enable the automatic ac charge

                Write 0x35 to reg BOOT_BCI

 

**at this point when I read back BCIIREF2, the current set point reg it reads 0x32 as programmed.

 

                //plug in AC charger and now BCIIREF2 read 0x68

Following this sequence to no avail, does there exist a explicit sequence?

Thanks,

_Chris

  • Hello team,

    Can someone help with this? The register values get changed back as soon as he plugs in the AC charger. Is there something wrong in the sequence he is currently using to program the charge current for the battery?

    Thanks in advance,

    Mohammed

  • Hai I'm Sekra

    You want to do some modifications

    1) Enable ADC with the help of GPBR1 register

    2)Now set BOOT_BCI register as 0x30

    3)Now you enable software linear charge for charging your batt 

    To enable BCIMDEN register with the help of BCIMDKEY - to enable LINCHEN bit

    4)Now you set the BCIMFKEY register as 0xE7 ( to enable IIREF1,IIREF2)

    5)Now you set the BCIIREF1,BCIREF2 registers CHGI value whatever you want.

    Good luck

    Regards - Sekra