Post Go back to editing

ADXL367 external ADC

Thread Summary

The user was trying to convert ADC LSB values to voltage but had issues with the formula. The final answer clarified that the internal voltage reference (Vreg_out) is typically 1.1V, and 0 LSB should equal Vreg_out/2. The correct formula to use is f32Vin = (f32ADC / 16384) * f32VRef, with f32VRef being 1.1V.
AI Generated Content
Category: Software
Product Number: ADXL367
Software Version: -

Dear Forum Members!

I'm trying to sample the external ADC and covert the LSB value to Voltage. It is not quite clear from the datasheet how to do it and what the internal voltage reference used by the ADC.

This is the set up:

I'm sampling the battery voltage with the external ADC through a voltage divider that makes sure that the max voltage when the battery is full (4.35V) is 0.821V on the ADC input.

VS = 2.3V

This is formula I'm trying but it doesn't work:

f32Vin = (f32ADC /16384) * f32VRef;
Where,
f32ADC is the sample acquired in LSB
f32VRef is 2.3V
Could you please shred some light on what I'm doing wrong?
Thank you in advance!
Viktor

Hi  

 

Thank you for your question. The voltage of the internal circuitry is regulated down to 1.1V (typical). The V_reg_out pin (pin 9) is the output of the internal regulator. Attached figure shows the External ADC input behavior (LSB output vs Input voltage). Please note that 0 LSB should be equal to Vreg_out/2.

Regards,

Mohammad

  • Hi Mohammad!

    Thank you very much, this seems to work!

    All the best,

    Viktor