at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 154

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
14.5.3
14.6
154
Update of Values
AT90PWM81
Fifty Percent Waveform Configuration
Figure 14-6.
On-Time 0 = (OCRrRAH/L - OCRrSAH/L) * 1/Fclkpsc
On-Time 1 = (OCRrRBH/L - OCRrSBH/L) * 1/Fclkpsc
Dead-Time 0 = (OCRrSAH/L + 1) * 1/Fclkpsc
Dead-Time 1 = (OCRrSBH/L - OCRrRAH/L) * 1/Fclkpsc
Note:
When PSCOUTr0 and PSCOUTr1 have the same characteristics, it’s possible to configure the PSCR in a
Fifty Percent mode. When the PSCR is in this configuration, it duplicates the OCRrSBH/L and OCR-
rRBH/L registers in OCRrSAH/L and OCRrRAH/L registers. So it is not necessary to program
OCRrSAH/L and OCRrRAH/L registers.
The update of PSCR waveform registers are done in the following way:
To avoid asynchronous and incoherent values in a cycle, if an update of one of several values is necessary,
all values are updated at the same time at the end of the cycle by the PSC. The new set of values is calcu-
lated by software and the update is initiated by software.
PSC Counter
PSCOUTn0
PSCOUTn1
Immediately when the PSC is stopped
At the PSC end of cycle when the PSC is running
At the PSC end of cycle following the required condition when LOCK or AUTOLOCK modes are
used.
Minimal value for Dead-Time 0 = 1/Fclkpsc
OCRnSA
0
PSCr0 & PSCr1 Basic Waveforms in One Ramp mode
Dead-Time 0
On-Time 0
PSC Cycle
OCRnRA
OCRnSB
Dead-Time 1
On-Time 1
OCRnRB
7734M–AVR–03/10

Related parts for at90pwm81-16se