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.

BQ25756: CUrrent reeading from the MPPT chip

Part Number: BQ25756

Tool/software:

Hi WE desigened a system to track maximum power tracking system MPPT by using a chip BQ25756 .

1).  I Am trying to read battery current but getting 0. Same goes for input current. I have used following code can you please help. 1. Enable ADC using REG0x2B_ADC_Control Register uint8_t adc_mask = 0xFC;//1111 1100 uint8_t adc[2] = {ADC_CONTROL, adc_mask}; i2c_write(hi2c, BQ25756_ADDRESS, adc, 2); HAL_Delay(2); 

2). Read From REG0x2F_IBAT_ADC Register Field This says it needs 5mohms RBAT_SNS .

3). We are feeding the non atex harvester input and actual generated voltage after rectifier Input was 16v And battery was charged @13.09v we are reading battery voltage and input voltage but no the Both currents.

4).  I set your system up on the bench here (17V bench supply, 4S LiFeo4 battery, charging at ~100mA), and get the same result – I can read all the ADCs except the current measurements, which read 0x0000 The sense resistors are 5mR for IBat and 2mR for IAC.

please support use what is the issue with reading current input and output..   

many thanks

Rajender 

  • Hello Rajender,

    Thanks for working on this.

    With the current register setup, the ADC will only take one-shot measurements. Was this intended behavior?

    Can you read the current registers if you set the bit ADC_RATE (REG0x2B[5]) = 0?

    Best Regards,
    Ethan Galloway