AT32UC3C2512C Automotive Atmel Corporation, AT32UC3C2512C Automotive Datasheet - Page 983

no-image

AT32UC3C2512C Automotive

Manufacturer Part Number
AT32UC3C2512C Automotive
Description
Manufacturer
Atmel Corporation
9166C–AVR-08/11
Sequence for Method 3:
1. Select the automatic write of duty-cycle values and automatically update by setting the
2. Define the synchronous channels by the SYNCx bits in the SCM register.
3. Define the update period by the UPR field in the SCUP register.
4. Define when the WRDY bit and the corresponding PDCA transfer request must be set
5. Define the PDCA transfer settings for the duty-cycle values and enable it in the PDCA
6. Enable the synchronous channels by writing CHID0 in the ENA register.
7. If an update of the period value and/or of the dead-time values is required, write regis-
8. Write UPDULOCK to one in SCUC.
9. The update of these registers will occur at the beginning of the next PWM period. At
10. If an update of the update period value is required, check first that write of a new update
11. Write register that need to be updated (SCUPUPD).
12. The update of this registers will occur at the next PWM period of the synchronous chan-
13. Check the end of the PDCA transfer with the Transfer Complete bit in the PDCA status
UPDM field to 2 in the SCM register.
in the update period by the PTRM bit and the PTRCS field in the SCM register (at the
end of the update period or when a comparison matches).
registers
ters that need to be updated (CPRDUPDx, DTUPDx), else go to
this moment the UPDULOCK bit is reset, go to
value is possible by polling the WRDY bit (or by waiting for the corresponding interrupt)
in the ISR2 register, else go to
nels when the Update Period is elapsed. Go to
register. If the transfer is ended define a new PDCA transfer in the PDCA registers, for
new duty-cycle values. Go to
Step 5.
Step 13.
Step 7.
Step 10.
for new values.
for new values.
Step 10.
AT32UC3C
983

Related parts for AT32UC3C2512C Automotive