This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ40Z50-R2: why i can't measure a high level when leave pres pin floating or use a weak pull up gpio from MSP430?

Part Number: BQ40Z50-R2

now i want use a gpio from msp430 to control the pres pin of bq40z50R2.   dataflash NR bit = 0.  now i can control the bq CHG DSG MOS on or off use the pres pin

but when i output a high level use a weak pull up to pres pin,  the bq DSG CHG off ,    why i measure  the vol at two ends of resistor(100R) ,the vol is very low?

void battery_remove(void)
{
P3REN |= PRES_N_MCU;
P3DIR &= ~PRES_N_MCU;
P3OUT |= PRES_N_MCU; //input and out = 1, high , pull up, remove
}

and i see the pres pin have a internal pullup  resistor, so i remove the 100R  , and measure the pres pin leave it floating,,  the vol also very low ,  i found a pluse per sec,  0.02V and 0.0V toggle.

i can't get measure a high level , so i feel this not stable ,  tell me why?  thank you very much!!

 

  • Hi,
    The PRES pin is sampled every one second by the gauge to reduce the quiescent curent. The pulse will be ~4.5V (clamped by a zener) for 500microseconds. The gauge can then check to see if it is pulled low (asserted):

    Ideally when you do not want to assert the PRES pin, it should be left Hi-Z, and when you want to assert it, it should be pulled to GND.

    When the gauge is not detecting the state of the PRES pin the "RHOUT" switch is on and it is pulled to GND.

    Regards,

    Swami