Functional Description (Continued)
TABLE 1. Global Register Address Map
Address Registers
(Hex)
00–0F LINE 0 Control (TSX,TSR,CTRL)
10–1F LINE 1 Control (TSX,TSR,CTRL)
20–2F LINE 2 Control (TSX,TSR,CTRL)
Address Registers
(Hex)
30–3F LINE 3 Control (TSX,TSR,CTRL)
40–CF Not used
FF Common Status Register for all lines (0–3).
See Table 6
TABLE 2. Per Line Control Register Address Map
Function
Byte 1 Byte 2
(Note 4)
MSB Nibble (Note 3) LSB Nibble
76543210
Write TSXD Register N 0000SeeTable 5
Read TSXD Register N 0001SeeTable 5
Write TSXB1 Register N 0010SeeTable 4
Read TSXB1 Register N 0011SeeTable 4
Write TSXB2 Register N 0100SeeTable 4
Read TSXB2 Register N 0101SeeTable 4
Write TSRD Register N 0110SeeTable 5
Read TSRD Register N 0111SeeTable 5
Write TSRB1 Register N 1000SeeTable 4
Read TSRB1 Register N 1001SeeTable 4
Write TSRB2 Register N 1010SeeTable 4
Read TSRB2 Register N 1011SeeTable 4
Write Line Control Register (CTR L) N 1110SeeTable 3
Read Line Control Register (CTRL) N 1111SeeTable 3
Note 3: N = 0, 1, 2, or 3 in straight Binary notation for Line 0, 1, 2, or 3 respectively.
Note 4: Bit 7 of bytes 1 and 2 is always the first bit clocked into or out from the CI and CO pins.
LINE CONTROL REGISTERS CTRLN
Each of the 4 transceivers has a Line Control Register,
CTRL0–CTRL3, which provides for control of loop activa-
tion, Ioopbacks, Interrupt enabling and D channel interface
enabling. Table 3 lists the functions.
POWER ON INITIALIZATION
Following the initial application of power, the QDASL enters
the power-down (de-activated) state, in which all the internal
circuits are inactive and in a low power state except for a
Line-Signal Detect Circuit for each of the 4 lines, and the
necessary bias circuits. The 4 line outputs, Lo0–Lo3, are in
a high impedance state and all digital outputs are inactive. All
bits in the Line Control Registers power-up initially set to “0”.
While powered-down, each Line-Signal Detect Circuit con-
tinually monitors its line, to detect if the far-end initiates loop
transmission.
POWER-UP/DOWN CONTROL
To power-up the device and initiate activation, bit C7 in any
of the 4 Line Control Registers must be set high, see Table 3.
Setting C7 low de-activates the loop, or puts the channel in
power-down state. During power-down state, internal regis-
ter data is retained, and still can be accessed.
LOOPBACKS
Four different loopbacks can be set for each line. They are
enabled and disabled by setting the corresponding bits in the
Control Register, see Table 3. In addition, a line must be
activated to see the effect of loopback commands.
1. 2B+D Line Loopback
When bit 5 is set to 1, this loop will transfer all three
channels, B1, B2 and D, that are received at the Li pin
back to the Lo pin. Data out on BO/DO is still the same
as received at the Li input.
2. B1 Line Loopback
When bit 4 is set high, the loop path is the same as (1)
but only data on the B1 channel is looped back to the
line. Transmit data in the B2 and D channels is from the
Bi/DI pins.
3. B2 Line Loopback
As (2) but for the B2 channel.
4. 2B+D Digital Loopback
This loop will transfer all data (2B+D) received at BI/DI
back to BO/DO. The data is also transmitted to the line.
TIME-SLOT ASSIGNMENT
The digital interface of the QDASL uses time-division multi-
plexing, with data framed in up to 64 possible 8-bit time-slots
per 125 µs frame. Channels B1 and B2 for all 4 lines are
clocked in (towards the line) at the BI pin and clocked out
(from the line) at the BO pin. A separate port is provided for
TP3404
www.national.com 8