Allmodesare selectableviaCM(3:1)eitherdirectlyvia
pins or via the microprocessor interface. All the
diagnostic modes, including remote loop-back and
local loop-back are selectable individually for each
mainandmaintenancechannelviathemicroprocessor
interface.
Diagnostic modes (main channel)
TheACS4110hasfourdiagnostic/configurationmodes
implemented for the main channels, configured by
CM(3:1).Thefollowingdiagnostic/configurationmodes
are implemented for the main channels:
Full-Duplex
- full duplex
- full duplex slave
- full duplex master
- remote loop-back
- local loop-back
In the full-duplex configuration, the RCLK clock of
both devices track the average frequency of the
corresponding TCLK clock of the opposite end of
the link. The receiving Digital-Phase-Lock Loop
(DPLL) system makes periodic adjustments to the
RCLK clock to ensure that the average frequency is
exactly the same as the far-end TCLK clock. In
summary, each TCLK is an independent master clock
and each RCLK a slave of the far-end TCLK clock.
The modes are selectable via CM(3:1) either directly
viapins,viathemicroprocessorinterfaceorviaremote
control setup. All modes remote loop-back and local
loop-back are selectable individually for each channel
via the microprocessor interface. Table 5. shows the
selection of diagnostic modes and configurations.
The relationship between TmCLK and RmCLK are
treated similarly.
CM(3:1)
111
Diagnostic Mode/Configuration
Full-Duplex Slave
local loop-back initiated from far end
(remote setup only)
remote loop-back initiated from far end
local loop-back
remote loop-back
full duplex master
full duplex slave
full duplex slave/remote full duplex
(remote setup only)
In slave mode, the TCLK and RCLK clock is derived
from the TCLK clock of the far-end modem, such
that their average frequencies are identical. Clearly,
it is essential that only one modem within a
communicating pair is configured in slave mode. The
CKC pin should be forced to GND, so that TCLK is
always configured as an output.
110
101
100
011
010
001
000
full duplex
The relationship between TmCLK and RmCLK are
treated similarly. The CKM pin should be forced to
GND, so that TmCLK is always configured as an
output.
Table 5: Selection of diagnostic modes
Inremotesetup(ENRSB=0), thefar-enddevicewillbe
setup complementary to the near-end device (control
device) according to the Table 6.
Full-Duplex Master
In master mode, the local RCLK clock is internally
generated from the local TCLK clock. The local
TCLK clock may be internally or externally generated.
Master mode is only valid if the far-end device is
configured in slave mode or if the far-end TCLK clock
is derived from the far-end RCLK clock. Only one
modem within a communicating pair may be
configured as a master.
CM(3:1)
Near End initiate
(Control device)
Far End initiate
(Remote control device)
111
110
101
100
011
010
001
full duplex
*
local loop-back
remote loop-back
full duplex
local loop-back
remote loop-back
full-fuplex master
full-duplex slave
full-duplex slave
*
full-duplex slave
full-duplex master
full-duplex
000
full duplex
full duplex
The relationship between TmCLK and RmCLK are
treated similarly.
Table 6: Selection of diagnostic modes
Local Loopback
* Remote Loop-back Detect.
In local loopback mode, TPN and TmD data is looped
back inside the near-end modem and is output at its
own RPN and RmD outputs.
For a remote loop-back initiated from the far end
device, CM(3:1)=110, the initiating end transmitting
and receiving the data will be setup as full duplex (see
Figure:1).
Data received from the far-end device is ignored,
except to maintain lock. If concurrent requests occur
for local and remote loopback, local loopback is
selected. The local loopback diagnostic mode is used
to test data flow up to, and back from, the local
ACS4110 and does not test the integrity of the link
itself. Therefore, local loopback operates
independently of synchronisation with a second
modem (i.e. DCD may be High or Low). The local
For remote loop-back, CM(3:1)=100, the remote
loopback is initiated from the near end.
In both cases, the data that is looped back will be the
data applied to the near end device (see Figure:1).
ACS411CS PRE-RELEASE Issue 6.0 July 1999.
8