Obsolescence Notice This product is obsolete. This information is available for your convenience only. For more information on Zarlink’s obsolete products and replacement product lists, please visit http://products.zarlink.com/obsolete_products/ MV1442 HDB3 Encoder/Decoder/Clock Regenerator DS3077 The MV1442, along with other devices in the Zarlink 2Mbit PCM signalling series comprise a group of circuits which will perform the common channel signalling and error detection functions for a 2.048Mbit PCM transmission link operating in accordance with the appropriate CCITT recommendations. The circuits are fabricated in CMOS and operate from a single +5V supply with all inputs and outputs being TTL compatible. The MV1442 is an encoder/decoder for the HDB3 pseudoternary transmission code, described in Annex A of CCITT Recommendation G.703. The device encodes and decodes simultaneously and asynchronously. Error monitoring functions are provided to detect violations of the HDB3 coding, all ones detection and loss of input (all zeros detection) In addition a loop back function is provided for terminal testing. The MV1442 may be selected to function in either internal or external clock recovery modes. Internal clock recovery mode may be selected tor either 1.544MHz or 2.048MHz operation and in this mode an external 16.384MHz crystal (12.352MHz for 1.544MHz operation) is required. External clock recovery mode may be selected for 1.544MHz, 2.048MHz or 8.448MHz operation. ISSUE 4.0 July 2001 Ordering Information MV1442/IG/DPAS DIL plastic package MV1442/IG/MPES Miniature plastic package MV1442/IG/MPEG Miniature plastic (tape and reel) NRZ DATA IN 1 18 VDD ENCODER CLOCK 2 17 TXD2 LOSS OF INPUT 3 16 TXD1 NRZ DATA OUT 4 15 RXD2 DECODER CLOCK 5 14 LOOP TEST ENABLE RESET AIS 6 13 RXD1 AIS 7 12 CRYSTAL OUT/CDR MODE 8 11 DOUBLE VIOLATION GND 9 10 CRYSTAL IN DP18 Features • On-chip Digital Clock Regenerator • HDB3 Encoding and Decoding to CCITT Recommendation G.703 • Asynchronous Operation • Simultaneous Encoding and Decoding • Clock Recovery Signal allows Off-chip Clock Regeneration • Loop Back Control • HDB3 Error Monitor NRZ DATA IN 1 18 VDD ENCODER CLOCK 2 17 TXD2 LOSS OF INPUT 3 16 TXD1 NRZ DATA OUT 4 15 RXD2 DECODER CLOCK 5 14 LOOP TEST ENABLE RESET AIS 6 13 RXD1 AIS 7 12 CRYSTAL OUT/CDR MODE 8 11 DOUBLE VIOLATION GND 9 10 CRYSTAL IN • ‘All Ones’ Error Monitor MP18 (WIDE BODY) • Loss of Input Alarm • Low Power Operation • 2.048MHz or 1.544MHz Operation in External or Internal Clock Recovery mode • 8.448MHz Operation in External Clock Recovery mode Figure 1 - Pin connections – top view Absolute Maximum Ratings VDD Inputs Outputs Storage temperature -0.5V to +7V VDD -0.5V to GND -0.5V VDD -0.5V to GND -0.5V -55°C to +125°C MV1442 NRZ DATA IN ENCODER CLOCK MODE CRYSTAL CRYSTAL IN OUT/CDR CLOCK REGENERATOR ENCODER DECODER CLOCK COUNTER RXD 1 LOOP TEST ENABLE DECODER ERROR CIRCUIT LOSS OF INPUT NRZ DATA OUT AIS CIRCUIT AIS RXD 2 TXD 1 TXD 2 RESET AIS DOUBLE VIOLATION Figure 2 - Block diagram Functional Descriptions High Density Bipolar 3 (HDB3) is a pseudo-ternary transmission code in which the number of consecutive zeros which may occur is restricted to three to allow adequate clock recovery at the receiver. In any sequence of four consecutive binary zeros the last zero is substituted by a mark of the same polarity as the previous mark, thus breaking the Alternate Mark Inversion (AMI) code. This mark is termed a violation. In addition, the first zero may also be substituted by a mark if the last mark and last violation are of the same polarity. This mark does not violate the AMI code and ensures that successive violations alternate in polarity and as such introduce no DC component to the HDB3 signal. The MV1442 consists of three main blocks: the HDB3 Encoder, the HDB3 Decoder and the Clock Regenerator. The function of each block is now described separately. and as such this alarm can be used as an ‘all ones’ detector. The decoding process and all the alarm circuitry is synchronised to the clock signal being input to this block on the DECODER CLOCK pin. This clock signal may be asynchronous with the ENCODER CLOCK signal. The timing diagrams of the HDB3 Decoder and alarm circuitry are shown in Figures 4 to 7. In addition to the normal mode of operation, a loop test mode is available for terminal testing. This mode is selected by taking the LOOP TEST ENABLE input high. In this mode the HDB3 encoded pseudo-ternary data outputs of the Encoder block are fed back as the inputs to the Decoder block, which in turn decodes this data and outputs it in NRZ form. Clock Regenerator HDB3 Encoder The HDB3 Encoder is responsible for converting the incoming NRZ data into pseudo-ternary form for transmission over a PCM link. This conversion is carried out in accordance with the HDB3 coding laws specified in CCITT Recommendation G. 703 The data to be encoded is input on the NRZ DATA IN pin and the encoding process is synchronised to the clock signal being input on the ENCODER CLOCK pin. The two TXD outputs TXD1 and TXD2. represent the HDB3 data in pseudo-ternary form. If a mark is to be transmitted, the output goes high after the rising edge of the clock. The length of the pulse is set by the positive clock pulse width. The timing diagram of the HDB3 Encoder is shown in Figure 3. HDB3 Decoder The HDB3 Decoder is responsible for decoding the HDB3 pseudo-ternary data on its inputs RXD1 and RXD2 into NRZ form to be output on the NRZ DATA OUT pin. In addition to this, the decoder circuit provides three alarm outputs. The first of these alarms is DOUBLE VIOLATION. As its name suggests, a logic high on this output denotes that two successive violations have been received with the same polarity, thus violating the HDB3 coding laws. The second alarm, LOSS OF INPUT, is used to denote that 11 consecutive zeros have been received on the RXD inputs. The final alarm output is AIS (all ones) This alarm goes high if less than 3 decoded zeros have been detected in the preceding RESET AIS = 1 period (i.e. between RESET AIS = 0 pulses) 2 The Clock Regenerator block has two possible modes of operation. With the MODE pin high, internal crystal controlled clock regeneration is selected, whereas with the MODE pin low external clock regeneration is selected using, for example, a tuned circuit. In external clock regeneration mode, a logically ORed version of the HDB3 data, from the RXD inputs, is output to the external clock regeneration circuitry on the CRYSTAL OUT/CDR pin. The regenerated clock is then fed back into the MV1442 on the DECODER CLOCK pin External clock regeneration may be used for operation with data rates of 1.544Mbits, 2.048Mbits or 8.448Mbits. In internal clock regeneration mode, the logically ORed data is input to a digital regenerator which constantly resynchronises a divide-by-8 counter to the incoming data stream. The clock thus regenerated is output to the decoder circuitry and to any external circuitry on the DECODER CLOCK pin. A crystal of frequency 8 times the required data rate must be connected between the CRYSTAL IN and CRYSTAL OUT/CDR pins. Thus, the crystal frequency needs to be 16.384MHz or 12.352MHz for data rates of 2.048Mbits or 1.544Mbits respectively. Internal clock regeneration may not be used for operation at a data rate of 8.448Mbits. The MV1442 is capable of withstanding up to 0.25UI of peak to peak input jitter at a jitter frequency of 2.048MHz without introducing errors into the decoded data. At lower jitter frequencies the MV1442 is capable of withstanding much larger values to peak to peak input jitter. In the MV1442 absence of input jitter the MV1442 will produce an output jitter waveform in the form of a sawtooth ramping between 0UI and 0.125UI. The period of this waveform will be dependent upon the difference in frequencies between the remote transmitter’s clock and the crystal controlled clock of the MV1442. The MV1442 was originally designed as a pin compatible replacement for the MV1441 with a much improved internal clock recovery circuit and allowing operation at 8.448MHz with external clock recovery selected. ENCODER CLOCK NRZ DATA IN 4·5 CLOCK PERIODS TXD1 B B TXD2 B B B V V NOTES 1. The encoded HDB3 outputs, TXD1 and TXD2. are delayed dy 4·5 clock periods with respect to NRZ DATA IN. 2. B is an HDB3 mark, V is an HDB3 violation. Figure 3 - Encoder waveforms RXD1 B B RXD2 V B B B B B B B CDR DECODER CLOCK 5 CLOCK PERIODS NRZ DATA OUT NOTES 1. The decoded NRZ output is delayed by 5 clock periods with respect to the HDB3 inputs. 2. The diagram assumes the last violation occured on RXD2. 3. B is an HDB3 mark, V is an HDB3 violation. Figure 4 - Decoder waveforms RXD1 RXD2 B B B V B V B V B DECODER CLOCK DOUBLE VIOLATION 1 CLOCK PERIOD NOTES 1. There is a single clock period delay from detection of an error and the rising edge of DOUBLE VIOLATION 2. The diagram assumes the last violation occured on RXD2. 3. B is an HDB3 mark, V is an HDB3 violation. Figure 5 - HDB3 double violation waveforms 3 MV1442 RXD1 RXD2 DECODER CLOCK 1 2 3 4 5 6 7 8 9 10 11 1 CLOCK PERIOD LOSS OF INPUT NOTE The LOSS OF INPUT output is delayed by one clock period with respect to the incoming HDB3 waveform Figure 6 - Loss of input waveforms DECODER CLOCK NRZ DATA OUT RESET AIS AIS Figure 7 - AIS and RESET AIS waveforms Pin Signal name Description 1 NRZ DATA IN Input pin for data to be encoded into pseudo-ternary HDB3 form. This data is clocked into the Encoder block by the falling edge of ENCODER CLOCK. 2 ENCODER CLOCK 3 LOSS OF INPUT Output from the loss of input circuit This output goes high one clock period after the detection of eleven consecutive zeros on the decoder inputs. Any logic ‘1’ at the input (RXD1 or RXD2=0) resets this count after a single clock period delay. 4 NRZ DATA OUT NRZ data output obtained from the decoding of the pseudo-ternary inputs to the Decoder block. 5 DECODER CLOCK Clock input to the Decoder block for decoding data on RXD1 and RXD2 or TXD1 and TXD2 in loop test mode. In internal clock regeneration mode, this pin is used to output the regenerated clock to external circuitry. In external clock regeneration, mode this pin is used to input the externally regenerated clock signal direct to the Decoder block. 6 RESET AIS Reset input to the decoded zero counter A logic ‘0’ on this input resets a decoded zero counter. It will also reset the AIS output to ‘0’ provided 3 or more zeros have been decoded in the preceding RESET AIS = 1 period or set AIS to 1 if less than 3 zeros have been decoded in the preceding RESET AIS = 1 period This may be used to indicate loss of timeslot zero. A logic ‘1’ on this pin enables the decoded zero counter. 7 AIS 8 MODE 9 GND Clock input for the encoding of data on pin 1. Output from AIS circuit (see description for pin 6). Input pin for selection of clock regeneration mode. A logic high on this input selects internal crystal controlled clock regeneration while a logic low selects external clock regeneration. Digital ground 0V. Table 1 - Pin descriptions 4 Contd… MV1442 Pin Signal name Description 10 CRYSTAL IN Input to crystal oscillator amplifier when in internal clock regeneration mode with the crystal connected between pins 10 and 12. Alternatively this pin may be used as the 16384/ 12.352MHz input to the internal clock regeneration circuitry if one oscillator is shared between several decoders. This pin has no function when external clock regeneration is selected and should in that case be tied to GND. 11 DOUBLE VIOLATION Output from the error detector circuit. This output goes high for one period of Decoder clock one period after the detection of an HDB3 violation of the same polarity as the previous HDB3 violation. 12 CRYSTAL OUT/CDR In external clock regeneration mode, this pin is used to output the OR function of the two HDB3 inputs RXD1 and RXD2 (or TXD1 and TXD2) if loop test mode is selected; to an external clock regeneration circuit in internal clock regeneration mode. This is the output which forms the crystal oscillator with pin 10. 13 RXD1 HDB3 input to Decoder block. This input asynchronously latches the incoming HDB3 encoded data and is falling edge sensitive. 14 LOOP TEST ENABLE Input pin for selection of normal or loop back operation. A logic ‘0’ on this pin selects normal operation with encoder and decoder being independent and asynchronous. A logic ‘1’ on this pin internally connects TXD1 to RXD1 and TXD2 to RXD2. Note that in loop back mode a decoder clock must be supplied (or regenerated from pin 12 along with the encoder clock. 15 RXD2 HDB3 input 2 to Decoder block. See pin 13 description. 16 TXD1 HDB3 encoded output from Encoder block. This output goes high after the rising edge of clock if a mark is to be transmitted. The length of the pulse is set by the positive clock puIse width. 17 TXD2 HDB3 encoded output 2. See pin 16 description. 18 VDD Digital supply voltage. 5V±10%. Table 1 - Pin descriptions (continued) Electrical Characteristics TAMB = -40°C to +85°C, VDD = +5V±0·5V These Characteristics are guaranteed by either production test or design. They apply within the specified ambient temperature and supply voltage ranges unless otherwise stated. Static Characteristics Characteristic Value Symbol Min. Typ. Units Conditions Max. Low level input voltage VIL 0 0·8 V High level input voltage VIH 2 VDD V Low level output voltage VOL 0·4 V ISINK = 2mA High level output voltage VOHT 2·4 V ISOURCE = 2mA VOHC VDD21 V ISOURCE = 1mA Input leakage current IIN -10 +200 µA VIN = VDD or GND Supply current (note 1) IDD 15 mA 1.544/2.048MHz, with internal clock regeneration 5 mA 1.544/2.048MHz, with external clock regeneration 15 mA 8.448MHz operation Input capacitance Output capacitance CIN 5 pF All inputs COUT 5 pF All outputs NOTES 1. All supply currents are specified with outputs unloaded. These currents are not tested but are guaranteed by characterisation and a static current test. 5 MV1442 Electrical Characteristics TAMB = 0°C to +70°C, VDD = +5V±0·5V These Characteristics are guaranteed by either production test or design. They apply within the specified ambient temperature and supply voltage ranges unless otherwise stated. Dynamic Characteristics Characteristic Value Symbol Min. Clock period tCPF Typ. Units Figure ns 8 ns 8 Note Max. 100 20 Clock rise/fall time tCR/tCF Clock high/low time tCH/tCL 30 ns 8 Encoder data setup time tEDS 10 ns 9 Encoder data hold time tEDH 10 ns 9 TXD1/TXD2 output propagation delay tEPDR/tEPDF 45 ns 9 2 CDR propagation delay tCPDR/tCPDF 40 ns 10 2 RXD1/RXD2 data setup time tRS 15 ns 10 RXD1/RXD2 pulse width tRW 20 ns 10 Decoder output propagation delay tOPD ns 10 RESET AIS hold off time tRAHO 10 ns 10 RESET AIS pulse width tRAW 15 ns 10 RESET AIS setup time tEDH 10 ns 10 AIS output propagation delay tAPO ns 10 45 45 2, 3 2 Electrical Characteristics TAMB = -40°C to +85°C, VDD = +5V±0·5V These Characteristics are guaranteed by either production test or design. They apply within the specified ambient temperature and supply voltage ranges unless otherwise stated. Dynamic Characteristics Characteristic Value Symbol Min. Clock period tCPF Typ. Units Figure ns 8 ns 8 100 20 Clock rise/fall time tCR/tCF Clock high/low time tCH/tCL 35 ns 8 Encoder data setup time tEDS 20 ns 9 Encoder data hold time tEDH 20 ns 9 TXD1/TXD2 output propagation delay tEPDR/tEPDF 50 ns 9 2 CDR propagation delay tCPDR/tCPDF 45 ns 10 2 RXD1/RXD2 data setup time tRS 20 ns 10 RXD1/RXD2 pulse width tRW 25 ns 10 Decoder output propagation delay tOPD ns 10 RESET AIS hold off time tRAHO 15 ns 10 RESET AIS pulse width tRAW 20 ns 10 RESET AIS setup time tEDH 15 ns 10 AIS output propagation delay tAPO ns 10 50 55 NOTES 2. All propagation delays are measured with the relevant output loaded with a 50pF capacitor. 3. tOPD applies to outputs NRZ DATA OUT, LOSS OF INPUT and DOUBLE VIOLATION but does not apply to AIS. 6 Note Max. 2,3 2 MV1442 tCH ENCODER/DECODER CLOCK tCL tCF tCR VIH VIL tCP Figure 8 - Clock timing parameters VIH VIL ENCODER CLOCK tEDH VIH VIL NRZ DATA IN tEPDR tEDS tEPDF VOHT VOL TXD1/TXD2 Figure 9 - Encoder timing parameters tRW VIH VIL RXD1/RXD2 tCPDR tCPDF VOHT VOL CDR tRS VIH VIL DECODER CLOCK tOPD NRZ DATA OUT/ LOSS OF INPUT/ DOUBLE VIOLATION VOHT VOL tRAHO tRAW tRAS VIH VIL RESET AIS tAPD VOHT VOL AIS Figure 10 - Decoder timing parameters 7 For more information about all Zarlink products visit our Web Site at www.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