6 Assignment 4: OPAMP - Non-Inverting PGA
In this assignment, the AVR128DB48 Curiosity Nano will be configured to use the op amp OP0 in the Analog Signal Conditioning (OPAMP) peripheral as a non-inverting programmable gain amplifier, shown in the block diagram below.
The configuration is done through Atmel START.
The Digital-to-Analog Converter (DAC) is configured to create a sinusoidal signal, which will be used as an input to the op amp.
The Analog-to-Digital Converter (ADC) is configured to sample the output of the op amp. Both the input and output of the op amp is streamed over to the MPLAB® Data Visualizer using the data streamer protocol.
The circuit will also be simulated using MPLAB® Mindi™ Analog Simulator and a pre-made schematic containing a full model of the AVR DB op amp. The schematic is available at github.com/microchip-pic-avr-examples/avrdb-opamp-mindi-non-inverting-pga.
The starting point for this assignment is the Atmel Studio Solution Assignment4 found in Assignment4.
- Objectives
- Simulate the non-inverting PGA using the pre-made schematic containing a model of the AVR DB op amp
- Understand how to configure an op amp in Atmel START
- Configure OP0 instance of the OPAMP, as non-inverting PGA using Atmel START
- Plot the input and output from OP0 using the MPLAB® Data Visualizer