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.

BQ79731-Q1: When V1_GPIO1 ~ V15GPIO15 pins have been configured as "0b001 = As ADC only input (ratiometric).", the register always reads as 0xFFFF.

Part Number: BQ79731-Q1


Tool/software:

Hello,

We are using using the TI sample software of "bq79731_sample_code-BQ79731_Branch_031822", to run on our setup of "TMS570LC43 + BQ79600 + BQ79731 eval boards" setup. However, all GPIO HI/LO registers continue to read as 0xFFFF, as if the GPIO pins are never enabled as ADC Inputs.

Later on, we added these lines of code in the TI sample software:

    WriteReg(0, GPIO_CONF1, 0x09, 1, WriteType);
    WriteReg(0, GPIO_CONF2, 0x09, 1, WriteType);
    WriteReg(0, GPIO_CONF3, 0x09, 1, WriteType);
    WriteReg(0, GPIO_CONF4, 0x09, 1, WriteType);
    WriteReg(0, GPIO_CONF5, 0x09, 1, WriteType);
    WriteReg(0, GPIO_CONF6, 0x01, 1, WriteType);
    WriteReg(0, GPIO_CONF7, 0x09, 1, WriteType);
    WriteReg(0, GPIO_CONF8, 0x09, 1, WriteType);
Still, all GPIO1~15 registers continue to read 0xFFFF.
Please advise and help. Thank you.
John