Other Parts Discussed in Thread:BQ25895
BQ25895的PDF关于OTG的启动条件:
1. BAT above BATLOWV
2. VBUS less than BAT+VSLEEP (in sleep mode)
3. Boost mode operation is enabled (OTG pin HIGH and OTG_CONFIG bit =1)
4. Voltage at TS (thermistor) pin is within range configured by Boost Mode Temperature Monitor as configured
by BHOT and BCOLD bits
5. After 30 ms delay from boost mode enable
现在我的系统能在电池供电的情况下正常启动OTG, 能不能通过OTG引脚或OTG_CONFIG bit 主动关闭 OTG呢? 我自己测试修改OTG_CONFIG bit(REG03=0x1A),但是PIDM还是有正常电压输出.。OTG不能主动关闭吗?
Star Xu:
您好,将OTG 关闭除了修改上面的参数建议将watchdog关闭,REG07[5:4]=00请参考数据手册8.3.1HostModeand Default Mode
,
user6479440:
REG07[5:4]=00已经在系统初始化的时候设置了
DataBuffer = 0x8D;/* 7:1- Charging Termination Enable.6:0– Enable STAT pin function (default).5:4 : 00 – Disable watchdog timerDisable MaxCharge handshake.3:1– Enable Charging Safety Timer(default).2:1 : 10 – Set fast Charge Timer to 12 hrs (default).*/
i2cWrite(charger,7,&DataBuffer,1);
,
Star Xu:
您好,disable OTG还需要将OTG接地