Skip to content

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 perfor…

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Atmel Studio 7.0.2397 or later
  • Atmel Studio AVR-Dx_DFP version 1.3.67 or later
  • For the MPLAB X version of this project, please go to this repository

Hardware Used

Setup

  • No external hardware setup needed

Operation

  • Connect the AVR128DB48 Curiosity Nano to a computer using a USB cable
  • Download the zip file or clone the example to get the source code
  • Open the .atsln file with Atmel Studio
  • Press Start Without Debugging (CTRL+ALT+F5) to run the application

Conclusion

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

About

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 perfor…

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages