0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
MT9075BP1

MT9075BP1

  • 厂商:

    ZARLINK

  • 封装:

  • 描述:

    MT9075BP1 - E1 Single Chip Transceiver - Zarlink Semiconductor Inc

  • 数据手册
  • 价格&库存
MT9075BP1 数据手册
MT9075B E1 Single Chip Transceiver Data Sheet Features • Combined PCM 30 framer, Line Interface Unit (LIU) and link controllers in a 68 pin PLCC or 100 pin MQFP package Selectable bit rate data link access with optional Sa bits HDLC controller (HDLC0) and channel 16 HDLC controller (HDLC1) LIU dynamic range of 20 dB Enhanced performance monitoring and programmable error insertion functions Low jitter DPLL for clock generation Operating under synchronized or free run mode Two-frame receive elastic buffer with controlled slip direction indication Selectable transmit or receive jitter attenuator Intel or Motorola non-multiplexed parallel microprocessor interface CRC-4 updating algorithm for intermediate path points of a message-based data link application ST-BUS/GCI 2.048 Mbit/s backplane bus for both data and signalling Ordering Information MT9075BPR 68 Pin PLCC MT9075BL 100 Pin MQFP MT9075BP 68 Pin PLCC MT9075BPR1 68 Pin PLCC* MT9075BP1 68 Pin PLCC* MT9075BL1 100 Pin MQFP* *Pb Free Matte Tin -40° C to +85 ° C Tape & Reel Trays Tubes Tape & Reel Tubes Trays August 2005 • • • • • • • • • • Applications • • • • E1 add/drop multiplexers and channel banks CO and PBX equipment interfaces Primary Rate ISDN nodes Digital Cross-connect Systems (DCS) TxDL TxDLCLK TxMF TAIS DSTi CSTi Tdi Tdo Tms Tclk Trst INT/MOT IRQ D7~D0 AC4 ~AC0 R/W/WR CS DS/RD DSTo CSTo IEEE 1149.1 ST-BUS Interface Transmit Framing, Error and Test Signal Generation Pulse Generator Line Driver TTIP TRING RM Loop National Bit Buffer Data Link, HDLC0, HDLC1 Jitter Attenuator & Clock Control CAS Buffer MT Loop ST Loop PL Loop Microprocessor Interface BL/FR BS/LS OSC1 OSC2 Rx Equalizer & Data Slicer Clock,Data Recovery DG Loop RTIP RRING ST-BUS Interface Receive Framing, Performance Monitoring, Alarm Detection, 2 Frame Slip Buffer RxDLCLK RxDL RxMF LOS RxFP/Rx64kCK E2o F0b C4b Figure 1 - Functional Block Diagram 1 Zarlink Semiconductor Inc. Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc. Copyright 2002-2005, Zarlink Semiconductor Inc. All Rights Reserved. MT9075B Description Data Sheet The MT9075B is a single chip device which integrates an advanced PCM 30 framer with a Line Interface Unit (LIU). The framer interfaces to a 2.048 Mbit/s backplane and provides selectable rate data link access with optional HDLC controllers for Sa bits and channel 16. The LIU interfaces the framer functions to the PCM 30 transformer-isolated four wire line. The MT9075B meets or supports the latest ITU-T Recommendations including G.703, G.704, G.706, G.732, G.775, G.796, G.823 for PCM 30, and I.431 for ISDN primary rate. It also meets or supports ETSI ETS 300 011, ETS 300 166 and ETS 300 233 as well as BS 6450. 2 Zarlink Semiconductor Inc. MT9075B Data Sheet VSS OSC2 OSC1 VSS VDD BL/FR TxDL TxDLCK IC IC DS/RD DSTi DSTo CSTi CSTo VDD CS RESET IRQ D0 D1 D2 D3 VSS IC INT/MOT VDD D4 D5 D6 D7 R/W/WR AC0 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 9 8 7 6 5 4 3 2 1 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 LOS 68 PIN PLCC TAIS Trst Tclk Tms Tdo Tdi GNDATx TRING TTIP VDDATx VDD VSS IC RxFP/Rx64KCK F0b C4b E2o NC NC NC NC NC NC DS/RD DSTi DSTo CSTi CSTo VDD VSS OSC2 OSC1 VSS VDD BL/FR TXDL TCDLCK IC NC IC LOS NC NC NC NC NC NC 80 82 48 84 46 86 44 88 90 92 38 94 36 96 34 98 32 100 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 42 40 78 76 74 72 70 68 66 64 62 60 58 56 54 52 50 AC1 AC2 AC3 AC4 GNDARx RTIP RRING VDDARx VDD VSS NC NC RxDCLK RxDL TxMF RxMF BS/LS 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 NC NC CS RESET IRQ D0 D1 D2 D3 VSS IC INT/MOT VDD D4 D5 D6 D7 R/W/WR AC0 NC 100 PIN MQFP (JEDEC MO-112) NC NC TAIS Trst Tclk Tms Tdo Tdi GNDATx TRING TTIP VDDATx VDD VSS IC RxFP/Rx64KCK F0b C4b E2o NC NC NC NC NC NC NC NC AC1 AC2 AC3 AC4 GNDARx RTIP RRING VDARx VDD VSS IC IC RXDLCK RXDL TxMF RxMF BS/LS NC NC NC NC NC NC Figure 2 - Pin Connections 3 Zarlink Semiconductor Inc. MT9075B Pin Description Pin # PLCC MQFP Data Sheet Name OSC1 Description Oscillator Input. This pin is either connected via a 20.000 MHz crystal to OSC2 where a crystal is used, or is directly driven when a 20.000 MHz oscillator is employed (see Figures 6 and 7). CMOS input switching level. Oscillator Output. Not suitable for driving other devices. Negative Power Supply (Input). Digital ground. Positive Power Supply (Input). Digital supply (+5V ± 5%). Control ST-BUS Output. CSTo carries one of the following two serial streams for CAS and CCS respectively: (i) A 2.048 Mbit/s ST-BUS status stream which contains the 30 receive signalling nibbles (ABCDZZZZ or ZZZZABCD). The most significant nibbles of each ST-BUS time slot are valid and the least significant nibbles of each ST-BUS time slot are tristated when control bit MSN (page 01H, address 1AH, bit 1) is set to 1. If MSN=0, the position of the valid and tristated nibbles is reversed. (ii) A 64 kb/s output when the 64 KHz common channel signalling option is selected (page 01H, address 1AH, bit 0, 64KCCS =1) for channel 16. Control ST-BUS Input. CSTi carries one of the following two serial streams for CAS and CCS respectively: (i) A 2.048 Mbit/s ST-BUS control stream which contains the 30 transmit signalling nibbles (ABCDXXXX or XXXXABCD) when page 01H, address 1AH, bit 3, RPSIG=0. When RPSIG=1 this pin has no function. The most significant nibbles of each ST-BUS time slot are valid and the least significant nibbles of each ST-BUS time slot are ignored when control bit MSN (page 01H, address 1AH, bit 1) is set to 1. If MSN=0, the position of the valid and ignored nibbles is reversed. (ii) A 64 kb/s input when the 64 KHz common channel signalling option is selected (page 01H, address 1AH, bit 0, 64KCCS =1) for channel 16. Data ST-BUS Output. A 2.048 Mbit/s serial stream which contains the 30 PCM or data channels received on the PCM 30 line. Data ST-BUS Input. A 2.048 Mbit/s serial stream which contains the 30 PCM or data channels to be transmitted on the PCM 30 line. Data/Read Strobe (Input). In Motorola mode (DS), this input is the active low data strobe of the microprocessor interface. In Intel mode (RD), this input is the active low read strobe of the microprocessor interface. Chip Select (Input). This active low input enables the non-multiplexed parallel microprocessor interface of the MT9075B. When CS is set to high, the microprocessor interface is idle and all bus I/O pins will be in a high impedance state. RESET (Input). This active low input puts the MT9075B in a reset condition. RESET should be set to high for normal operation. The MT9075B should be reset after powerup. The RESET pin must be held low for a minimum of 1µsec. to reset the device properly. 1 66 2 3 4 5 67 68 69 70 OSC2 VSS VDD CSTo 6 71 CSTi 7 8 9 72 73 74 DSTo DSTi DS/RD 10 83 CS 11 84 RESET 4 Zarlink Semiconductor Inc. MT9075B Pin Description (continued) Pin # PLCC MQFP Data Sheet Name IRQ Description Interrupt Request (Output). A low on this output pin indicates that an interrupt request is presented. IRQ is an open drain output that should be connected to VDD through a pullup resistor. An active low CS signal is not required for this pin to function. Data 0 to Data 3 (Three-state I/O). These signals combined with D4-D7 form the bidirectional data bus of the microprocessor interface (D0 is the least significant bit). Negative Power Supply (Input). Digital ground. Internal Connection. Tie to VSS (Ground) for normal operation. 12 85 13 16 17 18 19 8689 90 91 92 D0 - D3 VSS IC INT/MOT Intel/Motorola Mode Selection (Input). A high on this pin configures the processor interface for the Intel parallel non-multiplexed bus type. A low configures the processor interface for the Motorola parallel non-multiplexed type. VDD D4 - D7 Positive Power Supply (Input). Digital supply (+5V ± 5%). Data 4 to Data 7 (Three-state I/O). These signals combined with D0-D3 form the bidirectional data bus of the microprocessor interface (D7 is the most significant bit). 20 21 24 25 93 9497 98 R/W/WR Read/Write/Write Strobe (Input). In Motorola mode (R/W), this input controls the direction of the data bus D[0:7] during a microprocessor access. When R/W is high, the parallel processor is reading data from the MT9075B. When low, the microprocessor is writing data to the MT9075B. For Intel mode (WR), this active low write strobe configures the data bus lines as output. AC0 AC4 RTIP RRING VDD VSS IC IC Address/Control 0 to 4 (Inputs). Address and control inputs for the microprocessor interface. AC0 is the least significant input. 26 30 31 32 33 34 35 36 37 38 39 99, 8-11 12 13 14 15 16 17 18 19 20 GNDARx Receive Analog Ground (Input). Analog ground for the LIU receiver. Receive TIP and RING (Inputs). Differential inputs for the receive line signal - must be transformer coupled (See Figure 4). Positive Power Supply (Input). Digital supply (+5V ± 5%). Negative Power Supply (Input). Digital ground. Internal Connection. Must be left open for normal operation. Internal Connection. Must be left open for normal operation. VDDARx Receive Analog Power Supply (Input). Analog supply for the LIU receiver (+5V ± 5%). RxDLCLK Receive Data Link Clock (Output). A gapped clock signal derived from a 2.048 Mbit/s clock, available for an external device to clock in RxDL data (at 4, 8, 12, 16 or 20 kHz) on the rising edge. RxDL TxMF Receive Data Link (Output). A 2.048 Mbit/s data stream containing received line data after HDB3 decoding. This data is clocked out with the rising edge of E2o. Transmit Multiframe Boundary (Input). An active low input used to set the transmit multiframe boundary (CAS or CRC multiframe). The MT9075B will generate its own multiframe if this pin is held high. This input is usually pulled high for most applications. 40 41 21 22 5 Zarlink Semiconductor Inc. MT9075B Pin Description (continued) Pin # PLCC MQFP Data Sheet Name RxMF Description Receive Multiframe Boundary (Output). An output pulse delimiting the received multiframe boundary. The next frame output on the data stream (DSTo) is basic frame zero on the PCM 30 link. This receive multiframe signal can be related to either the receive CRC multiframe (page 01H, address 10H, bit 6, MFSEL=1) or the receive signalling multiframe (MFSEL=0). System Bus Synchronous/Line Synchronous Selection (Input). If high, C4b and F0b will be inputs; if low, C4b and F0b will be outputs. 2.048 MHz Extracted Clock (Output). The clock extracted from the received signal and used internally to clock in data received on RTIP and RRING. 4.096 MHz System Clock (Input/Output). C4b is the clock for the ST-BUS sections and transmit serial PCM data of the MT9075B. In the free-run (BL/FR=0) or line synchronous mode (BL/FR=1 and BS/LS=0) this signal is an output, while in the system bus synchronous mode (BS/LS=1) this signal is an input clock. Frame Pulse (Input/Output). This is the ST-BUS or GCI frame synchronization signal, which delimits the 32 channel frame of CSTi, CSTo, DSTi, DSTo and the PCM30 link. In the free-run (BL/FR=0) or loop synchronous mode (BL/FR=1 and BS/LS=0) this signal is an output, while in the Bus Synchronous mode (BL/FR=1 and BS/LS=0) this signal is an input. The GCI/ST-BUS selection is made under software control. Page 02H, address 13H, bit 0, GCI/ST=1 selects GCI frame pulse; GCI/ST=0 selects ST-BUS. 42 23 43 44 45 24 32 33 BS/LS E2o C4b 46 34 F0b 47 35 RxFP/Rx6 Receive Frame Pulse/Receive CCS Clock (Output). An 8 kHz pulse signal, which is 4KCK low for one extracted clock period. This signal is synchronized to the receive PCM 30 basic frame boundary. When 64KCCS (page 01H, address 1AH, bit 0) is set to 1, this pin outputs a 64 kHz clock derived by dividing down the extracted 2.048 MHz clock. This clock is used to clock CCS data out of pin CSTo in the CCS mode. IC VSS VDD Internal Connection. Must be left open for normal operation. Negative Power Supply (Input). Digital ground. Positive Power Supply (Input). Digital supply (+5V ± 5%). 48 49 50 51 52 53 54 55 56 57 58 59 36 37 38 39 40 41 42 43 44 45 46 47 VDDATx Transmit Analog Power Supply (Input). Analog supply for the LIU transmitter (+5V ± 5%). TTIP TRING Tdi Tdo Tms Tclk Trst Transmit TIP and RING (Outputs). Differential outputs for the transmit line signal - must be transformer coupled (See Figure 4). IEEE 1149.1 Test Data Input. If not used, this pin should be pulled high. IEEE 1149.1 Test Data Output. If not used, this pin should be left unconnected. IEEE 1149.1 Test Mode Selection (Input). If not used, this pin should be pulled high. IEEE 1149.1 Test Clock Signal (Input). If not used, this pin should be pulled high. IEEE 1149.1 Reset Signal (Input). If not used, this pin should be held low. GNDATx Transmit Analog Ground (Input). Analog ground for the LIU transmitter. 6 Zarlink Semiconductor Inc. MT9075B Pin Description (continued) Pin # PLCC MQFP Data Sheet Name TAIS Description Transmit Alarm Indication Signal (Input). An active low on this input causes the MT9075B to transmit an AIS (all ones signal) on TTIP and TRING pins. TAIS should be set to high for normal data transmission. Loss of Signal or Synchronization (Output). When high, and LOS/LOF (page 02H address 13H bit 2) is zero, this signal indicates that the receive portion of the MT9075B is either not detecting an incoming signal (bit LLOS on page 03H address 18H is one) or is detecting a loss of basic frame alignment condition (bit SYNC on page 03H address 10H is one). If LOS/LOF=1, a high on this pin indicates a loss of signal condition. Internal Connection. Tie to VSS (Ground) for normal operation. No Connection. Leave open for normal operation. Internal Connection. Tie to VSS (Ground) for normal operation. 60 48 61 57 LOS 62 63 64 58 59 60 61 IC NC IC TxDLCLK Transmit Data Link Clock (Output). A gapped clock signal derived from a gated 2.048 Mbit/s clock for transmit data link at 4, 8, 12, 16 or 20 kHz. The transmit data link data (TxDL) is clocked in on the rising edge of TxDLCLK. TxDLCLK can also be used to clock DL data out of an external serial controller. TxDL Transmit Data Link (Input). An input serial stream of transmit data link data at 4, 8, 12, 16 or 20 kbit/s composed of 488ns-wide bit cells which are multiplexed into selected national bits of the PCM 30 transmit signal. Bus or Line/Freerun (Input). If this pin is set to high, the MT9075B is in the System Bus or Line Synchronous mode depending on the BS/LS pin. If low, the MT9075B is in the free run mode. Positive Power Supply (Input). Digital supply (+5V ± 5%). Negative Power Supply (Input). Digital ground. No Connection. Leave open for normal operation. 65 62 66 63 BL/FR 67 68 64 65 1-7, 25-31, 49-56, 75-82, 100 VDD VSS NC Device Overview The MT9075B is an advanced PCM 30 framer with an on-chip Line Interface Unit (LIU) that meets or supports the latest ITU-T Recommendations for PCM 30 and ISDN primary rate including G.703, G.704, G.706, G.775, G.796, G.732, G.823 and I.431. It also meets or supports the layer 1 requirements of ETSI ETS 300 011, ETS 300 166, ETS 300 233 and BS6450. The Line Interface Unit (LIU) of the MT9075B interfaces the digital framer functions to the PCM 30 transformerisolated four wire line. The transmit portion of the MT9075B LIU consists of a digital buffer, a digital-to-analog converter and a differential line driver. The receiver portion of the LIU consists of an input signal peak detector, an optional two-stage equalizer, a smoothing filter, data and clock slicers and a clock extractor. The optional equalizer allows for error free reception of data with a line attenuation of up to 20 dB. The LIU also contains a Jitter Attenuator (JA), which can be configured to either the transmit or receive path. The JA will attenuate jitter from 2.5 Hz and roll-off at a rate of 20 dB/decade. Its intrinsic jitter is less than 0.02 UI. 7 Zarlink Semiconductor Inc. MT9075B Data Sheet The digital portion of the MT9075B connects an incoming stream of time multiplexed PCM channels (at 2.048 Mbit/s) to the transmit payload of the E1 trunk, while the receive payload is connected to the ST-BUS or GCI 2.048 Mbit/s backplane bus for both data and signalling. Control, reporting and conditioning of the line is implemented via a parallel microprocessor interface. The MT9075B framing algorithm allows automatic interworking between CRC-4 and non-CRC-4 interfaces. The Sa bits can be accessed by the MT9075B in the following four ways: • • • • Single byte registers; Five byte transmit and receive national bit buffers; Data link pins TxDL, RxDL, RxDLCLK and TxDLCLK; HDLC Controller with a 128 byte FIFO. The MT9075B operates in either termination or transparent modes selectable via software control. In the termination mode the CRC-4 calculation is performed as part of the framing algorithm. In the transmit transparent mode, no framing or signalling is imposed on the data transmit from DSTi on the line. In addition, the MT9075B optionally allows the data link maintenance channel to be modified and updates the CRC-4 remainder bits to reflect the modification. All channel, framing and signalling data passes through the device unaltered. This is useful for intermediate point applications of a PCM 30 link where the data link data is modified, but the error information transported by the CRC-4 bits must be passed to the terminating end. In the receive transparent mode, the received line data is channelled to DSTo with framing operations disabled, consequently, the data passes through the slip buffer and drives DSTo with an arbitrary alignment. The MT9075B has a comprehensive suite of status, alarm, performance monitoring and reporting features. These include counters for BPVs, CRC errors, E-bit errors, errored frame alignment signals, BERT, and RAI and continuous CRC errors. Also, included are transmission error insertion for BPVs, CRC-4 errors, frame and nonframe alignment signal errors, payload errors and loss of signal errors. A complete set of loopback functions is provided, which includes digital, remote, ST-BUS, payload, metallic, local and remote time slot. The MT9075B also contains a comprehensive set of maskable interrupts and an interrupt vector function. Interrupt sources consist of synchronization status, alarm status, counter indication and overflow, timer status, slip indication, maintenance functions and receive channel associated signalling bit changes. A special set of maskable interrupts have been included for sensing changes in the state of the national use bits and nibbles, in compliance to emerging ETS requirements. The MT9075B system timing may be slaved to the line, operated in freerun mode, or controlled by an external timing source. Functional Description MT9075B Line Interface Unit (LIU) Receiver The receiver portion of the MT9075B LIU consists of an input signal peak detector, an optional two-stage equalizer, a smoothing filter, adaptive threshold comparators, data and clock slicers, and a clock extractor. Receive equalization gain can be set via software control or it can be determined automatically by the peak detectors. The output of the receive equalizer is conditioned by a smoothing filter and is passed on to the clock and data slicer. The clock slicer output signal drives a phase locked loop, which generates the extracted clock (E2o). This extracted clock is used to sample the output of the data comparator. The LOS output pin (pin 61 in PLCC, pin 57 in MQFP) is user selectable, by setting control bit LOS/LOF (page 02H, register 13H, bit 2), to indicate a loss of signal or loss of basic frame synchronization condition. In addition, a status 8 Zarlink Semiconductor Inc. MT9075B Data Sheet bit, LLOS (bit 4 in page 3, register 18H) is provided to indicate the presence of a loss signal condition. The occurrence of a loss signal condition is defined as per I.431, i.e., when the incoming signal amplitude is more than 20 dB below the nominal amplitude for a time duration of at least 1 ms. The receive LIU circuit requires a terminating resistor of either 120 Ω or 75 Ω across the device side of the receive1:1 transformer as shown in Figure 4. The return loss of the receiver, complying with G.703, is greater than: • • • 12 dB from 51 kHz to 102 kHz; 18 dB from 102 kHz to 2048 kHz; 14 dB from 2048 kHz to 3072 kHz. The jitter tolerance of the MT9075B clock extractor circuit exceeds the requirements of G.823 (Figure 3). Transmitter The MT9075B differential line driver is designed to drive a 1:2 step-up transformer (see Figure 4). A 0.68 uF capacitor is required between the TTIP and the transmit transformer. Resistors RT (as shown in Figure 4) are for termination for transmit return loss. The values of RT may be optimized for 120 Ω lines, 75 Ω lines or set at an intermediary value to serve both applications. Program the Transmit Pulse Control Word (address 1FH page 1) to adjust the pulse amplitude accordingly. Alternatively, the pulse level and shape may be discretely programmed by writing to the Customer Pulse Level registers (addresses 1CH to 1FH, page 2) and setting the Custom Transmit Pulse bit high (bit 3 of the Transmit Pulse Control Word). Peak to Peak Jitter Amplitude (log scale) 18UI MT9075B Tolerance 1.5UI 0.2UI Jitter Frequency (log scale) 1.667Hz 20Hz 2.4kHz 18kHz 100kHz Figure 3 - Typical Jitter Tolerance 9 Zarlink Semiconductor Inc. MT9075B Data Sheet Tx 0.68uF TTIP TRING RT MT9075B RT 1:2 RTIP RRING 120Ω/ 75Ω 1:1 Rx Figure 4 - Analog Line Interface The template for the transmitted pulse, as specified in G703, is shown in Figure 5. The nominal peak voltage of a mark is 3 volts for 120 Ω twisted pair applications and 2.37 volts for 75 Ω coax applications. The ratio of the amplitude of the transmit pulses generated by TTP and TRING is between 0.95 and 1.05. Percentage of Nominal Peak 120 110 100 90 80 269nS 244nS 194nS 50 10 0 -10 -20 Nominal Pulse 219nS 488nS Figure 5 - Pulse Template (G.703) 10 Zarlink Semiconductor Inc. MT9075B Transformer Recommendation Table 1 shows a list of recommended transformers for the MT9075B line interface. Manufacturer Filtran Pulse Engineering Midcom OSEC For Tx 5721-1 PE-65351 50027 02934/A For Rx 5721-2 PE-64934 50026 02935/A Data Sheet Table 1 - Transformer Manufacturers and Part Numbers Timing Source The MT9075B can use either a clock or crystal, connecting to pins OSC1 and OSC2, as the reference timing source. Figure 6 shows a 20 MHz clock oscillator, with 50 ppm tolerance, directly connected to the OSC1 pin of the MT9075B. +5V MT9075B OSC1 20MHz OUT Vdd GND .1µF OSC2 (open) Figure 6 - Clock Oscillator Circuit Alternatively, a crystal oscillator may be used. A complete oscillator circuit made up of a crystal, resistors and capacitors is shown in Figure 7. The crystal specification is as follows. Frequency: Tolerance: Oscillation Mode: Resonance Mode: Load Capacitance: Maximum Series Resistance: Approximate Drive Level: 20 MHz 50 ppm Fundamental Parallel 32 pF 35 Ω 1 mW 11 Zarlink Semiconductor Inc. MT9075B Data Sheet MT9075B OSC1 20MHz 56pF 1MΩ 39pF 1µH* OSC2 100Ω Note: the 1µH inductor is optional Figure 7 - Crystal Oscillator Circuit Jitter Attenuator (JA) The MT9075B Jitter Attenuator (JA), which consists of a Phase Locked Loop (PLL) and data FIFO, can be used on either the transmit or receive side of the interface. On the transmit side the C4b signal clocks the data into the FIFO, the PLL de-jitters the C4b clock and the resulting clean C4b signal clocks the data out of the FIFO. When the JA is selected on the receive side, the extracted clock signal clocks the data into the FIFO. The same clock feeds the PLL and the resulting de-jittered clock is used to clock the data out of the FIFO. The JA meets the jitter transfer characteristics as proposed by G.823 and the relevant recommendations as shown in Figure 8. The JA FIFO depth can be selected to be from 16 to 128 words deep, in multiples of 16 (2bit) words. Its read pointer can be centered by changing the JFC bit (address 18H of page 02H) to provide maximum jitter tolerance. If the read pointer should come within 4 bits of either end of the FIFO, the read clock frequency will be increased or decreased by 0.0625 UI to correct the situation. The maximum time needed to centre is Tmax= 3904∗Depth ns, where Depth is the selected JA FIFO depth. During this time the JA will not attenuate jitter. To ensure normal operation, the JA FIFO depth should be set in software to be larger than the anticipated maximum UI of input jitter. Clock Jitter Attenuation Modes MT9075B has three basic jitter attenuation modes of operation, selected by the BS/LS and BL/FR control pins. • • • System Bus Synchronous Mode Line Synchronous Mode Free-run mode 12 Zarlink Semiconductor Inc. MT9075B Data Sheet dB 0.5 JITTER ATTENUATION (dB) 0 -20 dB/decade -19.5 10 40 400 10K Figure 8 - Typical Jitter Attenuation Curve Mode Name SysBusSync1 SysBusSync2 SysBusSync3 Line Synchronous Free-Run BS/LS 1 1 1 0 x BL/FR 1 1 1 1 0 JAS 1 1 0 x x JAT/JAR 1 0 x x x Note JA on Tx side; No JA on Rx side JA on Rx side; No JA on Tx side No JA on Tx or Rx side By default, JA is on the receive side. Controls bits need not be selected. In free-run mode JA will be automatically disconnected Table 2 - Selection of Clock Jitter Attenuation Modes Depending on the mode selected, the Jitter Attenuator (JA) can attenuate either transmit clock jitter or receive clock jitter, or be disconnected. Control bits JAS, JAT/JAR (address 18H of page 02H) determine the JA selection under certain modes. Table 2 shows the configuration of related control pins and control bits required to place the MT9075B in the appropriate jitter attenuation mode. Referring to the mode names given in Table 2, the basic operation of the jitter attenuation modes is summarized Frequency (Hz) as follows: • • In SysBusSync (1-3) modes, pins C4b and F0b are always configured as inputs, while in the Line Synchronous and Free-Run modes C4b and F0b are configured as outputs. In SysBusSync1 mode, an external clock is applied to C4b. The applied clock is dejittered by the internal PLL before being used to transmit data. The clock extracted (with no jitter attenuation performed) from the receive data can be monitored on pin E2o. 13 Zarlink Semiconductor Inc. MT9075B • Data Sheet In SysBusSync2 mode, the clock applied to pin C4b is assumed to be jitter-free and is directly used to transmit data. The internal PLL is used to dejitter the extracted receive clock. The dejittered receive clock is output on pin E2o. In SysBusSync3 mode, no jitter attenuation is applied to either the transmit or receive clocks. The transmit data is synchronized to clock applied to pin C4b. The extracted receive clock is not dejittered and is supplied directly to the E2o output. In Line Synchronous mode, the clock extracted from the receive data is dejittered using the internal PLL and then output on pin C4b. Pin E2o provides the extracted receive clock before it has been dejittered. The transmit data is synchronous to the clean receive clock. In Free-Run mode the transmit data is synchronized to the internally generated clock. The internal clock is output on pin C4b. The clock signal extracted from the receive data is not dejittered and is output directly on pin E2o. • • • The PCM 30 Interface PCM 30 (E1) basic frames are 256 bits long and are transmitted at a frame repetition rate of 8000 Hz, which results in an aggregate bit rate of 256 bits x 8000/sec = 2.048 Mbits/sec. The actual bit rate is 2.048 Mbits/sec +/-50 ppm encoded in HDB3 format. The HDB3 control bit (page 01H, address 15H, bit 5) selects either HDB3 encoding or alternate mark inversion (AMI) encoding. Basic frames are divided into 32 time slots numbered 0 to 31, see Figure 30. Each time slot is 8 bits in length and is transmitted most significant bit first (numbered bit 1). This results in a single time slot data rate of 8 bits x 8000/sec. = 64 kbits/sec. It should be noted that the Zarlink ST-BUS also has 32 channels numbered 0 to 31, but the most significant bit of an eight bit channel is numbered bit 7 (see Zarlink Application Note MSAN-126). Therefore, ST-BUS bit 7 is synonymous with PCM 30 bit 1; bit 6 with bit 2: and so on (Figure 31). PCM 30 time slot 0 is reserved for basic frame alignment, CRC-4 multiframe alignment and the communication of maintenance information. In most configurations time slot 16 is reserved for either Channel Associated Signalling (CAS or ABCD bit signalling) or Common Channel Signalling (CCS). The remaining 30 time slots are called channels and carry either PCM encoded voice signals or digital data. Channel alignment and bit numbering is consistent with time slot alignment and bit numbering. However, channels are numbered 1 to 30 and relate to time slots as per Table 3. PCM 30 Timeslot Voice/Data Channels 0 x 1 2 3...15 1 2 3...15 16 x 17 18 19...31 16 17 18...30 Table 3 - Time Slot to Channel Relationship Basic Frame Alignment Time slot 0 of every basic frame is reserved for basic frame alignment and contains either a Frame Alignment Signal (FAS) or a Non-Frame Alignment Signal (NFAS). FAS and NFAS occur in time slot zero of consecutive basic frames as shown in Table 7. Bit two is used to distinguish between FAS (bit two = 0) and NFAS (bit two = 1). Basic frame alignment is initiated by a search for the bit sequence 0011011 which appears in the last seven bit positions of the FAS, see the Frame Algorithm section. Bit position one of the FAS can be either a CRC-4 remainder bit or an international usage bit. Bits four to eight of the NFAS (i.e., Sa4 - Sa8) are additional spare bits which may be used as follows: • • Sa4 to Sa8 may be used in specific point-to-point applications (e.g. transcoder equipments conforming to G.761). Sa4 may be used as a message-based data link for operations, maintenance and performance monitoring. 14 Zarlink Semiconductor Inc. MT9075B • Sa5 to Sa8 are for national usage. Data Sheet A maintenance channel or data link at 4,8,12,16,or 20 kHz for selected Sa bits is provided by the MT9075B to implement these functions. Note that for simplicity all Sa bits including Sa4 are collectively called national bits throughout this document. Bit three (designated as “A”), the Remote Alarm Indication (RAI), is used to indicate the near end basic frame synchronization status to the far end of a link. Under normal operation, the A (RAI) bit should be set to 0, while in alarm condition, it is set to 1. Bit position one of the NFAS can be either a CRC-4 multiframe alignment signal, an E-bit or an international usage bit. Refer to an approvals laboratory and national standards bodies for specific requirements. CRC-4 Multiframing The primary purpose for CRC-4 multiframing is to provide a verification of the current basic frame alignment, although it can also be used for other functions such as bit error rate estimation. The CRC-4 multiframe consists of 16 basic frames numbered 0 to 15, and has a repetition rate of 16 frames X 125 microseconds/frame = 2 msec. CRC-4 multiframe alignment is based on the 001011 bit sequence, which appears in bit position one of the first six NFASs of a CRC-4 multiframe. The CRC-4 multiframe is divided into two submultiframes, numbered 1 and 2, which are each eight basic frames or 2048 bits in length. The CRC-4 frame alignment verification functions as follows. Initially, the CRC-4 operation must be activated and CRC-4 multiframe alignment must be achieved at both ends of the link. At the local end of a link, all the bits of every transmit submultiframe are passed through a CRC-4 polynomial (multiplied by X4 then divided by X4 + X + 1), which generates a four bit remainder. This remainder is inserted in bit position one of the four FASs of the following submultiframe before it is transmitted (see Table 7). The submultiframe is then transmitted and, at the far end, the same process occurs. That is, a CRC-4 remainder is generated for each received submultiframe. These bits are compared with the bits received in position one of the four FASs of the next received submultiframe. This process takes place in both directions of transmission. When more than 914 CRC-4 errors (out of a possible 1000) are counted in a one second interval, the framing algorithm will force a search for a new basic frame alignment. See Frame Algorithm section for more details. The result of the comparison of the received CRC-4 remainder with the locally generated remainder will be transported to the far end by the E-bits. Therefore, if E1 = 0, a CRC-4 error was discovered in a submultiframe 1 received at the far end; and if E2 = 0, a CRC-4 error was discovered in a submultiframe 2 received at the far end. No submultiframe sequence numbers or re-transmission capabilities are supported with layer 1 PCM 30 protocol. See ITU-T G.704 and G.706 for more details on the operation of CRC-4 and E-bits. There are two CRC multiframe alignment algorithm options selected by the AUTC control bit (address 11H, page 01H). When AUTC is zero and CSYN is zero, automatic CRC-to-non-CRC interworking is selected, if CRC-4 multiframe alignment is not found in 400 msec, the status bit CRCIWK (page 03H, address 10H) is set low and no further attempt to achieve CRC-4 synchronization is made as long as the device remains in terminal frame synchronization. When AUTC is one and CSYN is zero, a reframe will be initiated every 8 msec if the MT9075B achieves terminal frame synchronization, but fails to achieve CRC-4 synchronization. In this case, if ARAI is low, RAI will flicker high with every reframe. If CRC MFAI is unsuccessful after 400ms, RAI will stay high continuously. The control bit for transmit E bits (TE, bit 4 at address 16H of page 01H) will have the same function in both states of AUTC. That is, when CRC-4 synchronization is not achieved the state of the transmit E-bits will be the same as the state of the TE control bit. When CRC-4 synchronization is achieved the transmit E-bits will function as per ITUT G.704. Table 4 outlines the operation of the AUTC, ARAI and TALM control bits of the MT9075B. 15 Zarlink Semiconductor Inc. MT9075B AUTC 0 ARAI 0 TALM x Description Data Sheet Automatic CRC-interworking is activated. If no valid CRC MFAS is being received, transmit RAI will flicker high with every reframe (8 msec.), this cycle will continue for 400 msec., then transmit RAI will be low continuously. The device will stop searching for CRC MFAS, continue to transmit CRC-4 remainders, stop CRC-4 processing indicate CRC-to-non-CRC operation and transmit E-bits to be the same state as the TE control bit (page 01H, address 16H). Automatic CRC-interworking is activated. Transmit RAI is low continuously upon loss of synchronization. Automatic CRC-interworking is activated. Transmit RAI is high continuously upon loss of synchronization. Automatic CRC-interworking is de-activated. If no valid CRC MFAS is being received, transmit RAI flickers high with every reframe (8 msec.), this cycle continues for 400 msec., then transmit RAI becomes high continuously. The device continues to search for CRC MFAS and transmit E-bits are the same state as the TE control bit. When CRCSYN = 0, the CRC MFAS search is terminated and the transmit RAI goes low. Automatic CRC-interworking is de-activated. Transmit RAI is low continuously upon loss of synchronization. Automatic CRC-interworking is de-activated. Transmit RAI is high continuously upon loss of synchronization. 0 0 1 1 1 0 0 1 x 1 1 1 1 0 1 Table 4 - Operation of AUTC, ARAI and TALM Control Bits CAS Signalling Multiframing The purpose of the signalling multiframing algorithm is to provide a scheme that will allow the association of a specific ABCD signalling nibble with the appropriate PCM 30 channel. Time slot 16 is reserved for the communication of Channel Associated Signalling (CAS) information (i.e., ABCD signalling bits for up to 30 channels). Refer to ITU-T G.704 and G.732 for more details on CAS multiframing requirements. A CAS signalling multiframe consists of 16 basic frames (numbered 0 to 15), which results in a multiframe repetition rate of 2 msec. It should be noted that the boundaries of the signalling multiframe may be completely distinct from those of the CRC-4 multiframe. CAS multiframe alignment is based on a multiframe alignment signal (a 0000 bit sequence), which occurs in the most significant nibble of time slot 16 of basic frame 0 of the CAS multiframe. Bit 6 of this time slot is the multiframe alarm bit (usually designated Y). When CAS multiframing is acquired on the receive side, the transmit Y-bit is zero; when CAS multiframing is not acquired, the transmit Y-bit is one. Bits 5, 7 and 8 (usually designated X) are spare bits and are normally set to one if not used. Time slot 16 of the remaining 15 basic frames of the CAS multiframe (i.e., basic frames 1 to 15) are reserved for the ABCD signalling bits for the 30 payload channels. The most significant nibbles are reserved for channels 1 to 15 and the least significant nibbles are reserved for channels 16 to 30. That is, time slot 16 of basic frame 1 has ABCD for channel 1 and 16, time slot 16 of basic frame 2 has ABCD for channel 2 and 17, through to time slot 16 of basic frame 15 has ABCD for channel 15 and 30. 16 Zarlink Semiconductor Inc. MT9075B MT9075B Access and Control Register Access Data Sheet The control and status of the MT9075B is achieved through a non-multiplexed parallel microprocessor port. The parallel port may be configured for Motorola style control signals (by setting pin INT/MOT low) or Intel style control signals (by setting pin INT/MOT high). The controlling microprocessor gains access to specific registers of the MT9075B through a two step process. First, writing to the internal Command/Address Register (CAR) selects one of the 18 pages of control and status registers (CAR address: AC4 = 0, AC3-AC0 = don't care, CAR data D7 - D0 = page number). Second, each page has a maximum of 16 registers that are addressed on a read or write to a non-CAR address (non-CAR: address AC4 = 1, AC3-AC0 = register address, D7-D0 = data). Once a page of memory is selected, it is only necessary to write to the CAR when a different page is to be accessed. See Figures 11 and 12 for timing requirements. Please note that for microprocessors with read/write cycles less than 200 ns, a wait state or a dummy operation (for C programming) between two successive read/write operations to the HDLC FIFO is required. Table 5 associates the MT9075B control and status pages with access and page descriptions. Page Address D7 - D0 00000001 (01H) 00000010 (02H) 00000011 (03H) 00000100 (04H) 00000101 (05H) 00000110 (06H) 00000111 (07H) 00001000 (08H) 00001001 (09H) 00001010 (0AH) 00001011 (0BH) 00001100 (0CH) 00001101 (0DH) 00001110 (0EH) 00001111 (0FH) 00010000 (10H) 00010001 (11H) 00010010 (12H) Master Control Master Status Per Channel Transmit Signalling Per Channel Receive Signalling Per Time Slot Control 1 Second Status unused HDLC0 Control and Status (TS 0) HDLC1 Control and Status (TS 16) Transmit National Bit Buffer Receive National Bit Buffer Tx message mode Buffer 0 Tx message mode Buffer 1 Rx message mode Buffer 0 Rx message mode Buffer 1 Table 5 - Register Summary ST-BUS Streams The ST-BUS stream can also be used to access channel associated signalling nibbles. CSTo contains the received channel associated signalling bits (e.g., ITU-T R1 and R2 signalling), and when control bit RPSIG (page 01H, address 1AH) is set to 0, CSTi is used to control the transmit channel associated signalling. The DSTi and DSTo streams contain the transmit and receive voice and digital data. R/W R/W R/W R R/W R/W R/W R/W Register Description Processor Access R/W R/W R R/W R/W R R/W R/W R ------------------------CSTi CSTo -ST-BUS Access 17 Zarlink Semiconductor Inc. MT9075B Identification Code Data Sheet The MT9075B shall be identified by the code 10101010, read from the identification code status register (page 03H, address 1FH). Reset Operation (Initialization) The MT9075B can be reset using the hardware RESET pin (pin 11 in PLCC, pin 84 in MQFP, see pin description for external reset circuit requirements) or the software reset bit RST (page 01H, address 11H). When the device emerges from its reset state it will begin to function with the default settings described in Table 6. A reset operation takes 1 full frame (125 us) to complete. Function Mode Loopbacks Transmit FAS Transmit non-FAS Transmit MFAS (CAS) Data Link CRC Interworking Signalling ABCD Bit Debounce Interrupts Status Termination Deactivated Cn0011011 1/Sn1111111 00001111 Deactivated Activated CAS Registers Deactivated Interrupt Mask Word Zero unmasked, all others masked; interrupts not suspended Signalling Multiframe Deactivated Deactivated Cleared All locations set to 54H All locations cleared RxMF Output Error Insertion HDLCs Counters Tx Message Buffer Per Time Slot Control Buffer Table 6 - Reset Status Transmit AIS Operation The pin TAIS (Transmit AIS, pin 60 in PLCC, pin 48 in MQFP) allows an all ones signal to be transmitted from the point of power-up without the need to write any control registers. During this time the IRQ pin is tristated. After the interface has been initialized normal operation can take place by making TAIS high. National Bit Buffers Table 7 shows the contents of the transmit and receive Frame Alignment Signals (FAS) and Non-frame Alignment Signals (NFAS) of time slot zero of a PCM 30 signal. Even numbered frames (CRC Frame # 0, 2, 4,...) are FASs and odd numbered frames (CRC Frame # 1, 3, 5,...) are NFASs. The bits of each channel are numbered 1 to 8, with bit 1 being the most significant and bit 8 the least significant. 18 Zarlink Semiconductor Inc. MT9075B PCM 30 Channel Zero 1 C 1 Data Sheet CR C CRC Frame/ Type 2 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 3 0 A 0 A 0 A 0 A 0 A 0 A 0 A 0 A 4 1 S a4 5 1 S a5 6 0 S a6 7 1 S a7 8 1 S a8 0/FAS 1/NFAS 2/FAS Sub Multi Frame 1 3/NFAS 4/FAS 5/NFAS 6/FAS 7/NFAS 8/FAS 9/NFAS 10/FAS Sub Multi Frame 2 11/NFA S 12/FAS 13/NFA S 14/FAS 15/NFA S 0 C 2 1 S a4 1 S a5 0 S a6 1 S a7 1 S a8 0 C 3 1 S a4 1 S a5 0 S a6 1 S a7 1 S a8 1 C 4 1 S a4 1 S a5 0 S a6 1 S a7 1 S a8 0 C 1 1 S a4 1 S a5 0 S a6 1 S a7 1 S a8 1 C 2 1 S a4 1 S a5 0 S a6 1 S a7 1 S a8 1 C 3 1 S a4 1 S a5 0 S a6 1 S a7 1 S a8 E 1 C 4 1 S a4 1 S a5 0 S a6 1 S a7 1 S a8 E 2 Table 7 - FAS and NFAS Structure indicates position of CRC-4 multiframe alignment signal. Table 8 illustrates the organization of the MT9075B transmit and receive national bit buffers. Each row is an addressable byte of the MT9075B national bit buffer, and each column contains the national bits of an odd numbered frame of each CRC-4 Multiframe. The transmit and receive national bit buffers are located at page 0DH and 0EH respectively. 19 Zarlink Semiconductor Inc. MT9075B Frames 1, 3, 5, 7, 9, 11, 13 & 15 of a CRC-4 Multiframe F1 Sa4 Sa5 Sa6 Sa7 Sa8 Data Sheet Add ress able Byte s F3 Sa4 Sa5 Sa6 Sa7 Sa8 F5 Sa4 Sa5 Sa6 Sa7 Sa8 F7 Sa4 Sa5 Sa6 Sa7 Sa8 F9 Sa4 Sa5 Sa6 Sa7 Sa8 F1 1 Sa4 Sa5 Sa6 Sa7 Sa8 F1 3 Sa4 Sa5 Sa6 Sa7 Sa8 F1 5 Sa4 Sa5 Sa6 Sa7 Sa8 NB B0 NB B1 NB B2 NB B3 NB B4 Table 8 - MT9075B National Bit Buffers Note that the Data Link (DL) pin functions, if selected, override the transmit national bit buffer function. The CRC-4 Alignment status CALN (page 03H, address 12H) and maskable interrupt CALNI (page 01H, address 1DH) indicate the beginning of every received CRC-4 multiframe. Maskable interrupts are available for change of state of Sa5 bits or change of state of Sa6 nibbles. By writing the proper control bits, an interrupt can be generated on a change of state of any Sa bit (except Sa4 - normally reserved for the data link), or any nibbles for Sa5 through Sa8. See the description of page 01H, address 19H for more details. In addition, the transparent transmission of channel 0 is supported to meet the ETS requirement. Selectable on a bit by bit basis, Sa bits in channel 0 DSTi data can be programmed using register 17H of page 01H to be sent transparently onto the line. Data Link Operation Timeslot 0 The MT9075B has a user defined 4, 8, 12, 16 or 20 kbit/s data link for transport of maintenance and performance monitoring information across the PCM 30 link. This channel functions using the Sa bits (Sa4~Sa8) of the PCM 30 timeslot zero non-frame alignment signal (NFAS). Since the NFAS is transmitted every other frame - a periodicity of 250 microseconds - the aggregate bit rate is a multiple of 4 kb/s. As there are five Sa bits independently available for this data link, the bit rate will be 4, 8, 12, 16 or 20 kb/s, depending on the bits selected for the Data Link (DL). The Sa bits used for the DL are selected by setting the appropriate bits, Sa4~Sa8, to one in the Data Link Select Word (page 01H, address 10H, bits 4-0). Access to the DL is provided by pins TxDLCLK, TxDL, RxDLCLK and RxDL, which allow easy interfacing to an external controller. Data to be transmit onto the line in the Sa bit position is clocked in from the TxDL pad (pin 65 in PLCC, pin 62 in MQFP) with the clock TxDLCLK (pin 64 in PLCC, pin 61 in MQFP). Although the aggregate clock rate equals the bit rate, it has a nominal pulse width of 244 ns, and it clocks in the TxDL as if it were a 2.048 Mb/s data stream. The clock can only be active during bit times 4 to 0 of the STBUS frame. The TxDL input signal is clocked into the MT9075B by the rising edge of TxDLCLK. If bits are selected to be a part of the DL, all other programmed functions for those Sa bit positions are overridden. The RxDLCLK signal (pin 39 in PLCC, pin 20 in MQFP) is derived from the receive extracted clock and is aligned with the receive data link output RxDL. The HDB3 decoded receive data, at 2.048 Mbit/s, is clocked out 20 Zarlink Semiconductor Inc. MT9075B Data Sheet of the device on pin RxDL (pin 40 in PLCC, pin 21 in MQFP). In order to facilitate the attachment of this data stream to a Data Link controller, the clock signal RxDLCLK consists of positive pulses, of nominal width of 244 ns, during the Sa bit cell times that are selected for the data link. Again, this selection is made by programming address 10H of master control page 01H. No DL data will be lost or repeated when a receive frame slip occurs. See Figures 13-16 for timing requirements. Timeslot 16 Channel 16 may be used to create a transparent 64 kb/s clear channel. In this event CSTi (pin 6 in PLCC, pin 71 in MQFP) becomes the data input pin for channel 16 transmit data, and CSTo (pin 5 in PLCC, pin 70 in MQFP) becomes a 64 kb/s serial output link. The CSTo output link is synchronous to the extracted clock timebase. The pin Rx64KCK (pin 47 in PLCC, pin 35 in MQFP) provides a 64 kHz clock for use with 64 kb/s data emanating from CSTo. The 64 kb/s input data from CSTi is clocked in with an internal 64 kHz clock synchronous to the I/O pin C4b (pin 45 in PLCC, pin 33 in MQFP) timebase. The internal clock toggles coincident with every second ST-BUS channel boundary, with the first rising edge of a frame occurring at the beginning of ST-BUS channel 2. Dual HDLC The MT9075B has two identical HDLC controllers (HDLC0, HDLC1) for the S a bits and channel 16 respectively. The following features are common to both HDLC controllers: • • • • • • Independent transmit and receive FIFO's; Receive FIFO maskable interrupts for nearly full (programmable interrupt levels) and overflow conditions; Transmit FIFO maskable interrupts for nearly empty (programmable interrupt levels) and underflow conditions; Maskable interrupts for transmit end-of-packet and receive end-of-packet; Maskable interrupts for receive bad-frame (includes frame abort); Transmit end-of-packet and frame-abort functions. HDLC0 Functions When connected to the Data Link (DL) HDLC0 will operate at a selected bit rate of 4, 8, 12, 16 or 20 kbits/sec. HDLC0 can be selected by setting the control bit HDLC0 (bit 7) to one in page 01H, address 14H. When this bit is zero all interrupts from HDLC0 are masked. For more information refer to following sections. HDLC1 Functions This controller may be connected to time slot 16 under Common Channel Signalling (CCS) mode. It should be noted that the AIS16S function (page 03H, address 19H) will always be active and the TAIS16 function (page 01H, address 16H) will override all other transmit signalling. HDLC1 can be selected by setting the control bit HDLC1 (bit 6) to one in page 01H, address 14H. When this bit is zero all interrupts from HDLC1 are masked. HDLC Overview The HDLC handles the bit oriented packetized data transmission as per X.25 level two protocol defined by CCITT. It provides flag and abort sequence generation and detection, zero insertion and deletion, and Frame Check Sequence (FCS) generation and detection. A single byte, dual byte and all call address in the received frame can be recognized. Access to the receive FCS and inhibiting of transmit FCS for terminal adaptation are also provided. Each HDLC controller has a 128 byte deep FIFO associated with it. The status and interrupt flags are programmable for FIFO depths that can vary from 16 to 128 bytes in steps of 16 bytes. These and other features are enabled through the HDLC control registers on page 0BH and 0CH. 21 Zarlink Semiconductor Inc. MT9075B HDLC Frame Structure Data Sheet A valid HDLC frame (also referred as “packet”) begins with an opening flag, contains at least 16 bits of data field, and ends with a 16 bit FCS followed by a closing flag (Table 9). All HDLC frames start and end with a unique flag sequence “011111102” (7EH). The transmitter generates these flags and appends them to the packet to be transmitted. The receiver searches the incoming data stream for the flags on a bit-by-bit basis to establish frame synchronization. Opening Flag (7EH) One Byte 01111110 Data Field n Bytes n≥2 Closing Flag (7EH) One Byte 01111110 FCS Two Bytes Table 9 - HDLC Frame Format The data field usually consists of an address field, control field and information field. The address field consists of one or two bytes directly following the opening flag. The control field consists of one byte directly following the address field. The information field immediately follows the control field and consists of n bytes of data. The HDLC does not distinguish between the control and information fields and a packet does not need to contain an information field to be valid. The FCS field, which precedes the closing flag, consists of two bytes. A cyclic redundancy check utilizing the CCITT standard polynomial “X16+X12+X5+1” produces the 16-bit FCS. In the transmitter the FCS is calculated on all bits of the address and data field. The complement of the FCS is transmitted, most significant bit first, in the FCS field. The receiver calculates the FCS on the incoming packet address, data and FCS field and compares the result to “F0B8”. If no transmission errors are detected and the packet between the flags is at least 32 bits in length then the address and data are entered into the receive FIFO minus the FCS which is discarded. Data Transparency (Zero Insertion/Deletion) Transparency ensures that the contents of a data packet do not imitate a flag, go-ahead, frame abort or idle channel. The contents of a transmitted frame, between the flags, is examined on a bit-by-bit basis and a 0 is inserted after all sequences of 5 contiguous 1s (including the last five bits of the FCS). Upon receiving five contiguous 1s within a frame the receiver deletes the following 0. Invalid Frames A frame is invalid if one of the following four conditions exists: • • • • If the FCS pattern generated from the received data does not match the “F0B8” pattern then the last data byte of the packet is written to the received FIFO with a ‘bad packet’ indication. A short frame exists if there are less than 25 bits between the flags. Short frames are ignored by the receiver and nothing is written to the receive FIFO. Packets which are at least 25 bits in length but less than 32 bits between the flags are also invalid. In this case the data is written to the FIFO but the last byte is tagged with a “bad packet” indication. If a frame abort sequence is detected the packet is invalid. Some or all of the current packet will reside in the receive FIFO, assuming the packet length before the abort sequence was at least 26 bits long. Frame Abort The transmitter will abort a current packet by substituting a zero followed by seven contiguous 1s in place of the normal packet. The receiver will abort upon reception of seven contiguous 1s occurring between the flags of a packet which contains at least 26 bits. 22 Zarlink Semiconductor Inc. MT9075B Data Sheet Note that should the last received byte before the frame abort end with contiguous 1s, these are included in the seven 1s required for a receiver abort. This means that the location of the abort sequence in the receiver may occur before the location of the abort sequence in the originally transmitted packet. If this happens then the last data written to the receive FIFO will not correspond exactly with the last byte sent before the frame abort. Interframe Time Fill and Link Channel States When the HDLC transmitter is not sending packets it will wait in one of two states • • Interframe Time Fill state: This is a continuous series of flags occurring between frames indicating that the channel is active but that no data is being sent. Idle state: An idle Channel occurs when at least 15 contiguous 1s are transmitted or received. In both states the transmitter will exit the wait state when data is loaded into the transmitter FIFO. Go-Ahead A go-ahead is defined by a 9 bit sequence "011111110" (contiguous 7Fs) and hence is the occurrence of a frame abort sequence followed by a zero. This feature is used to distinguish a proper in-packet frame abort sequence from one occurring outside of a packet for some special applications HDLC Functional Description The HDLC controller can be reset by either the reset pin (RESET, pin 11 in PLCC or pin 84 in MQFP) or by the control bit HRST at address 1BH in page 0BH (for HDLC0) or page 0CH (for HDLC1). When reset, the HDLC Control Registers are cleared, resulting in the transmitter and receiver being disabled. The receiver and transmitter can be enabled independent of each other through Control Register 1 at address 13H. The transceiver input and output are enabled when the enable control bits in Control Register 1 are set. Transmit to receive loopback as well as a receive to transmit loopback are also supported. Transmit and receive bit rates and enables can operate independently. Received packets from the serial interface are sectioned into bytes by an HDLC receiver that detects flags, checks for go-ahead signals, removes inserted zeros, performs a cyclical redundancy check (CRC) on incoming data, and monitors the address if required. Packet reception begins upon detection of an opening flag. The resulting bytes are concatenated with two status bits (RQ9 and RQ8 at address 14H) and placed in a receiver first-in-first-out buffer (RX FIFO). Register 14H also contains control bits that generate status and interrupts for microprocessor read control. In conjunction with the control circuitry, the microprocessor writes data bytes into a transmit buffer (TX FIFO) register that generates status and interrupts. Packet transmission begins when the microprocessor writes a byte to the TX FIFO. Two status bits are added to the TX FIFO for transmitter control of frame aborts (FA) and end of packet (EOP) flags. Packets have flags appended, zeros inserted, and an FCS, added automatically during serial transmission. When the TX FIFO is empty and finished sending a packet, Interframe Time Fill bytes (continuous flags (7E hex)), or Mark Idle (continuous ones) are transmitted to indicate that the channel is idle. HDLC Transmitter Following initialization and enabling, the transmitter is in the Idle Channel state (Mark Idle), continuously sending ones. Interframe Time Fill state (Flag Idle) is selected by setting the Mark Idle bit in Control Register 1 to one1. The transmitter remains in either of these two states until data is written to the TX FIFO. Control Register 1 bits EOP (End Of Packet) and FA (Frame Abort) are set as status bits before the microprocessor loads 8 bits of data into the 1. If the MT9075B HDLC transmitter is set up in the Interframe Time Fill state (bit 2 Mark-Idle =1, page B or C, address 13H), then it will occasionally (less than 1% of the time) fail to transmit the opening flag when it is changed from the disabled state to the enabled state (bit 5 TxEN changed from 0 to 1). A missing opening flag will cause the packet to be lost at the receiving end. This problem only affects the first packet transmitted after the HDLC transmitter is enabled. Subsequent packets are unaffected. 23 Zarlink Semiconductor Inc. MT9075B Data Sheet 10 bit wide FIFO (8 bits data and 2 bits status). To change the tag bits being loaded in the FIFO, Control Register 1 must be written to before writing to the FIFO. However, EOP and FA are reset after writing to the TX FIFO. The Transmit Byte Count Register may also be used to tag an EOP. The register is loaded with the number of bytes in the packet and decrements after every write to the Tx FIFO. When a count of one is reached, the next byte written to the FIFO is tagged as an end of packet. The register may be made to cycle through the same count if the packets are of the same length by setting Control Register 2, bit Cycle (at address 15H of page 0BH for HDLC0 or 0CH for HDLC1). If the transmitter is in the Idle Channel state when data is written to the TX FIFO, then an opening flag is sent and data from TX FIFO follows. Otherwise, data bytes are transmitted as soon as the current flag byte has been sent. TX FIFO data bytes are continuously transmitted until either the FIFO is empty or an EOP or FA status bit is read by the transmitter. After the last bit of the EOP byte has been transmitted, a 16-bit FCS is sent followed by a closing flag. When multiple packets of data are loaded into TX FIFO, only one flag is sent between packets. Frame Aborts (FA, the transmission of 7F hex), are transmitted by tagging a byte previously written to the TX FIFO. When a byte has an FA tag, then an FA is sent instead of that tagged byte. That is, all bytes previous to but not including that byte are sent. After an FA, the transmitter returns to the Mark Idle or Interframe Time Fill state, depending on the state of the Mark idle control bit. TX FIFO underrun will occur if the FIFO empties and the last byte did not have either an EOP or FA tag. A frame abort sequence will be sent when an underrun occurs. Below is an example of the transmission of a three byte packet (’AA’’03’’77’ hex) (Interframe time fill). TxEN can be enabled before or after this sequence. (a) Write’04’ to Control Register 1 - Mark Idle bit set (b) Write’AA’ to Tx FIFO -Data byte (c) Write’03’ to Tx FIFO - Data byte (d) Write’34’ to Control Register 1 - TxEN; EOP; Mark Idle bits set (e) Write’77’ to Tx FIFO - Final data byte The transmitter may be enabled independently of the receiver. This is done by setting the TxEN bit of the Control Register. Enabling happens immediately upon writing to the register. Disabling using TxEN will occur after the completion of the transmission of the present packet; the contents of the FIFO are not cleared. Disabling will consist of stopping the transmitter clock. The Status and Interrupt Registers may still be read, and the FIFO and Control Registers may be written to while the transmitter is disabled. The transmitted FCS may be inhibited using the Tcrci bit of Control Register 2. In this mode the opening flag followed by the data and closing flag is sent and zero insertion is still included, but no FCS. That is, the FCS is injected by the microprocessor as part of the data field. This is used in V.120 terminal adaptation for synchronous protocol sensitive UI frames. HDLC Receiver After initialization and enabling, the receiver clocks in serial data, continuously checking for Go-Aheads (0 1111 1110), flags (0111 1110), and Idle Channel states (at least fifteen ones). When a flag is detected, the receiver synchronizes itself to the serial stream of data bits, automatically calculating the FCS. If the data length between flags after zero removal is less than 25 bits, then the packet is ignored so no bytes are loaded into Rx FIFO. When the data length after zero removal is between 25 and 31 bits, a first byte and bad FCS code are loaded into the Rx FIFO. For an error-free packet, the result in the CRC register should match the HEX pattern of “F0B8” when a closing flag is detected. If address recognition is required, the Receiver Address Recognition Registers (address 10H and 11H) are loaded with the desired address and the Adrec bit in the Control Register 1 (address 13H) is set to one. Bit 0 of the Address Registers is used as an enable bit for that byte, thus allowing either or both of the first two bytes to be compared to the expected values. In addition, seven bits of address comparison can be realized on the first byte if this is a single byte address by setting the Seven bit of Control Register 2 (address 15H). 24 Zarlink Semiconductor Inc. MT9075B Data Sheet Two Status Register bits (RQ8 and RQ9) are appended to each data byte as it is written to the Rx FIFO. They indicate that a good packet has been received (good FCS and no frame abort), or a bad packet with either incorrect FCS or frame abort. The Status and Interrupt Registers should be read before reading the Rx FIFO since status and interrupt information correspond to the byte at the output of the FIFO (i.e., the byte about to be read). The Status Register bits are encoded as follows: RQ9 1 0 1 0 RQ8 1 1 0 0 Byte status last byte (bad packet) bad packet last byte (good packet) packet byte The end-of-packet-detect (EOPD) interrupt indicates that the last byte written to the RX FIFO was an EOP byte. The end-of-packet-read (EOPR) interrupt indicates that the byte about to be read from the RX FIFO is an EOP byte. The Status Register should be read to see if the packet is good or bad before the byte is read. A minimum size packet has an 8-bit address, an 8-bit control byte, and a 16-bit FCS pattern between the opening and closing flags. Thus, the absence of a data transmission error and a frame length of at least 32 bits results in the receiver writing a valid packet code with the EOP byte into RX FIFO. The last 16 bits before the closing flag are regarded as the FCS pattern and will not be transferred to the receiver FIFO. Only data bytes (Address, Control, Information) are loaded into the Rx FIFO. In the case of an RX FIFO overflow, no clocking occurs until a new opening flag is received. In other words, the remainder of the packet is not clocked into the FIFO. Also, the top byte of the FIFO will not be written over. If the FIFO is read before the reception of the next packet then reception of that packet will occur. If two beginning of packet conditions (RQ9=0; RQ8=1) are seen in the FIFO, without an intermediate EOP status, then overflow occurred for the first packet. The receiver may be enabled independently of the transmitter. This is done by setting the RxEN bit of Control Register 1. Enabling happens immediately upon writing to the register. Disabling using RxEN will occur after the present packet has been completely loaded into the FIFO. Disabling can occur during a packet if no bytes have been written to the FIFO yet. Disabling will consist of disabling the internal receive clock. The FIFO, Status, and Interrupt Registers may still be read while the receiver is disabled. Note that the receiver requires a flag before processing a frame, thus if the receiver is enabled in the middle of an incoming packet it will ignore that packet and wait for the next complete one. The receive CRC (FCS) can be monitored in the Rx CRC Registers (address 18H and 19H). These registers contain the actual CRC sent by the other transmitter in its original form, that is, MSB first and bits inverted. These registers are updated by each end of packet (closing flag) received and therefore should be read when an end of packet is received so that the next packet does not overwrite the registers. Slip Buffer In addition to the elastic buffer in the jitter attenuator(JA), another elastic buffer (two frames deep) is present, attached between the receive side and the ST-BUS (or GCI Bus) side of the MT9075B. This elastic buffer is configured as a slip buffer which absorbs wander and low frequency jitter in multi-trunk applications. The received PCM 30 data is clocked into the slip buffer with the E2o clock and is clocked out of the slip buffer with the C4b clock. The E2o extracted clock is generated from, and is therefore phase-locked with, the receive PCM 30 data. In normal operation, the E2o clock will be phase-locked to the C4b clock by an external phase locked loop (PLL). Therefore, in a single trunk system the receive data is in phase with the E2o clock, the C4b clock is phase-locked to the E2o clock, and the read and write positions of the slip buffer will remain fixed with respect to each other. In a multi-trunk slave or loop-timed system (i.e., PABX application) a single trunk will be chosen as a network synchronizer, which will function as described in the previous paragraph. The remaining trunks will use the system timing derived from the synchronizer to clock data out of their slip buffers. Even though the PCM 30 signals from the network are synchronous to each other, due to multiplexing, transmission impairments and route diversity, these 25 Zarlink Semiconductor Inc. MT9075B Data Sheet signals may jitter or wander with respect to the synchronizing trunk signal. Therefore, the E2o clocks of nonsynchronizer trunks may wander with respect to the E2o clock of the synchronizer and the system bus. Network standards state that, within limits, trunk interfaces must be able to receive error-free data in the presence of jitter and wander (refer to network requirements for jitter and wander tolerance). The MT9075B will allow a maximum of 26 channels (208 UI, unit intervals) of wander and low frequency jitter before a frame slip will occur. The minimum delay through the receive slip buffer is approximately two channels and the maximum delay is approximately 60 channels (see Figure 9). When the C4b and the E2o clocks are not phase-locked, the rate at which data is being written into the slip buffer from the PCM 30 side may differ from the rate at which it is being read out onto the ST-BUS. If this situation persists, the delay limits stated in the previous paragraph will be violated and the slip buffer will perform a controlled frame slip. That is, the buffer pointers will be automatically adjusted so that a full PCM 30 frame is either repeated or lost. All frame slips occur on PCM 30 frame boundaries. Two status bits, RSLIP and RSLPD (page 03H, address 15H), give indication of a slip occurrence and direction. RSLIP changes state in the event of a slip. If RSLPD=0, the slip buffer has overflowed and a frame was lost; if RSLPD=1, a underflow condition occurred and a frame was repeated. A maskable interrupt SLPI (page 01H, address 1BH) is also provided. Figure 9 illustrates the relationship between the read and write pointers of the receive slip buffer. Measuring clockwise from the write pointer, if the read pointer comes within two channels of the write pointer a frame slip will occur, which will put the read pointer 34 channels from the write pointer. Conversely, if the read pointer moves more than 60 channels from the write pointer, a slip will occur, which will put the read pointer 28 channels from the write pointer. This provides a worst case hysteresis of 13 channels peak (26 channels peak-to-peak) or a wander tolerance of 208 UI. Read Pointer 60 CH Write Pointer Read Pointer 2 CH 13 CH Wander Tolerance 47 CH 512 Bit Elastic Store 15 CH 34 CH Read Pointer 28 CH Read Pointer -13 CH Figure 9 - Read and Write Pointers in the Slip Buffers Framing Algorithm The MT9075B contains three distinct framing algorithms: basic frame alignment, signalling multiframe alignment and CRC-4 multiframe alignment. Figure 10 is a state diagram that illustrates these algorithms and how they interact. After power-up, the basic frame alignment framer will search for a frame alignment signal (FAS) in the PCM 30 receive bit stream. Once the FAS is detected, the corresponding bit 2 of the non-frame alignment signal (NFAS) is checked. If bit 2 of the NFAS is zero a new search for basic frame alignment is initiated. If bit 2 of the NFAS is one 26 Zarlink Semiconductor Inc. 26 Channels MT9075B Data Sheet and the next FAS is correct, the algorithm declares that basic frame synchronization has been found (i.e., page 03H, address 10H, bit 7, SYNC is zero). Once basic frame alignment is acquired the signalling and CRC-4 multiframe searches will be initiated. The signalling multiframe algorithm will align to the first multiframe alignment signal pattern (MFAS = 0000) it receives in the most significant nibble of channel 16 (page 3, address 10H, bit 6, MFSYNC = 0). Signalling multiframing will be lost when two consecutive multiframes are received in error. The CRC-4 multiframe alignment signal is a 001011 bit sequence that appears in PCM 30 bit position one of the NFAS in frames 1, 3, 5, 7, 9 and 11 (see Table 7). In order to achieve CRC-4 synchronization two CRC-4 multiframe alignment signals must be received without error (page 03H, address 10H, bit 5, CRCSYN = 0) within 8 msec. The MT9075B framing algorithm supports automatic interworking of interfaces with and without CRC-4 processing capabilities. That is, if an interface with CRC-4 capability, achieves valid basic frame alignment, but does not achieve CRC-4 multiframe alignment by the end of a predefined period, the distant end is considered to be a nonCRC-4 interface. When the distant end is a non-CRC-4 interface, the near end automatically suspends receive CRC-4 functions, continues to transmit CRC-4 data to the distant end with its E-bits set to zero, and provides a status indication. Naturally, if the distant end initially achieves CRC-4 synchronization, CRC-4 processing will be carried out by both ends. This feature is selected when control bit AUTC (page 01H, address 11H) is set to zero. Notes for Synchronization State Diagram (Figure 10) 1. The basic frame alignment, signalling multiframe alignment, and CRC-4 multiframe alignment functions operate in parallel and are independent. 2. The receive channel associated signalling bits and signalling multiframe alignment bit will be frozen when multiframe alignment is lost. 3. Manual re-framing of the receive basic frame alignment and signalling multiframe alignment functions can be performed at any time. 4. The transmit RAI bit will be one until basic frame alignment is established, then it will be zero. 5. E-bits can be optionally set to zero until the equipment interworking relationship is established. When this has been determined one of the following will take place: a. CRC-to-non-CRC operation - E-bits = 0, b. CRC-to-CRC operation - E-bits as per G.704 and I.431. 6. All manual re-frames and new basic frame alignment searches start after the current frame alignment signal position. 7. After basic frame alignment has been achieved, loss of frame alignment will occur any time three consecutive incorrect basic frame alignment signals are received. Loss of basic frame alignment will reset the complete framing algorithm. 8. When CRC-4 multiframing has been achieved, the primary basic frame alignment and resulting multiframe alignment will be adjusted to the basic frame alignment determined during CRC-4 synchronization. Therefore, the primary basic frame alignment will not be updated during the CRC-4 multiframing search, but will be updated when the CRC-4 multiframing search is complete. 27 Zarlink Semiconductor Inc. MT9075B Data Sheet Out of synchronization YES Search for primary basic frame alignment signal RAI=1, Es=0. NO >914 CRC errors in one second YES NO Verify Bit 2 of non-frame alignment signal. 3 consecutive incorrect frame alignment signals YES NO No CRC multiframe alignment. 8 msec. timer expired* Verify second occurrence of frame alignment signal. YES Primary basic frame synchronization acquired. Enable traffic RAI=0, E’s=0. Start loss of primary basic frame alignment checking. Notes 7 & 8. CRC-4 multi-frame alignment Signalling multi-frame alignment Start 400 msec timer. Note 7. Search for multiframe alignment signal. Note 7. NO Start 8 msec timer. Note 7. Basic frame alignment acquired No CRC multiframe alignment. 8 msec Parallel search for new basic frame alignment signal. RAI = 1 Notes 6 & 7. 400 msec timer expired RAI = 0 Multiframe synchronization acquired as per G.732. Note 7. NO YES Check for two consecutive errored multiframe alignment signals. Notes 7 & 8. YES Find two CRC frame alignment signals. Note 7. CRC multiframe alignment CRC-to-CRC interworking. Re-align to new basic frame alignment. Start CRC-4 processing. E-bits set as per G.704 and I.431. Indicate CRC synchronization achieved. Notes 7& 8. only if CRC-4 synchronization is selected and automatic CRC-4 interworking is de-selected * only if CRC-4 synchronization is selected and automatic CRC-4 interworking is de-selected. ** only if automatic CRC-4 interworking is selected. CRC-to-non-CRC interworking. Maintain primary basic frame alignment. Continue to send CRC-4 data, but stop CRC processing. E-bits set to ‘0’. Indicate CRC-to-non-CRC operation. Note 7. Figure 10 - Synchronization State Diagram 28 Zarlink Semiconductor Inc. MT9075B Channel Signalling Data Sheet When control bit TxCCS (page 01H, address 1AH) is set to one, the MT9075B is in Common Channel Signalling (CCS) mode. When TxCCS is low it is in Channel Associated Signalling mode (CAS). The CAS mode ABCD signalling nibbles can be passed either via the micro-ports (when page 01H, address 1AH, bit 3, RPSIG = 1) or through related channels of the CSTo and CSTi serial links (when RPSIG = 0). Memory page 05H contains the receive ABCD nibbles and page 06H the transmit ABCD nibbles for micro-port CAS access. In CAS operation an ABCD signalling bit debounce of 14 msec. can be selected by writing a one to DBNCE (page 02H, address 10H, bit 0)). This is consistent with the signalling recognition time of ITU-T Q.422. It should be noted that there may be as much as 2 msec. added to this duration because signalling equipment state changes are not synchronous with the PCM 30 multiframe. If multiframe synchronization is lost (page 03H, address 10H, bit 6, MFSYNC = 1) all receive CAS signalling nibbles are frozen. Receive CAS nibbles will become unfrozen when multiframe synchronization is acquired. When the CAS signalling interrupt is unmasked (page 01H, address 1CH, bit 0, SIGI=1), pin IRQ (pin 12 in PLCC, 85 in MQFP) will become active when a signalling nibble state change is detected in any of the 30 receive channels. The SIGI interrupt vector (page 04H, address 12H) is 01H. In CCS mode the data transmit on channel 16 is either sourced from channel 16 data on DSTi or from the pin CSTi. If 64KCCS (page 01H, address 1AH, bit 0) is zero the data is sourced from DSTi. If 64KCCS is high data destined for channel 16 is clocked in from CSTi (pin 6 in PLCC, pin 71 in MQFP) with an internal 64 KHz clock divided down from C4b. Data received from channel 16 is clocked out on CSTo (pin 5 in PLCC, pin 70 in MQFP). By dividing down the extracted 2.048 MHz clock, a 64 kHz receive clock synchronous with the data is created. This signal is output on Rx64KCK (pin 47 in PLCC, pin 35 in MQFP). Loopbacks In order to meet PRI Layer 1 requirements and to assist in circuit fault sectionalization, the MT9075B has six loopback functions. The control bits for digital, remote, ST-BUS, payload and metallic loopbacks are located on page 01H, address 15H. The remote and local time slot loopbacks are controlled through control bits 5 and 4 of the Per Time Slot Control Words on pages 07H and 08H. a) Digital Loopback (DG Loop) - DSTi to DSTo at the framer LIU interface. Bit DLBK = 0 normal; DLBK = 1 activate. MT9075B DSTi System DSTo Tx PCM30 b) Remote Loopback (RM Loop) - RTIP and RRING to TTIP and TRING respectively at the PCM 30 side. Bit RLBK = 0 normal; RLBK = 1 activate. MT9075B System DSTo Tx PCM30 Rx c) ST-BUS Loopback (ST Loop) - DSTi to DSTo at the system side. Bit SLBK = 0 normal; SLBK = 1 activate. 29 Zarlink Semiconductor Inc. MT9075B MT9075B DSTi System DSTo Tx Data Sheet PCM30 d) Payload Loopback (PL Loop) - RTIP and RRING to TTIP and TRING respectively at the system side with FAS and NFAS operating normally. Bit PLBK = 0 normal; PLBK = 1 activate. The payload loopback is effectively a physical connection of DSTo to DSTi within the MT9075B. Channel zero and the DL originate at the point of loopback. MT9075B DSTi System DSTo Tx Rx PCM30 e) Metallic Loopback (MT Loop) - The external signals RTIP and RRING are isolated from the receiver and the analog outputs TTIP and TRING are internally connected to the receiver analog input. Bit MLBK = 0 normal; MLBK = 1 activate. MT9075B DSTi System DSTo Tx Rx PCM30 f) Local and Remote Time Slot Loopback. Remote time slot loopback control bit RTSL = 0 normal; RTSL = 1 activate, will loop around receive PCM 30 time slots to the transmit PCM 30 time slots. Local time slot loopback bit LTSL = 0 normal; LTSL = 1 activate, will loop around DSTi time slots towards the DSTo time slots. MT9075B System DSTi DSTo Tx PCM30 Rx Error Counters The MT9075B has nine error counters, which can be used for maintenance testing, an ongoing measure of the quality of a PCM 30 link and to assist the designer in meeting specifications such as ITU-T I.431 and G.821. All counters can be preset or cleared by writing to the appropriate locations. A separate status page - “1 Second Status” on page 09H - latches the states of the following counters: E-bit Error Counter, Errored Frame Alignment Signal Counter, Bipolar Violation Counter and CRC Error Counter on a one second interval, coincident with the one second status bit. Associated with each counter is a maskable event occurrence interrupt and a maskable counter overflow interrupt. Overflow interrupts are useful when cumulative error counts are being recorded. For example, every time the frame error counter overflow (FERO) interrupt occurs, 256 frame errors have been received since the last FERO interrupt. All counters are cleared and held low by programming the counter clear bit (master control page 01H, address 1AH, bit 2) high. Counter overflows set bits in the counter overflow latch (page 04H, address 16H); this latch is cleared when read. 30 Zarlink Semiconductor Inc. MT9075B Data Sheet The overflow reporting latch (page 04H, address 16H) contains a register whose bits are set when individual counters overflow. These bits stay high until the register is read. PRBS Error Counter (PS7-0) There are two 8 bit counters associated with PRBS comparison; one for errors and one for time. Any errors that are detected in the receive PRBS will increment the PRBS Error Rate Counter of page 04H, address 10H. Writes to this counter will clear an 8 bit counter, PSM7-0 (page 01H, address 11H) which counts receive CRC-4 multiframes. A maskable PRBS counter overflow (PRBSO) interrupt (page 1, address 19H) is associated with this counter. CRC Multiframe Counter for PRBS (PSM7-0) This eight bit counter counts receive CRC-4 multiframes. It can be directly loaded via the microport. The counter will also be automatically cleared in the event that the PRBS error counter is written to by the microport. This counter is located on page 04H, address 11H. E-bit Counter (EC9-0) E-bit errors are counted by the MT9075B in order to support compliance with ITU-T requirements. This ten bit counter is located on page 04H, addresses 13H and 14H respectively. It is incremented by single error events, with a maximum rate of twice per CRC-4 multiframe. There are two maskable interrupts associated with the E-bit error measurement. EBI (page 1, address 1CH) is initiated when the least significant bit of the counter toggles, and EBO (page 01H, address 1DH) is initiated when the counter overflows. Jitter FIFO Counter (JFC7-0) This is an eight bit counter that is incremented when the FIFO read pointer comes within 4 words of an underflow or overflow condition. During this time the read clock will abruptly speed-up or slow-down to avoid an overflow or underflow condition. This counter is located on page 04H, address 15H. Loss of Synchronization Counter (LBF7-0) This eight bit counter increments with each loss of basic frame alignment. This programmable counter is located on page 04H, address 17H. Bit Error Rate Counter (BR7-BR0) An 8 bit Error Rate (BERT) counter BR7 - BR0 is located on page 04H address 18H, and is incremented once for every bit detected in error on either the seven frame alignment signal bits. There are two maskable interrupts associated with the bit error rate measurement. BERI (page 01H, address 1CH) is initiated when the least significant bit of the BERT counter (BR0) toggles, and BERO (page 01H, address 1DH) is initiated when the BERT counter value changes from FFH to 00H. Errored FAS Counter (EFAS7-EFAS0) An eight bit Frame Alignment Signal Error counter EFAS7 - EFAS0 is located on page 04H address 1AH, and is incremented once for every receive frame alignment signal that contains one or more errors. There are two maskable interrupts associated with the frame alignment signal error measurement. FERI (page 01H, address 1BH) is initiated when the least significant bit of the errored frame alignment signal counter toggles, and FERO (page 01H, address 1DH) is initiated when the counter changes from FFH to 00H. 31 Zarlink Semiconductor Inc. MT9075B Bipolar Violation Error Counter (BPV15-BPV0) Data Sheet The bipolar violation error counter will count bipolar violations or encoding errors that are not part of HDB3 encoding. This counter BPV15-BPV0 is 16 bits long (page 04H, addresses 1DH and 1CH) and is incremented once for every BPV error received. It should be noted that when presetting or clearing the BPV error counter, the least significant BPV counter address should be written to before the most significant location. There are two maskable interrupts associated with the bipolar violation error measurement. BPVI (page 01H, address 1CH) is initiated when the least significant bit of the BPV error counter toggles. BPVO (page 01H, address 1BH) is initiated when the counter changes from FFFFH to 0000H. CRC Error Counter (CC9-0) CRC-4 errors are counted by the MT9075B in order to support compliance with ITU-T requirements. This ten bit counter is located on page 04H, addresses 1EH and 1FH respectively. It is incremented by single error events, which is a maximum rate of twice per CRC-4 multiframe. There is a maskable interrupts associated with the CRC error measurement. CRCI (page 01H, address 1CH) is initiated when the least significant bit of the counter toggles, and CRCO (page 01H, address 1DH) is initiated when the counter overflows. Error Insertion Six types of error conditions can be inserted into the transmit PCM 30 data stream through control bits, which are located on page 02H, address 10H. These error events include the bipolar violation errors (BPVE), CRC-4 errors (CRCE), FAS errors (FASE), NFAS errors (NFSE), payload (PERR) and a loss of signal error (LOSE). The LOSE function overrides the HDB3 encoding function. Per Time Slot Control There are two per time slot control pages (page 07H and 08H) occupying a total of 32 unique addresses. Each address controls a matching timeslot on the 32 transmit channels (onto the line) and the equivalent channel data on the receive (DSTo) data. For example, address 0 of the first per time slot control page contains program control for transmit timeslot 0 and DSTo channel 0. Per Time Slot Looping Any channel or combination of channels may be looped from transmit (sourced from DSTi) to receive (output on DSTo) STBUS channels. When bit 4 (LTSL) in the Per Time Slot Control Word is set the data from the equivalent transmit timeslot is looped back onto the equivalent receive channel. Any channel or combination of channels may be looped from receive (sourced from the line data) to transmit (output onto the line) channels. When bit 5 (RTSL) in the Per Time Slot Control Word is set the data from the equivalent receive timeslot is looped back onto the equivalent transmit channel. PRBS Testing If the control bit ADSEQ is zero (from master control page 02H address 13H - Access Control Word), any channel or combination of transmit channels may be programmed to contain a generated pseudo random bit sequence (215-1). The channels are selected by setting bit 3 (TTST) in the Per Time Slot Control Word. 1. If the control bit ADSEQ is zero any combination of receive channels may be connected to the PRBS decoder (215-1). Each error in the incoming sequence causes the PRBS error counter to increment. The receive channels are selected by setting bit 2 (RRST) in the Per Time Slot Control Word. If the PRBS testing is performed in a metallic or external looparound the Per Time Slot Control Words with TTST (transmit test, bit 3) set should have RRST (receive test, bit 2) set at the same time. 32 Zarlink Semiconductor Inc. MT9075B A-law Milliwatt Data Sheet If the control bit ADSEQ is one (from master control page 02H - access control word), the A-law digital milliwatt sequence (Table 10), defined by G.711, is available to be transmit on any combination of selected channels. The channels are selected by setting bit 3 (TTST), in the Per Time Slot Control Word. The same sequence is available to replace received data on any combination of DSTo channels. This is accomplished by setting bit 2 (RRST) in the Per Time Slot Control Word for the corresponding channel. Bit 1 0 0 0 0 1 1 1 1 Bit 2 0 0 0 0 0 0 0 0 Bit 3 1 1 1 1 1 1 1 1 Bit 4 1 0 0 1 1 0 0 1 Bit 5 0 0 0 0 0 0 0 0 Bit 6 1 0 0 1 1 0 0 1 Bit 7 0 0 0 0 0 0 0 0 Bit 8 0 1 1 0 0 1 1 0 Table 10 - A-Law Digital Milliwatt Pattern Message Mode The transmit data on any of the transmit channels may be sourced either from the equivalent DSTi channel or from a dual port RAM programmed by the microport. The address of each dual port RAM memory location is uniquely associated with a transmit channel number. When bit 7 (TXMSG) in the Per Time Slot Control Word for that channel is set the transmit data for the channel is sourced from within the transmit message page dual port RAM (on page 0FH and 10H). Receive data may also be read by the microprocessor port. The Rx message mode dual port RAMs (on page 11H and 12H) have a unique address associated with each incoming line channel. When the processor reads any of the 32 memory locations, it reads the last byte received from the corresponding channel. Alarms The following alarms are detected by the receiver. Each may generate a maskable interrupt: • • • • • Remote Alarm Indication (RAI) - bit 3 (A) of the receive NFAS; Alarm Indication Signal (AIS) - unframed all ones signal for at least a double frame (512 bits) or two double frames (1024 bits); Channel 16 Alarm Indication Signal - all ones signal in channel 16; Auxiliary pattern - 101010... pattern for at least 512 bits; Loss of Signal - a loss of signal condition occurs when the receive signal is detected with more than 127 consecutive zeros. A loss of signal condition will terminate when an average ones density of at least 12.5% has been received over a period of 127 contiguous pulse positions starting with a pulse. Remote Signalling Multiframe Alarm - bit 6 (Y-bit) of the multiframe alignment signal. T1 - (T1 timer bit on page 03H address 12H) this status bit (and maskable interrupt) shall be high when a signal that is not normal has been received for a minimum of 100 msec. This bit will be low when a normal signal is being received. • • 33 Zarlink Semiconductor Inc. MT9075B • Data Sheet T2 - (T2 timer bit on page 03H address 12H) this status bit (and maskable interrupt) shall be high when a normal signal has been received for a minimum of 10 msec. This bit will be low when an abnormal signal is being received. The alarm reporting latch (address 1BH page 04H) contains a register whose bits are set high for selected alarms. These bits stay high until the register is read. This allows the controller to record intermittent or sporadic alarm occurrences. Automatic Alarms The transmission of RAI and signalling multiframe alarms can be made to function automatically from control bits ARAI and AUTY (page 01H, address 11H) When ARAI = 0 and basic frame synchronization is lost (page 03H, address 10H, bit 7, SYNC = 1), the MT9075 will automatically transmit the RAI alarm signal to the far end of the link. The transmission of this alarm signal will cease when basic frame alignment is acquired. When AUTY = 0 and signalling multiframe alignment is not acquired (page 03H, address 10H, bit 6, MFSYNC = 1), the MT9075 will automatically transmit the multiframe alarm (Y-bit) signal to the far end of the link. This transmission will cease when signalling multiframe alignment is acquired. Interrupts The MT9075B has an extensive suite of maskable interrupts, which are divided into eight categories based on the type of event that caused the interrupt. Each interrupt category has an associated interrupt vector described in Table 11. When unmasked interrupts occur, IRQ will go low and one or more bits of the interrupt vector IV7-IV0 (page 04H, address 12H) will go high. After the interrupt vector is read it is automatically cleared and IRQ will return to a high impedance state. The interrupt acknowledgment function can also be accomplished by toggling the INTA bit (page 01H, address 1AH). All the interrupts of the MT9075B are maskable. This is accomplished through the corresponding interrupt mask words on page 01H (except for the HDLC interrupt mask registers which are located on page 0BH and 0CH). National Use Bit Interrupt Mask Word (address 19H) Bit 7 --PRBSO PRBS SanibI SabitI C8Sa6I Bit 0 Sa6I Sa5I Interrupt Mask Word Zero (address 1BH) Bit 7 SYNI RAII AISI AISI6I LOSI FERI BPVO Bit 0 SLPI Interrupt Mask Word One (address 1CH) Bit 7 EBI CRCI CEFI BPVI RCR1 RCR0 BERI Bit 0 SIGI Interrupt Mask Word Two (address 1DH) Bit 7 EBO CRCO CALNI FERO JAI BERO AUXPI Bit 0 CMFO 34 Zarlink Semiconductor Inc. MT9075B Interrupt Mask Word Three (address 1EH) Bit 7 MFSYI CSYNI --YI 1SEC T1I T2I Data Sheet Bit 0 --- HDLC Interrupt Masks (page 0BH&0CH, address 16H) Bit 7 Ga EOPD TEOP EopR TxFl FATxU Bit 0 RxFf RxOv After a device reset (RESET pin or RST control bit), interrupts from the following interrupt mask words are masked: • • • National use bit interrupt mask word Interrupt mask words one through three. HDLC interrupt mask word. and the interrupts of mask word zero are unmasked. All interrupts may be suspended, without changing the interrupt mask words, by making the SPND control bit (page 01H, address 1AH) high. Also, when pin TAIS is held low, all interrupts are suspended automatically. This allows for system initialization without spurious interrupts. Interrupt Category and Vector Synchronization D7 Interrupt Description SYNI - Loss of Synchronization. MFSYI - Loss of Multiframe Sync. CSYNI - Loss of CRC-4 Sync. YI - Remote Multiframe Sync. Fail. RAII - Remote Alarm Indication. AISI - Alarm Indication Signal. AIS16I - AIS on Channel 16. LOSI - Loss of Signal. AUXPI - Auxiliary Pattern. EBI - Receive E-bit Error. CRCI - CRC-4 Error. CEFI - Consecutive Errored FASs. FERI - Frame Alignment Signal Error. BPVI - Bipolar Violation Error. RCR0 - RAI and CRC Error Active. RCR1 - RAI and CRC Error End. BERI - Bit Error. EBO - Receive E-bit Error. CRCO - CRC-4 Error. FERO - Frame Alignment Signal. BPVO - Bipolar Violation. BERO - Bit Error. CMFO - CRC-4 Multiframe. 1SECI - One Second Timer. CALNI - CRC-4 Multiframe Alignment. T1I - Timer T1 expires. T2I - Timer T2 expires. 10000000 Alarm D7 D0 01000000 D0 Counter Indication D7 00100000 D0 Counter Overflow D7 00010000 D0 One Second D7 00001000 D0 35 Zarlink Semiconductor Inc. MT9075B Interrupt Category and Vector SLIP D7 D0 Data Sheet Interrupt Description SLPI - Receive Slip. JAI - Jitter Attenuator Error. PRBSO-PRBS Error Counter Overflow PRBSI - PRBS Single Error SanibI - Changed Sa5,6,7 or 8 Nibble SabitI - Changed Sa5,6,7 or 8 Bits C8SA6I- Sequence of 8 Sa6 nibbles. SA6I - Changed Sa6 nibbles. SA5I - Changed Sa5 bits. HDLC0 - Status SIGI-Receive Signalling Bit Change. HDLC1 - Status. 00000100 National Use/HDLC0 D7 00000010 D0 Signalling/HDLC1 D7 D0 00000001 Table 11 - MT9075B Interrupt Vectors (IV7 - IV0) 36 Zarlink Semiconductor Inc. MT9075B Control and Status Registers Master Control 1 (Page 01H) Address (A4A3A2A1A0) 10H (Table 13) 11H (Table 14) 12H (Table 15) 13H (Table 16) 14H (Table 17) 15H (Table 18) 16H (Table 19) 17H 18H 19H (Table 20) 1AH (Table 21) 1BH (Table 22) 1CH (Table 23) 1DH (Table 24) 1EH (Table 25) 1FH (Table 26) Register Names Data Sheet Multiframe, National Bit Buffer and Data ASEL, MFSEL, NBTB & Sa4 - Sa8 Link Selection Word Mode Selection Control Word Non-Frame Alignment Control Word Transmit Multiframe Alignment Signal HDLC Selection Word Coding and Loopback Control Word Transmit Alarm Control Word Reserved --National Use Bit Interrupt Mask Word TIU0, CRCM, RST, ARAI, AUTY, TxTRSP, CSYN & AUTC TIU1, TALM & TNU4-8 TMA1-4, X1, Y, X2 & X3 HDLC0, HDLC1, RxTRSP MLBK, HDB3, MFRF, DLBK, RLBK, SLBK & PLBK TAIS, TAIS0, TAIS16, TE, REFRM, 64KSEL, DSToDE & CSToDE Set all bits to zero for normal operation. Unused. PRBSO,PRBSI,SanibI,SabitI,C8Sa6I, Sa6I, Sa5I Interrupt, Signalling and BERT Control ODE, SPND, INTA, TxCCS, RPSIG, CNTCLR Word & MSN, 64KCCS Interrupt Mask Word Zero Interrupt Mask Word One Interrupt Mask Word Two Interrupt Mask Word Three Transmit Pulse Control Word SYNI, RAII, AISI, AIS16I, LOSI, FERI, BPVO & SLPI EBI, CRCI, CEFI, BPVI, RCR0I, RCR1I, BERI & SIGI EBOI, CRCOI, CALNI, FEROI, JAI, BEROI, AUXPI & CMFOI MFSYI, CSYNI, YI, 1SECI, T1I, T2I CTXP, LL0, LL1, LL2 Table 12 - Master Control 1 (Page 01H) 37 Zarlink Semiconductor Inc. MT9075B Bit 7 Name ASEL (0) Functional Description Data Sheet AIS Select. This bit selects the criteria on which the detection of a valid Alarm Indication Signal (AIS) is based. If zero, the criteria is less than three zeros in a two frame period (512 bits). If one, the criteria is less than three zeros in each of two consecutive double-frame periods (512 bits per double-frame). Multiframe Select. This bit determines which receive multiframe signal (CRC-4 or signalling) the RxMF (pin 42 in PLCC, 23 in MQFP) signal is aligned with. If zero, RxMF is aligned with the receive signalling multiframe. If one, RxMF is aligned with the receive CRC-4 multiframe. National Bit Transmit Buffer. If one, the transmit NFAS signal originates from the transmit national bit buffer; if zero, the transmit NFAS signal originates from the TNU4-8 bits of page 01H, address 12H. 6 MFSEL (0) 5 NBTB (0) 4 - 0 Sa4 - Sa8 A one selects the corresponding Sa bits of the NFA signal for 4, 8, 12, 16 or 20 (00000) kbits/sec. data link channel. Data link (DL) selection will function in termination mode only; in transmit transparent mode Sa4 is automatically selected - see TxTRSP control bit of page 01H, address 11H. If zero, the corresponding bits of transmit nonframe alignment signal are programmed by the Non-Frame Alignment Control Word (page 01H, address 12H). Table 13 - Multiframe National Bit Buffer and DL Selection Word (Page 01H, Address 10H) Bit 7 Name TIU0 (0) Functional Description Transmit International Use Zero. When CRC-4 operation is disabled (CSYN=1), this bit is transmit on the PCM 30 2048 kbit/sec. link in bit position one of time-slot zero of frame-alignment frames. It is reserved for international use and should normally be kept at one. If CRC processing is used, i.e., CSYN =0, this bit is ignored. CRC-4 Modification. If one, activates the CRC-4 remainder modification function when the device is in transparent mode. The received CRC-4 remainder is modified to reflect only the changes in the transmit DL. If zero, time slot zero data from DSTi will not be modified in transparent mode. Reset. When this bit is changed from zero to one the device will reset to its default mode. See the Reset Operation section for the default settings. Automatic RAI Operation. If zero, the Remote Alarm Indication bit (the A bit) will function automatically. That is, RAI=0 when basic synchronization has been acquired and RAI=1 when basic synchronization has not been acquired. If one, the remote alarm indication bit is controlled through the TALM bit of the transmit Non-Frame Alignment Control Word. Automatic Y-Bit Operation. If zero, the Y-bit of the transmit multiframe alignment signal will report the multiframe alignment status to the far end i.e., zero - multiframe alignment acquired, one - lost. If one, the Y-bit is under the manual control of the Transmit Multiframe Alignment Control Word. Table 14 - Mode Selection Control Word (Page 01H, Address 11H) 6 CRCM (0) 5 RST (0) ARAI (0) 4 3 AUTY (0) 38 Zarlink Semiconductor Inc. MT9075B 2 Data Sheet TxTRSP Transmit Transparent Mode. If one, the MT9075B is in transmit transparent mode. No framing or signaling is imposed on the data transmit from DSTi onto the line. If (0) zero, it is in termination mode. CSYN (0) CRC-4 Synchronization. If zero, basic CRC-4 synchronization processing is activated, and TIU0 bit and TIU1 bit programming will be overwritten. If one, CRC-4 synchronization is disabled, the first bits of channel 0 are used as international use bits and are programmed by TIU0 and TIU1. Automatic CRC-interworking. If zero, automatic CRC-interworking is activated. If one, it is deactivated. See Framing Algorithm section for a detail description. Table 14 - Mode Selection Control Word (Page 01H, Address 11H) 1 0 AUTC (0) Bit 7 Name TIU1 (1) Functional Description Transmit International Use One. When CRC-4 operation is disabled (CSYN=1), this bit is transmit on the PCM 30 2048 kbit/sec. link in bit position one of time-slot zero of non-frame-alignment frames. It is reserved for international use and should normally be kept at one. If CRC processing is used, i.e., CSYN =0, this bit is ignored. Unused. Set low for normal operation. Transmit Remote Alarm. This bit is transmitted on the PCM 30 2048 kbit/sec. link in bit position three (A bit) of time slot zero of NFAS frames. It is used to signal an alarm to the remote end of the PCM 30 link (one - alarm, zero - normal). This control bit is ignored when ARAI is zero (page 01H, address 11H). 6 5 --TALM (1) 4 -0 TNU4-8 Transmit National Use Four to Eight (Sa4 - Sa8). These bits are transmitted on the (11111) PCM 30 2048 kbit/sec. link in bit positions four to eight of time slot zero of the NFA frame, if selected by Sa4 - Sa8 control bits of the DL selection word (page 01H, address 10H). Table 15 - NFA Control Word (page 01H, Address 12H) 39 Zarlink Semiconductor Inc. MT9075B Data Sheet Bit 7 -4 Name Functional Description TMA1-4 Transmit Multiframe Alignment Bits One to Four. These bits are transmitted on the PCM 30 2048 kbit/sec. link in bit positions one to four (0) of time slot 16 of frame zero of every signalling multiframe. These bits are used by the far end to identify specific frames of a signalling multiframe. TMA1-4 = 0000 for normal operation. X1 (1) Y (1) This bit is transmitted on the PCM 30 2048 kbit/sec. link in bit position five of time slot 16 of frame zero of every multiframe. X1 is normally set to one. This bit is transmitted on the PCM 30 2048 kbit/sec. link in bit position six of time slot 16 of frame zero of every multiframe. It is used to indicate the loss of multiframe alignment to the remote end of the link. If one - loss of multiframe alignment; if zero - multiframe alignment acquired. This bit is ignored when AUTY is zero (page 01H, address 11H). These bits are transmitted on the PCM 30 2048 kbit/sec. link in bit positions seven and eight respectively, of time slot 16 of frame zero of every multiframe. X2 and X3 are normally set to one. Table 16 - Transmit MF Alignment Signal (Page 01H, Address 13H) 3 2 1-0 X2, X3 (11) Bit 7 Name HDLC0 (0) HDLC1 (0) Functional Description HDLC0 Select. If one, then HDLC0 is connected to the data link on selected Sa bits at a rate of 4, 8, 12, 16 or 20 kbits/sec. If zero, HDLC0 is deselected and all HDLC0 interrupts are masked. HDLC1 Select. If one, then HDLC1 is connected to time slot 16 in CCS mode. If zero, HDLC1 is deselected and all HDLC1 interrupts are masked. 6 5 RxTRSP Receive Transparent Mode. When this bit is set to one, the framing function is disabled on the receive side. Data coming from the receive (0) line passes through the slip buffer and drives DSTo with an arbitrary alignment. When zero, the receive framing function operates normally. --Unused. Table 17 - HDLC Selection Word (Page 01H, Address 14H) 4-0 40 Zarlink Semiconductor Inc. MT9075B Bit 7 6 Name --MLBK (0) HDB3 (0) MFRF (0) Unused. Functional Description Data Sheet Metallic Loopback. If one, then the external RRTIP and RRING signals are isolated from the receiver, and TTIP and TRING are internally connected to the receiver analog input instead. If zero, metallic loopback is disabled. High Density Bipolar 3 Encoding. If zero, HDB3 encoding is enabled in the transmit direction. If one, AMI signal without HDB3 encoding is transmitted. HDB3 is always decoded in the receive direction. Multiframe Reframe. If one, for at least one frame, and then cleared the MT9075B will initiate a search for a new signalling multiframe position. Reframing function is activated on the one-to-zero transition of the MFRF bit. Digital Loopback. If one, then the digital stream to the transmit LIU is looped back in place of the digital output of the receive LIU. Data coming out of DSTo will be a delayed version of DSTi. If zero, this feature is disabled. Remote Loopback. If one, then all bipolar data received on RRTIP/RRING are directly routed to TTIP/TRING on the PCM 30 side of the MT9075B. If zero, then this feature is disabled. ST-BUS Loopback. If one, then all time slots of DSTi are connected to DSTo on the ST-BUS side of the MT9075B. If zero, then this feature is disabled. See Loopbacks section. Payload Loopback. If one, then all time slots received on RTIP/RRING are connected to TTIP/TRING on the ST-BUS side of the MT9075B (this excludes time slot zero). If zero, then this feature is disabled. Table 18 - Coding and Loopback Control Word (Page 01H, Address 15H) 5 4 3 DLBK (0) RLBK (0) SLBK (0) PLBK (0) 2 1 0 41 Zarlink Semiconductor Inc. MT9075B Bit 7 Name TAIS (0) TAIS0 (0) TAIS16 (0) TE (0) Functional Description Data Sheet Transmit Alarm Indication Signal. If one, an all ones signal is transmitted. TAIS=0 for normal operation. Transmit AIS Time Slot Zero. If one, an all ones signal is transmitted in time slot zero. If zero, time slot zero functions normally. Transmit AIS Time Slot 16. If one, an all ones signal is transmitted in time slot 16. If zero, time slot functions normally. Transmit E bits. When CRC-4 synchronization is achieved, the E-bits transmit the received CRC-4 comparison results to the distant end of the link, as per G.704. That is, when zero and CRC-4 synchronization is lost, the transmit E-bits will be zero. If one, and CRC-4 synchronization is lost the transmit E-bits will be one. Reframe. If one for at least one frame, and then cleared, the device will initiate a search for a new basic frame position. Reframing function is activated on the one-to-zero transition of the REFRM bit. 6 5 4 3 REFRM (0) 2 64KSEL 64 KHz Select. If one, a 64 KHz signal divided down from the extracted received 2048 kbit/sec. clock is output on RxFP/Rx64KCK (pin 47 in PLCC, 35 in MQFP). If zero that pin outputs an 8 (0) KHz signal derived from the extracted clock. DSToDE DSTo Data Enable. If zero, DSTo is enabled. If one, DSTo will be tristated if one of the following conditions exists: LIU loss of signal, loss of terminal frame sync (SYNC=1), loss of (0) CRC4 sync (CRCSYN=1) or AIS. CSToDE CSTo Data Enable. If zero, CSTo is enabled. If one, CSTo will be tristated if one of the following conditions exists: loss of multiframe sync (MFSYNC=1), or AIS16 =1 (0) Table 19 - Transmit Alarm Control Word (Page 01H, Address 16H) 1 0 42 Zarlink Semiconductor Inc. MT9075B Bit 7 6 Name --PRBSO (0) PRBSI (0) SanibI (0) SabitI (0) C8Sa6I (0) Sa6I (0) Sa5I (0) Unused. Functional Description Data Sheet PRBS Counter Overflow Interrupt. When unmasked (PRBSO = 1), an interrupt is initiated on overflow of PRBS counter (page 04H, address 10H) from FFH to 0H. Interrupt vector = 00000010. PRBS Interrupt. When unmasked (PRBSI = 1), an interrupt is initiated on a single PRBS detection error. Interrupt vector = 00000010. Changed Sa Nibble Interrupt. When unmasked (SanibI = 1), an interrupt is generated upon detection of a change of state in any of received Sa nibbles (nibble Sa5, nibble Sa6, nibble Sa7 or nibble Sa8). Interrupt vector = 00000010. Changed Sa Bit Interrupt. When unmasked (SabitI = 1), an interrupt is generated upon detection of a change of state in any of received Sa bits (Sa5, Sa6, Sa7 or Sa8). Interrupt vector = 00000010. Eight Consecutive Sa6 Nibble Interrupt. When unmasked (C8Sa6I = 1), an interrupt is generated upon detection of the eighth consecutive Sa6 nibble with the same pattern. Interrupt vector = 00000010. Changed Sa6 Nibble Interrupt. When unmasked (Sa6I = 1), an interrupt is generated upon detection of a change of state in received Sa6 nibbles. Interrupt vector = 00000010. Changed Sa5 Bit Interrupt. When unmasked (Sa5I =1), an interrupt is generated upon detection of a change of state in the received Sa5 bit. Interrupt vector = 00000010. Table 20 - National Use Bit Interrupt Mask Word (Page 01H, Address 19H) 5 4 3 2 1 0 43 Zarlink Semiconductor Inc. MT9075B Bit 7 Name ODE (0) Functional Description Data Sheet Output Data Enable. If one, the DSTo and CSTo output drivers function normally. When low, DSTo and CSTo will be tristated. Note: When ODE =1, DSTo and CSTo can be individually tristated by DSToDE and CSToDE (page 01H, address 16H) respectively. Suspend Interrupts. If one, the IRQ output (pin 12 in PLCC, 85 in MQFP) will be in a high-impedance state and all interrupts will be ignored. If zero, the IRQ output will function normally. Interrupt Acknowledge. A zero-to-one or one-to-zero transition will clear any pending interrupt and make IRQ high. Transmit Common Channel Signalling. If one, the transmit section of the device is in common channel signalling (CCS) mode. If zero, it is in Channel Associated Signalling (CAS) mode. Register Programmed Signalling. If one, the transmit CAS signalling will be controlled by programming page 05H. If zero, the transmit CAS signalling will be controlled through the CSTi stream. Counter Clear. If one, all status counters are cleared and held low. Zero for normal operation. Most Significant Signalling Nibble. If one, the CSTo and CSTi channel associated signalling nibbles will be valid in the most significant portion of each ST-BUS time slot. If zero, the CSTo and CSTi channel associated signalling nibbles will be valid in the least significant portion of each ST-BUS time slot. 64 Kbits/s Common Channel Signalling. If one, common channel signalling information is sourced from CSTi, and common channel signalling information is clocked out of CSTo. The transmit clock is an internal clock. This 64 KHz clock is divided down from C4b and is synchronous with the STBUS channel boundaries. The rising edges of the clock occur between channels 1 and 2; 5 and 6; 9 and 10; 13 and 14; 17 and 18; 21 and 22; 25 and 26; 29 and 30. The receive clock is synchronous with the same channel times, but derived from the extracted clock timebase. The CCS receive clock is driven out on Rx64KCK (pin 47 in PLCC, 35 in MQFP) when this bit is set. If zero CSTi and CSTo have 2.048 mb/s bit rates and operate as per Tables 66 to 71. 6 SPND (0) INTA (0) TxCCS (0) RPSIG (0) CNTCLR 5 4 3 2 (0) 1 MSN (0) 0 64KCCS (0) Table 21 - Interrupt, Signalling and BERT Control Word (Page 01H, Address 1AH 44 Zarlink Semiconductor Inc. MT9075B Bit 7 Name SYNI (0) RAII (0) AISI (0) AIS16I (0) LOSI (0) FERI (0) BPVO (0) SLPI (0) Functional Description Data Sheet Synchronization Interrupt. When unmasked (SYNI = 0) an interrupt is initiated when a loss of basic frame synchronization condition exists. Interrupt vector = 10000000. Remote Alarm Indication Interrupt. When unmasked (RAII = 0) a received RAI will initiate an interrupt. Interrupt vector = 01000000. Alarm Indication Signal Interrupt. When unmasked (AISI = 0) a received AIS will initiate an interrupt. Interrupt vector = 01000000. Channel 16 Alarm Indication Signal Interrupt. When unmasked (AIS16I = 0), a received AIS16 will initiate an interrupt. Interrupt vector = 01000000. Loss of Signal Interrupt. When unmasked (LOSI = 0) an interrupt is initiated when a loss of signal condition exists. Interrupt vector = 01000000. Frame Error Interrupt. When unmasked (FERI = 0), an interrupt is initiated when an error in the frame alignment signal occurs. Interrupt vector = 00100000. Bipolar Violation Counter Overflow Interrupt. When unmasked (BPVO = 0), an interrupt is initiated when the bipolar violation error counter changes form FFFFH to 0H. Interrupt vector = 00010000. SLIP Interrupt. When unmasked (SLPI = 0), an interrupt is initiated when a controlled frame slip occurs. Interrupt vector = 00000100. Table 22 - Interrupt Mask Word Zero (Page 01H, Address 1BH) 6 5 4 3 2 1 0 45 Zarlink Semiconductor Inc. MT9075B Bit 7 Name EBI (0) CRCI (0) CEFI (0) BPVI (0) RCR0I (0) Functional Description Data Sheet Receive E-bit Interrupt. When unmasked an interrupt is initiated when a receive E-bit indicates a remote CRC-4 error. 1 - unmasked, 0 - masked. Interrupt vector = 00100000. CRC-4 Error Interrupt. When unmasked an interrupt is initiated when a local CRC-4 error occurs. 1 - unmasked, 0 - masked. Interrupt vector = 00100000. Consecutively Errored FASs Interrupt. When unmasked an interrupt is initiated when two consecutive errored frame alignment signals are received. 1 - unmasked, 0 - masked. Interrupt vector = 00100000. Bipolar Violation Interrupt. When unmasked an interrupt is initiated when a bipolar violation error occurs. 1 - unmasked, 0 - masked. Interrupt vector = 00100000. RAI and Continuous CRC Error Interrupt. When unmasked an interrupt is initiated when the received A bit has been one, and the received E bits have been zero, continuously for greater than 10 milliseconds (see page 04H, address 19H) 1- unmasked, 0 - masked. Interrupt vector = 00100000. RAI and Continuous CRC Error Interrupt. When unmasked an interrupt is initiated when the received A bit had been set, and the received E bits were low, continuously for greater than 10 milliseconds, but less than 450 milliseconds (see page 04H, address 19H). 1 - unmasked, 0 - masked. Interrupt vector = 00100000. Bit Error Interrupt. When unmasked an interrupt is initiated when a bit error occurs. 1 - unmasked, 0 - masked. Interrupt vector = 00100000. Signalling (CAS) Interrupt. When unmasked and any of the receive ABCD bits of any channel changes state an interrupt is initiated. 1 - unmasked, 0 masked. Interrupt vector = 00000001 Table 23 - Interrupt Mask Word One (Page 01H, Address 1CH) 6 5 4 3 2 RCR1I (0) 1 BERI (0) SIGI (0) 0 46 Zarlink Semiconductor Inc. MT9075B Bit 7 Name EBOI (0) CRCOI (0) CALNI (0) FEROI (0) JAI (0) Functional Description Data Sheet Receive E-bit Counter Overflow Interrupt. When unmasked an interrupt is initiated when the E-bit error counter overflows. 1 - unmasked, 0 masked. Interrupt vector = 00010000. CRC-4 Error Counter Overflow Interrupt. When unmasked an interrupt is initiated when the CRC-4 error counter overflows. 1 - unmasked, 0 masked. Interrupt vector = 00010000. CRC-4 Alignment Interrupt. When unmasked an interrupt is initiated when the CALN status bit of page 03H, address 12H changes state. 1 unmasked, 0 - masked. Interrupt vector = 00001000. Frame Alignment Signal Error Counter Overflow Interrupt. When unmasked an interrupt is initiated when the frame alignment signal error counter overflows. 1 - unmasked, 0 - masked. Interrupt vector = 00010000. Jitter Attenuation Interrupt. When unmasked, an interrupt will be initiated when the jitter attenuator FIFO comes within four bytes of an overflow or underflow condition. 1 - unmasked, 0 - masked. Interrupt vector = 00000100. Bit Error Counter Overflow Interrupt. When unmasked (BERO = 1), an interrupt is initiated when the bit error counter overflows. Interrupt vector = 00010000. Auxiliary Pattern Interrupt. When unmasked (AUXPI = 1), an interrupt is initiated when the AUXP status bit of page 03H, address 15H goes high. Interrupt vector = 01000000. Receive CRC-4 Multiframe Counter Overflow Interrupt. When unmasked (CMFO = 1), an interrupt is initiated when the CRC-4 multiframe counter overflows. Interrupt vector = 00010000. Table 24 - Interrupt Mask Word Two (Page 01H, Address 1DH) 6 5 4 3 2 BEROI (0) AUXPI (0) CMFOI (0) 1 0 47 Zarlink Semiconductor Inc. MT9075B Bit 7 Name MFSYI (0) CSYNI (0) --YI (0) 1SECI (0) T1I (0) T2I (0) --Functional Description Data Sheet Multiframe Synchronization Interrupt. When unmasked (MFSYI = 1), an interrupt is initiated when multiframe synchronization is lost. Interrupt vector = 10000000. CRC-4 Multiframe Synchronization Interrupt. When unmasked (CSYNI = 1), an interrupt is initiated when CRC-4 multiframe synchronization is lost. Interrupt vector = 10000000. Unused. Remote Signalling Multiframe Alarm Interrupt. When unmasked (YI = 1), an interrupt is initiated when a remote signalling multiframe alarm signal is received. Interrupt vector = 10000000. One Second Status Interrupt. When unmasked (1SECI = 1), an interrupt is initiated when the 1SEC status bit (page 03H, address 12H, bit 7) changes from zero to one. Interrupt vector = 00001000. T1 Timer Interrupt. When unmasked (T1I = 1), an interrupt is initiated when the T1 timer bit (page 03H, address 12H, bit 5) changes from zero to one. Interrupt vector = 00001000. T2 Timer Interrupt. When unmasked (T2I = 1), an interrupt is initiated when the T2 timer bit (page 03H, address 12H, bit 4) changes from zero to one. Interrupt vector = 00001000. Unused Table 25 - Interrupt Mask Work Three (Page 01H, Address 1EH) 6 5 4 3 2 1 0 48 Zarlink Semiconductor Inc. MT9075B Bit 7-4 3 Name --(0000) CTXP (0) Functional Description Unused. Set low for normal operation. Data Sheet Custom Transmit Pulse Level. A zero means that the transmit pulse level is determined by the bits TX2-0 listed in the table entry below. When CPL is a one, the pulse level is determined by coefficients programmed in registers 1CH - 1Fh on Page 2. Transmit pulse amplitude. Select the TX2-TX0 bits according to the line type, value of termination resistors (RT), and transformer turns ratio used TX2 TX1 TX0 Line(Ω) RT(Ω) Xfmr 0 0 0 120 0 1:2 0 0 1 120 0 1:1 0* 1 0 120 15 1:2 0 1 1 120/75 12.1 1:2 1 0 0 75 0 1:2 1 0 1 75 0 1:1 1* 1 0 75 9.1 1:2 1 1 1 75/120 12.1 1:2 *These configurations provide the best matching characteristics. Table 26 - Transmit Pulse Control Word (Page 01H, Address 1FH) 2-0 TX2-0 (0) 49 Zarlink Semiconductor Inc. MT9075B Address (A4A3A2A1A0) 10H (Table 28) 11H 12H 13H (Table 29) 14H 15H 16H 17H 18H (Table 30) 19H (Table 31) 1AH 1BH 1CH (Table 32) 1DH (Table 33) 1EH (Table 34) 1FH (Table 35) Register Error and Debounce Selection Word ----Access Control Word --------Jitter Attenuator Control Word Receive Equalization Control Word Reserved Reserved Custom Pulse Level 1 Custom Pulse Level 2 Customer Pulse Level 3 Customer Pulse Level 4 Names Data Sheet BPVE, CRCE, FASE, NFSE, LOSE, PERR & DBNCE Unused. Unused. LOS/LOF, ADSEQ & GCI/ST Unused. Unused. Unused. Unused. JAS, JAT/JAR, JFC, JFD2, JFD1, JFD0, JACL REDBL, REMID, REMAX Set all bits to zero for normal operation. Set all bits to zero for normal operation. CPLA6 - CPLA0 CPLB6 - CPLB0 CPLC6 - CPLC0 CPLD6 - CPLD0 Table 27 - Master Control 2 (Page 02H) 50 Zarlink Semiconductor Inc. MT9075B Bit 7 Name BPVE (0) CRCE (0) FASE (0) Functional Description Data Sheet Bipolar Violation Error Insertion. A zero-to-one transition of this bit inserts a single bipolar violation error into the transmit PCM 30 data. A one, zero or one-to-zero transition has no function. CRC-4 Error Insertion. A zero-to-one transition of this bit inserts a single CRC-4 error into the transmit PCM 30 data. A one, zero or one-to-zero transition has no function. Frame Alignment Signal Error Insertion. A zero-to-one transition of this bit inserts a single error into the time slot zero frame alignment signal of the transmit PCM 30 data. A one, zero or one-to-zero transition has no function. Non-frame Alignment Signal Error Insertion. A zero-to-one transition of this bit inserts a single error into bit two of the time slot zero non-frame alignment signal of the transmit PCM 30 data. A one, zero or one-to-zero transition has no function. Loss of Signal Error Insertion. If one, the MT9075B transmits an all zeros signal (no pulses) in every PCM 30 time slot. If zero, data is transmitted normally. Payload Error Insertion. A zero-to-one transition of this bit inserts a single error in the transmit payload. A one, zero or one-to-zero transition has no function. Unused. Debounce Select. This bit selects the debounce period (1 for 14 msec.; 0 for no debounce). Note: there may be as much as 2 msec. added to this duration because the state change of the signalling equipment is not synchronous with the PCM 30 signalling multiframe. Table 28 - Error and Debounce Selection Word (Page 02H, Address 10H) 6 5 4 NFSE (0) 3 LOSE (0) PERR (0) --DBNCE (0) 2 1 0 51 Zarlink Semiconductor Inc. MT9075B Bit 7-3 2 Name -LOS/LOF (0) Unused. Functional Description Data Sheet Loss of Signal or Loss of Frame Selection. If one, pin LOS (pin 61 in PLCC, 57 in MQFP) will go high when a loss of signal state exits (criteria as per LLOS status bit on page 03H address 18H). If low, pin LOS will go high when either a loss of signal (LLOST =1) or a loss of basic frame alignment state exits (bit SYNC on page 03H address 10H is zero). Digital Milliwatt or Digital Test Sequence. If one, the A-law digital milliwatt analog test sequence will be selected by the Per Time Slot Control bits TTST and RTST (on page 07H and 08H). If zero, the PRBS 215-1 bit error rate test sequence will be selected by the Per Time Slot Control bits TTST and RTST. The PRBS generator is reset whenever this bit is set to 1. GCI or ST-BUS Frame Pulse. If one, the MT9075B will transmit or receive a GCI frame pulse on pin F0b (pin 46 in PLCC, 34 in MQFP). If zero, the MT9075B will transmit or receive an ST-BUS frame pulse on F0b. Table 29 - Access Control Word (Page 02H, Address 13H) 1 ADSEQ (0) 0 GCI/ST (0) 52 Zarlink Semiconductor Inc. MT9075B Bit 7 Name JAS (0) JAT/JAR (0) JFC (0) JFD2- JFD0 (00) Functional Description Data Sheet Jitter Attenuator Select. If one, the attenuator may be connected to either the transmit or receive sides of the PCM 30 interface depend on bit 6 JAT/JAR. If zero, the jitter attenuator function is disabled. Transmit or Receive Jitter Attenuator. If one, the jitter attenuator will function on the transmit data. If zero, the jitter attenuator will function on the receive data. Jitter Attenuator FIFO Centre. When this bit is toggled the read pointer of the jitter attenuator shall be centered. During centering the jitter in the JA outputs is increased by 0.0625 U.I Jitter Attenuator FIFO Depth Control Bits. These bits determine the depth of the jitter attenuator FIFO as shown below: JFD2 0 0 0 0 1 1 1 1 JFD1 0 0 1 1 0 0 1 1 JFD0 0 1 0 1 0 1 0 1 Depth (words) 16 32 48 64 80 96 112 128 6 5 4-2 1 JACL (0) --- Jitter Attenuator Clear bit. If one, the Jitter Attenuator, its FIFO and status are reset. The status registers will identify the FIFO as being empty. However, the actual bit values of the data in the JA FIFO will not be reset. Unused. Table 30 - Jitter Attenuator Control Word (Page 02H, Address 18H) 0 53 Zarlink Semiconductor Inc. MT9075B Bit 7 Name REDBL (0) REMID (0) REMAX (0) Functional Description Data Sheet Receive Equalizer Auto Mode Disable. If one, the receive equalizer is turned off from the auto mode. If zero, the receive equalizer is turned on and will compensate for loop length automatically. Receive Equalization Mid-range. If one and REDBL is one, the onestage equalization is enabled, which provides approximately 6 dB of gain. If zero, REDBL or REMAX will control the receive equalization. Receive Equalization Maximum. If one, REDBL is one and REMID is zero, the two-stage equalization is enabled, which provides approximately 12 dB of gain. If zero, REDBL or REMID will control the receive equalization. Unused. Table 31 - Receive Equalization Control Word (Page 02H, Address 19H) 6 5 4-0 --- Bit 7 6 Name -CPLA6 (0) CPLA5-CPLA0 (000000) Functional Description Sign bit. Normalized to a positive going one, when CPLAt6 is one then the CPLA0-CPLA5 coefficient corresponds to a positive level. When CPLA6 is zero the coefficient is taken to indicate a negative level. Pulse shape coefficient for the first time slot (within one bit cell). CPLA5 is the MSB (pulse amplitute =0.1 * CPLA[5:0]V) Table 32 - Custom Pulse Level 1 (Page 2, Address 1CH) 5-0 Bit 7 6 Name -CPLB6 (0) CPLB5-CPLB0 (000000) Functional Description Sign bit. Normalized to a positive going one, when CPLB6 is one then the CPLB0-CPLB5 coefficient corresponds to a positive level. When CPLB6 is zero the coefficient is taken to indicate a negative level. Pulse shape coefficient for the second time slot (within one bit cell). CPLB5 is the MSB Table 33 - Custom Pulse Level 2 (Page 2, Address 1DH) 5-0 54 Zarlink Semiconductor Inc. MT9075B Bit 7 6 Name -CPLC6 (0) CPLC5-CPLC0 (000000) Functional Description Data Sheet Sign bit. Normalized to a positive going one, when CPLC6 is one then the CPLC0-CPLC5 coefficient corresponds to a positive level. When CPLA6 is zero the coefficient is taken to indicate a negative level. Pulse shape coefficient for the third time slot (within one bit cell). CPLC5 is the MSB. Table 34 - Custom Pulse Level 1 (Page 2, Address 1CH) 5-0 Bit 7 6 Name -CPLD6 (0) CPLD5-CPLD0 (000000) Functional Description Sign bit. Normalized to a positive going one, when CPLD6 is one then the CPLD0-CPLD5 coefficient corresponds to a positive level. When CPLD6 is zero the coefficient is taken to indicate a negative level. Pulse shape coefficient for the fourth time slot (within one bit cell) Table 35 - Custom Pulse Level 4 (Page 2, Address 1FH) 5-0 55 Zarlink Semiconductor Inc. MT9075B Master Status 1 (Page 03H) Address (A4A3A2A1A0) 10H (Table 37) 11H (Table 38) 12H (Table 39) 13H (Table 40) 14H (Table 41) 15H (Table 42) 16H (Table 43) 17H (Table 44) 18H (Table 45) 19H (Table 46) 1AH (Table 47) 1BH - 1EH 1FH (Table 48) Register Synchronization Status Word Receive Frame Alignment Signal Timer Status Word Names Data Sheet SYNC, MFSYNC, CRCSYN, REB1, REB2 CRCRF, RED& CRCIWK RIU0 & RFA2-8 1SEC, 2SEC, T1, T2, 400T, 8T, CALN & KLVE RIU1, RNFAB, RALM & RNU4-8 RMA1-4, X1, Y, X2 & X3 RSLIP, RSLPD, AUXP, CEFS, RxEBC11-8 RxEBC7-0 JACS, JACF, JAE, JAF4, JAFC, JAE4, JAF LL, ML, SL, LLOS CRCS1, CRCS2, RFAIL, LOSS, AIS16S, AISS, RAIS & RCRS Sa5, Sa6nibble,C8Sa6, CSa6 Unused. Set to 10101010 Receive Non-frame Alignment Signal Receive Multiframe Alignment Signal Most Significant Phase Status Word Least Significant Phase Status Word Jitter Attenuator Status Word Receive Signal Status Word Alarm Status Word One Changed Sa6 Report Word --Identification Word Table 36 - Master Status 1 (Page 03H) 56 Zarlink Semiconductor Inc. MT9075B Bit 7 6 5 4 3 2 Name SYNC MFSYNC CRCSYN REB1 REB2 CRCRF Functional Description Data Sheet Receive Basic Frame Alignment. SYNC indicates the basic frame alignment status (1 - loss; 0 - acquired). Receive Multiframe Alignment. MFSYNC indicates the multiframe alignment status (1 - loss; 0 -acquired). Receive CRC-4 Synchronization. CRCSYN indicates the CRC-4 multiframe alignment status (1 - loss; 0 - acquired). Receive E-Bit One Status. REB1 indicates the status of the received E1 bit of the last multiframe. Receive E-Bit Two Status. REB2 indicates the status of the received E2 bit of the last multiframe. CRC-4 Reframe. A one indicates that the receive CRC-4 multiframe synchronization could not be found within the time out period of 8 msec. after detecting basic frame synchronization. This will force a reframe when the maintenance option is selected and automatic CRC-4 interworking is de-selected. RED Alarm. RED goes high when basic frame alignment has been lost for at least 100 msec. This bit will be low when basic frame alignment is acquired (I.431). CRC-4 Interworking. CRCIWK indicates the CRC-4 interworking status (1 - CRC-to-CRC; 0 - CRC-to-non-CRC). Table 37 - Synchronization Status Word (Page 03H, Address 10H) 1 RED 0 CRCIWK Bit 7 Name RIU0 Functional Description Receive International Use Zero. This is the bit which is received on the PCM 30 2048 kbit/sec. link in bit position one of the frame alignment signal. It is used for the CRC-4 remainder or for international use. Receive Frame Alignment Signal Bits 2 to 8. These bit are received on the PCM 30 2048 kbit/sec. link in bit positions two to eight of frame alignment signal. These bits form the frame alignment signal and should be 0011011. Table 38 - Receive Frame Alignment Signal (Page 03H, Address 11H) 6-0 RFA2-8 57 Zarlink Semiconductor Inc. MT9075B Bit 7 6 5 Name 1SEC 2SEC T1 Functional Description Data Sheet One Second Timer Status. This bit changes state once every 0.5 second and is synchronous with the 2SEC timer. Two Second Timer Status. This bit changes state once every second and is synchronous with the 1SEC timer. Timer One. This bit will be high after a signal has been received, that consists of non-normal operation frames, and persists for 100 msec. This bit shall be low when T2 becomes high. Refer to I.431 Section 5.9.2.2.3. Timer Two. This bit will be high when the MT9075B acquires terminal frame synchronization persisting for 10 msec. This bit shall be low when non-normal operational frames are received. I.431 Section 5.9.2.2.3. 400 msec. Timer Status. This bit changes state when the 400 msec. CRC-4 multiframe alignment timer expires. 8 msec. Timer Status. This bit changes state when the 8 msec. CRC-4 multiframe alignment timer expires. CRC-4 Alignment. This bit changes state every msec. When CRC-4 multiframe alignment has been achieved state changes of this bit are synchronous with the receive CRC-4 synchronization signal. Keep Alive. This bit is high when the AIS status bit (page 03H, address 19H) has been high for at least 100msec. This bit will be low when AIS goes low (I.431). Table 39 - Timer Status Word (Page 03H, Address 12H) 4 T2 3 2 1 400T 8T CALN 0 KLVE Bit 7 Name RIU1 Functional Description Receive International Use 1. This bit is received on the PCM 30 2048 kbit/sec. link in bit position one of the non-frame alignment signal. It is used for CRC-4 multiframe alignment or international use. Receive Non-frame Alignment Bit. This bit is received on the PCM 30 2048 kbit/sec. link in bit position two of the non-frame alignment signal. This bit should be one in order to differentiate between frame alignment frames and non-frame alignment frames. Receive Alarm. This bit is received on the PCM 30 2048 kbit/sec. link in bit position three (the A bit) of the non-frame alignment signal. It is used as a remote alarm indication (RAI) from the far end of the PCM 30 link (1 alarm, 0 - normal). Receive National Use Four to Eight. These bits are received on the PCM 30 2048 kbit/sec. link in bit positions four to eight (the Sa bits) of the non-frame alignment signal. Table 40 - Receive Non-Frame Alignment Signal (Page 03H, Address 13H) 6 RNFAB 5 RALM 4-0 RNU4-8 58 Zarlink Semiconductor Inc. MT9075B Bit 7-4 Name RMA1-4 Functional Description Data Sheet Receive Multiframe Alignment Bits One to Four. These bits are received on the PCM 30 2048 kbit/sec. link in bit positions one to four of time slot 16 of frame zero of every signalling multiframe. These bit should be 0000 for proper signalling multiframe alignment. Receive Spare Bit X1. This bit is received on the PCM 30 2048 kbit/sec. link in bit position five of time slot 16 of frame zero of every signalling multiframe. Receive Y-bit. This bit is received on the PCM 30 2048 kbit/sec. link in bit position six of time slot 16 of frame zero of every signalling multiframe. The Y bit may indicate loss of multiframe alignment at the remote end (1 loss of multiframe alignment; 0 - multiframe alignment acquired). Receive Spare Bits X2 and X3. These bits are received on the PCM 30 2048 kbit/sec. link in bit positions seven and eight respectively, of time slot 16 of frame zero of every signalling multiframe. Table 41 - Receive Multiframe Alignment Signal (Page 03H, Address 14H) 3 X1 2 Y 1-0 X2, X3 Bit 7 6 Name RSLIP RSLPD Functional Description Receive Slip. A change of state (i.e., 1-to-0 or 0-to-1) indicates that a receive controlled frame slip has occurred. Receive Slip Direction. If one, indicates that the last received frame slip resulted in a repeated frame, i.e., system clock is faster than network clock. If zero, indicates that the last received frame slip resulted in a lost frame, i.e., system clock is slower than network clock. Updated on an RSLIP occurrence basis. Auxiliary Pattern. This bit will go high when a continuous 101010... bit stream (Auxiliary Pattern) is received on the PCM 30 link for a period of at least 512 bits. If zero, auxiliary pattern is not being received. This pattern will be decoded in the presence of a bit error rate of as much as 10-3. Consecutively Errored Frame Alignment Signal. This bit goes high when the last two frame alignment signals were received in error. This bit will be low when at least one of the last two frame alignment signals is without error. Receive Eighth Bit Count. The four most significant bit of a counter that indicates the number of one eighth bit times there are between the STBUS frame pulse and receive frame pulse (RxFP). Table 42 - Most Significant Phase Status Word (Page 03H, Address 15H) 5 AUXP 4 CEFS 3-0 RxEBC 11-8 59 Zarlink Semiconductor Inc. MT9075B Bit 7-0 Name RxEBC7 -0 Functional Description Data Sheet Receive Eighth Bit Count. The 8 least significant bit of a counter that indicates the number of one eighth bit times there are between the STBUS frame pulse and receive frame pulse (RxFP).The accuracy of the this measurement is approximately + 1/16 (one sixteenth) of a bit. Table 43 - Least Significant Phase Status Word (Page 03H, Address 16H) Bit 7 6 5 4 3 2 1 0 Name JACS JACF JAE JAF4 JAFC JAE4 JAF --- Functional Description Jitter Attenuated Clock Slow. If one it indicates that the dejittered clock period is increased by 1/16 UI. If zero the clock is at normal speed. Jitter Attenuated Clock Fast. If one it indicates that the dejittered clock period is decreased by 1/16 UI. If zero the clock is at normal speed. Jitter Attenuator FIFO Empty. If one it indicates that the JA FIFO is empty. Jitter Attenuator FIFO with 4 Full Locations. If one it indicates that the JA FIFO has at least 4 full locations. Jitter Attenuator Center Full. If one it indicates that the JA FIFO is at least half full. Jitter Attenuator FIFO with 4 Empty Locations. If one it indicates that the JA FIFO has at most 4 empty locations. Jitter Attenuator FIFO Full. If one it indicates that the JA FIFO is full. Unused Table 44 - Jitter Attenuator Status Word (Page 03H, Address 17H) 60 Zarlink Semiconductor Inc. MT9075B Bit 7 6 5 4 Name LL ML SL LLOS Functional Description Data Sheet Long Loop. This bit is one when the line signal has an amplitude so attenuated as to require substantial equalization for data recovery. Medium Loop. This bit is one when the line signal has an amplitude so attenuated as to require some equalization for data recovery. Short Loop. This bit is one when the line signal has an amplitude with minimal attenuation. LIU Loss of Signal Indication. This bit will be one when the received signal amplitude is more than 20 dB below the nominal value for a period of at least 1 msec. This bit will be zero for normal operation. Unused Table 45 - Receive Signal Status Word (Page 03H, Address 18H) 3-0 --- Bit 7 Name CRCS1 Functional Description Receive CRC Error Status One. If one, the evaluation of the last received submultiframe 1 resulted in an error. If zero, the last submultiframe 1 was error free. Updated on a submultiframe 1 basis. Receive CRC Error Status Two. If one, the evaluation of the last received submultiframe 2 resulted in an error. If zero, the last submultiframe 2 was error free. Updated on a submultiframe 2 basis. Remote CRC-4 Multiframe Generator/Detector Failure. If one, each of the previous five seconds have an E-bit error count of greater than 989, and for this same period the receive RAI bit was zero (no remote alarm), and for the same period the SYNC bit was equal to zero (basic frame alignment has been maintained). If zero, indicates normal operation. Loss of Signal Status Indication. If one, indicates the presence of a loss of signal condition. If zero, indicates normal operation. A loss of signal condition occurs when 127 consecutive bit periods are zero. A loss of signal condition terminates when an average ones density of at least 12.5% has been received over a period of 127 contiguous pulse positions starting with a pulse. Alarm Indication Signal 16 Status. If one, indicates an all ones alarm is being received in channel 16. If zero, normal operation. Updated on a frame basis. Alarm Indication Status Signal. If one, indicates that a valid AIS or all ones signal is being received. If zero, indicates that a valid AIS signal is not being received. The criteria for AIS detection is determined by the control bit ASEL (page 01H, address 10H). Remote Alarm Indication Status. If one, there is currently a remote alarm condition (i.e., received A bit is one). If zero, normal operation. Updated on a non-frame alignment frame basis. RAI and Continuous CRC Error Status. If one, there is currently an RAI and continuous CRC error condition. If zero, normal operation. Updated on a multiframe basis. Table 46 - Alarm Status Word One (Page 03H, Address 19H) 6 CRCS2 5 RFAIL 4 LOSS 3 2 AIS16S AISS 1 RAIS 0 RCRS 61 Zarlink Semiconductor Inc. MT9075B Data Sheet Bit 7 6-3 2 1 Name Sa5 Sa6nibble Functional Description Sa5 Bit (latched by C8Sa6). It is cleared once this register is read. Sa6 Nibble (latched by C8Sa6). It is cleared once this register is read. Unused Eight Consecutive Sa6 nibbles. Upon detection of the eighth consecutive Sa6 nibble with the same pattern, this bit goes high. It is cleared once this register is read. Changed Sa6 nibble. Upon detection of a change of state within the received Sa6 nibbles, this bit goes high. It is cleared once this register is read. Table 47 - Changed Sa6 Report Word (Page 03H, Address 1AH) --C8Sa6 0 CSa6 Bit 7-0 Name ID7-0 Functional Description Contains device code 10101010. Table 48 - Identification Word (Page 03H, Address 1FH) Master Status 2 (Page 04H) Address (A4A3A2A1A0) 10H (Table 50) 11H (Table 51) 12H (Table 52) 13H (Table 53) 14H (Table 54) 15H (Table 55) 16H (Table 56) 17H (Table 57) 18H (Table 58) 19H (Table 59) 1AH (Table 60) 1BH (Table 61) Register PRBS Error Counter CRC Multiframe counter for PRBS Interrupt Vector E-bit Error Counter Ebt E-bit Error Counter Ebt Jitter FIFO Counter Overflow Reporting Latch Loss of Basic Synchronization Counter Bit Error Rate Counter RAI and Continuous CRC Error Bits Errored Frame Alignment Signal Counter Alarm Reporting Latch PS7-0 PSM7-0 IV7 - IV0 EC9-EC8 EC7-EC0 JFC7-JFC0 PRBSO, FEBEO, JFO, LBO, BERO, EFO, BPVO, CCO LBF7-LBF0 BR7 - BR0 RCRC1 - RCRC0 EFAS7 - EFAS0 RAI, AIS, AIS16, LOS, AUXP, MFALM, RSLIP Names Table 49 - Master Status (Page 04H) 62 Zarlink Semiconductor Inc. MT9075B 1CH (Table 62) 1DH (Table 63) 1EH (Table 64) 1FH (Table 65) Most Significant Bipolar Violation Error Counter Least Significant Bipolar Violation Error Counter CRC-4 Error Counter CEt CRC-4 Error Counter CEt BPV15 - BPV8 BPV7 - BPV0 CC9-CC8 CC7 - CC0 Data Sheet Table 49 - Master Status (Page 04H) Bit 7-0 Name PS7-0 Functional Description PRBS Error Counter. This counter is incremented for each PRBS error detected on any of the receive channels connected to the PRBS error detector. Table 50 - PRBS Error Counter (Page 04H, Address 10H) Bit 7-0 Name PSM7-0 Functional Description CRC Multiframe Counter for PRBS. This counter is incremented for each received CRC submultiframe. It is cleared when the PRBS Error Counter is written to. Table 51 - CRC Multiframe Counter for PRBS (Page 04H, Address 11H) Bit Name Functional Description 7 - 0 IV7 -IV0 Interrupt Vector. The interrupt vector status word contains an interrupt vector that indicates the category of the last interrupt as shown in Table 11. Table 52 - Interrupt Vector Status Word (Page 04H, Address 12H) Bit 7-2 1-0 Name --EC9-8 Unused Functional Description E Bit Error Counter. The most significant 2 bits of the E bit error counter. Table 53 - E bit Error Counter (Page 04H, Address 13H) 63 Zarlink Semiconductor Inc. MT9075B Data Sheet Bit 7-0 Name EC7-0 Functional Description E bit Error Counter. The least significant eight bits of the E-bit error counter. Table 54 - E bit Error Counter (Page 04H, Address 14H) Bit 7-0 Name JFC7 JFC0 Functional Description Jitter FIFO Counter. This is an 8 bit counter that is incremented when the FIFO read pointer comes within 4 words of an underflow or overflow condition. During this time the read clock will abruptly slow-down or speedup to avoid an overflow or underflow condition. Table 55 - Jitter FIFO Counter (Page 04H, Address 15H) Bit 7 Name PRBSO Functional Description PRBS Error Counter Overflow. This bit is set to one when the PRBS Error Counter (page 04H address 10H) overflows. It is cleared when this register is read. E Bit Counter Overflow. This bit is set to one when the E bit Counter (page 04H, address 13H & 14H) overflows. It is cleared when this register is read. Jitter Attenuator FIFO Counter Overflow. This bit is set to one when the Jitter Attenuator FIFO Counter (page 04H, address 15H) overflows. It is cleared when this register is read. Lost of Basic Frame Synchronization Counter Overflow. This bit is set to one when the Loss of Basic Frame Synchronization Counter (page 04H address 17H) overflows. It is cleared when this register is read. Bit Error Rate Counter Overflow. This bit is set to one when the Bit Error Rate Counter (page 04H, address 18H) overflows. It is cleared when this register is read. Errored Frame Alignment Signal Counter Overflow. This bit is set to one when the Errored Frame Alignment Signal Counter (page 04H, address 1AH) overflows. It is cleared when this register is read. Bipolar Violation Counter Overflow. This bit is set high when the Bipolar Violation Counter (page 04H, address 1CH & 1DH) overflows. It is cleared when this register is read. CRC Error Counter Overflow. This bit is set high when the CRC Error Counter (page 04H, address 1EH & 1FH) overflows. It is cleared when this register is read. Table 56 - Overflow Reporting Latch (Page 04H, Address 16H) 6 5 FEBEO JFO 4 LBO 3 BERO 2 EFO 1 BPVO 0 CCO 64 Zarlink Semiconductor Inc. MT9075B Bit 7-0 Name LBF7 LBF0 Functional Description Data Sheet Loss of Basic Frame Synchronization Counter. This eight bit counter will be incremented once for every 125 microsecond period in which basic frame synchronization is lost. It will be cleared by a basic frame synchronization to loss of basic frame synchronization state transition. Table 57 - Loss of Basic Synchronization Counter (Page 04H, Address 17H) Bit 7-0 Name BR7 BR0 Functional Description Bit Error Rate Counter. An eight bit counter that contains the total number of errors in the frame alignment signal. Table 58 - Bit Error Rate Counter (Page 04H, Address 18H) Bit 7-2 1 Name --RCRC1 Unused Functional Description RAI and Continuous CRC Error bit 1. This bit goes high when received A (RAI) bits were high and receive E bits were low, continuously, for more than 10 milliseconds, but less than 450 milliseconds. This bit is cleared when read. RAI and Continuous CRC Error Bit 0. This bit goes high when received A (RAI) bits are high and receive E bits are low, continuously, for more than 10 milliseconds. Table 59 - RAI With CRC Error Word (Page 04H, Address 19H) 0 RCRC0 Bit 7-0 Name EFAS7 EFAS0 Functional Description Errored FAS Counter. An 8 bit counter that is incremented once for every receive frame alignment signal that contains one or more errors. Table 60 - Errored Frame Alignment Signal Counter (Page 04H, Address 1AH) 65 Zarlink Semiconductor Inc. MT9075B Bit 7 6 5 4 3 2 1 0 Name RAI AIS AIS16 LOS AUXP MFALM RSLIP --Functional Description Data Sheet Remote Alarm Indication. This bit is set to one in the event of receipt of a remote alarm, i.e. A(RAI) = 1. It is cleared when the register is read. Alarm Indication Signal. This bit is set to one in the event of receipt of an all ones alarm. It is cleared when the register is read. AIS Time Slot 16 Alarm. This bit is set to one in the event of receipt of an all ones alarm in the time slot 16. It is cleared when the register is read. Loss of Signal. This bit is set to one in the event of loss of received signal. It is cleared when the register is read. Auxiliary Alarm. This bit is set to one in the event of receipt of the auxiliary alarm pattern. It is cleared when the register is read. Multiframe Alarm. This bit is set to one in the event of receipt of a multiframe alarm. It is cleared when the register is read. Received Slip. This bit is set to one in the event of receive elastic buffer slip. It is cleared when the register is read. Unused. Table 61 - Alarm Reporting Latch (Page 04H, Address 1BH) Bit 7-0 Name BPV15 BPV8 Functional Description BPV Counter. The most significant eight bits of a 16 bit counter that is incremented once for every bipolar violation error received. Table 62 - Most Significant Bits of the BPV Counter (Page 04H, Address 1CH) Bit 7-0 Name BPV7 BPV0 Functional Description BPV Counter. The least significant eight bits of a 16 bit counter that is incremented once for every bipolar violation error received. Table 63 - Least Significant Bits of the PBV Counter (Page 04H, Address 1DH) 66 Zarlink Semiconductor Inc. MT9075B Bit 7-2 1-0 Name --CC9-CC8 Unused Functional Description Data Sheet CRC-4 Error Counter. The most significant eight bits of the CRC-4 error counter. Table 64 - CRC-4 Error Counter (Page 04H, Address 1EH) Bit 7-0 Name CC7CC0 Functional Description CRC-4 Error Counter. The least significant eight bits of the CRC-4 error counter. Table 65 - CRC-4 Error Counter (Page 04H, Address 1FH) Per Channel Transmit Signalling (Page 05H) Table 62 describes Page 05H, addresses 11H to 1FH, which contains the Transmit Signalling Control Words for PCM 30 channels 1 to 15 and 16 to 30. Control of these bits is through the processor or controller port when page 01H, address 1AH, bit 3, RPSIG = 1. Bit 7-4 Name A(n), B(n), C(n), D(n) (1110) A(n+15), B(n+15), C(n+15), D(n+15) (0101) Functional Description Transmit Signalling Bits for Channel n. These bits are transmitted on the PCM 30 2048 kbit/sec. link in bit positions one to four of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n. Transmit Signalling Bits for Channel n + 15. These bits are transmitted on the PCM 30 2048 kbit/sec. link in bit positions five to eight of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n + 15. 3-0 Table 66 - Transmit Channel Associated Signalling (Page 05H) Serial per channel transmit signalling control through CSTi is selected when bit RPSIG is zero. Table 63 describes the function of CSTi time slots 1 to 15, and Table 64 describes the function of CSTi time slots 17 to 31, when page 01H, address 1CH, bit 1, MSN = 1. If MSN = 0, the signalling nibble appears at least significant bits (bits 3-0). 67 Zarlink Semiconductor Inc. MT9075B Bit 7-4 Name A(n), B(n), C(n), D(n) --Functional Description Data Sheet Transmit Signalling Bits for Channel n. These bits are transmitted on the PCM 30 2048 kbit/sec. link in bit positions one to four of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n. Unused. Table 67 - Transmit CAS Channels 1 to 15 (CSTi) 3-0 Bit 7-4 Name A(n+15), B(n+15), C(n+15), D(n+15) Functional Description Transmit Signalling Bits for Channel n + 15. These bits are transmitted on the PCM 30 2048 kbit/sec. link in bit positions five to eight of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n + 15. Unused. Table 68 - Transmit CAS Channels 16 to 30 (CSTi) 3-0 --- Per Channel Receive Signalling (Page 06H) Page 06H, addresses 11H to 1FH contain the Receive Signalling Control Words for PCM 30 channels 1 to 15 and 16 to 30. Bit 7-4 Name A(n), B(n), C(n), D(n) A(n+15), B(n+15), C(n+15), D(n+15) Functional Description Receive Signalling Bits for Channel n. These bits are received on the PCM 30 2048 kbit/sec. link in bit positions one to four of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n. Receive Signalling Bits for Channel n + 15. These bits are received on the PCM 30 2048 kbit/sec. link in bit positions five to eight of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n + 15. Table 69 - Receive CAS (Page 06H) 3-0 Serial per channel receive signalling status bits also appear on ST-BUS stream CSTo. Table 66 describes the function of CSTo time slots 1 to 15, and Table 67 describes the function of CSTo time slots 17 to 31, when page 01H, address 1CH, bit 1, MSN = 1. If MSN = 0, the signalling nibble appears at least significant bits (bits 3-0). Bit 7-4 Name A(n), B(n), C(n), D(n) --Functional Description Receive Signalling Bits for Channel n. These bits are received on the PCM 30 2048 kbit/sec. link in bit positions one to four of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n. Unused - High impedance state. Table 70 - Receive CAS Channels 1 to 15 (CSTo) 3-0 68 Zarlink Semiconductor Inc. MT9075B Data Sheet Bit 7-4 Name A(n+15), B(n+15), C(n+15), D(n+15) Functional Description Receive Signalling Bits for Channel n + 15. These bits are received on the PCM 30 2048 kbit/sec. link in bit positions five to eight of time slot 16 in frame n (where n = 1 to 15), and are the A, B, C, D signalling bits associated with channel n + 15. Unused - High impedance state. Table 71 - Receive CAS Channels 17 to 31 (CSTo) 3-0 --- Per Time Slot Control Words (Pages 07H and 08H) The control functions described by Table 69 are repeated for each PCM-30 channel. Page 07H addresses 10H to 1FH correspond to time slots 0 to 15, while page 08H addresses 10H to 1FH correspond to time slots 16 to 31. Page 07H Address: Equivalent Timeslots PCM 30 0 0 0 30 16 1 1 1 17 2 2 2 18 3 3 3 19 4 4 4 20 5 5 5 21 6 6 6 22 7 7 7 23 8 8 8 24 9 9 9 25 10 10 10 26 11 11 11 27 12 12 12 28 13 13 13 29 14 14 14 30 15 15 15 31 Page 08H Address: Equivalent Timeslots PCM Table 72 - Mapping to CEPT Channels (Page 07H and 08H) Bit 7 Name TXMSG (0) Functional Description Transmit Message Mode. If one, the data from the corresponding address location of Tx message mode buffer is transmitted in the corresponding PCM 30 time slot. If zero, the data on DSTi is transmitted on the corresponding PCM 30 time slot. Tx message mode buffer are accessed from pages 0FH and 10H. Alternate Digit Inversion. If one, the corresponding transmit time slot data on DSTi has every second bit inverted, and the corresponding PCM 30 receive time slot has every second bit inverted. If zero, this bit has no effect on channel data. Remote Time Slot Loopback. If one, the corresponding PCM 30 receive time slot is looped to the corresponding PCM 30 transmit time slot. This received time slot will also be present on DSTo. If zero, the loopback is disabled. Table 73 - Per Time Slot Control Word (Page 07H and 08H) 6 ADI (0) 5 RTSL (0) 69 Zarlink Semiconductor Inc. MT9075B 4 LTSL (0) Data Sheet Local Time Slot Loopback. If one, the corresponding transmit time slot is looped to the corresponding receive time slot. This transmit time slot will also be present on the transmit PCM 30 stream. If zero, this loopback is disabled. Transmit Test. If one and control bit ADSEQ (page 02H, address 13H) is one, the A-law digital milliwatt will be transmitted in the corresponding PCM 30 time slot. When one and ADSEQ is zero, a Pseudo-Random Bit Sequence (PRBS 215-1) will be transmitted is the corresponding PCM 30 time slot. More than one time slot may be activated at once. If zero, neither of these test signals will be connected to the corresponding time slot. Receive Test. If one and control bit ADSEQ (page 02H, address 13H) is one, the A-law digital milliwatt will be transmitted in the corresponding DSTo time slot. When one and ADSEQ is zero, a Pseudo Random Bit Sequence (PRBS 215-1) receiver will be connected to the corresponding time slot. This receiver circuit will synchronize to the transmit PRBS signal and perform a bit comparison of the two sequences. If zero, neither of these test signals will be connected to the corresponding time slot. Unused. Unused. Table 73 - Per Time Slot Control Word (Page 07H and 08H) 3 TTST (0) 2 RRST (0) 1 0 ----- One Second Status (Page 09H) Address (A4A3A2A1A0) 10H (Table 75) 11H (Table 76) 12H (Table 77) 13H (Table 78) 14H (Table 79) 15H (Table 80) 16H (Table 81) 17H - 1FH Register MSB Latched E-bit Error Count LSB Latched E-bit Error Count Latched Errored Frame Alignment Signal Count MSB Latched BPV Error Count LSB Latched BPV Error Count MSB Latched CRC Error Count LSB Latched CRC Error Count --LEC9-LEC8 LEC7-LEC0 LEFAS7-LEFAS0 LBPV15-LBPV8 LBPV7-LBPV0 LCC9-LCC8 LCC7-LCC0 Unused. Names Table 74 - One Second Status (Page 09H) 70 Zarlink Semiconductor Inc. MT9075B Bit 7-2 1-0 Name --LEC9 LEC8 Unused Functional Description Data Sheet Latched E bit error counter (the most significant two bits). These bits are sampled every second by the internal one second timer. Table 75 - Latched E-bit Error Counter (Page 09H, Address 10H) Bit 7-0 Name LEC7 LEC0 Functional Description Latched E Bit Error Counter (the least significant eight bits). These bits are sampled every second by the internal one second timer. Table 76 - Latched E-bit Error Counter (Page 09H, Address 11H) Bit 7-0 Name LEFAS7 LEFAS0 Functional Description Latched Errored FAS Counter. An 8 bit counter that is incremented once for every receive frame alignment signal that contains one or more errors. These bits are sampled every second by the internal one second timer. Table 77 - Latched Errored Frame Alignment Signal Counter (Page 09H, Address 12H) Bit 7-0 Name LBPV15 LBPV8 Functional Description Latched BPV Counter (most significant 8 bits). The BPV counter is incremented once for every bipolar violation error received. These bits are sampled every second by the internal one second timer. Table 78 - Most Significant Bits of the Latched BPV Counter (Page 09H, Address 13H) Bit 7-0 Name LBPV7 LBPV0 Functional Description Latched BPV Counter (least significant 8 bits). The least significant eight bits of a 16 bit counter that is incremented once for every bipolar violation error received. These bits are sampled every second by the internal one second timer. Table 79 - Least Significant Bits of the Latched BPV Counter (Page 09H, Address 14H) 71 Zarlink Semiconductor Inc. MT9075B Bit 7-2 1-0 Name --LCC9 LCC8 Unused Functional Description Data Sheet Latched CRC-4 Error Counter (Bits 9 & 8). These are the most significant two bits of the CRC-4 error counter. These bits are sampled every second by the internal one second timer. Table 80 - Latched CRC-4 Error Counter (Page 09H, Address 15H) Bit 7-0 Name LCC7 LCC0 Functional Description Latched CRC-4 Error Counter (Bits 7-0). These are the least significant eight bits of the CRC-4 error counter. These bits are sampled every second by the internal one second timer. Table 81 - Latched CRC-4 Error Counter (Page 09H, Address 16H) 72 Zarlink Semiconductor Inc. MT9075B HDLC Control and Status (Page 0BH & 0CH) Register Address Control (Write/Verify) 10H (Table 83) 11H (Table 84) 12H (Table85) & (Table 86) 13H (Table 87) 14H (Table 88) 15H (Table 89) 16H (Table 90) 17H (Table 91) 18H (Table 92) 19H (Table 93) 1AH (Table 94) 1BH (Table 95) 1CH (Table 96) 1DH (Table 97) 1EH (Table 98) Address Recognition 1 Address Recognition 2 TX FIFO RX FIFO HDLC Control 1 --HDLC Control 2 Interrupt Mask ------TX byte count Test Control --HDLC Control 3 HDLC Control 4 --HDLC Status ----Interrupt Status Rx CRC MSB Rx CRC LSB ----Test Status ----- Data Sheet Name Status (Read) ----Adr16-Adr10, A1en Adr26-Adr20, A2en Bit7-Bit0 Adrec, RxEN, TxEN, EOP, FA, Mark-idle, RSV, RSV Intgen, Idle-Chan, RQ9, RQ8, Txstat2, Txstat1, Rxstat2, Rxstat1 Intsel, Cycle, Tcrci, Seven, RSV, RSV, Rxfrst, Txfrst Ga, EOPD, TEOP, FA:Txunder, RxFf, RxOvfl Ga, EOPD, TEOP, FA:Txunder, RxFf, RxOvfl Crc15-Crc8 Crc7-Crc0 Cnt7-Cnt0 HRST, RTloop, RSV, RSV, RSV, Ftst, RSV, Hloop RXclk, TXclk, Vcrc, Vaddr RFD2-0, TFD2-0 RFFS2-0, TFLS2-0 EOPR, EOPR, TxFl, TxFl, Table 82 - HDLC 0 & 1 Control and Status (Pages 0BH & 0CH) 73 Zarlink Semiconductor Inc. MT9075B Bit 7-2 Name Adr16 Adr11 (000000) Adr10 (0) A1en (0) Functional Description Data Sheet A six bit mask used to interrogate the first byte of the received address. Adr16 is the MSB. 1 0 This bit is used in address comparison, if control bit Seven, bit 4 of HDLC Control Register 2 (address 15H) is one. When this bit is high, this six (or seven) bit mask is used in address comparison of the first address byte. If address recognition is enabled, any packet failing the address comparison will not be stored in the RX FIFO. A1en must be high for All-call (1111111) address recognition for single byte address. When this bit is low, this bit mask is ignored in address comparison Table 83 - HDLC Address Recognition Register1 (Page 0BH & 0CH, Address 10H) Bit 7-1 Name Ad26 Ad20 (000000) A2en (0) Functional Description A seven bit mask used to interrogate the second byte of the received address. Adr26 is MSB. This mask is ignored (as well as first byte mask) if all call address (1111111) is received. 0 When this bit is one, this seven bit mask is used in address comparison of the second address byte. If address recognition is enabled, any packet failing the address comparison will not be stored in the Rx FIFO. A2en must be one for All-call address recognition. When this bit is zero, this bit mask is ignored in address comparison Table 84 - HDLC Address Recognition Register 2 (Pages 0BH & 0CH, Address 11H) Bit 7-0 Name Bit7 Bit0 Functional Description This eight bit word is tagged with the two status bits (EOP and FA) from the Control Register 1, and the resulting 10 bit word is written to the TX FIFO. The FIFO status is not changed immediately after a write or read occurs. It is updated after the data and the read/write pointers have settled. Table 85 - TX FIFO Write Register (Pages 0BH & 0CH, Address 12H) 74 Zarlink Semiconductor Inc. MT9075B Bit 7-0 Name Bit7 Bit0 Functional Description Data Sheet This is the received data byte read from the RX FIFO. The status bits of this byte can be read from the status register. The FIFO status is not changed immediately when a write or read occurs. It is updated after the data and the read/write pointers have settled. Table 86 - RX FIFO Read Register (Pages 0BH & 0CH, Address 12H) Bit 7 Name Adrec (0) Functional Description Address Recognition. When one this bit will enable address recognition. This forces the receiver to recognize only those packets having the unique address as programmed in the Receive Address Recognition Registers or if the address is an All call address. Receive Enable. When one the receiver will be immediately enabled and will begin searching for flags, Go-Aheads etc. When zero this bit will disable the HDLC receiver after the rest of the packet presently being received is finished. The receiver internal clock is disabled. Transmit Enable. When one the transmitter will be immediately enabled and will begin transmitting data, if any, or go to a mark idle or interframe time fill state. When zero this bit will disable the HDLC transmitter after the completion of the packet presently being transmitted. The transmitter internal clock is disabled. End Of Packet. Forms a tag on the next byte written the TX FIFO, and when set will indicate an end of packet byte to the transmitter, which will transmit an FCS following this byte. This facilitates loading of multiple packets into TX FIFO. Reset automatically after a write to the TX FIFO occurs. Frame Abort. Forms a tag on the next byte written to the TX FIFO, and when set to one FA will indicate to the transmitter that it should abort the packet in which that byte is being transmitted. Reset automatically after a write to the TX FIFO. When zero, the transmitter will be in an idle state. When one it is in an interframe time fill state. These two states will only occur when the TX FIFO is empty. Reserved: Must be set to 0 for normal operation. Table 87 - HDLC Control Register 1 (Page 0BH &0CH, Address 13H) 6 RxEN (0) 5 TxEN (0) 4 EOP (0) 3 FA (0) 2 Mark-Idle (0) RSV (00) 1-0 75 Zarlink Semiconductor Inc. MT9075B Bit 7 Name Intgen Functional Description Data Sheet Interrupt Generation. Intgen is set to 1 when an interrupt (in conjunction with the Interrupt Mask Register) has been generated by the HDLC. This is an asynchronous event. It is reset when the Interrupt Register is read. Idle Channel. This bit is set to a 1 when an idle Channel state (15 or more ones) has been detected at the receiver. This is an asynchronous event. Status becomes valid after the first 15 bits or the first zero is received. Byte Status bits from RX FIFO. These bits determine the status of the byte to be read from RX FIFO as follows: RQ9 0 0 1 1 RQ8 0 1 0 1 Packet byte. First byte. Last byte of a good packet. Last byte of a bad packet. Byte Status 6 Idle Chan 5, 4 RQ9, RQ8 3, 2 Txstat2, Txstat1 Transmit Status. These bits indicate the status of the TX FIFO as follows: Txstat2 0 Txstat1 0 TX FIFO Status TX FIFO full up to the selected status level or more. See Table 93. The number of bytes in the TX FIFO has reached or exceeded the selected interrupt threshold level. See Table 94. TX FIFO empty. The number of bytes in the TX FIFO is less than the selected interrupt threshold level. See Table 94. 0 1 1 1 0 1 Table 88 - HDLC Status Register (Pages 0BH & 0CH, Address 14H) 76 Zarlink Semiconductor Inc. MT9075B 1, 0 Rxstat2, Rxstat1 Data Sheet Receive Status. These bits indicate the status of the RX FIFO as follows: Rxstat2 0 0 Rxstat1 0 1 RX FIFO Status RX FIFO empty. The number of bytes in the RX FIFO is less than the selected threshold level. See Table 94. RX FIFO full up to the selected status level or more. See Table 93. The number of bytes in the RX FIFO has reached or exceeded the selected interrupt threshold level. See Table 94. 1 0 1 1 Table 88 - HDLC Status Register (Pages 0BH & 0CH, Address 14H) 77 Zarlink Semiconductor Inc. MT9075B Bit 7 Name Intsel (0) Cycle (0) Tcrci (0) Functional Description Data Sheet Interrupt Selection. When one, this bit will cause bit 2 of the Interrupt Register to reflect a TX FIFO underrun (TXunder). When zero, this interrupt will reflect a frame abort (FA). When one, this bit will cause the transmit byte count to cycle through the value loaded into the Transmit Byte Count Register. Transmit CRC Inhibited. When one, this bit will inhibit transmission of the CRC. That is, the transmitter will not insert the computed CRC onto the bit stream after seeing the EOP tag byte. This is used in V.120 terminal adaptation for synchronous protocol sensitive UI frames. Seven Bits Address Recognition. When one, this bit will enable seven bits of address recognition in the first address byte. The received address byte must have bit 0 equal to 1 which indicates a single address byte is being received. Reserved, must be zero for normal operation. Reserved, must be zero for normal operation. RX FIFO Reset. When one, the RX FIFO will be reset. This causes the receiver to be disabled until the next reception of a flag. The status register will identify the FIFO as being empty. However, the actual bit values in the RX FIFO will not be reset. TX FIFO Reset. When one, the TX FIFO will be reset. The Status Register will identify the FIFO as being empty. This bit will be reset when data is written to the TX FIFO. However, the actual bit values of data in the TX FIFO will not be reset. It is cleared by the next write to the TX FIFO. Table 89 - HDLC Control Register 2 (Pages 0BH & 0CH, Address 15H) 6 5 4 Seven (0) 3 2 1 RSV (0) RSV (0) Rxfrst (0) 0 Txfrst (0) Bit 7-0 Name Ga, EOPD, TEOP, EOPR, TxFl, FA: Txunder, RxFf & RxOvfl (000000) Functional Description This register is used with the Interrupt Register to mask out the interrupts that are not required by the microprocessor. Interrupts that are masked out will not produce an IRQ; however, they will set the appropriate bit in the Interrupt Register. An interrupt is disabled when the microprocessor writes a 0 to a bit in this register. This register is cleared on power reset. Table 90 - HDLC Interrupt Mask Register (Pages 0BH & 0CH, Address 16H) 78 Zarlink Semiconductor Inc. MT9075B Bit 7 6 Name GA EOPD Functional Description Data Sheet Go-Ahead. Indicates a go-ahead pattern was detected by the HDLC receiver. This bit is reset after a read. End Of Packet Detect. This bit is set to one when an end of packet (EOP) byte was written into the RX FIFO by the HDLC receiver. This can be in the form of a flag, an abort sequence or as an invalid packet. This bit is reset after a read. Transmit End Of Packet. This bit is set to one when the transmitter has finished sending the closing flag of a packet or after a packet has been aborted. This bit is reset after read. End Of Packet Read. This bit is set to one when the byte about to be read from the RX FIFO is the last byte of the packet. It is also set to one if the Rx FIFO is read and there is no data in it. This bit is reset after a read. TX FIFO Low. This bit is set to one when the TX FIFO is emptied below the selected low threshold level. This bit is reset after a read. Frame Abort/TX FIFO Underrun. When Intsel bit of Control Register 2 is low, this bit is set to one when a frame abort is received during packet reception. It must be received after a minimum number of bits have been received (26) otherwise it is ignored. When Intsel bit of Control Register 2 is one, this bit is set to one for a TX FIFO underrun indication. If one it indicates that a read by the transmitter was attempted on an empty Tx FIFO. This bit is reset after a read. 5 TEOP 4 EOPR 3 2 TxFL FA: Txunder 1 0 RxFf RxOvfl RX FIFO Full. This bit is set to one when the RX FIFO is filled above the selected full threshold level. This bit is reset after a read. RX FIFO Overflow. A one indicates that the 128 byte RX FIFO overflowed (i.e. an attempt to write to a 128 byte full RX FIFO). The HDLC will always disable the receiver once the receive overflow has been detected. The receiver will be re-enabled upon detection of the next flag, but will overflow again unless the RX FIFO is read. This bit is reset after a read. Table 91 - HDLC Interrupt Status Register (Page 0BH & 0CH, Address 17H) Bit 7-0 Name Crc15-8 Functional Description The MSB byte of the CRC received from the transmitter. These bits are as the transmitter sent them; that is, most significant bit first and inverted. This register is updated at the end of each received packet and therefore should be read when end of packet is detected. Table 92 - Receive CRC MSB Register (Pages 0BH & 0CH, Address 18H) 79 Zarlink Semiconductor Inc. MT9075B Bit 7-0 Name Crc7 - 0 Functional Description Data Sheet The LSB byte of the CRC received from the transmitter. These bits are as the transmitter sent them; that is, most significant bit first and inverted. This register is updated at the end of each received packet and therefore should be read when end of packet is detected. Table 93 - Receive CRC LSB Register (Pages 0BH & 0CH, Address 19H) Bit 7-0 Name Cnt7 - 0 (0000 0000) Functional Description The Transmit Byte Count Register. It is used to indicate the length of the packet about to be transmitted. When this register reaches the count of one, the next write to the Tx FIFO will be tagged as an end of packet byte. The counter decrements at the end of the write to the Tx FIFO. If the Cycle bit of Control Register 2 is set high, the counter will cycle through the programmed value continuously. Table 94 - Transmit Byte Count Register (Pages B & C, Address 1AH) 80 Zarlink Semiconductor Inc. MT9075B Bit 7 Name HRST (0000 0000) RTloop (0) Functional Description Data Sheet HDLC Reset. When this bit is set to one, the HDLC will be reset. This is similar to RESET being applied, the only difference being that this bit will not be reset automatically. This bit can only be reset by writing a zero twice to this location or applying RESET. RT Loopback. When this bit is set to one, receive to transmit HDLC loopback will be activated. Receive data, including end of packet indication, but not including flags or CRC, will be written to the TX FIFO as well as the RX FIFO. When the transmitter is enabled, this data will be transmitted as though written by the microprocessor. Both good and bad packets will be looped back. Receive to transmit loopback may also be accomplished by reading the RX FIFO using the microprocessor and writing these bytes, with appropriate tags, into the TX FIFO. Reserved; must be set to 0 for normal operation. Reserved; must be set to 0 for normal operation. Reserved; must be set to 0 for normal operation. FIFO Test. This bit when set to one allows the writing to the RX FIFO and reading of the TX FIFO through the microprocessor to allow more efficient testing of the FIFO status/interrupt functionality. This is done by making a TX FIFO write become a RX FIFO write and a RX FIFO read become a TX FIFO read. In addition, EOP/FA and RQ8/RQ9 are re-defined to be accessible (i.e. RX write causes EOP/FA to go to RX fifo input; TX read looks at output of TX FIFO through RQ8/RQ9 bits). Reserved; must be set to 0 for normal operation. Unused. Table 95 - HDLC Test Control Register (Pages 0BH & 0CH, Address 1BH) 6 5 4 3 2 RSV (0) RSV (0) RSV (0) Ftst (0) 1 0 RSV (0) --- 81 Zarlink Semiconductor Inc. MT9075B Bit 7-4 3 2 1 Name RSV RXclk TXclk Vcrc These bits are reserved. Functional Description Data Sheet This bit represents the receiver clock generated after the RXEN control bit is enabled, but before zero deletion is considered. This bit represents the transmit clock generated after the TXEN control bit is enabled, but before zero insertion is considered. This is the CRC recognition status bit for the receiver. Data is clocked into the register and then this bit is monitored to see if comparison was successful (bit will be one). This is the address recognition status bit for the receiver. Data is clocked into the Address Recognition Register and then this bit is monitored to see if comparison was successful (bit will be one). Table 96 - HDLC Test Status Register (Page 0BH & 0CH, Address 1CH) 0 Vaddr 82 Zarlink Semiconductor Inc. MT9075B Bit 7 6-4 Name --RFD2 - 0 (000) Unused. These bits select the Rx FIFO full status level: RFD2 0 0 0 0 1 1 1 1 3 2-0 --TFD2 - 0 (000) Unused. These bits select the Tx HDLC FIFO full status level: TFD2 0 0 0 0 1 1 1 1 TFD1 0 0 1 1 0 0 1 1 TFD0 0 1 0 1 0 1 0 1 RFD1 0 0 1 1 0 0 1 1 RFD0 0 1 0 1 0 1 0 1 Functional Description Data Sheet Full Status Level 16 32 48 64 80 96 112 128 Full Status Level 16 32 48 64 80 96 112 128 Table 97 - HDLC Control Register 3 (Pages 0BH & 0CH, Address 1DH) 83 Zarlink Semiconductor Inc. MT9075B Bit 7 6-4 Name --RFFS2 - 0 (000) Unused. Functional Description Data Sheet These bits select the RXFF (Rx FIFO Full) interrupt threshold level: RFFS2 0 0 0 0 1 1 1 1 RFFS1 0 0 1 1 0 0 1 1 RFFS0 0 1 0 1 0 1 0 1 RX FIFO Full Interrupt threshold Level. 64 72 80 88 96 104 112 120 3 2-0 --TFLS2 - 0 (000) Unused. These bits select the TXFL (Tx FIFO Low) interrupt threshold level: TFLS2 0 0 0 0 1 1 1 1 TFLS1 0 0 1 1 0 0 1 1 TFLS0 0 1 0 1 0 1 0 1 TX FIFO Low Interrupt threshold Level. 8 16 24 32 40 48 56 64 Table 98 - HDLC Control Register 4 (Pages 0BH & 0CH, Address 1EH) Transmit National Bit Buffer (Page 0DH) Page 0DH, addresses 10H to 14H contain the five bytes of the transmit national bit buffer (TNBB0 - TNBB4 respectively). This feature is functional only when control bit NBTB (page 01H, address 10H) is one. 84 Zarlink Semiconductor Inc. MT9075B Bit 7-0 Name TNBBn.F1 TNBBn.F15 Functional Description Data Sheet Transmit San+4 Bits Frames 1 to 15. This byte contains the bits transmitted in bit position n+4 of channel zero of frames 1, 3, 5, 7, 9, 11, 13 and 15 when CRC-4 multiframe alignment is used, or of consecutive odd frames when CRC-4 multiframe alignment is not used. n = 0 to 4 inclusive and corresponds to a byte of the receive national bit buffer. Table 99 - Transmit National Bit Buffer Bytes Zero to Four (Page 0DH) Receive National Bit Buffer (Page 0EH) Page 0EH, addresses 10H to 14H contain the five bytes of the receive national bit buffer (RNBB0 - RNBB4 respectively). Bit 7-0 Name RNBBn.F1 RNBBn.F15 Functional Description Receive San+4 Bits Frames 1 to 15. This byte contains the bits received in bit position n+4 of channel zero of frames 1, 3, 5, 7, 9, 11, 13 and 15 when CRC-4 multiframe alignment is used, or of consecutive odd frames when CRC-4 multiframe alignment is not used. n = 0 to 4 inclusive and corresponds to a byte of the receive national bit buffer. Table 100 - Receive National Bit Buffer Bytes Zero to Four (Page 0EH) Transmit Message Mode Buffer Zero and One (Pages 0FH and 10H) Pages 0FH and 10H together contain 32 byte storage locations for data that may be transmit onto the equivalent PCM 30 transmit timeslot. Transmission of these bytes is enabled by setting the TXMSG bits (bit 7) in the equivalent Per Time Slot Control Register (page 07H and 08H). Table 97 shows the mapping between the Tx Message Buffer addresses and the equivalent PCM 30 Channels. Page 0FH (Tx Message Buffer 0) Address: Equivalent Timeslots PCM 30 0 0 0 16 1 1 1 17 2 2 2 18 3 3 3 19 4 4 4 20 5 5 5 21 6 6 6 22 7 7 7 23 8 8 8 24 9 9 9 25 10 10 10 26 11 11 11 27 12 12 12 28 13 13 13 29 14 14 14 30 15 15 15 31 Page 10H (Tx Message Buffer 1) Address: Equivalent Timeslots PCM 30 Table 101 - Pages 0FH & 10H Address Mapping to CEPT Channels 85 Zarlink Semiconductor Inc. MT9075B Page 0FH, addresses 10H to 1FH contain the 16 bytes of transmit message buffer zero Bit 7-0 Name TxB0.n.7 TxB0.n.0 Functional Description Data Sheet Transmit Bits 7 to 0. This byte is transmit on a time slot when selected by the TXMSG bit of the appropriate per time slot control word. n = 0 to 15 and represents transmit timeslot numbers 0 to 15. Table 102 - Transmit Message Mode Buffer Zero (Page 0FH) Page 10H, addresses 10H to 1FH contain the 16 bytes of transmit message buffer one Bit 7-0 Name TxB1.n.7 TxB1.n.0 Functional Description Transmit Bits 7 to 0. This byte is transmit on a time slot when selected by the TXMSG bit of the appropriate per time slot control word. n = 0 to 15 and represents transmit timeslot numbers 16 to 31. Table 103 - Transmit Message Mode Buffer One (Page 10H) Receive Message Mode Buffer Zero and One (Pages 11H and 12H) Pages 11H and 12H - Receive Message Buffer 0 and 1 respectively, contain 32 bytes of memory. Each byte is updated once per frame by the equivalent PCM 30 channel from the receive data stream. Page 0FH (Rx Message Buffer 0) Address: Equivalent Timeslots PCM 30 0 0 0 16 1 1 1 17 2 2 2 18 3 3 3 19 4 4 4 20 5 5 5 21 6 6 6 22 7 7 7 23 8 8 8 24 9 9 9 25 10 10 10 26 11 11 11 27 12 12 12 28 13 13 13 29 14 14 14 30 15 15 15 31 Page 10H (Rx Message Buffer 1) Address: Equivalent Timeslots PCM 30 Table 104 - Pages 11H & 12H Address Mapping to CEPT Channels Page 11H, addresses 10H to 1FH contain the 16 bytes of receive message buffer zero Bit 7-0 Name RxB0.n.7 RxB0.n.0 Functional Description Receive Bits 7 to 0. Each byte is sourced from a time slot coming from the line data. n=0 to 15 represents receive timeslots 0 to 15. Table 105 - Receive Message Buffer Zero (Page 11H) 86 Zarlink Semiconductor Inc. MT9075B Page 12H, addresses 10H to 1FH contain the 16 bytes of receive message buffer one Bit 7-0 Name RxB1.n.7 RxB1.n.0 Functional Description Data Sheet Receive Bits 7 to 0. Each byte is sourced from a time slot coming from the line data. n=0 to 15 represents receive timeslots 16 to 31. Table 106 - Receive Message Buffer One (Page 12H) Absolute Maximum Ratings* - Voltages are with respect to ground (VSS) unless otherwise stated. Parameter 1 2 3 4 5 Supply Voltage Voltage at Digital Inputs Current at Digital Inputs Voltage at Digital Outputs Current at Digital Outputs Symbol VDD VI II VO IO -0.3 Min. -0.3 -0.3 Max. 7 VDD + 0.3 30 VDD + 0.3 30 125 Units V V mA V mA °C -55 6 Storage Temperature TST * Exceeding these values may cause permanent damage. Functional operation under these conditions is not implied. Recommended Operating Conditions Characteristics 1 Operating Temperature - Voltages are with respect to ground (VSS) unless otherwise stated. Sym TOP Min -40 Typ‡ Max 85 Units °C Test Conditions 4.75 5 5.25 V 2 Supply Voltage VDD ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing. DC Electrical Characteristics† - Voltages are with respect to ground (VSS) unless otherwise stated. Characteristics 1 Supply Current Sym. IDD Min. Typ.‡ Max. 150 Units mA Test Conditions Outputs unloaded. Transmitting an all 1’s signal. 2 3 4 5 6 7 8 Input High Voltage (Digital Inputs) Input Low Voltage (Digital Inputs) Input Leakage (Digital Inputs)* Output High Voltage (Digital Outputs) Output High Current (Digital Outputs) Output Low Voltage (Digital Outputs) Output Low Current (Digital Outputs) VIH VIL IIL VOH IOH VOL IOL 2.0 0 2.4 7 VSS 7 VDD 0.8 10 VDD 0.4 V V µA V mA V mA VI = 0 to VDD IOH=7 mA @ VOH=2.4 V Source VOH=2.4 V IOL=2 mA @ VOL= 0.4 V Sink VOL=0.4 V to VDD 10 µA VO = 0 9 High Impedance Leakage (Digital I/O) IOZ † Characteristics are for clocked operation over the ranges of recommended operating temperature and supply voltage. ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing. ‡ * Limits for input leakage on pin names: tdi, tck, tms and trstb are max 100uA. 87 Zarlink Semiconductor Inc. MT9075B AC Electrical Characteristics - Timing Parameter Measurement Voltage Levels Characteristics 1 2 3 4 TTL Threshold Voltage CMOS Threshold Voltage Rise/Fall Threshold Voltage High Rise/Fall Threshold Voltage Low Sym. VTT VCT VHM VLM Level 1.5 0.5∗VDD 2.0 0.7∗VDD 0.8 0.3∗VDD Units V V V V V V Data Sheet Conditions/Notes See Note 1 See Note 1 TTL CMOS TTL CMOS Note 1: Timing for output signals is based on the worst case result of the combination of TTL and CMOS thresholds. AC Electrical Characteristics† - Motorola Microprocessor Timing Characteristics 1 2 3 4 5 6 7 8 9 10 11 12 13 14 DS low DS High CS Setup R/W Setup Address Setup CS Hold R/W Hold Address Hold Data Delay Read Data Hold Read Data Active to High Z Delay Data Setup Write Data Hold Write * Sym. tDSL tDSH tCSS tRWS tADS tCSH tRWH tADH tDDR tDHR tDAZ tDSW tDHW Min. 70 50 0 10 10 0 15 15 Typ.‡ Max. Units ns ns ns ns ns ns ns ns Test Conditions 80 80 80 10 10 ns ns ns ns ns CL=50pF, RL=1kΩ CL=50pF, RL=1kΩ tCYC 120 ns Cycle Time † Characteristics are for clocked operation over the ranges of recommended operating temperature and supply voltage ‡ Typical figures are at 25°Cand are for design aid only: not guaranteed and not subject to production testing. * This cycle time is for all accesses other than HDLC FIFOs. For HDLC FIFO accesses, a minimum 100ns is required between successive Read/Write operations. 88 Zarlink Semiconductor Inc. MT9075B Data Sheet tCYC tDSL DS tDSH tCSS CS tRWS R/W tADS A0-A4 tDDR D0-D7 READ VALID DATA tDSW D0-D7 WRITE Note: DS and CS may be connected together. VALID DATA tDHW tDHR VTT tDAZ VTT,VCT tADH VTT tRWH VTT tCSH VTT VTT Figure 11 - Motorola Microprocessor Timing AC Electrical Characteristics† - Intel Microprocessor Timing Characteristics 1 2 3 4 5 6 7 8 9 10 11 RD low RD High CS Setup CS Hold Address Setup Address Hold Data Delay Read Data Active to High Z Delay Data Setup Write Data Hold Write * Sym. tRDL tRDH tCSS tCSH tADS tADH tDDR tDAZ tDSW tDHW Min. 60 50 0 0 10 15 Typ.‡ Max. Units ns ns ns ns ns ns Test Conditions 80 80 10 10 ns ns ns ns CL=50pF, RL=1kΩ. tCYC 110 Cycle Time † Characteristics are for clocked operation over the ranges of recommended operating temperature and supply voltage ‡Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing. * This cycle time is for all accesses other than HDLC FIFOs. For HDLC FIFO accesses, a minimum 100ns is required between successive Read/Write operations. 89 Zarlink Semiconductor Inc. MT9075B Data Sheet tCYC RD tRDL tRDH tCSS CS tCSH WR tADS A0-A4 tDDR D0-D7 READ VALID DATA tDSW D0-D7 WRITE VALID DATA tDHW VTT tDAZ VTT,VCT tADH tADH VTT VTT tCSH VTT VTT Figure 12 - Intel Microprocessor Timing AC Electrical Characteristics - Transmit Data Link Timing Characteristic 1 2 3 Data Link Clock Output Delay Data Link Setup Data Link Hold Sym. tTDC tDLS tDLH 10 10 Min. Typ. Max. 35 Units ns ns ns Test Conditions 50pF 90 Zarlink Semiconductor Inc. MT9075B Data Sheet F0b TIME SLOT 0 Bits 4,3,2,1,0 Example A - 20 kb/s TxDLCLK TxDL TxDLCLK TxDL Example B - 12 kb/s Figure 13 - Transmit Data Link Functional Timing C4b tTDC TxDLCLK tDLS TxDL VTT VTT,VCT tDLH VTT Figure 14 - Transmit Data Link Timing Diagram 91 Zarlink Semiconductor Inc. MT9075B AC Electrical Characteristics - Receive Data Link Timing Characteristic 1 2 Data Link Clock Output Delay Data Link Output Delay Sym. tRDC tRDD 45 Min. Typ. Max. 150 Units ns ns Data Sheet Test Conditions 50pF 50pF RxFP TIME SLOT 0 Bits 4,3,2,1,0 Example A - 20 kb/s RxDLCLK RxDL RxDLCLK RxDL Example B - 12 kb/s Figure 15 - Receive Data Link Functional Timing E2o tRDC RxDLCLK tRDD RxDL tRDC VTT VTT,VCT VTT,VCT Figure 16 - Receive Data Link Timing Diagram 92 Zarlink Semiconductor Inc. MT9075B AC Electrical Characteristics - Transmit 64 k Common Channel Timing Characteristic 1 2 Transmit Common Channel Setup Transmit Common Channel Hold Sym. tTCS tTCH Min. 15 15 Typ. Max. Units ns ns Data Sheet Test Conditions F0b STBUS Channel Times 0 1 2 3 4 5 6 7 8 9 10 11 12 Internal Clock CSTi Figure 17 - Transmit 64 k Common Channel Functional Timing C4b 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 VTT Internal Clock tTCS CSTi tTCH VTT Figure 18 - Transmit 64 k Common Channel Timing Diagram 93 Zarlink Semiconductor Inc. MT9075B AC Electrical Characteristics - Receive 64 k Common Channel Timing Characteristic 1 Receive Common Channel Output Delay Sym. tRCD Min. Typ. Max. 60 Units ns Data Sheet Test Conditions 50 pF Receive Frame Boundary Rx64KCK CSTo Figure 19 - Receive 64 k Common Channel Functional Timing Rx64KCK VTT tRCD CSTo VTT,VCT Figure 20 - Receive 64 k Common Channel Timing Diagram 94 Zarlink Semiconductor Inc. MT9075B AC Electrical Characteristics - ST-BUS/GCI Timing Characteristic 1 2 3 4 5 6 7 8 C4b Clock Width High or Low C4b Clock Width High or Low Frame Pulse Setup Frame Pulse Hold Frame Pulse Delay Serial Input Setup Serial Input Hold Serial Output Delay Sym. t4WI t4WO tFPS tFPH tFPD tSIS tSIH tSOD Min. 80 110 10 10 12 15 15 54 Typ. Max. 164 135 Units ns ns ns ns ns ns ns ns 50pF Data Sheet Test Conditions C4b as input C4b as output F0b as input F0b as input F0b as output ST-BUS Bit Cells Channel 31 Bit 0 Channel 0 Bit 7 Channel 0 Bit 6 Channel 0 Bit 5 F0b C4b Figure 21 - ST-BUS Functional Timing Diagram ST-BUS Bit Stream Bit Cell Bit Cell Bit Cell tFPH F0b tFPS C4b (Input) tSIH All Input Streams tSIS tSOD All Output Streams VTT,VCT VTT t4WI t4WI VTT VTT Figure 22 - ST-BUS Timing Diagram 95 Zarlink Semiconductor Inc. MT9075B Data Sheet ST-BUS Bit Stream Bit Cell Bit Cell Bit Cell F0b (Output) tFPD C4b (Output) tSIH All Input Streams tSOD All Output Streams tSIS t4WO tFPD t4WO VTT VTT VTT VTT,VCT F igure 23 - ST-BUS Timing Diagram (Output Clocks) ST-BUS Bit Cells Channel 31 Bit 0 Channel 0 Bit 7 Channel 0 Bit 6 Channel 0 Bit 5 F0b C4b Figure 24 - GCI Functional Timing Diagram 96 Zarlink Semiconductor Inc. MT9075B Data Sheet ST-BUS Bit Stream Bit Cell Bit Cell Bit Cell F0b (Input) tFPS C4b (Input) tFPH t4WI VTT VTT tSIH t4WI VTT tSIS tSOD All Input Streams All Output Streams VTT,VCT Figure 25 - GCI Timing Diagram (Input Clocks) ST-BUS Bit Stream Bit Cell Bit Cell Bit Cell tFPD F0b (Output) VTT tFPD t4WO VTT tSIH All Input Streams tSOD All Output Streams tSIS VTT,VCT t4WO VTT C4b (Output) Figure 26 - GCI Timing Diagram (Output Clocks) 97 Zarlink Semiconductor Inc. MT9075B AC Electrical Characteristics - Multiframe Timing Characteristic 1 2 3 Receive Multiframe Output Delay Transmit Multiframe Setup Transmit Multiframe Hold Sym. tMOD tMS tMH 50 50 * Min. Typ. Max. 50 Units ns ns ns Data Sheet Test Conditions 50 pF * 256 C2 periods 100nsec Frame 15 DSTo BIt Cells F0b Bit 7 Bit 6 Bit 5 Bit 4 Bit 0 Bit 7 Bit 6 Bit 5 Frame 0 Bit 4 Bit 0 Bit 7 C4b (4.096 MHz) RxMF Figure 27 - Receive Multiframe Functional Timing Frame N DSTi Bit Cells F0b C4b (4.096 MHz) Bit 7 Bit 6 Bit 5 Bit 4 Bit 0 Bit 7 Bit 6 Bit 5 Frame 0 Bit 4 Bit 0 Bit 7 TxMF Figure 28 - Transmit Multiframe Functional Timing 98 Zarlink Semiconductor Inc. MT9075B Data Sheet F0b VTT tMOD C4b tMOD RxMF(1) tMH2 VTT VTT,VCT tMS TxMF(1) Note (1) tMH VTT : These two signals do not have a defined phase relationship Figure 29 - Multiframe Timing Diagram 2.0 ms FRAME 15 FRAME 0 •••••••• FRAME 14 FRAME 15 FRAME 0 TIME SLOT 0 TIME SLOT 1 •••• 125 µs TIME SLOT 30 TIME SLOT 31 Most Significant Bit (First) BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7 BIT 8 Least Significant Bit (Last) (8/2.048) µs Figure 30 - PCM 30 Format 125µs CHANNEL 31 CHANNEL 0 ••• CHANNEL 30 CHANNEL 31 CHANNEL 0 Most Significant Bit (First) BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 Least Significant Bit (Last) (8/2.048)µs Figure 31 - ST-BUS Stream Format 99 Zarlink Semiconductor Inc. For more information about all Zarlink products visit our Web Site at w ww.zarlink.com Information relating to products and services furnished herein by Zarlink Semiconductor Inc. or its subsidiaries (collectively “Zarlink”) is believed to be reliable. However, Zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from the application or use of any such information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may result from such application or use. Neither the supply of such information or purchase of product or service conveys any license, either express or implied, under patents or other intellectual property rights owned by Zarlink or licensed from third parties by Zarlink, whatsoever. Purchasers of products are also hereby notified that the use of product in certain ways or in combination with Zarlink, or non-Zarlink furnished goods or services may infringe patents or other intellectual property rights owned by Zarlink. This publication is issued to provide information only and (unless agreed by Zarlink in writing) may not be used, applied or reproduced for any purpose nor form part of any order or contract nor to be regarded as a representation relating to the products or services concerned. The products, their specifications, services and other information appearing in this publication are subject to change by Zarlink without notice. No warranty or guarantee express or implied is made regarding the capability, performance or suitability of any product or service. Information concerning possible methods of use is provided as a guide only and does not constitute any guarantee that such methods of use will be satisfactory in a specific piece of equipment. It is the user’s responsibility to fully determine the performance and suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not been superseded. Manufacturing does not necessarily include testing of all functions or parameters. These products are not suitable for use in any medical products whose failure to perform may result in significant injury or death to the user. All products and materials are sold and services provided subject to Zarlink’s conditions of sale which are available on request. Purchase of Zarlink’s I2C components conveys a licence under the Philips I2C Patent rights to use these components in and I2C System, provided that the system conforms to the I2C Standard Specification as defined by Philips. Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc. Copyright Zarlink Semiconductor Inc. All Rights Reserved. TECHNICAL DOCUMENTATION - NOT FOR RESALE
MT9075BP1 价格&库存

很抱歉,暂时无法提供与“MT9075BP1”相匹配的价格&库存,您可以联系我们找货

免费人工找货