
Functional Description
(Continued)
controller to provide the interface for the microcontroller to
access the EOC Registers. To use the device in an NT-1 or
Regenerator, a microcontroller is required and Microwire
mode should be used on the TP3410.
8.1 GCI Physical Interface
The interface physically consists of four wires:
— Transmit data to line:
— Receive data from line: Br
— Bit clock at 2 cycles/bit: BCLK
— 8 kHz frame sync:
Data is synchronized by the BCLK and FSa clock inputs.
FSa insures re-initialization of the time-slot counter at the be-
ginning of each 8 kHz frame, with the rising edge of FSa be-
ing the reference time for the first GCI channel bit. Data is
clocked in both directions at half the BCLK input frequency.
Data bits are output from the device on a rising edge of
BCLK and sampled on the second falling edge of BCLK; un-
used slots are high impedance. Br is an open-drain
n-channel output, with internal detection for contention reso-
lution on the Monitor and C/I channels between devices at-
tempting to use the same GCI channel (typically in a TE ap-
plication).
Adevice may be either the Master or Slave of the GCI timing.
As a Master it is the source of BCLK, FSa and FSb, which
Bx
FSa
are synchronized to the data received from the line, and GCI
channel 0 is always used. As a GCI Slave, BCLK and FSa
must be sourced externally, typically from a system back-
plane, and pins S0–S2 must be connected high or low to se-
lect the required GCI channel. To use the single channel
mode, a 512 kHz BCLK is required, and S2, S1 and S0 must
be connected to GND (GCI Channel 0). To use the multiplex
mode with a GCI Slave device, the 4 pins are commoned be-
tween up to 8 devices, forming a “wire-AND” connection with
the Br pins. The BCLK frequency must be at least n x 512
kHz, where n is the number of devices. In fact BCLK may be
operated up to 6144 kHz if required, to leave up to 4 addi-
tional GCI channels unoccupied by TP3410’s (and available
for other uses). Clock and channel selection are shown in
the following table:
Pin Name
MW
MO
S2/CLS
LT and NT1–2
0
0 (GCI Slave)
S2 (msb)
NT1 and TE
0
1 (GCI Master)
CLS=0: 512 kHz
CLS=1: 1536 kHz
0
FSb
S1
S1
S0/FSb
S0 (lsb)
8.2 GCI Frame Structure
Figure 14 shows the frame structure at the GCI interface.
One GCI channel supports one TP3410 using a bandwidth
of 256 kbit/s, consisting of the following channels multi-
plexed together in an 8 kHz frame:
—
B1 channel at 8 bits per frame;
—
B2 channel at 8 bits per frame;
—
Monitor (M) channel at 8 bits per frame;
—
Signalling and Control (SC) channel, which is structured
as follows:
D Channel at 2 bits per frame;
C/I channel at 4 bits per frame;
A bit, for acknowledgement of M channel bytes;
E
bit,
which
indicates
multiple-byte messages are transferred via the M chan-
nel.
byte
boundaries
when
8.3 Monitor Channel
The GCI Monitor channel (byte 3) is used to access all the
Command Registers shown in Table 3 with the exception of
the Activation Control Register, and all the Status Registers
shown in Table 4 with the exception of the Activation Indica-
tion Register. Each access to or from one of the listed regis-
ters requires a 2-byte message transfer. As shown in Table 3
and Table 4 the first byte from the originating device con-
tains the register address, and the second byte is the data
byte. Status Registers originate messages in the Monitor
channel under control of the Interrupt Stack (in the same
manner as when the TP3410 is used in Microwire Mode). In
addition a protocol is used, based on the E and A bits in byte
4, to provide an acknowledgement of each Monitor channel
byte in either direction, see Figure 15
When no Monitor Channel message is being transferred, the
E bit, and the A bit in the reverse direction, are
high-impedance (and pulled high by the external resistor if
no other device is active in that channel). To initiate a trans-
fer, a device must first verify that it has received the A bit=1
for at least 2 consecutive GCI frames from the other device
DS009151-15
FIGURE 13. Microwire Control Port Timing: MW = 1
PrintDate=1997/07/09 PrintTime=13:38:18 1109 ds009151 Rev. No. 1
Proof
14
www.national.com
14