Arbitrary waveform generator, Figure 13. arbitrary waveform ui, Bitrary waveform generator – Cirrus Logic CS61880 User Manual

Page 42: See section 15 on, Arbitrary waveform gen, Erator

Advertising
background image

CS61880

42

DS450PP3

15. ARBITRARY WAVEFORM
GENERATOR

Using the Arbitrary Waveform Generator (AWG)
allows the user to customize the transmit pulse
shapes to compensate for nonstandard cables,
transformers, protection circuitry, or to reduce
power consumption by reducing the output pulse
amplitude. A channel is configured for a custom
pulse shape by enabling the AWG for that channel
and then storing data representing the pulse shape
into the 24 phase sample locations. Each channel
has a separate AWG, so all eight channels can have
a different customized pulse shape. The micropro-
cessor interface, is used to read from or write to the
AWG, while the device is in host mode.

In the AWG RAM, the pulse shape is divided into
two unit intervals (UI). There are 12 phase sample
addresses in each UI. The first UI is for the main
part of the pulse and the second UI is for the “tail”
of the pulse (Refer to

Figure 13

). A complete pulse-

shape is represented by 24 phase samples. Data
written in the first UI represents a valid pulse
shape, while data in the second UI must be set to
zero at all times. Writing values other that zero to
the second UI will cause the pulse shape to be in-
valid.

The data in each phase sample is a 7-bit two’s com-
plement number with a maximum positive value of
0x3f, and a maximum negative value of 0x40. The
terms “positive” and “negative” are defined for a
positive going pulse only. The pulse generation cir-
cuitry automatically inverts the pulse for negative
going pulses. The data stored in the lowest phase
address corresponds to the first phase sample that
will be transmitted in time. The typical voltage step
for each mode of operation is as follows: for E1
75

mode the typical voltage step is 42 mV/LSB

and for E1 120

mode the typical voltage step is

54 mV/LSB all voltage steps are measured across
the transformer secondary.

The following procedure describes how to enable
and write data into the AWG RAM to produce cus-
tomized pulse shapes to be transmitted for a specif-
ic channel or channels. First, enable the AWG
function for a specific channel or channels by writ-
ing a “1” to the corresponding bits in the

AWG En-

able Register (19h)

(See Section 14.26 on

page 40). When the corresponding bit or bits in the
AWG Enable Register are set to “0” pre-pro-
grammed pulse shapes are selected for transmis-
sion. Then the desired channel and phase sample
address must be written to the

AWG Phase Ad-

dress Register (17h)

(See Section 14.24 on

page 39). Once the channel and phase sample ad-
dress have been written, the actual phase sample
data may be entered into the

AWG Phase Data

Register (18h)

(See Section 14.25 on page 39) at

the selected phase sample address selected by the
lower five bits of the

AWG Phase Address Regis-

ter (17h)

(See Section 14.24 on page 39)).

To change the phase sample address of the selected
channel the user may use either of the following
steps. The user can re-write the phase sample ad-
dress to the AWG Phase Address Register or set the
Auto-Increment bit (Bit 7) in the

Global Control

Register (0Fh)

(See Section 14.16 on page 37) to

“1” before writing to the AWG Phase Data Regis-
ter. When this bit is set to “1” only the first phase

E1 AWG Example

U1

U2

Figure 13. Arbitrary Waveform UI

Advertising