Skip to content

These MPLAB X Melody MCC example Getting Started with Multi Voltage I/O (MVIO) (TB3287) show how the MVIO is used on the AVR® DB family of microcontrollers.

License

Notifications You must be signed in to change notification settings

microchip-pic-avr-examples/avr128db48-getting-started-with-mvio-mplab-mcc

Repository files navigation

MCHP

Getting Started With Multi Voltage Input Output (MVIO)

A new feature introduced in the AVR® DB Family is the MVIO peripheral. In this example, VDDIO2 supplies a different voltage level on PORTC than on the rest of the PORTs, which are supplied by VDD. It is possible to monitor this voltage level with the internal analog-to-digital converter (ADC) and it is also possible to get an interrupt when the voltage level for the MVIO, called VDDIO2, goes in and out of the acceptable voltage range.
overview

This MPLAB® X MCC Melody example of Getting Started with Multi Voltage I/O (MVIO) shows how the MVIO is used on the AVR® DB family of microcontrollers.

Related Documentation

Software Used

Hardware Used

Setup

  • For each of the use cases, connect the hardware together as seen in the schematic of the application note.

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

Changing Voltage

Drag and drop one of the following files to the "Curiosity" disc on your computer:

  • VDD1V8.txt - Sets voltage to 1.8V
  • VDD3V3.txt - Sets voltage to 3.3V

Conclusion

After going through this example, you will have a better understanding of how to set up the MVIO peripheral to utilize the internal level shifters to communicate with and drive external components.

About

These MPLAB X Melody MCC example Getting Started with Multi Voltage I/O (MVIO) (TB3287) show how the MVIO is used on the AVR® DB family of microcontrollers.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •