The content of this repository has been moved to https://github.com/microchip-pic-avr-examples/atmega4809-getting-started-with-tca-studio . Additionally, a repository containing MCC generated code examples for AVR128DA48 with the same functionality can be found at https://github.com/microchip-pic-avr-examples/avr128da48-getting-started-with-tca-mplab-mcc . This repository is obsolete and it will not be maintained.
This repository contains examples of bare metal source code for TCA as described in TB3217 document from Microchip. The repository contains an Atmel Studio Solution with multiple projects inside. Make sure you have the necessary tools:
- ATmega4809 device (or evaluation board ATmega4809 X-plained PRO)
- Atmel Studio installed
- ATmega4809 Device Packs
The following examples are inside this repository:
- Using periodic interrupt mode
- Generating a dual-slope PWM signal
- Generating two PWM signals in split-mode