EVAL-ADUC836QS AD [Analog Devices], EVAL-ADUC836QS Datasheet - Page 38

no-image

EVAL-ADUC836QS

Manufacturer Part Number
EVAL-ADUC836QS
Description
MicroConverter, Dual 16-Bit ADCs with Embedded 62 kB Flash MCU
Manufacturer
AD [Analog Devices]
Datasheet
Mode 4: Dual NRZ 16-Bit - DAC
Mode 4 provides a high speed PWM output similar to that of a
equal to 12.58 MHz.
In this mode, P1.0 and P1.1 are updated every PWM clock
(80 ns in the case of 12.58 MHz). Over any 65536 cycles (16-bit
PWM), PWM0 (P1.0) is high for PWM0H/L cycles and low for
(65536 – PWM0H/L) cycles. Similarly, PWM1 (P1.1) is high for
PWM1H/L cycles and low for (65536 – PWM1H/L) cycles.
If PWM1H is set to 4010H (slightly above one quarter of FS),
then typically P1.1 will be low for three clocks and high for one
clock (each clock is approximately 80 ns). Over every 65536
clocks, the PWM will compromise for the fact that the output
should be slightly above one quarter of full scale by having a high
cycle followed by only two low cycles.
For faster DAC outputs (at lower resolution), write 0s to the
LSBs that are not required with a 1 in the LSB position. If, for
ex am ple, only 12-bit per for mance is required, write 0001 to the
4 LSBs. This means that a 12-bit accurate - DAC output can
occur at 3 kHz. Similarly, writing 00000001 to the 8 LSBs gives
an 8-bit ac cu rate - DAC out put at 49 kHz.
Mode 5: Dual 8-Bit PWM
In Mode 5, the duty cycle of the PWM outputs and the res o lu tion
of the PWM outputs are individually programmable. The max-
i mum resolution of the PWM output is 8 bits.
The output resolution is set by the PWM1L and PWM1H SFRs
for the P1.0 and P1.1 outputs, respectively. PWM0L and
PWM0H set the duty cycles of the PWM outputs at P1.0 and
P1.1, re spec tive ly. Both PWMs have the same clock source and
clock divider.
ADuC836
- DAC. Typically, this mode will be used with the PWM clock
12.583MHz
PWM0H/L = C000H
PWM1H/L = 4000H
16-BIT
16-BIT
16-BIT
16-BIT
Figure 30. PWM Mode 4
LATCH
CARRY OUT AT P1.0
CARRY OUT AT P1.1
16-BIT
16-BIT
80 s
80 s
0
0
1
0
1
0
1
1
0
0
0
1
1
0
–38–
Mode 6: Dual RZ 16-Bit - DAC
Mode 6 provides a high speed PWM output similar to that of a
the key difference is that Mode 6 provides return to zero (RZ)
DAC outputs. The RZ mode ensures that any difference in the
rise and fall times will not affect the - DAC INL. However,
the RZ Mode halves the dynamic range of the - DAC outputs
from 0→AV
be used with a PWM clock divider of 4.
If PWM1H is set to 4010H (slightly above one quarter of FS)
then P1.1 will typically be low for three full clocks (3
high for half a clock (40 ns) and then low again for half a clock
(40 ns) before repeating itself. Over every 65536 clocks, the
PWM will compromise for the fact that the output should be
slightly above one quarter of full scale by leaving the output high
for two half clocks in four every so often.
For faster DAC outputs (at lower resolution), write 0s to the
LSBs that are not required with a 1 in the LSB position. If, for
ex am ple, only 12-bit per for mance is required, write 0001 to the
4 LSBs. This means that a 12-bit accurate - DAC output can
occur at 3 kHz. Similarly, writing 00000001 to the 8 LSBs gives
an 8-bit ac cu rate - DAC out put at 49 kHz.
- DAC. Mode 6 operates very similarly to Mode 4. However,
- DAC output. Mode 4 provides non-return-to-zero -
PWM0H/L = C000H
PWM1H/L = 4000H
3.146MHz
16-BIT
16-BIT
16-BIT
16-BIT
DD
to 0→AV
Figure 32. PWM Mode 6
Figure 31. PWM Mode 5
LATCH
PWM COUNTERS
DD
CARRY OUT AT P1.0
/2. For best results, this mode should
CARRY OUT AT P1.1
16-BIT
16-BIT
318 s
318 s
0 1
0
0
1
0 1
1
PWM1L
PWM1H
PWM0L
PWM0H
P1.1
0
P1.0
0
0
80 ns),
1
0
REV. 0
1
0

Related parts for EVAL-ADUC836QS