HI all,
i am configuring GPIO of BQ79654-Q1 IC as ADC input and OTUT input.
but i am getting error :- protectors will flag all OT and UT faults on all GPIO inputs as an indication of abnormal detection
my code is below
WriteReg(1,CONTROL2,0X01,1, FRMWRT_SGL_W); //tsref enable
delayus(1500);
//ENABLE GPIO AS ADC AND OTUT
WriteReg(1, GPIO_CONF1, 0x09, 1, FRMWRT_SGL_W);
delayus(100);
WriteReg(1, GPIO_CONF2, 0x09, 1, FRMWRT_SGL_W);
delayus(100);
WriteReg(1, GPIO_CONF3, 0x09, 1, FRMWRT_SGL_W);
delayus(100);
WriteReg(1, GPIO_CONF4,0x09, 1, FRMWRT_SGL_W);
delayus(100);
// WriteReg(1, ACTIVE_CELL, 0x0A, 1, FRMWRT_SGL_W); //set all cells to active
WriteReg(1, ADC_CTRL1, 0x06, 1, FRMWRT_SGL_W); //continuous run and MAIN_GO
delayus(200);
WriteReg(1,OTUT_THRESH, 0Xff,1, FRMWRT_SGL_W); //oyut thresold set
WriteReg(1,OTUT_CTRL,0x01,1, FRMWRT_SGL_W); //otut mode
WriteReg(1,OTUT_CTRL,0x05,1, FRMWRT_SGL_W); //otut go
Plese help me .
Thanks