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.

BQ25792: ADC averaging clarification

Part Number: BQ25792

The datasheet states


"The ADC_AVG bit enables or disables (default) averaging.

ADC_AVG_INIT starts average using the existing (default) or using a new ADC value"

I need more information about the ADC averaging, how to use this.

1. Does this work in continuous mode, or is this average from each sample duration (e.g. 24ms conversion time)?

2. Does the ADC_AVG_INIT also start the ADC, or only reset the ADC average value?

Thank you!

  • Hi Tuomas,

    Per the register bits 2 and 3 below, you have the option for single or continuous averaging and whether start with current measure or next measure.

    Regards,

    Jeff

  • is this automated message? Feels like it did not answer either my questions, and just quoted the datasheet?

    I still do not know 

    1. Does this work in continuous mode, or is this average from each sample duration (e.g. 24ms conversion time)?

    2. Does the ADC_AVG_INIT also start the ADC, or only reset the ADC average value? (e.g. you have to execute ADC_AVG_INIT + ADC_EN, or only ADC_AVG_INIT)

  • Hi Tuomas,

    1.  Averaging works in either one-short or continuous mode.  You can use ADC_AVG_INIT to start the average with the current register value or wait unit the next time the host writes to the EN_ADC bit for the one shot ADC measurement.

    2. No.  EN_ADC is required to start ADC measurements.  ADC_AVG_INT only tells the ADC when to start the averaging.  It is not helpful with continuous ADC measurements.

    Regards,

    Jeff