richas
Junior Member level 3
- Joined
- Jul 1, 2011
- Messages
- 25
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,283
- Activity points
- 1,464
Hi,
I have a design that uses a USB mini connector connected to a CP2102 USB to serial port IC. The Connector will also be used to charge a LiIo Battery. I will need to detect whether I am connected to a wall charger (high current) or a PC USB port. If I detect the wall charger then I will increase the battery charge current.
There is a lot of confusing information out there about different pull-up/down resistors on D+ and D- within the charger. Some chargers, evidently short D+/D- to indicate that they are a wall charger. I have a wall charger that I am interested in using but the D+ D- lines appear to have equal resistors pulling up and down for 2.5V on D+/D-. Apple, I guess has their own scheme.
I can put a couple extra microcontroller port pins on D+ and D- to apply and measure voltages.
Does anyone have experience with this? I have yet to find a wall charger with shorted D+/D- but my sample size is small.
Regards
Rich
I have a design that uses a USB mini connector connected to a CP2102 USB to serial port IC. The Connector will also be used to charge a LiIo Battery. I will need to detect whether I am connected to a wall charger (high current) or a PC USB port. If I detect the wall charger then I will increase the battery charge current.
There is a lot of confusing information out there about different pull-up/down resistors on D+ and D- within the charger. Some chargers, evidently short D+/D- to indicate that they are a wall charger. I have a wall charger that I am interested in using but the D+ D- lines appear to have equal resistors pulling up and down for 2.5V on D+/D-. Apple, I guess has their own scheme.
I can put a couple extra microcontroller port pins on D+ and D- to apply and measure voltages.
Does anyone have experience with this? I have yet to find a wall charger with shorted D+/D- but my sample size is small.
Regards
Rich