Datasheet

Figure 51-34. Synchronized Period, Duty-Cycle and Dead-Time Update
PWM_CPRDUPDx Value
PWM_CPRDx PWM_CDTYx
- If Asynchronous Channel
-> End of PWM period
- If Synchronous Channel
-> End of PWM period and UPDULOCK = 1
User's
Writing
PWM_DTUPDx Value
User's
Writing
PWM_DTx
- If Asynchronous Channel
-> End of PWM period
- If Synchronous Channel
- If UPDM = 0
-> End of PWM period and UPDULOCK = 1
- If UPDM = 1 or 2
-> End of PWM period and end of Update Period
PWM_CDTYUPDx Value
User's
Writing
51.6.6.4 Changing the Update Period of Synchronous Channels
It is possible to change the update period of synchronous channels while they are enabled. See Method 2: Manual
write of duty-cycle values and automatic trigger of the update and Method 3: Automatic write of duty-cycle values and
automatic trigger of the update .
T
o prevent an unexpected update of the synchronous channels registers, the user must use the PWM Sync Channels
Update Period Update Register (PWM_SCUPUPD) to change the 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 UPR in PWM_SCUP) and the end of the current PWM period, then updates the value for the
next period.
Note: 
1. If the update register PWM_SCUPUPD is written several times between two updates, only the last written
value is taken into account.
2. Changing the update period does make sense only if there is one or more synchronous channels and if the
update method 1 or 2 is selected (UPDM = 1 or 2 in PWM Sync Channels Mode Register).
SAM E70/S70/V70/V71 Family
Pulse W
idth Modulation Controller (PWM)
© 2019 Microchip T
echnology Inc.
Datasheet
DS60001527D-page 1585