microchip-pic-avr-examples / avr128db48-opamp-gain-and-offset-calibration

This Atmel Studio 7 bare metal example in Gain and Offset Calibration of the Analog Signal Conditioning (OPAMP) Peripheral (AN3633) shows how to calibrate the gain and offset of the OPAMP when configured as a Programmable Gain Amplifier (PGA). The internal Digital-to-Analog converter (DAC) and Analog-to-Digital converter (ADC) are used to perform the calibration procedure. No external components are required.
1 stars 1 forks source link
avr-db opamp-gain-and-offset-calibration

MCHP

Gain and Offset Calibration of the Analog Signal Conditioning (OPAMP) Peripheral

A new feature introduced in the AVR® DB MCU is the Analog Signal Conditioning (OPAMP) peripheral. The OPAMP peripheral can be configured as a PGA, in this example the internal DAC and ADC are used to calibrate gain and offset for the PGA. For more information on the calibration procedure, see the application note.

Related Documentation

Software Used

Hardware Used

Setup

Operation

Conclusion

After going through this example you should be able to calibrate the gain and offset of the OPAMP configured as a PGA.