AT32UC3C2512C Automotive Atmel Corporation, AT32UC3C2512C Automotive Datasheet - Page 979

no-image

AT32UC3C2512C Automotive

Manufacturer Part Number
AT32UC3C2512C Automotive
Description
Manufacturer
Atmel Corporation
33.6.2.8
Figure 33-10. Method 1 (UPDM=0)
9166C–AVR-08/11
UPDULOCK
CDTYUPD
Method 1: Manual write of duty-cycle values and manual trigger of the update
CCNT0
CDTY
0x20
0x20
In this mode, the update of the period value, the duty-cycle values and the dead-time values
must be made by writing in their respective update registers with the CPU (respectively CPR-
DUPDx, CDTYUPDx and DTUPDx).
To trigger the update, the user must use the UPDULOCK bit of the
trol Register” on page 1006
period) the synchronous channels:
After writing the UPDULOCK bit to 1, it is held at this value until the update occurs, then it is read
0.
Sequence for the Method 1:
• If the UPDULOCK bit is set to 1, the update is done at the next PWM period of the
• If the UPDULOCK bit is not set to 1, the update is locked and cannot be performed.
1. Select the manual write of duty-cycle values and the manual update by writing the
2. Define the synchronous channels by the SYNCx bits in the SCM register.
3. Enable the synchronous channels by writing CHID0 in the ENA register.
4. If an update of the period value and/or the duty-cycle values and/or the dead-time val-
5. Write UPDULOCK to one in SCUC.
6. The update of the registers will occur at the beginning of the next PWM period. At this
synchronous channels.
UPDM field to zero in the SCM register
ues is required, write registers that need to be updated (CPRDUPDx, CDTYUPDx and
DTUPDx).
time the UPDULOCK bit is reset, go to step 4) for new values.
0x40
0x40
0x60
(SCUC) which allows to update synchronously (at the same PWM
0x60
”Sync Channels Update Con-
AT32UC3C
979

Related parts for AT32UC3C2512C Automotive