beautypg.com

2 center aligned mode – Rainbow Electronics ATmega64M1 User Manual

Page 139

background image

139

8209A–AVR–08/09

ATmega16M1/32M1/64M1

18.5.3.2

Center Aligned Mode

In center aligned mode, the center of PSCOUTnA and PSCOUTnB signals are centered.

Figure 18-6. PSCOUTnA & PSCOUTnB Basic Waveforms in Center Aligned Mode

On-Time 0 = 2 * POCRnSAH/L * 1/Fclkpsc

On-Time 1 = 2 * (POCRnRBH/L - POCRnSBH/L + 1) * 1/Fclkpsc

Dead-Time = (POCRnSBH/L - POCRnSAH/L) * 1/Fclkpsc

PSC Cycle = 2 * (POCRnRBH/L + 1) * 1/Fclkpsc

Note:

Minimal value for PSC Cycle = 2 * 1/Fclkpsc

Note that in center aligned mode, POCRnRAH/L is not required (as it is in one-ramp mode) to
control PSC Output waveform timing. This allows POCRnRAH/L to be freely used to adjust ADC
synchronization (

See “Analog Synchronization” on page 146.

).

On-Time 1

On-Time 0

PSCOUTnA

PSCOUTnB

PSC Cycle

Dead-Time

On-Time 1

Dead-Time

PSC Counter

POCRnRB

POCRnSA

POCRnSB

0