Hello,
we have a design with Bq24251 and MCU. Both parts are connected to shared USB bus. When USB cable is plugged in, first, MCU writes this to Bq24251:
Register2.Reset = YES;
Register2.IIN_ILIMIT = ILIMIT_USB2_100MA;
Register2.CE = YES;
Register2.HZ_MODE = NO;
Register1.WD_EN = NO;
Register5.DPDM_EN = YES;
Register5.LOW_CHG = NO;
Register5.VINDPM = VINDPM_160MV;
It should reset Bq24251, do some default setting and initiate charger detection (DPDM_EN). However, when Register5 is read back, DPDM_EN is always set to 1, i.e. it never clears to 0 indicating charger detection was finished. MCU enables its USB transceiver at the moment charger finishes its charger detection proccess (so in this case never). What the problem can be?
Thanks