English
Language : 

Z89135 Datasheet, PDF (51/66 Pages) Zilog, Inc. – Low-Cost DTAD Controller
Zilog
Z89135/136 (ROMless)
Low-Cost DTAD Controller
PULSE WIDTH MODULATOR (PWM)
The PWM supports four different sampling rates (4, 10, 16, is represented by the remaining 31 time slots in each
and 64 kHz), according to the settings of Bit 8, 9, 10 of the group.
1
ACR. The output of PWM can be assigned to logic 1 only
during the active region (which is 4/5 of the output signal For example, a value of %13a is loaded into PWM data
period). The output will be at logic 0 for the rest of the time. register EXT 5:
An exception occurs in 10 kHz PWM, where the active re-
gion covers the whole output signal period (Figure 37). The
%13a = 01 0011 1010B = 314
active region is divided into 1024 time slots. In each of
these time slots, the output can be set to logic 1 or logic 0.
High_Val = 01001B = 9
In order to increase the effective sampling rate, the PWM
employs a special technique of distributing the “logic 1” pe-
riod over the active region.
The 10-bit PWM data is divided into two parts: the upper 5
bits (High_Val) and the lower 5 bits (Low_Val). The 1024
time slots in the active region are divided into 32 equal
groups, with 32 time slots in each group. The first slot of
each of the 32 groups represents Low_Val, while High_Val
Low_Val = 11010B = 26
26 out of 32 groups will then have their first slots set to log-
ic 1. The remaining slots in each group have 9 time slots
set to logic 1.
For 10 kHz PWM, the effective output frequency is 10K x
32 = 320 kHz. Figure 38 illustrates the waveform by using
a 6-bit PWM data (3-bit High_Val and 3-bit Low_Val).
100 µs
62.5 µs
16 µs
250 µs
Figure 37. PWM Waveform
(shaded area shows the active region)
250 µs
100 µs
62.5 µs
16 µs
Figure 38. PWM Waveform of the Active Region
(for a 6-bit PWM data)
DS97TAD0300
PRELIMINARY
4 kHz
10 kHz
16 kHz
64 kHz
4 kHz
10 kHz
16 kHz
64 kHz
1-51