This repository contains bare-metal source code examples for AVR® EB's new TCF. 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:
The AVR16EB32 Curiosity Nano Development Board is used as test platform.