Hello,
I have a omap4460/twl6032(no power path) based custom board with battery pack and I'm trying to charge the battery over USB. I'm using a wall charger, which supports 2A output current. I configured the PMIC to 1500 mA charge current, 4.2V battery voltage, no input current limit, anti-collapse loop is active. I'm observing current from wall charger with USB power monitor. Unfortunately, I see only about 500mA flowing towards the board.
After some research i founded out that the VUSB voltage drops bellow limit and the anticollapse loop limits the input current. Setting this threshold to minimum (4.2V) lead to increase of current up to 710mA. If the charger stops, the VUSB voltage is above 5.1V again.
Then I experimented with TI's Blaze (http://www.omappedia.org/wiki/OMAP4_Blaze), which has an omap4430/twl6030 processor board. Unfortunately I observed similar behavior: maximum input current only 900mA instead of 1500mA (no current limit set) and VBUS is dropped to 4.2V while charging.
I tried my wall charger with other devices and measured current above 1.2 A.
The question: is it possible to push the maximum input current ( 1500mA) into the charger? Can anybody give me any advices what could be wrong with usb charger?
Thanks in advance,
Regards,
Eugen Wagner
I attached the register dump of twl6030 captured while charging.
OMAPCONF (rev 1.68 built Mi 6. Nov 12:38:20 CET 2013) HW Platform: Blaze OMAP4430 ES2.2 GP Device (STANDARD performance (1.0GHz)) TWL6030 ES2.1 (EPROM rev7.0) TWL6040 ES1.1 SW Build Details: Build: Version: full_blaze-userdebug 4.2.2 JDQ39 eng.amn.20131212.175822 test-keys Pastry: Jelly Bean Type: userdebug Date: Do 12. Dez 17:59:02 CET 2013 Kernel: Version: 3.4.34-01482-ge9515a7-dirty Author: amn@ux1278 Toolchain: gcc version 4.6.x-google 20120106 (prerelease) (GCC) Type: #2 SMP PREEMPT Date: Fri Dec 13 15:43:19 CET 2013 REGISTER DUMP FOR TWL6030 ========================================================= BUS=1 SLAVE ADDR=0x48 --------------------------------------------------------- 0 1 2 3 4 5 6 7 8 9 a b c d e f 0x00: 12 30 19 02 01 00 01 00 19 25 17 03 01 00 00 00 0x10: 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 01 0x20: c0 2b 03 0f 18 00 00 2a 00 0a e0 00 20 02 00 00 0x30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x40: 01 05 55 00 2b 00 01 05 05 00 3c 00 01 05 05 00 0x50: 3e 00 01 01 55 00 00 06 01 01 55 00 00 06 01 01 0x60: 55 00 00 06 01 05 55 00 2b 00 00 00 00 00 00 00 0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x80: 07 05 55 0c 01 01 55 14 01 01 00 09 01 01 00 03 0x90: 01 05 05 09 01 05 05 09 01 01 00 09 01 01 00 0a 0xa0: 01 05 05 18 01 01 00 09 00 00 00 00 00 01 05 05 0xb0: 01 05 55 01 05 05 07 05 55 07 05 55 01 05 05 01 0xc0: 05 05 07 0d 55 07 05 55 07 05 00 07 01 55 07 05 0xd0: 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0xe0: 7f 00 00 00 07 10 6a 03 00 00 00 80 1a 7f 04 80 0xf0: 55 65 11 00 ff 01 7f 00 00 00 01 00 00 00 00 00 ========================================================= BUS=1 SLAVE ADDR=0x49 --------------------------------------------------------- 0 1 2 3 4 5 6 7 8 9 a b c d e f 0x00: 51 04 30 c0 05 05 15 15 06 00 00 00 00 00 00 10 0x10: 00 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 0x20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6b 00 0x30: 00 00 00 06 02 00 00 00 00 00 00 00 00 00 00 00 0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x50: 00 00 00 00 00 00 00 39 00 01 00 18 00 00 00 d8 0x60: 01 c5 01 5f 01 15 03 96 01 01 00 71 02 32 02 d2 0x70: 02 aa 02 ed 01 1d 00 9f 01 00 00 00 00 00 00 00 0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x90: 00 00 00 35 07 00 00 00 00 00 00 00 00 00 00 00 0xa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0xb0: 00 00 00 00 00 00 00 00 00 00 ff 7f 00 00 05 00 0xc0: 00 33 04 00 6c f1 00 00 1e 00 7e 00 00 00 00 00 0xd0: 00 00 00 c6 f7 8a c6 f7 8a 00 00 00 00 00 00 00 0xe0: 04 10 20 85 00 02 00 01 00 20 01 08 23 0e 0f 35 0xf0: 1e 04 11 00 ff 64 00 00 00 00 00 00 00 00 00 00 ========================================================= BUS=1 SLAVE ADDR=0x4A --------------------------------------------------------- 0 1 2 3 4 5 6 7 8 9 a b c d e f 0x00: 07 07 07 07 07 07 07 07 07 07 00 00 00 00 00 00 0x10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x40: 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01 0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x80: 2a 20 00 00 00 00 00 02 00 00 00 00 00 00 00 00 0x90: 01 23 0e 06 18 0f 96 43 24 aa 00 04 15 16 15 01 0xa0: 18 24 11 11 02 03 04 03 04 03 04 03 03 03 65 5e 0xb0: 01 86 5e 01 85 5e 03 84 5e 02 a5 56 02 a3 5e 02 0xc0: 85 5e 02 08 04 00 00 00 00 00 00 03 03 7d 01 7f 0xd0: 71 7f 01 75 6d 04 0c 7f 7b 0a 06 02 7b 07 04 07 0xe0: 00 ff 00 00 00 30 30 30 30 30 30 30 30 30 30 30 0xf0: 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 =========================================================