In my system if I power the charger from USB without a battery connected it will detect that is a max charge device regB == 0x96. However it leaves reg0 to be 0x40. That means the input current limit is 100mA and the ilim pin is enabled (ilim pin is grounded in my design). Also in this mode it charges the battery with 200mA no matter what I seem to try.
If I first connect the battery, then connect the charger, it correctly sets reg0 and it charges the battery at my fast-charge current limit of around 600mA.
Any ideas what's going wrong?
Reg Dump Below:
charger_id unsigned char 0x6A 'j' (Hex) Register R12
res unsigned char 0x00 '\x00' (Hex) 0x002BC0
res0 unsigned char 0x40 '@' (Hex) 0x002BC1
res1 unsigned char 0x03 '\x03' (Hex) 0x002BC2
res10 unsigned char 0x52 'R' (Hex) 0x002BD1
res11 unsigned char 0xE0 '\xe0' (Hex) 0x002BD2
res12 unsigned char 0x04 '\x04' (Hex) 0x002BD3
res13 unsigned char 0x40 '@' (Hex) 0x002BD4
res14 unsigned char 0x00 '\x00' (Hex) 0x002BD5
res2 unsigned char 0x5D ']' (Hex) 0x002BC3
res3 unsigned char 0x1A '\x1a' (Hex) 0x002BC4
res4 unsigned char 0x0A '\x0a' (Hex) 0x002BC5
res5 unsigned char 0x13 '\x13' (Hex) 0x002BC6
res6 unsigned char 0x5E '^' (Hex) 0x002BC7
res7 unsigned char 0x8D '\x8d' (Hex) 0x002BC8
res8 unsigned char 0x03 '\x03' (Hex) 0x002BC9
res9 unsigned char 0x44 'D' (Hex) 0x002BCA
resA unsigned char 0x73 's' (Hex) 0x002BCB
resB unsigned char 0x96 '\x96' (Hex) 0x002BCC
Thank you