OverviewThis document is provided for users of the DS21Q50 quad E1 transceiver whose application requires transmit and receive signaling. The DS21Q59 is pin-to-pin compatible and contains all the features of the DS21Q50 while adding signaling support. The DS21Q59 can be used in an existing DS21Q50 application without hardware or software modification. The DS21Q59 data sheet provides a complete description of all the functionality of the DS21Q59. All differences between the DS21Q59 and DS21Q50 are presented in the order of appearance in the DS21Q59 data sheet. This allows current DS21Q50 users to focus on the required information for using the DS21Q59.
Register MapThe DS21Q50 contains five common control registers and three test registers. The DS21Q59 contains two additional common control registers for a total of seven and only one test register. Table 1 highlights the differences in the register maps of each device.
Table 1. Register Map
DS21Q59 Common Control Register Functionality Common Control Register (16h) CCR5.5Line Interface G.703 Synchronization Interface Enable bit (CCR5.5 LIUSI)
DS21Q50: Enables both the receiver and transmitter at the same time.
DS21Q59: Works in conjunction with CCR7.0 to select G.703 functionality on receiver and transmitter.
Table 2 shows the G.703 Synchronization Interface function of the DS21Q59.
Table 2. G.703 Function
(CCR5.5) TG703
(CCR7.0) Function
Common Control Register 6 (2Fh)
0 = Reading SA1—SA16 accesses receive signaling data
1 = Reading SA1—SA16 accesses transmit signaling data
0 = SR2.2 indicates loss-of-transmit clock
1 = SR2.2 indicates signaling data has changed states since the last multiframe
0 = signaling is not inserted into the transmit path from SA1—SA16
1 = signaling is inserted into the transmit path from SA1—SA16
For normal CAS operation, set CCR6.5 = 0, CCR6.4 = 1, CCR6.3 = 1.
Table 3. Output Modes
Common Control Register 7 (1Fh)
0 = 1:2 transmit transformer
1 = 1:1.36 or 1:1.6 transmit transformer (Table 4)
Table 4. Transformer Select CCR7.3 (136S)
DS21Q59: By reading one of the unused addresses on any port (0Ch, 0Dh, 0Eh) the user can determine which status register in the four ports is causing the interrupt. The following table shows the contents of any of the unused registers.
Address (0Ch,0Dh,0Eh) of any port
Status Register 2 (0Bh) SR2.2
Function controlled by CCR6.4(LTC/SC)
Indicates loss-of-transmit clock if CCR6.4 = 0
Indicates signaling data has changed states since the last multiframe if CCR6.4 = 1
Interrupt Mask Register 2 (19h) IMR2.2
Function controlled by CCR6.4(LTC/SC)
Loss-of-transmit clock interrupt mask if CCR6.4 = 0
Signaling data changed interrupt mask if CCR6.4 = 1
0 = interrupt masked
1 = interrupt enabled
Signaling OperationRegisters SA1 to SA16 are used to access the transmit and receive signaling data. Normally, reading these registers accesses the receive signaling data and writing these registers sources signaling data for the transmitter. The user can read what was written to the transmit signaling buffer by setting CCR6.5 = 1, then reading SA1 to SA16. In most applications however, CCR6.5 should be set = 0.
Receive SignalingSignaling data is sampled from time slot 16 in the receive data stream and copied into the receive signaling buffers. The host can access the signaling data by reading SA1 through SA16. The signaling information in these registers is always updated on CAS multiframe boundaries. The SR2.7 bit in status register 2 can be used to alert the host that new signaling data is present in the receive signaling buffers. The host has 2ms to read the signaling buffers before they are updated. In common channel signaling mode (CCS), the SR2.7 bit in status register 2 is used to alert the host that new signaling data is present in the receive signaling buffers.
Transmit SignalingInsertion of signaling data from the transmit signaling buffers is enabled by setting CCR6.3 = 1. Signaling data is loaded into the transmit-signaling buffers by writing the signaling data to SA1 to SA16. On multiframe boundaries, the contents of the transmit signaling buffer is loaded into a shift register for placement in the appropriate bit position in the outgoing data stream. The user can use the transmit multiframe interrupt in status register 2 (SR2.5) to know when to update the signaling bits. The host has 2ms to update the signaling data. The user only needs to update the signaling data that has changed since the last update.
Cas OperationFor CAS mode, the user must provide the CAS alignment pattern (four 0s in the upper nibble of TS16). Typically this is done by setting the upper 4 bits of SA1 = 0. The lower four bits are alarm bits. The user only needs to update the appropriate channel associated signaling data in SA2 to SA16 on multiframe boundaries.
SA1 to SA16–Signaling Registers (30h–3Fh)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)