Hello,
I have some questions regarding the bq24251 D+/D- detection algorithm.
(1) The datasheet states that the D+/D- detection algorithm is only active when the device is in standalone mode (e.g. the host is not communicating with the device and the watch dog timer has expired). With our device in standalone mode, when I connect an SDP to the bq24251 I would expect the device to be put in to Hi-Z mode as defined in figure 19. However, when I do connect an SDP to the bq24251 and read back the registers it is indicating the following register settings:
Reg: 1 Value: 0x40
Reg: 2 Value: 0xEC
Reg: 3 Value: 0x8E
Reg: 4 Value: 0xF8
Reg: 5 Value: 0x02
Reg: 6 Value: 0xA8
Reg: 7 Value: 0xE0
According to these register settings, an SDP was detected but it is not in high impedance mode and the current limit is set to “External ILIM current limit”. But I’m also seeing that the STAT pin is high which indicates to me that it is not charging! This is what would be expected in Hi-Z mode but the register settings seem to indicate that it is not in Hi-Z mode.
My question is: can I trust the register setting readings when the device is in standalone mode?
Or does an I2C read with the device in standalone mode cause the device to switch to host mode which then changes some of the register settings?
It’s not clear from the datasheet if only a I2C write will put the device into host mode or if any I2C activity puts it into host mode.
If that’s the case, how can my host MCU know what’s going on if the act of doing an I2C read causes the register settings to change?
When testing an apple charger:
I can detect all other types of chargers but my Apple charger shows up as an SDP. It’s a relatively new model (Model No. A1265), are there any known issues with detecting certain Apple models? It showing up as an SDP isn’t the end of the world but I’d like to know if there’s an issue
(2) In table 3, why is the default input current limit for an “SDP Good Battery” charge port type Hi-Z instead of 500mA?
It’s my understanding that an SDP can supply up to 500mA so why would the default setting be to disable charging?
(3) Figure 19 references a variable called VBATGD but it is not defined anywhere in the datasheet. What’s the min/typ/max value of VBATGD?
Thank you.