AT32UC3C1512C Automotive Atmel Corporation, AT32UC3C1512C Automotive Datasheet - Page 989

no-image

AT32UC3C1512C Automotive

Manufacturer Part Number
AT32UC3C1512C Automotive
Description
Manufacturer
Atmel Corporation
33.6.5.2
33.6.5.3
33.6.5.4
9166C–AVR-08/11
Changing the Duty-Cycle, the Period and the Dead-Times
Changing the Synchronous Channels Update Period
Source Clock Selection Criteria
The large number of source clocks can make selection difficult. The relationship between the
value in the
Register” on page 1036
ister gives the PWM accuracy. The Duty-Cycle quantum cannot be lower than 1/CPRDx value.
The higher the value of CPRDx, the greater the PWM accuracy.
For example, if the user writes 15 (in decimal) in CPRDx, the user is able to write a value
between 1 up to 14 in CDTYx Register. The resulting duty-cycle quantum cannot be lower than
1/15 of the PWM period.
It is possible to modulate the output waveform duty-cycle, period and dead-times.
To prevent unexpected output waveform, the user must use the
Register” on page
Dead Time Update Register” on page 1044
waveform parameters while the channel is still enabled.
Note:
It is possible to change the update period of synchronous channels (see
page 980
To prevent an unexpected update of the synchronous channels registers, the user must use the
”Sync Channels Update Period Update Register” on page 1008
update period of synchronous channels while they are still enabled. This register holds the new
value until the end of the update period of synchronous channels (when UPRCNT is equal to
• If the channel is an asynchronous channel (SYNCx=0 in
• If the channel is a synchronous channel and update method 0 is selected (SYNCx=1 and
• If the channel is a synchronous channel and update method 1 or 2 is selected (SYNCx=1 and
page 1004
until the end of the current PWM period and update the values for the next period.
UPDM=0 in SCM register), these registers hold the new period, duty-cycle and dead-times
values until the UPDULOCK bit is written to one (in
on page 1006
the next period.
UPDM=1 or 2 in SCM register):
– these CPRDUPDx and DTUPDx registers hold the new period and dead-times
– the CDTYUPDx register holds the new duty-cycle value until the end of the update
values until the UPDULOCK bit is written to one (in SCUC register) and the end of
the current PWM period, then update the values for the next period.
period of synchronous channels (when UPRCNT is equal to UPR in
Update Period Register” on page 1007
period, then updates the value for the next period
If the update registers (CDTYUPDx, CPRDUPDx and DTUPDx) are written several times between
two updates, only the last written value is taken into account.
and
”Channel Period Register” on page 1038
Section 33.6.2.10 on page
(SCM)), these registers hold the new period, duty-cycle and dead-times values
(SCUC)) and the end of the current PWM period, then update the values for
1037, the
(CDTYx) can help the user. The event number written in the Period Reg-
”Channel Period Update Register” on page 1040
982) while they are enabled.
(CDTYUPDx, CPRDUPDx and DTUPDx) to change
(SCUP)) and the end of the current PWM
”Sync Channels Update Control Register”
(CPRDx) and the
”Sync Channels Mode Register” on
”Channel Duty Cycle Update
(SCUPUPD) to change the
”Channel Duty Cycle
AT32UC3C
”Sync Channels
Section 33.6.2.9 on
and the
”Channel
989

Related parts for AT32UC3C1512C Automotive