4 Assignment 2: CLKCTRL - High Frequency TCD using PLL
In this assignment, the AVR128DB48 Curiosity Nano will be configured to create a high-resolution PWM signal using TCD with the PLL as a clock source.
The PLL will increase the clock frequency of OSCHF.
The output from the PLL will be used as a clock source for TCD, which will create a high-resolution PWM signal.
The starting point for this assignment is the Atmel Studio Solution Assignment2 found in Assignment2.
- Objectives
- Configure the PLL to use OSCHF as a clock source
- Configure the TCD to use the PLL as a clock source and output a PWM signal
- Visualize the PWM signal using a logic analyzer or an oscilloscope