This example demonstrates a simple configuration of three PWM channels to generate variable duty cycle signals. The update of the duty cycle values is made automatically by the Peripheral DMA Controller . This will cause LED on the evaluation kit to glow repeatedly.
This package can be used with SAM V71 Xplained Ultra board.
Three PWM channels (channel #0) are configured to generate a 50Hz PWM signal. The update of the duty cycle values is made automatically by the DMA.
Optionally, on the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
Start the application.