Skip to content

This MPLAB X bare metal example in Using the Internal OPAMP as Regulated Power Supply for MVIO (AN3636) shows how to use the OPAMP as a regulated power supply for a second voltage domain. This removes the need for a second external power supply. The regulated power supply features is showcased by acting as the second power supply for the Multi-V…

Notifications You must be signed in to change notification settings

microchip-pic-avr-examples/avr128db48-using-opamp-as-a-regulated-power-supply-mplab

Repository files navigation

MCHP

AVR128DB48 Using the Internal Opamp as Regulated Power Supply for MVIO

A new feature introduced in the AVR® DB family is the Analog Signal Conditioning (OPAMP) peripheral. In this example, the OPAMP is used as an adjustable power supply. This eliminates the need for an external power supply for a second voltage domain. One op amp is configured as a voltage follower and code examples for four scenarios are presented:

  1. Voltage reference using the internal resistor ladder.
  2. Voltage reference using an external resistor.
  3. Voltage reference using the internal DAC.
  4. Monitoring voltage level with the internal ADC.

Related Documentation

Software Used

Hardware Used

Setup

  • Enable MVIO powered by internal op-amps on the development board, see application note for each respective scenario
  • Enable Dual Supply mode in the System Configuration 1 (SYSCFG1) fuse

Operation

  • Connect the AVR128DB48 Curiosity Nano to a computer using a USB cable
  • Clone the repository or download the zip to get the source code
  • Open the project folder you want to run with MPLAB X
  • Compile and run the code

Conclusion

After going through this example you should have a better understanding of how to set up the OPAMP peripheral as a regulated power supply.

About

This MPLAB X bare metal example in Using the Internal OPAMP as Regulated Power Supply for MVIO (AN3636) shows how to use the OPAMP as a regulated power supply for a second voltage domain. This removes the need for a second external power supply. The regulated power supply features is showcased by acting as the second power supply for the Multi-V…

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published