AT32UC3L064-D3HES ATMEL [ATMEL Corporation], AT32UC3L064-D3HES Datasheet - Page 536

no-image

AT32UC3L064-D3HES

Manufacturer Part Number
AT32UC3L064-D3HES
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
24. Pulse Width Modulation Controller (PWMA)
24.1
24.2
32099D–06/2010
Features
Overview
Rev 1.0.1.0
The Pulse Width Modulation Controller (PWMA) controls several pulse width modulation (PWM)
channels. The number of channels is specific to the device. Each channel controls one square
output PWM waveform. Characteristics of the output PWM waveforms such as period and duty
cycle are configured through the user interface. All user interface registers are mapped on the
peripheral bus.
The duty cycle value for each channel can be set independently, while the period is determined
by a common timebase counter (TC). The timebase for the counter is selected by using the allo-
cated asynchronous Generic Clock (GCLK). The user interface for the PWMA contains
handshake and synchronizing logic to ensure that no glitches occur on the output PWM wave-
forms while changing the duty cycle values.
PWMA duty cycle values can be changed using two approaches, either an interlinked single-
value mode or an interlinked multi-value mode. In the interlinked single-value mode, any set of
channels, up to 32 channels, can be updated simultaneously with the same value while the other
channels remain unchanged. In the interlinked multi-value mode, up to 4 selected channels can
be updated with 4 different values while the other channels remain unchanged.
Some pins can be driven in open drain mode, allowing the PWMA to generate a 5V waveform
using an external pullup resistor.
Left-aligned non-inverted 8-bit PWM
Common 8-bit timebase counter
Separate 8-bit duty cycle register per channel
Synchronized channel updates
Interlinked operation supported
Interrupt on PWM timebase overflow
Incoming peripheral events supported
One output peripheral event supported
Output PWM waveform for each channel
Open drain driving on selected pins for 5V PWM operation
– Asynchronous clock source supported
– Spread-spectrum counter to allow a constantly varying duty cycle
– No glitches when changing the duty cycles
– Multiple channels can be updated with the same duty cycle value at a time
– Up to four channels can be updated with different duty cycle values at a time
– Pre-defined channels support incoming (increase/decrease) peripheral events from the
– Increase event will increase the duty cycle by one
– Decrease event will decrease the duty cycle by one
– Connected to channel 0 and asserted when the common timebase counter is equal to the
Peripheral Event System
programmed duty cycle for channel 0
AT32UC3L016/32/64
536

Related parts for AT32UC3L064-D3HES