CDB61318 Cirrus Logic, Inc., CDB61318 Datasheet - Page 6

no-image

CDB61318

Manufacturer Part Number
CDB61318
Description
T1/e1 Line Interface Units
Manufacturer
Cirrus Logic, Inc.
Datasheet
10. CDB61318 SOFTWARE
The CDB61318 can be configured in the host/soft-
ware mode using the application CDB61318.EXE
supplied with the board. This application allows the
user to access all of the user programmable regis-
ters in the device. It runs under Windows 95 and
98.
10.1 Configure PC
This function allows the user to set the address of
the PC parallel port. The selection depends on the
configuration of the user’s PC. The Plug and Play
(PnP) function of the operating system determines
this address every time the PC is powered up, but it
normally won’t change the printer port address un-
less the configuration of the hardware has changed
since the PC was last powered up. There are two
ways to determine the address of the parallel port:
the safe method and the fast method.
The safe method is to double click on the My Com-
puter icon on the desktop, double click on Control
panel, then Double click on System. Select the De-
vice Manager tab. Select “View devices by type” in
the window that pops up, then double click on
“Ports (COM & LPT)”. Click on the Printer Port
icon that corresponds to the port that is connected
to the CDB61318 evaluation board, then select
Properties. On the Properties window, select the
Resources tab, then read the I/O address in the In-
put/Output Range field. This is the address range to
select for the CDB61318.
The fast method is to use the pull down menu in
Configure Part to try the ports one by one, then
clicking on the Read Registers button. When the
wrong address is selected, the bit fields in this win-
dow will read either all zeroes or all ones. The user
must be careful when using this method because
entering the Configure Part window automatically
issues a read command to the device. This will
cause unpredictable results if the selected LPT port
is connected to some device other than a
CDB61318 evaluation board. Before using this
6
method, the user should disconnect all other devic-
es from the LPT ports.
10.2 Configure Part
Clicking on Configure_Part brings up two options:
the first is Control Register Configuration, which
gives access to the control and status registers, and
Transmitter RAM Configuration, which configures
the Arbitrary Waveform Generator (AWG). See
the CS61318 data sheet for information on pro-
gramming these registers.
10.3 Control Register Configuration
Selecting Control Register Configuration pulls up
the register configuration window and automatical-
ly issues a read command to the CDB61318; the
user must make sure that the software is configured
to use the proper LPT port before this option is se-
lected (see Configure PC above).
The register configuration window is shown in
Figure 1. The bits in the Control Registers (CNTL
REG 1, CNTL REG 2, CNTL REG 3) are written
by checking the box opposite to the individual bits
in the "Write" columns, then clicking on the "Write
Registers" button. This writes the displayed data to
all three control registers, then automatically reads
the control and status registers and displays the re-
sults in the "Read" columns. Since Control Register
1 is effectively a control register when it is written
and a status register when it is read, the read status
is decoded and displayed in the Read Status win-
dow.
The registers can also be read by clicking on the
"Read Registers" button. All five registers are read
when this command is selected.
The LATN REG register shows the current setting
of the gain-equalizer.
10.4 Transmitter Ram Configuration
When this command is selected, the software pops
up a window which displays the contents of the
CDB61318
DS441DB1

Related parts for CDB61318