This repository contains examples of MCC Melody generated source code for the new TCF of the AVR® EB' family of devices. This example provides two application examples, along with their functionalities.
- Generate Two Constant On-Time PWM Signals in NCO Pulse-Frequency Waveform Generation Mode using the TCF: In this use case, the TCF is configured to generate an overflow event on the compare registers at a fixed frequency while increasing the waveform duty cycle, through all possible lengths.
- Generate Two Variable-Frequency Signals in NCO-Fixed Mode using the TCF: In this use case, the TCF is configured to generate an overflow event on the compare registers on a range of frequencies (from 10 Hz to 100 KHz).
More details and code examples on the AVR16EB32 can be found at the following links:
- MPLAB® X IDE v6.15 or newer
- AVR-Ex DFP-2.7.184 or newer Device Pack
- MPLAB® XC8 compiler v2.45
- MPLAB® Code Configurator (MCC) v 5.3.7
- MPLAB® Code Configurator (MCC) Melody Core v 2.6.2 or newer
The AVR16EB32 Curiosity Nano Development Board is used as test platform.