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.

BQ25723: How to read ADC with BQSTUDIO and EV2400?

Part Number: BQ25723
Other Parts Discussed in Thread: BQSTUDIO, , EV2400

Tool/software:

We connect EV2400 to I2C of BQ25723 on our PCBA and use BQSTUDIO to read the registers. 

We can read or log the registers successfully. My questions are: 

1. If we change register value, will it be updated to the charger automatically? 

2. How can we ensure the new value is programmed successfully?

3. What would be the proper steps to read ADC? For example, IIN and IBAT. My guess is to set EN_ADC_IIN, EN_ADC_IDCHG and EN_ADC_ICHG, and then read back register ADC_IBAT and ADC IIN. Is it right? We tried it but it seems not working. 

  • Hi, Lily,

    1. If we change register value, will it be updated to the charger automatically? 

    By default , BQStudio will update the charger register immediately, as soon as the register value changes. 

    2. How can we ensure the new value is programmed successfully?

    To ensure the new value is programmed successfully, you can press "READ REGISTER" button on BQStudio. All the registers will read into the GUI. 

    3. What would be the proper steps to read ADC? For example, IIN and IBAT. My guess is to set EN_ADC_IIN, EN_ADC_IDCHG and EN_ADC_ICHG, and then read back register ADC_IBAT and ADC IIN. Is it right? We tried it but it seems not working. 

    To start ADC conversion, it is required to set ADC_START=1, besides enable each channel. 

    Regards,

    Tiger

  • Hi Tiger,

    Thank you for your help.

    I tried with your instruction: Set ADC_START=1 and enable channels, then press "Read Register". It works for me. I can see the numbers in ADC registers. 

    However, it confused me that the new added channels would become unchecked again. 

    Here was the original setting:

     I enable more channels as well as ADC_START=1

    I click "Read Register" and the new added channels would become unchecked again. They can't persist. Is this expected? 

  • Maybe you can split into two steps:

    1. Enable each channel (read back if persist)

    2. Press ADC_START

    Regards,

    Tiger