nMeets CCITT Rec.G704
nInterface to route selectable between
HDB3 and fibre optical
nHDB3 outputs switchable between fully
bauded and half bauded format
nError checking via CRC4 procedure
nInsertion and extraction of alarms and
facility signals
nSelectable system - clock (4096 kHz/
8192 kHz)
nSelectable Interface mode (2048/4096
kBit/s) to system internal highway
nProgrammable offsets for receive and
transmit data
nTwo frame receive buffer for receive
route clock wander and jitter
compensation
nSlip detection and direction indication
nExtended HDB3 error detection
SA9101
PCM FRAME ALIGNER
nError counters for code errors
(switchable to "Si zeros counter"), frame
errors and CRC4 errors
nSub-multiframe assigned CRC Error
indication with possibility of automatic
insertion in Si-bit position of outgoing
multiframe.
nSimplified data transfer between
SA9101 and controller, supported by
data stacks for receive and transmit
signalling data, selectable interruptsources and DMA facilities.
nDouble frame marker for serial data
extraction support
nRepeated transmission of signalling
data, if not updated.
nThree transparent modes for timeslot 0
in transmit direction
nTransparent mode for receive direction
nHDB3 error indication
nIdle channel data insertion selectable
for any timeslot
nChannel loopback capabilities, test and
diagnostic capabilities
nParity checks
DESCRIPTION:
The SA9101 (Frame Alignment unit for PCM30 Systems) is a C-MOS device which
implements the interface to PCM30 Transmission Systems.
In the receive direction, the device performs HDB3 decoding, Frame alignment
(selectable between doubleframe and CRC-Multiframe) and extraction of signalling
data.
Wander absorption between the PCM carrier and the system internal highway is
performed using an internal 2 frame memory. The incoming data stream is monitored
and
M71-1797PDS039-SA9101-001 REV.A 09-09-94
1/40
SA9101
Description (Cont.)
status and error conditions are reported through the µP interface. In the transmit
direction, Frame (and Multiframe) alignment, signalling data insertion and HDB3 coding
is performed.
If Multiframe format is enabled, CRC4 extraction and checking are carried out in the
receive direction and CRC4 data is inserted in the transmit direction.
Stacks for transmit and receive signalling data with DMA capability as well as maskable
interrupt sources simplify interfacing to microcontrollers.
Alarm simulation capabilities and selectable channel-loopback, support system
diagnostics.
Different transparent modes for timeslot 0 in transmit direction simplify system test and
data transmission through the system.
Advanced algorithms for synchronisation of doubleframe and CRC4 multiframe format
data, and monitoring of frame and doubleframe formats minimise loss of data.
Control Registers allow different control settings through the µP interface.
Advanced C-MOS Technology ensures low power consumption and high reliability.
The device is upwards compatible with the Siemens ACFA (PEB 2035 V4.1) in PCM30
mode.
PIN CONNECTIONS
2/40
Package: DIP/DIC - 40Package: PLCC - 44
sames
Block Diagram
SA9101
sames
3/40
SA9101
ELECTRICAL CHARACTERISTICS
Absolute Maximum Ratings*
ParametersSymbolMinMaxUnit
Supply VoltageV
Voltage on any I/O pinV
Current on any I/O pinI
Storage TemperatureT
Operating TemperatureT
Package Power DissipationP
*Stress above those listed under "Absolute Maximum Ratings" may cause permanent damage
to the device. This a stress rating only. Functional operation of the device at these or any other
condition above those indicated in the operational sections of this specification, is not implied.
Exposure to Absolute Maximum Ratings for extended periods may affect device reliability.
DC Operational Characteristics
= 5V, T = 10°C..+70°C
V
DD
Parameter Symbol Min.Max. Unit Remarks
Supply VoltageV
Supply Current (dynamic)I
Standby CurrentI
Inputs
High VoltageV
Low VoltageV
Leakage CurrentI
Input ACKNQ
Pullup Current-I
Outputs
High VoltageV
Low VoltageV
Bidirects
Input High VoltageV
Input Low VoltageV
Tristate CurrentI
Output High VoltageV
Output Low VoltageV
Double Frame Marker
COSI2327Carrier out of Service
DRAI2731Receive Data in Plus
DRBI2630Receive Data in Minus
DROO24Receive Data Out
DXAO3842Transmit Data Out Plus
DXBO3943Transmit Data Out Minus
DXII3034Transmit Data In
D[7-0]B14-716-9Data Bus
OPINI2933Receive Optical Interface Data
OPOUTO68Transmit Optical Interface Data
RCAS/RREQO3539Receive TS16 Signal/Receive DMA
S34380V Ground
WRQI2125Write Enable
XCHPARO3337Transmit Channel Parity
XRCLKO3741Transmit Route Clock
XTOMO13Test Data Output Minus
XTOPO4044Test Data Output Plus
sames
5/40
SA9101
DESCRIPTION OF INTERFACES
Fibre Optical Interface
The fibre optical interface is enabled via the microprocessor interface.
SignalPinInput/Output/BidirectFunction
OPIN29IOptical Fibre In
Unipolar Input Signal at 2048 kbps
Input polarity sense is programmable
via CR8B3. Latching of data is
performed with the falling edge of
RCLK if optical interface is selected
via CR1B2. (See Fig. 6 Line Interface
Timing.)
OPOUT6OOptical Fibre Out
Unipolar Output Signal at 2048 kbps
The output's active polarity is
programmable via CR6B7. Data is
clocked out on the rising edge of
XRCLK. Data duty cycle is 100%.
(See Fig. 6 Line Interface Timing.)
RCLK25IRoute Clock
This clock, derived from the incoming
data by the line interface circuit (eg.
IPAT (PEB2235)), is necessary for
clocking received data into the SA9101.
XRCLK37OTransmit Route Clock
This 2048kHz clock is generated from
the Station Clock, SCLK. (See Fig. 5
System Interface Timing and Fig. 6
Line Interface Timing.)
PCM30 Interface
SignalP i nInput/Output/BidirectFunction
DRA27,IData Receive +/DRB26IHDB3 coded PCM Signal
DXA38,OData transmit +/DXB39OHDB3 coded PCM Signal
RCLK25IRoute Clock f = 2.048 MHz
XRCLK37OTransmit route clock
Frequency:8 kHz
Duration: 488 ns
If loss of synchronisation, the line frame
pulse is inhibited
SYPQ28ISynchronous Pulse
Defines start of frame for System internal
data, together with the programmed offset
values of transmit and receive counter.
Pulse width: >244 ns
Period:Multiples of 125µs
DIU Controller
SignalPinInput/Output/BidirectFunction
D0 - D77 - 14BBidirectional 8 bit data-bus
A0 - A316 - 19 IAddress lines for SA9101 internal
registers
CEQ22 IChip enable input
WR Q21 IWrite enable input
RDQ20 IRead enable input
COS23 ICarrier out of service input.
SA9101 sends AIS to PCM30 interface
if input is at “1”
XREQ36OTransmit DMA interrupt request
Timeslot channels 0 - 31 to/from PCM30 interface.
Bit rate 2048 kbit/s or 4096 kbit/s selectable via microprocessor interface.
CAS Processing
SignalPinInput/Output/BidirectFunction
DRO2OData Receive Out
DXI30 IData Transmit In
RCAS35OReceive CAS, active high marks
reception of channel 16
TCAS36OTransmit CAS, active high marks
transmission of channel 16
Test/Supervision
SignalPinI nput/Output/BidirectFunction
CHPAR4OReceive Channel parity
Appears according to the related
channel (timeslot)
DFPAR3ODoubleframe Parity
During a current double-frame, the
parity of the previous double-frame
appears on DFPAR
XTOP40,OHDB3-coded PCM (+), PCM (-) signal
XTOM1Ofor HDB3 diagnostic loop
RESQ31IReset (Output Disable)
Asynchronous reset signal (active low),
resets the internal circuit and switches
all outputs to high impedance state -
must be held low for minimum of 2µs
XCHPAR33ITransmit channel parity
8/40
sames
SA9101
FUNCTIONAL DESCRIPTION
Receive path
Receive Link Interface
For data input, two different data types, with selectable input active polarity sense, are
supported:
-Dual rail data (PCM[+], PCM[-]) at ports DRA, DRB received from a Line Interface
Unit.
-Unipolar data at port OPIN (PCM 30) received from a fibre optical Interface.
Latching of data is carried out using the falling edge of the Receive route Clock
(RCLK, 2048 kHz) recovered from the PCM receive data stream. Dual rail data is
subsequently converted into a single rail, unipolar bit stream. The HDB3 line code
is used along with Double Violation Detection or Extended Code Violation Detection
(selectable). These errors increment the Code Violation Counter.
When using the unipolar input mode, the decoder is by-passed and no code violation
will be detected.
Additionally, the receive Link Interface comprises the alarm detection for AIS (Alarm
Indication Signal: unframed bit stream with constant logical ‘one’) and NOS (No
Signal: Input signal with insufficient bit rate or insufficient density of ones).
The single rail bit stream is then processed by the Receiver.
Receiver
The following functions are performed:
-Synchronization of pulse frame
-Synchronization of CRC4 multi-frame
-Error Indication when pulse frame synchronization is lost. In this case, AIS is sent to
the system side. If the receiver is in transparent mode, AIS is suppressed.
-Initiating and controlling of re-synchronization after loss of synchronization. This may
be carried out automatically by the SA9101, or under user control via the microprocessor
interface.
-Detection of Remote Alarm Indication from the incoming data stream.
-Separation of service bits and data link bits. This information is stored in special status
registers.
-Generation of control signals to synchronize the CRC checker, the parity generator,
and the Receive Speech Memory control unit.
If the multi-frame format is selected, CRC checking of the Incoming data stream is
done by generating check bits for a CRC submultiframe according to the CRC 4
procedure (PCM30, refer to CCITT Rec. G704). These bits are compared with those
check bits that are received during the next CRC sub-multiframe. If there is a
mismatch, the CRC error counter will be incremented. This 8-bit counter (default) can
be extended to 10-bit length, by writing to the control registers.
sames
9/40
SA9101
Receive Speech Memory
The speech memory is organized as a two-frame elastic buffer with a size of 64 x 9 bit
(8-bit channel data plus one parity bit).
The functions are:
-Compensation of Input wander and jitter. Maximum wander amplitude (peak-to-
peak) = 190 UI (1UI = 488 nS)
-Frame alignment between system frame and receive route frame
-Reporting and controlling of slips
Controlled by special signals generated by the Receiver, the unipolar bit stream is
converted into bit-parallel, channel-serial data which is circularly written to the speech
memory. At the same time, a parity signal is generated over each channel and also
stored in the speech memory.
Reading of stored data is controlled by the System Clock (SCLK) and the Synchronization
Pulse (SYPQ) in conjunction with the programmed offset values for the Receive timeslot/
Clock slot Counters. After conversion into a serial data stream and parity checking
(errors are reported via the status registers), the data is given out via port DRO. Channel
parity information is output at port CHPAR with selectable parity type (odd or even). Two
bit rates (2048/4096 kbps) are selectable via the microprocessor interface.
Figure 1.0: The Receive Speech Memory as circularly organized memory
10/40
sames
SA9101
Figure 1.0 illustrates the operation of the receive Speech Memory:
A slip condition is detected when the Write Pointer (W) and the Read pointer (R) of the
memory are nearly coincident, i.e. the Write pointer is within the Slip Limits (S+, S-). If
a slip condition is detected, a negative slip ( the next received frame is skipped) or a
positive slip (the previous received frame is read out twice) is performed at the System
Interface, depending on the difference between RCLK and SCLK, i.e. on the position of
pointer R and W within the memory.
To reduce delay, the Receive Speech Memory can be switched to one frame length. For
correct operation, System Clock SCLK and Synchronization Pulse SYPQ have to be
derived from the Receive Route Clock RCLK and the Receive Frame Synchronous Pulse
RFSPQ (PLL application). In Single Frame Mode, however, it is not possible to perform
a slip after the slip condition has been detected.
Receive Transparent Mode
If enabled, the frame aligner does not try to synchronise on the received data if
synchronisation is lost. The AIS to the System Interface is disabled. The data appears
on the System Interface synchronised to the System Clock (SCLK) as received.
Transmit path
The PCM data is received from the system internal highway at port DXI at 2048 kbps or
4096 kbps. The channel assignment is equivalent to the receive direction. Data in invalid
timeslots will be ignored.
Latching of data is controlled by the System Clock (SCLK) and the Synchronization Pulse
(SYPQ), in conjunction with the programmed offset values of the Transmit Timeslot/
Clockslot Counters.
The Transmit Route Clock (XRCLK) is derived directly from the system clock by an
internal clock divider. Consequently, the data received from the system interface is
switched through without the need of intermediate storage.
The parity generation/checking mechanism is symmetrical to the receive path. The
channel data is checked with the channel parity information generated internally or
externally (input at port XCHPAR with selectable parity type). Errors are reported to the
microprocessor interface. To avoid difficulties with external parity generation, the parity
signal for non-speech data (TS0 and TS16) is ignored.
Transmitter
The serial bit stream is then processed by the transmitter which has the following
functions:
-Frame/multiframe synthesis of one of the selectable framing formats
-Insertion of service and data link information.
-Remote Alarm generation
-CRC generation and insertion of CRC bits
sames
11/40
SA9101
Transmit Link Interface
Similar to the Receive Link Interface two different data types with selectable active
polarity for the output are supported:
-Dual rail data (PCM[+], PCM[-]) at ports DXA, DXB with selectable duty cycle (50%
or 100%) transmitted to a Line Interface Unit. Single rail data is converted into a dual
rail bit stream. The HDB3 line code is employed.
-Unipolar data at port OPOUT with 100% duty cycle transmitted to a fibre optical
interface.
Clocking of data is carried out on the positive transitions of the Transmit Route Clock:
XRCLK (2048 kHz). XRCLK is generated by the SA9101.
Additionally, the dual rail outputs XTOP and XTOM are provided for test applications.
Additional functions
Alarm Interrupt
Normally, the control of data transmission via the PCM line is carried out by polling the
internal status registers of the SA9101 at equal time intervals. However, for fast error
handling the option exists to configure a specific output port as interrupt port (AINT). This
signal may be connected to an interrupt input of the on-board processor. Triggering of
the output may be caused by up to 10 maskable interrupt sources.
Single Channel Loop Back
As one of the extended test options, the Single Channel Loop Back enables reflection
of a selected channel back to the system interface at port DRO.
TS16 Extraction/Insertion
TS16 data can be extracted/inserted via the µP or the DMA facility provided. For µP
interface, RREQ/XREQ act as interrupts. When one of these interrupts is received two
bytes must be read/written consecutively before next frame information is written into it.
For DMA operation see detailed timing diagram, Fig 7.3. (See DIU Controller Pin
description table, CR6B6 Register and SR5B5 Register descriptions.)
Data Extraction/Insertion is also possible through the serial ports DRO and DXI by using
a multiplexer in conjunction with the control signals RCAS/TCAS generated by the
SA9101.
Serial Data extraction on System Side
Together with the Double Frame Marker generated by the SA9101, any position in the
serial data can be pointed to, for extraction.
Idle Code Insertion
In TX direction any channel can be selected for idle code insertion using the Idle Channel
Register bank.
12/40
sames
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.