5 Assignment 3: OPAMP - Voltage Follower

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 voltage follower.

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 are streamed over to the MPLAB® Data Visualizer using the data streamer protocol.

The starting point for this assignment is the Atmel Studio Solution Assignment3 found in Assignment3.

  • Objectives
    • Understand the necessary steps to configure an op amp instance in the OPAMP peripheral
    • Configure OP0 as a voltage follower
    • Plot the input and output from OP0 using the MPLAB® Data Visualizer