DS26101 8-Port TDM-to-ATM PHY www.maxim-ic.com GENERAL DESCRIPTION FEATURES On the transmit side, the DS26101 receives ATM cells from an ATM device through a UTOPIA II interface, provides cell buffering (up to 4 cells), HEC generation and insertion, cell scrambling, and converts the data to a serial stream appropriate for interfacing to a T1/E1 framer or transceiver. On the receive side, the DS26101 receives a TDM stream from a T1/E1 framer or transceiver; searches for the cell alignment; verifies the HEC; provides cell filtering, descrambling, and cell buffering; and passes the cells to an ATM device through the UTOPIA II interface. Other low-level traffic management functions are selectable for the transmit and receive paths. The DS26101 can also be used in fractional T1/E1 applications. § § § The DS26101 maps ATM cells to T1/E1 TDM frames as specified in ATM Forum Specifications af-phy0016.000 and af-phy-0064.000. In the receive direction, the cell delineation mechanism used for finding ATM cell boundary within T1/E1 frame is performed as per ITU I.432. The DS26101 provides a mapping solution for up to 8 T1/E1 TDM ports. The terms physical layer (PHY) and line side are used synonymously in this document and refer to the device interfacing with the line side of the DS26101. The terms ATM layer and system side are used synonymously and refer to the DS26101’s UTOPIA II interface. § § § § Dallas Semiconductor DS26101 § § § § § § § § APPLICATIONS FUNCTIONAL DIAGRAM 8 TDM PORTS § § § § Supports 8 T1/E1 TDM Ports Supports Fractional T1/E1 Compliant to ATM Forum Specifications for ATM Over T1 and E1 Standard UTOPIA II Interface to the ATM Layer Configurable UTOPIA Address Range Configurable Tx FIFO Depth to 2, 3, or 4 Cells Optional Payload Scrambling in Transmit Direction and Descrambling in Receive Direction per ITU I.432 Optional HEC Insertion in Transmit Direction with Programmable COSET Polynomial Addition HEC-Based Cell Delineation Single-Bit HEC Error Correction in the Receive Direction Receive HEC-Errored Cell Filtering Receive Idle/Unassigned Cell Filtering User-Definable Cell Filtering 8-Bit Mux/Nonmux, Motorola/Intel Microprocessor Interface Internal Clock Generator Eliminates External High-Speed Clocks Internal One-Second Timer Detects/Reports Up to Eight External Status Signals with Interrupt Support IEEE 1149.1 JTAG Boundary Scan Support 17mm x 17mm, 256-pin CSBGA DSLAMS ATM Over T1/E1 Routers IMA ORDERING INFORMATION UTOPIA II PART DS26101 TEMP RANGE -40°C to +85°C PIN-PACKAGE 256 CSBGA Note: Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple revisions of any device may be simultaneously available through various sales channels. For information about device errata, click here: www.maxim-ic.com/errata. 1 of 62 REV: 032503 DS26101 8-Port TDM-to-ATM PHY TABLE OF CONTENTS 1. 2. 3. 4. 5. 6. FEATURES .......................................................................................................................... 5 LIST OF APPLICABLE STANDARDS................................................................................. 5 ACRONYMS AND DEFINITIONS......................................................................................... 6 BLOCK DIAGRAM ............................................................................................................... 7 PIN DESCRIPTION .............................................................................................................. 8 SIGNAL DEFINITIONS....................................................................................................... 11 6.1 LINE-SIDE SIGNALS ...................................................................................................................11 6.2 UTOPIA-SIDE SIGNALS ............................................................................................................12 6.3 MICROPROCESSOR AND SYSTEM INTERFACE SIGNALS ................................................................13 6.4 TEST AND JTAG SIGNALS .........................................................................................................16 7. TRANSMIT OPERATION ................................................................................................... 16 7.1 UTOPIA-SIDE TRANSMIT—MUXED MODE WITH 1 TXCLAV ........................................................16 7.2 UTOPIA-SIDE TRANSMIT—DIRECT STATUS MODE (MULTITXCLAV) .........................................18 7.3 TRANSMIT PROCESSING ............................................................................................................19 7.4 PHYSICAL-SIDE TRANSMIT.........................................................................................................20 8. RECEIVE OPERATION...................................................................................................... 23 8.1 PHYSICAL-SIDE RECEIVE...........................................................................................................23 8.2 RECEIVE PROCESSING ..............................................................................................................25 8.3 UTOPIA-SIDE RECEIVE—MUXED MODE WITH 1 RXCLAV..........................................................26 8.4 UTOPIA-SIDE RECEIVE—DIRECT STATUS MODE (MULTIRXCLAV) ...........................................27 9. REGISTER MAPPING........................................................................................................ 29 10. REGISTER DEFINITIONS.................................................................................................. 30 10.1 TRANSMIT REGISTERS ..............................................................................................................30 10.2 STATUS REGISTERS ..................................................................................................................34 10.3 RECEIVE REGISTERS ................................................................................................................35 10.3.1 Additional Receive Control Information 37 10.3.2 User-Programmable Cell Filtering 41 11. JTAG BOUNDARY SCAN ARCHITECTURE AND TEST ACCESS PORT....................... 44 11.1 INSTRUCTION REGISTER ............................................................................................................46 11.2 TEST REGISTERS ......................................................................................................................48 12. 13. 14. 15. OPERATING PARAMETERS............................................................................................. 51 CRITICAL TIMING INFORMATION ................................................................................... 52 THERMAL INFORMATION ................................................................................................ 58 APPLICATIONS INFORMATION ....................................................................................... 59 15.1 APPLICATION IN ATM USER-NETWORK INTERFACES ...................................................................59 15.2 INTERFACING WITH FRAMERS ....................................................................................................59 15.3 FRACTIONAL T1/E1 SUPPORT ...................................................................................................60 16. PACKAGE INFORMATION................................................................................................ 61 17. REVISION HISTORY.......................................................................................................... 62 2 of 62 DS26101 8-Port TDM-to-ATM PHY TABLE OF FIGURES Figure 4-1. Block Diagram ...........................................................................................................7 Figure 7-1. Polling Phase and Selection Phase at Transmit Interface .......................................17 Figure 7-2. End and Restart of Cell at Transmit Interface ..........................................................18 Figure 7-3. Transmission to PHY Paused for Three Cycles.......................................................18 Figure 7-4. Example of Direct Status Indication, Transmit Direction ..........................................19 Figure 7-5. Transmit Cell Flow and Processing .........................................................................20 Figure 7-6. Transmit Framer Interface in TFP Mode for T1........................................................21 Figure 7-7. Transmit Framer Interface in Gapped-Clock Mode for T1 .......................................21 Figure 7-8. Transmit Framer Interface in TFP Mode for E1 .......................................................22 Figure 7-9. Transmit Framer Interface in Gapped-Clock Mode for E1 .......................................22 Figure 8-1. Receive Framer Interface in RFP Mode for T1 ........................................................23 Figure 8-2. Receive Framer Interface in Gapped-Clock Mode for T1 ........................................24 Figure 8-3. Receive Framer Interface in RFP Mode for E1 ........................................................24 Figure 8-4. Receive Framer Interface in Gapped-Clock Mode for E1 ........................................24 Figure 8-5. Cell Delineation State Diagram................................................................................25 Figure 8-6. Header Correction State Machine............................................................................26 Figure 8-7. Polling Phase and Selection at Receive Interface ...................................................27 Figure 8-8. End and Restart of Cell Transmission at Receive Interface.....................................27 Figure 8-9. Example Direct Status Indication, Receive Direction ...............................................28 Figure 10-1. Accessing Tx PMON Counter ................................................................................33 Figure 10-2. Accessing Rx PMON Counters..............................................................................39 Figure 11-1. JTAG Functional Block Diagram............................................................................44 Figure 11-2. TAP Controller State Diagram ...............................................................................46 Figure 13-1. Intel Bus Read Timing (BTS = 0/MUX = 1) ............................................................52 Figure 13-2. Intel Bus Write Timing (BTS = 0/MUX = 1) ............................................................53 Figure 13-3.Motorola Bus Timing (BTS = 1/MUX = 1) ...............................................................53 Figure 13-4. Intel Bus Read Timing (BTS = 0/MUX = 0) ............................................................54 Figure 13-5. Intel Bus Write Timing (BTS = 0/MUX = 0) ............................................................55 Figure 13-6. Motorola Bus Read Timing (BTS = 1/MUX = 0) .....................................................55 Figure 13-7. Motorola Bus Write Timing (BTS = 1/MUX = 0) .....................................................55 Figure 13-8. Setup/Hold Time Definition ....................................................................................57 Figure 13-9. Delay Time Definition.............................................................................................57 Figure 13-10. JTAG Interface Timing Diagram ..........................................................................57 Figure 15-1. User-Network Interface Application .......................................................................59 Figure 15-2. DS26101 Interfacing with Dallas Framer in Framing-Pulse Mode .........................60 3 of 62 DS26101 8-Port TDM-to-ATM PHY LIST OF TABLES Table 5-A. Pin Description List.....................................................................................................8 Table 9-A. Register Map ............................................................................................................29 Table 11-A. Instruction Codes for IEEE 1149.1 Architecture .....................................................47 Table 11-B. ID Code Structure...................................................................................................47 Table 11-C. Device ID Codes ....................................................................................................47 Table 11-D. Boundary Scan Control Bits ...................................................................................48 Table 13-A. AC Characteristics—Multiplexed Parallel Port (MUX = 1) ......................................52 Table 13-B. AC Characteristics—Nonmultiplexed Parallel Port (MUX = 1)................................54 Table 13-C. Framer Interface AC Characteristics ......................................................................56 Table 13-D. UTOPIA Transmit AC Characteristics ....................................................................56 Table 13-E. UTOPIA Receive AC Characteristics......................................................................56 Table 13-F. JTAG Interface Timing............................................................................................57 Table 13-G. System Clock AC Characteristics...........................................................................58 Table 14-A. Thermal Properties, Natural Convection.................................................................58 Table 14-B. Theta-JA (qJA) vs. Airflow........................................................................................58 Table 15-A. Suggested Clock Edge Configurations ...................................................................60 Table 15-B. Fractional T1/E1 Register Settings .........................................................................60 4 of 62 DS26101 8-Port TDM-to-ATM PHY 1. FEATURES § § § § § § § § § § § § § Supports 8 T1/E1 Ports Supports Fractional T1/E1 and Arbitrary Bit Rates in Multiples of 64kbps (DS0/TS) Up to 2.048Mbps Supports Clear E1 Compliant to the ATM Forum Specifications for ATM Over T1 and E1 Standard UTOPIA II Interface to the ATM Layer Configurable UTOPIA Address Range Generic 8-Bit Asynchronous Microprocessor Interface for Configuration and Status Indications Including Interrupt Capability Physical-Layer Interface can Accept T1/E1 TDM Stream in the Form of Either (1) Clock, Data, and Frame-Overhead Indication or (2) Gapped Clock (Gapped at Overhead Positions in the Frame) and Data Selectable Active Clock Edge for Interface with the T1/E1 Framer Supports Diagnostic Loopback Optional Payload Scrambling in Transmit Direction and Descrambling in Receive Direction as per the ITU I.432 for the Cell-Based Physical Layer Optional HEC Insertion in Transmit Direction with Programmable COSET Polynomial Addition Option of Using Either Idle or Unassigned Cells for Cell-Rate Decoupling in Transmit Direction § § § § § § § § § § § § § § § 1-Byte Programmable Pattern for Payload of Cells Used for Cell-Rate Decoupling Tx FIFO Depth Configurable to either 2, 3, or 4 Cells Transmit FIFO Depth Indication for 2-Cell Space Through External Pins Optional Single-Bit HEC-Error Insertion HEC-Based Cell Delineation as per I.432 Optional Single-Bit HEC Error Correction in the Receive Direction Optional Filtering of HEC-Errored Cells Received Optional Receive Idle/Unassigned Cell Filtering Optional User-Defined Cell Filtering Based on Programmable Header Bits Programmable Loss-of-Cell Delineation (LCD) Integration and Interrupt Interrupt for FIFO Overrun in Receive Direction Saturating Counts for (1) Number of Error-Free Assigned Cells Received and Transmitted and (2) Number of Correctable and Uncorrectable HEC-Errored Cells Received Selectable Internally Generated Clock (System Clock Divided by 8) in Diagnostic Loopback Mode Integrated PLL Generates High-Frequency Clocks IEEE 1149.1 JTAG Boundary Scan Support 2. LIST OF APPLICABLE STANDARDS [1] ATM Forum “DS1 Physical Layer Specification,” af-phy-0016.000, September 1994 [2] ATM Forum “E1 Physical Layer Specification,” af-phy-0064.000, September 1996 [3] ATM Forum “UTOPIA Level 2 Specification,” Version 1.0, af-phy-0039.000, June 1995 [4] B-ISDN User-Network Interface—Physical Layer Specification—ITU-T Recommendation I.432—3/93 5 of 62 DS26101 8-Port TDM-to-ATM PHY 3. ACRONYMS AND DEFINITIONS ACRONYM ATM CRC DPRAM FIFO HEC IMA mP ms LCD ms OAM OCD PMON Rx DS0 TS Tx UTOPIA DESCRIPTION Asynchronous Transfer Mode Cyclic Redundancy Check Dual Port Random Access Memory First In, First Out (Memory) Header Error Check Inverse Multiplexing for ATM Microprocessor Microsecond Loss-of-Cell Delineation Millisecond Operations Administration and Maintenance Out-of-Loss Delineation Performance MONitoring Receive Each 64kbps Channel in DS1 Frame Each 64kbps Channel in E1 Frame (Time Slot) Transmit Universal Test and Operations PHY Interface for ATM 6 of 62 DS26101 8-Port TDM-to-ATM PHY 4. BLOCK DIAGRAM Figure 4-1. Block Diagram 8 8 RCLK0–7 RDATA0–7 RFP0–7 8 8 RECEIVE TDM INTERFACE CONTROL SCRAMBLING AND RATE DECOUPLING CELL STORAGE FIFO RECEIVE UTOPIA BUS INTERFACE 4 5 8 8 TDATA0–7 TFP0–7 8 8 TRANSMIT TDM INTERFACE CONTROL SCRAMBLING AND RATE DECOUPLING CELL STORAGE FIFO TRANSMIT UTOPIA BUS INTERFACE 4 4 5 8 8 8 Dallas Semiconductor DS26101 1-SECOND TIMER CONTROLLER INTERFACE 8 7 JTAG 8 JTMS JTRST JTDI JTDO JTCLK EXSTAT0-7 RESET MUX INT BTS WR (R/W) RD (DS) CS A7/ALE (AS) A0–A6 AD0–AD7 7 of 62 UR-ENB UR-SOC UR-CLK UR-CLAV0–3 UR-ADDR0–4 UR-DATA0–7 UR-PAR REFCLKIN GCLKOUT GCLKIN TEST CLOCK PLL TCLK0–7 RLCD0–7 ROVFL0–7 UT-ENB UT-SOC UT-CLK UT-CLAV0–3 UT-2CLAV0–-3 UT_PAR UT-ADDR0–4 UT-DATA0–7 TPED0–7 8KHZIN 1SECOUT DS26101 8-Port TDM-to-ATM PHY 5. PIN DESCRIPTION Table 5-A. Pin Description List PIN NAME I/O J13 J12 F16 F13 F12 G15 G14 G16 G13 G12 C16 D14 D16 E15 E14 E16 E13 E12 F15 F14 J16 J14 J15 H12 H13 H16 H14 H15 K13 K12 B16 P16 N16 N15 P15 N14 C15 A1, A15, A16, B1, B2, B15, C1, C2, C14, L12, L16, M6–M10, M16, N5–N11, P3–P10, P13, P14, R1, R2, R4–R11, R15, R16, T1, T2, T4–T10, T12, T13, T16 A14 B13 C12 D11 B11 A10 E9 C9 D15 B14 A13 A12 E11 1SECOUT 8KHZIN A0 A1 A2 A3 A4 A5 A6 A7/ALE (AS) BTS CS D0/AD0 D1/AD1 D2/AD2 D3/AD3 D4/AD4 D5/AD5 D6/AD6 D7/AD7 EXSTAT0 EXSTAT1 EXTAT2 EXSTAT3 EXSTAT4 EXSTAT5 EXSTAT6 EXSTAT7 GCLKIN GCLKOUT INT JTCLK JTDI JTDO JTMS JTRST MUX O I I I I I I I I I I I I/O I/O I/O I/O I/O I/O I/O I/O I I I I I I I I I O O I I O I I I One-Second Reference 8kHz Clock for One-Second Timer mP Address Bus Bit 0 mP Address Bus Bit 1 mP Address Bus Bit 2 mP Address Bus Bit 3 mP Address Bus Bit 4 mP Address Bus Bit 5 mP Address Bus Bit 6 mP Address Bus Bit 7 (Note 1) Bus Type Select (0 = Intel) Chip Select (Active Low) mP Data 0/Address/Data 0 mP Data 1/Address/Data 1 mP Data 2/Address/Data 2 mP Data 3/Address/Data 3 mP Data 4/Address/Data 4 mP Data 5/Address/Data 5 mP Data 6/Address/Data 6 mP Data 7/Address/Data 7 External Status Input External Status Input External Status Input External Status Input External Status Input External Status Input External Status Input External Status Input High-Frequency Clock Input High-Frequency Clock Output Interrupt Signal (Active Low) (Note 2) IEEE 1149.1 Test Clock IEEE 1149.1 Test Data Input IEEE 1149.1 Test Data Output IEEE 1149.1 Test Mode Select IEEE 1149.1 Reset Bus Mode Select (0 = Nonmuxed) N.C. — No Connect RCLK0 RCLK1 RCLK2 RCLK3 RCLK4 RCLK5 RCLK6 RCLK7 RD (DS) RDATA0 RDATA1 RDATA2 RDATA3 I I I I I I I I I I I I I 8 of 62 FUNCTION Rx Line Clock for Port 0 Rx Line Clock for Port 1 Rx Line Clock for Port 2 Rx Line Clock for Port 3 Rx Line Clock for Port 4 Rx Line Clock for Port 5 Rx Line Clock for Port 6 Rx Line Clock for Port 7 Read Enable (Active Low) Rx Line Serial Data for Port 0 Rx Line Serial Data for Port 1 Rx Line Serial Data for Port 2 Rx Line Serial Data for Port 3 DS26101 8-Port TDM-to-ATM PHY PIN NAME I/O C11 D10 B10 A9 L15 L14 C13 D12 B12 A11 E10 C10 D9 B9 N1 N2 N4 N3 P1 P2 R3 T3 T11 M12 P12 R13 T14 T15 M14 L13 J3 J1 J4 J5 H2 M5 M4 M1 M3 K5 L3 L1 L4 L5 K2 K3 K1 K4 J2 M2 L2 D8 B8 A7 E6 C6 D5 B5 RDATA4 RDATA5 RDATA6 RDATA7 REFCLKIN RESET RFP0 RFP1 RFP2 RFP3 RFP4 RFP5 RFP6 RFP7 RLCD0 RLCD1 RLCD2 RLCD3 RLCD4 RLCD5 RLCD6 RLCD7 ROVFL0 ROVFL1 ROVFL2 ROVFL3 ROVFL4 ROVFL5 ROVFL6 ROVFL7 UR_ADDR0 UR_ADDR1 UR_ADDR2 UR_ADDR3 UR_ADDR4 UR_CLAV0 UR_CLAV1 UR_CLAV2 UR_CLAV3 UR_CLK UR_DATA0 UR_DATA1 UR_DATA2 UR_DATA3 UR_DATA4 UR_DATA5 UR_DATA6 UR_DATA7 UR_ENB UR_PAR UR_SOC TCLK0 TCLK1 TCLK2 TCLK3 TCLK4 TCLK5 TCLK6 I I I I I I I I I I I I I I O O O O O O O O O O O O O O O O I I I I I O O O O I O O O O O O O O I O O I I I I I I I 9 of 62 FUNCTION Rx Line Serial Data for Port 4 Rx Line Serial Data for Port 5 Rx Line Serial Data for Port 6 Rx Line Serial Data for Port 7 1.544MHz/2.048MHz Reference Clock Device Reset (Active Low) Rx Frame Pulse for Port 0 Rx Frame Pulse for Port 1 Rx Frame Pulse for Port 2 Rx Frame Pulse for Port 3 Rx Frame Pulse for Port 4 Rx Frame Pulse for Port 5 Rx Frame Pulse for Port 6 Rx Frame Pulse for Port 7 Rx Loss-of-Cell Delineation Port 0 Rx Loss-of-Cell Delineation Port 1 Rx Loss-of-Cell Delineation Port 2 Rx Loss-of-Cell Delineation Port 3 Rx Loss-of-Cell Delineation Port 4 Rx Loss-of-Cell Delineation Port 5 Rx Loss-of-Cell Delineation Port 6 Rx Loss-of-Cell Delineation Port 7 Rx FIFO Overflow for Port 0 Rx FIFO Overflow for Port 1 Rx FIFO Overflow for Port 2 Rx FIFO Overflow for Port 3 Rx FIFO Overflow for Port 4 Rx FIFO Overflow for Port 5 Rx FIFO Overflow for Port 6 Rx FIFO Overflow for Port 7 Rx UTOPIA Address 0 (LSB) Rx UTOPIA Address 1 Rx UTOPIA Address 2 Rx UTOPIA Address 3 Rx UTOPIA Address 4 (MSB) Rx UTOPIA Cell Available 0 Rx UTOPIA Cell Available 1 Rx UTOPIA Cell Available 2 Rx UTOPIA Cell Available 3 Rx UTOPIA Clock Rx UTOPIA Data Bus 0 (LSB) Rx UTOPIA Data Bus 1 Rx UTOPIA Data Bus 2 Rx UTOPIA Data Bus 3 Rx UTOPIA Data Bus 4 Rx UTOPIA Data Bus 5 Rx UTOPIA Data Bus 6 Rx UTOPIA Data Bus 7 (MSB) Rx UTOPIA Enable (Active Low) Rx UTOPIA Parity Bit Rx UTOPIA Start of Cell Tx Line Clock for Port 0 Tx Line Clock for Port 1 Tx Line Clock for Port 2 Tx Line Clock for Port 3 Tx Line Clock for Port 4 Tx Line Clock for Port 5 Tx Line Clock for Port 6 DS26101 8-Port TDM-to-ATM PHY PIN NAME I/O D4 E8 C8 D7 B7 A6 E5 C5 B4 K16 A8 E7 C7 D6 B6 A5 A4 C4 M11 P11 N12 R12 N13 R14 M13 M15 G1 H4 H1 H3 D3 A2 C3 B3 A3 G4 G3 G2 H5 F2 F1 F4 F5 E2 E3 E1 E4 D2 D1 G5 F3 F8, F9, G8, G9, H6, H7, H10, H11, J6, J7, J10, J11, K8, K9, L8, L9 F6, F7, F10, F11, G6, G7, G10, G11, H8, H9, J8, J9, K6, K7, K10, K11, K14, K15, L6, L7, L10, L11 D13 TCLK7 TDATA0 TDATA1 TDATA2 TDATA3 TDATA4 TDATA5 TDATA6 TDATA7 TEST TFP0 TFP1 TFP2 TFP3 TFP4 TFP5 TFP6 TFP7 TPED0 TPED1 TPED2 TPED3 TPED4 TPED5 TPED6 TPED7 UT_2CLAV0 UT_2CLAV1 UT_2CLAV2 UT_2CLAV3 UT_ADDR0 UT_ADDR1 UT_ADDR2 UT_ADDR3 UT_ADDR4 UT_CLAV0 UT_CLAV1 UT_CLAV2 UT_CLAV3 UT_CLK UT_DATA0 UT_DATA1 UT_DATA2 UT_DATA3 UT_DATA4 UT_DATA5 UT_DATA6 UT_DATA7 UT_ENB UT_PAR UT_SOC I O O O O O O O O I I/O I/O I/O I/O I/O I/O I/O I/O O O O O O O O O O O O O I I I I I O O O O I I I I I I I I I I I I Tx Line Clock for Port 7 Tx Line Serial Data for Port 0 Tx Line Serial Data for Port 1 Tx Line Serial Data for Port 2 Tx Line Serial Data for Port 3 Tx Line Serial Data for Port 4 Tx Line Serial Data for Port 5 Tx Line Serial Data for Port 6 Tx Line Serial Data for Port 7 Test Control Tx Frame Pulse for Port 0 Tx Frame Pulse for Port 1 Tx Frame Pulse for Port 2 Tx Frame Pulse for Port 3 Tx Frame Pulse for Port 4 Tx Frame Pulse for Port 5 Tx Frame Pulse for Port 6 Tx Frame Pulse for Port 7 Tx Parity Error Detect Tx Parity Error Detect Tx Parity Error Detect Tx Parity Error Detect Tx Parity Error Detect Tx Parity Error Detect Tx Parity Error Detect Tx Parity Error Detect Tx UTOPIA 2 Cells Available 0 Tx UTOPIA 2 Cells Available 1 Tx UTOPIA 2 Cells Available 2 Tx UTOPIA 2 Cells Available 3 Tx UTOPIA Address 0 (LSB) Tx UTOPIA Address 1 Tx UTOPIA Address 2 Tx UTOPIA Address 3 Tx UTOPIA Address 4 (MSB) Tx UTOPIA Cell Available 0 Tx UTOPIA Cell Available 1 Tx UTOPIA Cell Available 2 Tx UTOPIA Cell Available 3 Tx UTOPIA Clock Tx UTOPIA Data Bus 0 (LSB) Tx UTOPIA Data Bus 1 Tx UTOPIA Data Bus 2 Tx UTOPIA Data Bus 3 Tx UTOPIA Data Bus 4 Tx UTOPIA Data Bus 5 Tx UTOPIA Data Bus 6 Tx UTOPIA Data Bus 7 (MSB) Tx UTOPIA Enable (Active Low) Tx UTOPIA Parity Bit Tx UTOPIA Start of Cell VDD — Positive Supply VSS — Ground WR (R/W) I Note 1: Address-latch enable for muxed bus. Note 2: Open-drain output. 10 of 62 FUNCTION Write Enable (Active Low) DS26101 8-Port TDM-to-ATM PHY 6. SIGNAL DEFINITIONS 6.1 Line-Side Signals RCLK0–7 Signal Name: Receive Line Clock (Ports 0 to 7) Signal Description: Input Signal Type: The physical layer device uses the RCLK input to latch the RDATA and RFP signals. RDATA and RFP are sampled by the receive section at either the positive edge or negative edge of RCLK, as controlled by the RAES (RCR2.2) control bit. RCLK is gapped during nonactive and framing bit positions in gapped-clock mode (RPLIM = 1). RCLK should be glitch-free. RDATA0–7 Signal Name: Receive Line Data (Ports 0 to 7) Signal Description: Input Signal Type: The RDATA input carries the receive bit stream. If the RCLK is gapped at framing bit positions, RDATA is then sampled at every RCLK tick. If RCLK is not gapped and RFP is used to indicate framing bit positions, the RDATA bits that are not associated with framing-overhead bits are sampled and cell delineated. In clear E1, RDATA is sampled at every RCLK tick. RFP0–7 Signal Name: Receive Frame Pulse (Ports 0 to 7) Signal Description: Input Signal Type: This active-high signal indicates the framing-overhead bit positions corresponding to RDATA. For T1/E1, this aligns with the first bit of the T1/E1 frame. For T1, RDATA coming at the RFP position is ignored. For E1, RFP is used to identify TS0 (RFP position is bit 0 of TS0) and TS16 locations, and RDATA coming at these slots are ignored. In clear E1, RFP is ignored. In frame-pulse mode, the RFP should come once every 125ms. TCLK0–7 Signal Name: Transmit Line Clock (Ports 0 to 7) Signal Description: Input Signal Type: The TCLK input is used by the DS26101’s transmit section to launch TDATA and TFP (when configured as an output) at either positive edge or negative edge, as controlled by the TAES (TCR2.2) control bit. TDATA0–7 Signal Name: Transmit Line Data (Ports 0 to 7) Signal Description: Output Signal Type: The TDATA output carries the transmit bit stream. ATM layer data bits are not transmitted during framing/overhead bit locations. TDATA is output at the TCLK configured active edge. TFP0–7 Signal Name: Transmit Frame Pulse (Ports 0 to 7) Signal Description: Input/Output Signal Type: This active-high signal can be set as an input or an output by using the TFSD (TCR2.0) control bit. TFP indicates the frame-overhead bit positions corresponding to TDATA. For T1/E1, this signal aligns with the first bit of the T1/E1 frame. For T1, TDATA coming at the TFP position does not contain valid data bit. For E1, TFP is used to identify TS0 (TFP position is bit 0 of TS0) and TS16. TDATA does not contain valid data at these locations. After RESET, the DS26101 is configured to use this signal as an input. In frame-pulse mode, the TFP should occur once every 125ms. 11 of 62 DS26101 8-Port TDM-to-ATM PHY 6.2 UTOPIA-Side Signals UR_CLK Signal Name: Receive UTOPIA Clock Signal Description: Input Signal Type: This clock is used to register and control all other UTOPIA signals on the receive side. UR_ADDR[4:0] Signal Name: Receive UTOPIA Address Signal Description: Input Signal Type: The ATM layer drives this 5-bit UTOPIA address bus to select the appropriate UTOPIA port. UR_ADDR4 is the MSB and UR_ADDR0 is the LSB. Signal Name: UR_ENB Receive UTOPIA Enable Signal Description: Input Signal Type: The ATM layer asserts this active-low signal to indicate that UR_DATA and UR_SOC are sampled at the end of the next cycle. UR_SOC Signal Name: Receive UTOPIA Start of Cell Signal Description: Output Signal Type: The DS26101 asserts this active-high, three-statable signal when UR_DATA contains the first valid byte of a cell. UR_SOC is enabled only in cycles following those with UR_ENB asserted while a cell transfer is in progress. UR_DATA[7:0] Signal Name: Receive UTOPIA Data Bus Signal Description: Output Signal Type: The DS26101 drives this byte-wide data bus in response to the selection of one of the UTOPIA ports by the ATM layer for cell transfer. This bus is tri-statable, and is enabled only in cycles following those that have UR_ENB asserted and a cell transfer in progress for a port. UR_DATA7 is the MSB and UR_DATA0 is the LSB. UR_CLAV[3:0] Signal Name: Receive UTOPIA Cell Available Signal Description: Output Signal Type: The active-high UR_CLAV signals are asserted if a complete cell is available for transfer to the ATM layer for the polled port. If UR_ADDR does not match any of the UTOPIA port addresses, this signal is tri-stated. UR_CLAV0 is driven in multiplexed with 1 CLAV polling mode as well as direct status mode for port 1. UR_CLAV3, UR_CLAV2, and UR_CLAV1 are driven only in direct status mode for ports 4, 3, and 2, respectively. UR_PAR Signal Name: Receive UTOPIA Parity Bit Signal Description: Output Signal Type: This three-statable signal allows for parity error checking, as calculated for the 8-bits of the UR_DATA bus, and can represent odd or even parity as determined by the receive parity select (RPS) bit in RCR1. UT_CLK Signal Name: Transmit UTOPIA Clock Signal Description: Input Signal Type: This clock is used to register and control the UTOPIA signals on the transmit side. 12 of 62 DS26101 8-Port TDM-to-ATM PHY UT_ADDR[4:0] Signal Name: Transmit UTOPIA Address Signal Description: Input Signal Type: The ATM layer drives this 5-bit-wide bus to poll and select the appropriate UTOPIA port. UT_ADDR4 is the MSB and UT_ADDR0 is the LSB. Signal Name: UT_ENB Transmit UTOPIA Enable Signal Description: Input Signal Type: The ATM layer asserts this active-low enable signal during cycles when UT_DATA contains valid cell data. UT_SOC Signal Name: Transmit UTOPIA Start of Cell Signal Description: Input Signal Type: The ATM layer asserts this active-high signal when UT_DATA contains the first valid byte of the cell. UT_DATA[7:0] Signal Name: Transmit UTOPIA Data Bus Signal Description: Input Signal Type: The ATM layer drives this byte-wide true data to one of the selected ports. UT_DATA7 is the MSB and UT_DATA0 is the LSB. UT_CLAV[3:0] Signal Name: Transmit UTOPIA Cell Available Signal Description: Output Signal Type: The DS26101 asserts this active-high UT_CLAV signal if it has cell space available to accommodate a complete cell from the ATM layer to the polled port. If UT_ADDR does not match with any one of the UTOPIA port addresses, this signal is tri-stated. UT_CLAV0 is driven in multiplexed with 1 CLAV polling mode as well as direct status mode for port 1. UT_CLAV3, UT_CLAV2, and UT_CLAV1 are driven only in direct status mode for ports 4, 3, and 2, respectively. UT_2CLAV[3:0] Signal Name: Transmit UTOPIA 2 Cells Available Signal Description: Output Signal Type: The DS26101 asserts this active-high UT_2CLAV signal if it has cell space available to accommodate two complete cells from the ATM layer. If UT_ADDR does not match with any one of the UTOPIA port addresses, this signal is tri-stated. UT_2CLAV0 is driven in multiplexed with 2 CLAV polling mode as well as direct status mode for port 1. UT_2CLAV3, UT_2CLAV2, and UT_2CLAV1 are driven only in direct status mode for ports 4, 3, and 2, respectively. UT_PAR Signal Name: Transmit UTOPIA Parity Bit Signal Description: Input Signal Type: This signal is used for parity checking as calculated for the 8 bits of the UT_DATA bus. Transmit parity errors are reported in the port status register (PSR) at bit 6. This bit can represent odd or even parity, as determined by the transmit parity select (TPRS) bit in TCR1. 6.3 Microprocessor and System Interface Signals A[6:0] Signal Name: Microprocessor Address Bus Signal Description: Input Signal Type: This bus selects a specific register during read/write access. A7 is the MSB and A0 is the LSB. A7 is also used as the address latch enable (ALE/AS) during multiplexed bus operation (MUX = 1). 13 of 62 DS26101 8-Port TDM-to-ATM PHY A7/ALE (AS) Signal Name: Address Latch Enable (Address Strobe) or A7 Signal Description: Input Signal Type: In nonmultiplexed bus operation (MUX = 0), the ALE serves as the upper address bit. In multiplexed bus operation (MUX = 1), it serves to demultiplex the bus on a positive-going edge. D[7:0]/AD[7:0] Signal Name: Microprocessor Data Bus Signal Description: Input/Output Signal Type: This 8-bit, bidirectional data bus is used for read/write access of the DS26101’s information and control registers. D7/AD7 is the MSB and D0/AD0 is the LSB. This bus also carries address information during multiplexed operation (MUX = 1). Signal Name: CS Chip Select Signal Description: Input Signal Type: This active-low signal is used to qualify register read/write accesses. The RD and WR signals are qualified with CS. Signal Name: RD (DS) Read Enable Signal Description: Input Signal Type: Along with CS, this active-low signal qualifies read access to one of the registers. While RD and CS are both low, the DS26101 drives the D/AD bus with the contents of the addressed register. Signal Name: WR (R/W) Write Enable Signal Description: Input Signal Type: Along with CS, this active-low signal qualifies write access to one of the DS26101 registers. Data at D/AD[7:0] is written into the addressed register at the rising edge of WR while CS is low. Signal Name: INT Interrupt Signal Description: Output Signal Type: This active-low, open-drain output is asserted when an unmasked interrupt event is detected. INT is deasserted when all interrupts have been acknowledged and serviced. MUX Signal Name: Bus Operation Signal Description: Input Signal Type: Set this signal low to select nonmultiplexed bus operation. Set it high to select multiplexed bus operation. BTS Signal Name: Bus Type Select Signal Description: Input Signal Type: Set this signal high to select Motorola bus timing; set it low to select Intel bus timing. This pin controls the function of the RD (DS), ALE (AS), and WR (R/W) pins. If BTS = 1, these pins assume the function listed in parentheses (). BLS0 Signal Name: Block Select 0 Signal Description: Input Signal Type: This signal is available on the DS26101 to determine which octal block of ports is mapped to the microprocessor control port. REFCLKIN Signal Name: Reference Clock Signal Description: Input Signal Type: This continuous T1 (1.544MHz) or E1 (2.048MHz) clock is used to create GCLKOUT. 14 of 62 DS26101 8-Port TDM-to-ATM PHY GCLKOUT Signal Name: Global Clock Output Signal Description: Output Signal Type: This output clock is 16x the REFCLKIN input (24.7MHz (typ) for T1). This pin is usually connected to GCLKIN. GCLKIN Signal Name: Global Clock Input Signal Description: Input Signal Type: This is the primary clock for internal state machines. It can be connected to GCLKOUT or provided by the user. The GCLKIN frequency must be at least 10x the T1 or E1 line rate. Signal Name: RESET System Reset Signal Description: Input Signal Type: This is an active-low reset. Forcing this input low sets all internal registers to their default value. 8KHZIN Signal Name: 8kHz Reference Clock Signal Description: Input Signal Type: This continuous clock is used to generate the internal one-second timer pulse. It can be a T1/E1 frame sync. 1SECOUT Signal Name: One-Second Clock Output Signal Description: Output Signal Type: This is a one-second reference-pulse output created by dividing 8KHZIN by 8000. Using this signal is optional. EXSTAT0-7 Signal Name: External Status Input (0 to 7) Signal Description: Input Signal Type: A low-to-high transition on this pin sets the EXSTAT status bit in the port status register (PSR). EXSTAT1 maps to the PSR for port 1 up to EXSTAT8, which maps to port 8. The EXSTAT bit can be enabled to generate an interrupt by setting the EXSTATIM bit in RCR2. These signals could be connected to an external event timer, an external status signal, or the 1SECOUT signal generated by the DS26101. Application of this signal is optional. If not used, the EXSTAT signals should be grounded. RLCD0–7 Signal Name: Receive Loss-of-Cell Delineation for Ports 0 to 7 Signal Description: Output Signal Type: This signal is the hardware representation of the LCDS status bit (PSR.2). For example, if RLCD3 is high (logic 1), then port 3’s receiver has lost cell delineation (synchronization) with the incoming data stream. ROVFL0–7 Signal Name: Receive FIFO Overflow for Ports 0 to 7 Signal Description: Output Signal Type: This signal is a hardware representation of the FOIS status bit (PSR.0). TPED0–7 Signal Name: Transmit Parity Error Detect for Ports 0 to 7 Signal Description: Output Signal Type: This signal is the hardware representation of the TPED status bit (PSR.6). 15 of 62 DS26101 8-Port TDM-to-ATM PHY 6.4 Test and JTAG Signals JTRST Signal Name: IEEE 1149.1 Test Reset Signal Description: Input Signal Type: JTRST is used to asynchronously reset the test access port (TAP) controller. After power-up, JTRST must be toggled from low to high. This action sets the device into the JTAG DEVICE ID mode. Normal device operation is restored by pulling JTRST low. JTRST is pulled high internally through a 10kW resistor operation. If boundary scan is not used, this pin should be held low. JTMS Signal Name: IEEE 1149.1 Test Mode Select Signal Description: Input Signal Type: This pin is sampled on the rising edge of JTCLK and is used to place the TAP into the various defined IEEE 1149.1 states. This pin has a 10kW pullup resistor. JTCLK Signal Name: IEEE 1149.1 Test Clock Signal Signal Description: Input Signal Type: This signal is used to shift data into JTDI on the rising edge and out of JTDO on the falling edge. JTDI Signal Name: IEEE 1149.1 Test Data Input Signal Description: Input Signal Type: Test instructions and data are clocked into this pin on the rising edge of JTCLK. This pin has a 10kW pullup resistor. JTDO Signal Name: IEEE 1149.1 Test Data Output Signal Description: Output Signal Type: Test instructions and data are clocked out of this pin on the falling edge of JTCLK. If not used, this pin should be left unconnected. TEST Signal Name: Test Mode Signal Description: Input Signal Type: When TEST is set to logic 1, the REFCLKIN input is connected to the internal SYS_CLK for the IP01 logic cores. In this mode, the signal on REFCLKIN should be phase-aligned to GCLKIN with a frequency of GCLK/2. Also, when TEST = 1 and RESET = 0, all outputs should be tri-stated. 7. TRANSMIT OPERATION The DS26101 interface to the ATM layer is fully compliant to the ATM Forum’s UTOPIA Level 2 specification. The DS26101 supports either direct status (up to 4 ports) or multiplexed with 1 CLAV mode. Each octal block can be configured to use any of the address ranges (0 to 7, 8 to 15, 16 to 23, or 24 to 30) as UTOPIA port addresses. Each octal block on the bus must be configured for a different UTOPIA address range. The depth of the Tx FIFO is configurable to 2, 3, or 4 cells. When a port is polled and has cell space available, the DS26101 generates a cellavailable signal for that port. Figure 7-1 shows the polling and cell transfer cycles to UTOPIA ports in the DS26101. Note that UT_SOC must be aligned with the first byte transfer. The DS26101 uses UT_SOC to detect the first byte of a cell. If a spurious UT_SOC comes during a cell transfer, then the DS26101 aligns with the latest UT_SOC and ignores the bytes (partial cell) received thus far. 7.1 UTOPIA-Side Transmit—Muxed Mode with 1 TXCLAV In Level 1 UTOPIA there is only one PHY layer device. It uses UT_CLAV to convey transfer status to the ATM layer. In Level 2 UTOPIA only one MPHY port at a time is selected for a cell transfer. However, another MPHY port 16 of 62 DS26101 8-Port TDM-to-ATM PHY can be polled for its UT_CLAV status, while the selected MPHY port (device) transfers data. The ATM layer polls the UT_CLAV status of an MPHY port by placing its address on UT_ADDR. The MPHY port (device) drives UT_CLAV during each cycle, following one with its address on the UT_ADDR lines. The ATM layer selects an MPHY port for transfer by placing the desired MPHY port address onto UT_ADDR, when UT_ENB is deasserted during the current clock cycle and asserted during the next clock cycle. All MPHY devices only examine the value on UT_ADDR for selection purposes when UT_ENB is deasserted. The MPHY port is selected starting from the cycle after its address is on the UT_ADDR lines and UT_ENB is deasserted; a new MPHY port is addressed for selection ending in the cycle and UT_ENB is deasserted. Once a MPHY port is selected, the cell transfer is accomplished as described by the cell-level handshake of UTOPIA Level 1. To operate an MPHY device in a single PHY environment, the address pins should be set to the value programmed by the management interface. Figure 7-1 shows an example where PHYs are polled until the end of a cell transmission cycle. The UT_CLAV signal shows that PHYs N - 3 and N + 3 can accept cells and that PHY N + 3 is selected. The PHY is selected with the rising clock edge 16. Immediately after the beginning of cell transmission to PHY N + 3, the ATM layer starts polling again. Up to 26 PHYs can be polled using the 2-clock polling cycles shown in Figure 7-1. This maximum value can only be reached if all responses occur in minimum delays, e.g., as the figure shows, where the response of the last PHY is obtained with clock edge 15, immediately followed by the UT_ENB pulse to the PHYs. If an ATM implementation needs additional clock cycles to select the PHY, fewer than 26 PHY can be polled during one cell cycle. Note that if the ATM decides to select PHY N again for the next cell transmission, it could leave the UT_ENB line asserted and start transmitting the next cell with clock edge 15. This results in back-to-back cell transmission. Note that the active PHY (PHY N) is polled in octet P48. According to the UTOPIA Level 1 specification, the PHY’s UT_CLAV signal at this time indicates the possibility of a subsequent cell transfer. Polling of PHY N before octet P44 would be possible, but it does not indicate availability of the next cell. Figure 7-2 shows an example where the transmission of cells through the transmit interface is stopped by the ATM, as no PHY is ready to accept cells. Polling then continues. Several clock cycles later one PHY gets ready to accept a cell. During the transmission pause the UT_DATA and UT_SOC may go into high-impedance state, as shown in Figure 7-2. UT_ENB is held in deasserted state. When a PHY is found that is ready to accept a cell (PHY_N + 3 in this case), the address of this PHY must be applied again to select it. This is necessary because of the 2-clock polling cycle, where the PHY is detected at clock edge 15. At this time, the address of PHY N + 3 is no longer on the bus, therefore, it must be applied again in the next clock cycle. PHY N + 3 is selected with clock edge 16. Figure 7-1. Polling Phase and Selection Phase at Transmit Interface SELECTION POLLING UT_CLK UT_ADDR[4:0] 1 2 N+1 UT_CLAV[0] 3 1F 4 N-3 5 1F 6 N-2 N-3 N+2 7 1F POLLING 8 N-1 N-2 9 1F 10 N+3 11 1F 12 N+1 N+3 N-1 13 1F 14 N 15 1F N N+1 16 N+3 17 1F 18 N+1 N+3 19 1F 20 N-1 N+1 UT_ENB UT_DATA[7:0] P35 P36 P37 P38 P39 P40 P41 P42 P43 P44 P45 P46 P47 P48 H1 H2 H3 UT_SOC CELL XMIT TO: PHY N 17 of 62 PHY N+3 H4 DS26101 8-Port TDM-to-ATM PHY Figure 7-2. End and Restart of Cell at Transmit Interface SELECTION DETECTION POLLING 1 UT_CLK UT_ADDR[4:0] 2 3 N+1 UT_CLAV[0] 4 1F N 5 1F N+1 6 N+3 N 7 1F POLLING 8 N+2 N+3 9 1F 10 N-1 N+2 11 12 1F N N-1 13 1F 14 15 N+3 1F 16 N+3 N+3 N 17 1F 18 N-2 N+3 19 1F 20 N-3 N-2 UT_ENB UT_DATA[7:0] P45 P46 P47 P48 H1 H2 H3 H4 UT_SOC CELL XMIT TO: PHY N PHY N+3 Figure 7-3 shows an example where the ATM must pause the data transmission, as it has no data available (in this case, for three clock cycles). This is done by deasserting UT_ENB and (optionally) setting UT_DATA and UT_SOC into high-impedance states. Polling may continue. In the last clock cycle, before restarting the transmission, the address “M” of the previously selected PHY is put on the UT_ADDR bus to reselect PHY M again. Figure 7-3. Transmission to PHY Paused for Three Cycles SELECTION POLLING UT_CLK UT_ADDR[4:0] UT_CLAV[0] 1 2 N 3 1F 4 N+1 N 5 1F N+1 POLLING 6 7 N-4 1F N-4 8 M 9 1F M 10 N+2 11 1F 12 N+3 N+2 13 1F N+3 UT_ENB UT_DATA[7:0] P31 P32 P33 P34 P35 P36 P37 P38 P39 UT_SOC CELL XMIT TO: 7.2 PHY M PAUSE XMIT PHY M UTOPIA-Side Transmit—Direct Status Mode (MULTITXCLAV) The DS26101 supports direct status mode per af-phy-0039.000 for a maximum of four PHY ports connected to one ATM layer. For each PHY port, the status signals UR_CLAV and UT_CLAV are permanently available, according to UTOPIA Level 1 specification. PHY devices with up to four on-chip PHY ports have up to four UR_CLAV and up to four UT_CLAV status signals, one pair of UR_CLAV and UT_CLAV for each PHY port. 18 of 62 DS26101 8-Port TDM-to-ATM PHY Status signals and cell transfers are independent of each other. No address information is needed to obtain status information. Address information must be valid only for selecting a PHY port prior to one or multiple cell transfers. With respect to the status signals UR_CLAV and UT_CLAV, this mode of operation corresponds to that of four individual PHY devices, according to UTOPIA Level 1. With respect to the cell transfer, this mode of operation corresponds to that as described in other parts of this document. The ATM layer selects a PHY port for cell transfer by placing the desired port on the address lines (UR_ADDR[4:0], UT_ADDR[4:0]), while the enable signal (UR_ENB, UT_ENB) is deasserted. All PHY ports only examine the value on the address lines for possible selection when the enable signal is deasserted. In case the ATM suspends transmission for a specific PHY port during a cell transfer, no cells to/from other PHY ports can be transferred during this time. Figure 7-4 shows a direct status example for the transmit direction. Signals UT_CLAV[3:0] are associated with PHY port addresses 4, 3, 2, and 1. There is no need for a unique null device, therefore, “X = don’t care” represents any address between 0 and 31 on the address lines UT_ADDR[4:0] or any data on the data bus. In this mode, the DS26101 supports address ranges 0 to 3, 8 to 11, 16 to 19, or 24 to 27. In Figure 7-4 the polling of PHY ports starts while no cell transfer takes place. The ATM layer has pending cells for all four PHY ports (one individual queue for each PHY port), but all four PHY ports cannot accept a cell. With rising clock edge 2, PHY port 1 indicates that it can accept a complete cell (UT_CLAV0 asserted). The ATM layer detects this at clock edge 3. It selects that PHY port by placing address 1 on the address lines with rising clock edge 3. PHY port 1 detects this at clock edge 4. At clock edge 5, PHY port 1 detects UT_ENB asserted, thus cell transfer for PHY port 1 starts with rising clock edge 5 (byte H1). At clock edge 5, the ATM layer detects a cell available at PHY port 3 (UT_CLAV2 asserted). With rising clock edge 52, PHY port 1 indicates that it cannot accept an additional cell by deasserting UT_CLAV0. Thus, at clock edge 57, the ATM layer detects only UT_CLAV2 asserted (UT_CLAV1 and UT_CLAV3 remain deasserted). The ATM layer deselects PHY port 1 and selects PHY port 3 for cell transfer with rising clock edge 57 by placing address 3 on the address lines and deasserting UT_ENB. PHY port 1 and PHY port 3 detect this at clock edge 58. At clock edge 59, PHY port 3 detects UT_ENB asserted, thus cell transfer for PHY port 3 starts with rising clock edge 59 (byte H1). For additional examples, refer to ATM Forum document af-phy-0039.000. Figure 7-4. Example of Direct Status Indication, Transmit Direction UT_CLK 1 2 UT_ADDR[4:0] X UT_CLAV0 PORT 1 UT_CLAV1 PORT 2 UT_CLAV2 PORT 3 UT_CLAV3 PORT 4 3 4 5 1 6 52 X 53 54 55 56 57 X = DON’T CARE 58 59 3 X X H1 N-4 UT_ENB UT_SOC UT_DATA[7:0] X H1 H2 P44 P45 P46 P47 P48 PORT 1 TRANSFER 7.3 PORT 3 Transmit Processing The DS26101 can insert a valid HEC byte in the cell header, or it can be programmed to transparently transmit the HEC byte from ATM layer. When inserting a valid HEC byte, COSET (0x55) addition can be disabled. The 19 of 62 DS26101 8-Port TDM-to-ATM PHY 2 8 generator polynomial used is 1 + X + X + X . For idle/unassigned cell insertion (used for cell-rate decoupling), the DS26101 inserts a valid HEC byte with or without COSET addition, depending on the TCRDS (TCR1.3) microprocessor register bit. The DS26101 can scramble payload bytes, depending on the TPSE (TCR1.4) register 43 bit. The polynomial used for scrambling is X + 1. For debugging purposes, the DS26101 can be configured to introduce a single-bit HEC error in the cell header of transmitted cells. When configured in HEC error-insertion mode, the DS26101 inserts HEC errors in “HEC on period” number of cells and turns off HEC error insertion for “HEC off period” number of cells, as set in the transmit HEC error-pattern register (THEPR). This process repeats periodically until HEC error insertion is disabled through the THEIE bit (TCR1.1). Figure 7-5. Transmit Cell Flow and Processing UTOPIA II DATA INPUT UNASSIGNED CELL IDLE CELL TRANSMIT FIFO TCRDS (TCR1.3) TCAE (TCR1.2) HEC INSERTION ON HEC INSERTION ON/OFF PAYLOAD SCRAMBLING ON/OFF HOFFP[2:0] (THEPR) HEC ERROR INSERTION ON/OFF THIE (TCR1.0) TCAE (TCR1.2) TPSE (TCR1.4) THEIE (TCR1.1) HONP[4:0] (THEPR) CELL DATA TO FRAMER (PHY) 7.4 Physical-Side Transmit The transmit framer interface operates in one of two modes: 1) Gapped clock + data 2) Clock + data + frame-pulse indication The mode can be selected on a per-port basis by the TPLIM control bit (TCR2.1). If configured in frame-pulseindication mode, valid data bits are not sent during frame-pulse positions in the case of T1 and during TS0 and TS16 positions in case of E1 direct mapping. The TS0 and TS16 locations are identified from the frame-pulseindication signal aligned with bit 0 of the E1 frame. The TPC (TCFR.0) bit determines T1 or E1 configuration. ATM cell octets are byte-aligned with respect to the frame-pulse indication signal. In clear E1 mode, valid data bits are transmitted at every clock tick. The DS26101 can either output the frame-pulse signal or use it as an input as controlled through TFSD (TCR2.0). The active edge of the transmit clock can be selected through the TAES control bit (TCR2.2). The active edge used by the transmit interface should be configured to the opposite edge of that used by the external framer. Figure 7-6 shows the transmit-framer interface operation in frame-pulse mode for T1. In this example, the DS26101 uses the positive edge of TCLK to launch TDATA and TFP. Bit B1 is the MSB of a valid cell octet and B8 is the LSB. 20 of 62 DS26101 8-Port TDM-to-ATM PHY The TFP signal should be aligned with the framing bit position. When interfacing to framers where the framing pulse and data active edges are individually configurable, it should be ensured that the sampling and updating should happen in opposite edges. Figure 7-6. Transmit Framer Interface in TFP Mode for T1 TCLK[x] 1 TCLK[x] 2 TFP[x] 3 TDATA[x] B190 B191 B192 F B1 B2 B3 B4 B5 B6 B7 B8 B9 DSO CHANNEL 1 Note 1: TCLK negative edge active. Note 2: TCLK positive edge active. Note 3: TFP as input or output. Figure 7-7 shows the transmit-framer interface operation for T1 in gapped-clock mode. The framing overhead-bit position is gapped. The DS26101 uses the positive edge to launch TDATA. Figure 7-7. Transmit Framer Interface in Gapped-Clock Mode for T1 TCLK[x] TFP[x] TDATA[x] TFP IS DON'T CARE B190 B191 B192 B1 B2 F-BIT GAPPED B3 B4 B5 B6 DSO CHANNEL 1 21 of 62 B7 B8 B9 DS26101 8-Port TDM-to-ATM PHY Figure 7-8 shows the E1 transmit-framer interface operation using TFP to indicate the beginning of the E1 frame. The DS26101 uses the positive edge to launch TDATA and TFP. Using TFP, the DS26101 identifies TS0 and TS16 slots and does not send valid data on TDATA in these slots. In this case, B0 to B7 are not valid data bits of a cell so that B8 is the MSB of the cell octet. The timing requirements for the TFP signal are the same as in the T1 case. Figure 7-8. Transmit Framer Interface in TFP Mode for E1 TCLK[x] 1 TCLK[x] 2 TFP[x] 3 TDATA[x] B253 B254 B255 B0 B1 B2 TS31 B3 B4 B5 B6 B7 B8 TS0 SLOT B9 TS1 Note 1: TCLK negative edge active. Note 2: TCLK positive edge active. Note 3: TFP as input or output (TFP_IN or TFP_OUT). Figure 7-9 shows the transmit framer-interface operation for E1 in gapped-clock mode. Figure 7-9. Transmit Framer Interface in Gapped-Clock Mode for E1 TCLK[x] TFP[x] TDATA[x] TFP IS DON'T CARE B254 B255 TS31 B8 TS0 (GAPPED) B9 B10 TS1 The fractional T1 (N x DS0) is supported in TFP and gapped-clock modes of the physical interface. In TFP mode, the framer must generate TFP during frame-overhead-bit and nonactive-DS0-channel positions. Fractional T1 is not supported if TFP is generated by the DS26101. In gapped-clock mode, TCLK should be gapped during frameoverhead-bit and nonactive-DS0-channel positions. In E1, to achieve a rate in multiples of 64kbps up to 2.048Mbps, the DS26101 should be configured in gapped-clock mode, and TCLK should be gapped during nonactive time slots. TFP mode (for both input and output TFP configurations) is not supported in fractional E1 configuration. The DS26101 can either use the T1/E1 clock from the framer or use an internally generated low-frequency clock at the transmit line interface. The low-frequency clock is the system clock (1/2 x GCLKIN) divided by 8. This clock is used primarily for diagnostic loopback. The TLICS bit (TCR2.6) selects between the framer clock and the internally generated clock. The internally generated clock should be used only in diagnostic loopback (otherwise, the framer and DS26101 are operating for different clocks). During diagnostic loopback, this clock is fed to the receive line interface unit. 22 of 62 DS26101 8-Port TDM-to-ATM PHY 8. RECEIVE OPERATION The receive interface of the DS26101 is fully compliant to the ATM Forum’s UTOPIA Level 2 specifications. Each octal block of the DS26101 can be configured to use one of the address ranges (0 to 7, 8 to 15, 16 to 23, and 24 to 30) as UTOPIA port addresses. For direct status pulling, the address range can be one of 0 to 3, 8 to 11, 16 to 19, and 24 to 27. If Rx FIFO is not empty, cell available is asserted. After cell transfer from a port, the external cellavailable signal is updated based on the receive-FIFO fill level one clock cycle after cell transfer completion. During this one-clock cycle, cell-available indication for this port is kept in the deasserted state. In other words, one-clock minimum latency between two cell transfers from the same UTOPIA port is needed by the DS26101 to update its internal cell pointers. Section 8.3 gives additional details concerning the UTOPIA side interface. 8.1 Physical-Side Receive The receive framer interface operates in one of two modes: 1) Gapped clock + data 2) Clock + data + frame-pulse indication The mode can be selected on a per-port basis with the receive physical-layer interface mode control bit (RPLIM) at RCR2.1. If configured in frame-pulse-indication mode, the bits coming at frame-pulse-indication positions are ignored in case of T1 direct mapping, and bits coming at TS0 and TS16 positions are ignored in case of E1 direct mapping. TS0 and TS16 slots are identified using the frame-pulse indication aligned with bit 0 of the E1 frame. The control bit RPC (RCFR.0) determines T1 or E1 configuration. If no frame-pulse indication is given, bits are sampled at every receive clock tick. If clear E1 operation is needed, the interface should be configured to operate in gapped clock + data mode, in which case the external frame-pulse-indication signal is ignored and the data bits are clocked at every clock tick. The active edge of the receive clock can be selected through the RAES (RCR2.2) control bit. The active edge selected for the Rx framer interface should be opposite the active edge that is used by the transmitting device (either an external framer or the transmit section of DS26101, when enabled for diagnostic loopback). Diagnostic loopback toward the ATM layer side (UTOPIA side) can be enabled through the DLBE (RCR2.0) control bit. In diagnostic loopback, data, clock, and frame-pulse indication generated by the transmit section of the DS26101 are used instead of the corresponding signals from the physical layer device. Rx physical-interface mode should be configured with the same value as Tx physical-interface mode. The Rx active-edge selection bit should be configured as the opposite edge of that used by the transmit section of the DS26101. Figure 8-1 shows the receive-framer-interface operation for T1 mode with the DS26101 using the positive clock edge to sample RDATA and RFP and the framer using the negative edge to launch RDATA and RFP. Figure 8-1. Receive Framer Interface in RFP Mode for T1 RCLK[x] RFP[x] RDATA[x] B190 B191 B192 F B1 B2 B3 B4 B5 B6 DSO CHANNEL 1 23 of 62 B7 B8 B9 DS26101 8-Port TDM-to-ATM PHY Figure 8-2 shows the receive-framer-interface operation for T1 in gapped-clock mode. The framing overhead-bit position is gapped. In this figure, the DS26101 uses the positive edge to sample RDATA and RFP. RFP is don’t care. Figure 8-2. Receive Framer Interface in Gapped-Clock Mode for T1 RCLK[x] RDATA[x] B190 B191 B192 B1 B2 B3 F-BIT GAPPED B4 B5 B6 B7 B8 B9 DSO CHANNEL 1 Figure 8-3 shows the receive-framer-interface operation for E1 using RFP to indicate the beginning of the E1 rame. The DS26101 uses the positive edge of RCLK to sample RDATA and RFP. Using RFP, the DS26101 identifies TS0 and TS16 slots and ignores RDATA coming in these slots. Figure 8-3. Receive Framer Interface in RFP Mode for E1 RCLK[x] RFP[x] RDATA[x] B253 B254 B255 B0 B1 B2 TS31 B3 B4 B5 B6 B7 B8 TS0 SLOT B9 TS1 Figure 8-4 shows the receive-framer-interface operation for E1 in gapped-clock mode. In this mode, RCLK is gapped during TS0 and TS16 locations. Figure 8-4. Receive Framer Interface in Gapped-Clock Mode for E1 RCLK[x] RDATA[x] B254 B255 DON'T CARE TS31 TS0 (GAPPED) 24 of 62 B8 B9 TS1 B10 DS26101 8-Port TDM-to-ATM PHY The fractional T1 (N x DS0) is supported in RFP and gapped-clock modes of physical interface. In RFP mode, the framer must generate RFP during frame-overhead-bit and nonactive-DS0-channel positions. In gapped-clock mode, RCLK should be gapped during frame-overhead-bit and nonactive-DS0-channel positions. In E1 mode, the DS26101 should be configured in gapped-clock mode and RCLK should be gapped during nonactive time slots. RFP mode is not supported in fractional E1 configuration. 8.2 Receive Processing The received bits, after ignoring framing-overhead bits, are checked for possible HEC pattern. The polynomial used 2 8 for HEC check is G(X) = 1 + X + X + X , per ITU I.432. Clearing the microprocessor interface register bit RCSE (RCR1.0) can disable the COSET subtraction (0x55). The cell boundaries in the incoming bit stream are identified based on HEC. Figure 8-5 shows the cell-delineation state machine. The cell-delineation state machine is initially in HUNT state. In HUNT state, it performs bit-by-bit hunting for correct HEC. If correct HEC is found, it transitions to the PRESYNC state where it checks cell-by-cell for correct HEC patterns. If DELTA-consecutive-correct patterns are received in PRESYNC, the cell-delineation state machine transitions to SYNC state. Otherwise, it goes to HUNT state and reinitiates bit-by-bit hunting. In SYNC state, if ALPHA-consecutive-incorrect HEC patterns are received, cell delineation is lost and it goes to HUNT state. In PRESYNC and SYNC states, only cell-by-cell checking for the proper HEC pattern is performed. For the DS26101, ALPHA = 7 and DELTA = 6. The persistence of the out-of-cell delineation (OCD) event is integrated into LCD, based on programmable integration time period (Rx-LCD integration-period register). If OCD persists for the programmed time, LCD is declared. LCD is deasserted only when cell delineation persists in SYNC for the same programmed integration time. Whenever there is a change in LCD status (namely “into LCD” or “out of LCD”), an external interrupt is generated when enabled by the corresponding mask bit RCR2.4. The persistence is checked every system clock period (SYS_CLK) divided by 16,383. The default value of the Rx LCD integration-period register provides for an integration time of 100ms for a 16.5MHz SYS_CLK. If single-bit header-error correction is enabled, the receiver mode of operation state machine follows the state machine given in Figure 8-6. Single-bit correction is done only if correction is enabled and the state machine is in the correction mode of operation at the start of cell transfer. Receiver mode of operation is valid only when cell delineation is in SYNC state. The DS26101 maintains 8-bit correctable and 12-bit uncorrectable HEC-errored cell counts. Both of these counters saturate. Figure 8-5. Cell Delineation State Diagram BIT BY BIT CORRECT HEC HUNT ALPHA CONSECUTIVE INCORRECT HEC INCORRECT HEC SYNC PRESYNC CELL BY CELL DELTA CONSECUTIVE CORRECT HEC CELL BY CELL 25 of 62 DS26101 8-Port TDM-to-ATM PHY Figure 8-6. Header Correction State Machine MULTIBIT ERROR DETECTED (CELL DISCARDED) NO ERROR DETECTED (NO ACTION) CORRECTION MODE NO ERROR DETECTED (NO ACTION) DETECTION MODE ERROR DETECTED (CELL DISCARDED) SINGLE-BIT ERROR DETECTED (CORRECTION) HEC error correction is performed based on receiver mode of operation. In correction mode, only single bit errors can be corrected and the receiver switches to detection mode. In detection mode, all cells with detected header errors are discarded, provided the receive-pass HEC-errored cells (RPHEC) control bit (RCR1.3) is clear. When a header is examined and found not to be in error, the receiver switches to correction mode. The term “no action” in Figure 8-6 means no correction is performed and no cell is discarded. The payload bytes of the cell are descrambled using the self-synchronizing descrambler polynomial 43 X + 1, as given in ITU-T I.432. The descrambling can be enabled through the RDE control bit (RCR1.2). Descrambling is activated if cell delineation is in PRESYNC or SYNC state. The cell header is not affected by descrambling. After descrambling and single-bit header-error correction, the cells are written into the receive FIFO as long as cell delineation is in SYNC and the Rx FIFO is not full. Idle and/or unassigned cells can be filtered when enabled in the receive control registers. Uncorrectable HEC-errored cells are normally filtered and are not written into the Rx FIFO unless RPHEC (RCR1.3) is set. Note that if HEC-error correction is disabled, all HEC-errored cells are termed as uncorrectable HEC-errored cells. A 16-bit counter tracks the number of cells that can be written into the Rx FIFO and saturates at 0xFFFF. Note that, whether or not the ATM layer dequeues cells from Rx FIFO, this counter is incremented if valid cells are received. This counter is cleared by the microprocessor interface once it is latched. A 4-cell buffer per port is maintained for rate decoupling. 8.3 UTOPIA-Side Receive—Muxed Mode with 1 RXCLAV An internal version of the cell-available signal is maintained per port. The DS26101 drives the internal cell-available signals onto the external CLAV lines based on the configured polling mode. In direct status mode, only four ports are supported. The four external CLAV lines are driven with the corresponding internal CLAV signals for UTOPIA ports 0 to 3. In multiplexed-with-1-CLAV mode, only CLAV [0] is driven with the cell-available signal for the port corresponding to the current lower three UTOPIA address bits. The upper two UTOPIA address bits should match the configured address range. If cell transfer is being conducted for a port, its CLAV is kept asserted until the last byte is transferred to the ATM layer. This is accomplished to support interfacing with the octet-level ATM layer as well. The ATM layer must poll cell-available status for any fresh cell corresponding to a port only after the current cell transfer to the port is completed. The multiplexed with 1 CLAV polling-mode cycle is depicted in Figure 8-7, in which N, N + 2, N - 3, N - 2, N - 1, N + 3, N + 1 are considered part of the DS26101 UTOPIA ports. During reception of a cell from PHY N, the other PHYs are polled. It turns out that PHY N - 3 and PHY N + 3 have cells available, and PHY N + 3 is ultimately selected. Just like the transmit interface, the 2-clock polling cycle allows a maximum of 26 PHYs to be polled in the 8-bit mode during a cell transfer. 26 of 62 DS26101 8-Port TDM-to-ATM PHY Figure 8-7. Polling Phase and Selection at Receive Interface SELECTION POLLING 1 UR_CLK UR_ADDR[4:0] 2 N+2 UR_CLAV[0] 3 1F N-3 4 5 1F N-2 N-3 N+2 6 POLLING 7 1F 8 N-1 1F N-2 9 N+3 10 1F 11 N+1 N+3 N-1 12 13 1F 14 N-1 N+1 15 1F 16 N+3 17 1F N+1 N+3 N-1 18 19 1F N-1 N+1 UR_ENB UR_DATA[7:0] P35 P36 P37 P38 P39 P40 P41 P42 P43 P44 P45 P46 P47 P48 H1 H2 H3 UR_SOC CELL RCV FROM: PHY N PHY N+3 Figure 8-8 shows a case when, after the end of transmission of a cell from PHY N, no other PHY has a cell available. Therefore, UR_ENB remains asserted as the ATM assumes a cell available from PHY N. With clock edge 9, PHY N also has no cell available, as UR_SOC remains low. The ATM then deasserts UR_ENB while the polling of the PHYs continues. With clock edge 15, PHY N - 3 is found to have a cell for transmission. So address N - 3 is applied, and the PHY N - 3 is selected with clock edge 16. Additional receive interface examples are available in ATM Forum’s af-phy-0039.000. Figure 8-8. End and Restart of Cell Transmission at Receive Interface DETECTION SELECTION POLLING UR_CLK UR_ADDR[4:0] UR_CLAV[0] 1 2 N-3 3 1F N-3 4 N+1 5 1F N+1 6 N-1 7 1F POLLING 8 N N-1 9 1F 10 N+3 N 11 1F N+3 12 N-1 13 1F N-1 14 N-3 15 1F 16 N-3 N-3 17 1F 18 N+1 N-3 19 1F 20 N+2 N+1 UR_ENB UR_DATA[7:0] P42 P43 P44 P45 P46 P47 P48 XX H1 H2 H3 UR_SOC CELL RCV FROM: 8.4 PHY N PHY N-3 UTOPIA-Side Receive—Direct Status Mode (MULTIRXCLAV) Consider up to a maximum of four PHY ports connected to one ATM layer. For each PHY port, the status signals UR_CLAV and UT_CLAV are permanently available according to UTOPIA Level 1 specification. PHY devices with up to four on-chip PHY ports have up to four UR_CLAV and up to four UT_CLAV status signals, one pair of UR_CLAV and UT_CLAV for each PHY port. 27 of 62 DS26101 8-Port TDM-to-ATM PHY Status signals and cell transfers are independent of each other. No address information is needed to obtain status information. Address information must be valid only for selecting a PHY port prior to one or multiple cell transfers. With respect to the status signals UR_CLAV and UT_CLAV, this mode of operation corresponds to that of four individual PHY devices, according to UTOPIA Level 1. With respect to the cell transfer, this mode of operation corresponds to that described in this document and af-phy-0039.000. The ATM layer selects a PHY port for cell transfer by placing the desired port on the address lines (UR_ADDR[4:0], UT_ADDR[4:0]), while the enable signal (UR_ENB, UT_ENB) is deasserted. All PHY ports only examine the value on the address lines for possible selection when the enable signal is deasserted. If the ATM layer suspends transmission for a specific PHY port during a cell transfer, no cells to/from other PHY ports can be transferred during this time. Figure 8-9 shows an example for the receive direction. The status signals UR_CLAV[3:0] are associated with PHY port addresses 4, 3, 2, and 1. Note that for the DS26101, the address range can be any one of 0 to 3, 8 to 11, 16 to 19, and 24 to 27. There is no need for a unique null device, so “X = don’t care” on the address lines UR_ADDR[4:0]. In Figure 8-9 the polling of PHY ports starts while no cell transfer takes place. The ATM layer monitors all four status signals UR_CLAV[3:0]. At clock edge 3 it detects a cell available at PHY port 1 (UR_CLAV0 asserted). It selects that PHY port by placing address 1 on the address lines with rising clock edge 3. PHY port 1 detects this at clock edge 4. At clock edge 5 PHY port 1 detects UR_ENB asserted, thus cell transfer for PHY port 1 starts with rising clock edge 5. At clock edge 5, the ATM layer detects a cell available at PHY port 3 (UR_CLAV2 asserted). Not knowing whether PHY port 1 may have another cell available or not, the ATM layer deselects PHY port 1 and selects PHY port 3 for cell transfer with rising clock edge 57 by placing address 3 on the address lines and deasserting UR_ENB. PHY port 1 and PHY port 3 detect this at clock edge 58. At clock edge 59, PHY port 3 detects UR_ENB asserted, thus cell transfer starts with rising clock edge 59. At clock edge 111, no cell is available at PHY ports 1, 2, and 4. The ATM layer keeps UR_ENB asserted and detects at clock edge 113 the first byte of another cell available from PHY port 3 (UR_CLAV2 asserted). Thus, cell transfer takes place starting with rising clock edge 112. At clock edge 164, again, no cell is available at PHY ports 1, 2, and 4. The ATM layer keeps the UR_ENB asserted and detects at clock edge 166 that there also is no cell available from PHY port 3 (UR_CLAV2 deasserted). Thus, the ATM layer deselects PHY port 3 by deasserting UR_ENB with rising clock edge 166. Figure 8-9. Example Direct Status Indication, Receive Direction UR_CLK 1 2 UR_ADDR[4:0] X UR_CLAV0 PORT 1 UR_CLAV1 PORT 2 UR_CLAV2 PORT 3 UR_CLAV3 PORT 4 3 4 1 5 6 X 57 58 3 59 60 111 112 X 113 114 164 165 166 167 X X UR_ENB UR_SOC UR_DATA[7:0] TRI-STATED H1 P48 CELL TRANSFER (PORT 1) 28 of 62 H1 P48 CELL TRANSFER (PORT 3) H1 H2 P48 CELL TRANSFER (PORT 3) X DS26101 8-Port TDM-to-ATM PHY 9. REGISTER MAPPING The 8-bit registers described in this section are maintained per port, unless otherwise noted. Address bits [7:5] determine port number, address bit [4] distinguishes Tx and Rx section registers, and address bits [3:0] select the particular register in Tx and Rx sections. This register arrangement applies to each block of eight T1/E1 ports. Table 9-A. Register Map P1 P2 P3 P4 P5 P6 P7 P8 R/W REGISTER FUNCTION 00 — 01 02 03 04 — 05 — 06 07 08 09 to 0F 10 — 11 — 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F — 20 21 22 23 — 24 — 25 26 27 — 28 to 2F — 30 — 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F — 40 41 42 43 — 44 — 45 46 47 — 48 to 4F — 50 — 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F — 60 61 62 63 — 64 — 65 66 67 — 68 to 6F — 70 — 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F — 80 81 82 83 — 84 — 85 86 87 — 88 to 8F — 90 — 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F — A0 A1 A2 A3 — A4 — A5 A6 A7 — A8 to AF — B0 — B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF — C0 C1 C2 C3 — C4 — C5 C6 C7 — C8 to CF — D0 — D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF — E0 E1 E2 E3 — E4 — E5 E6 E7 — E8 to EF — F0 — F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF RW — W R R RW — RW — RW RW R TCFR — TPCL TACC1 TACC2 TIUPB — THEPR — TCR1 TCR2 ISR Tx Configuration Register (Note 1) Reserved (Note 2) Tx PMON Counter Latch-Enable Register Tx Assigned Cell Counter MSB (Note 3) Tx Assigned Cell Counter LSB (Note 4) Tx Idle/Unassigned Payload Byte (Note 1) Reserved (Note 2) Tx HEC Error-Insertion Pattern (Note 1) Reserved (Note 2) Tx Control Register 1 Tx Control Register 2 Interrupt Status Register (Note 1) — — RW RCFR RW — W R R R R R R RW RW RW RW RW RW RW RLCDIP — RPCL RCHEC RUHEC1 RUHEC2 RACC1 RACC2 PSR RCR1 RCR2 RUFC RUFPM1 RUFPM2 RUFPM3 RUFPM4 Reserved (Note 2) Rx Configuration Register (Note 1) Reserved Rx LCD Integration Register (Note 1) Reserved Rx PMON Counter-Latch Enable Rx Correctable HEC Latch Rx Uncorrectable HEC MSB Rx Uncorrectable HEC LSB Rx-Assigned Cell Counter MSB (Note 5) Rx-Assigned Cell Counter LSB (Note 6) Per Port Status Register Rx Control Register 1 Rx Control Register 2 Rx User-Filter Control Rx User-Filter Pattern/Mask 1 Rx User-Filter Pattern/Mask 2 Rx User-Filter Pattern/Mask 3 Rx User-Filter Pattern/Mask 4 P1 to P8 = Address locations (hex) for UTOPIA PHY port 1 through port 8. Note 1: These registers are common to all ports. Note 2: Writing into reserved address regions should be avoided. Reading from reserved address regions could give undefined value. Note 3: Tx-assigned cell counter MSB-latch register is an 8-bit register common to all ports. It can be accessed with any of the 8 addresses. This register holds the upper 8-bit of the Tx-assigned cell count for the port selected by accessing the Tx-PMON counter latch-enable register. Note 4: Tx-assigned cell counter LSB-latch register is an 8-bit register common to all ports. It can be accessed with any of the 8 addresses. This register holds the lower 8-bit of the Tx-assigned cell count for the port selected by accessing the Tx-PMON counter latch-enable register. Note 5: Rx-assigned cell counter MSB-latch register is an 8-bit register common to all ports. It can be accessed with any of the 8 addresses. This register holds the upper 8-bit of the Rx-assigned cell count for the port selected by accessing the Rx-PMON counter latch-enable register. Note 6: Rx-assigned cell counter LSB-latch register is an 8-bit register common to all ports. It can be accessed with any of the 8 addresses. This register holds the lower 8-bit of the Rx-assigned cell count for the port selected by accessing the Rx-PMON counter latch-enable register. Conventions: 1) In bit definitions, bit 7 is the most significant bit (MSB) and bit 0 is the least significant bit (LSB). 2) Ports can be referred with either 1 to 8 (one-based) or 0 to 7 (zero-based). While referring a port, the addressing system, either one-based or zero-based is explicitly mentioned in brackets. 29 of 62 DS26101 8-Port TDM-to-ATM PHY 3) 4) Reserved bit fields should be replaced with 0 while writing and, upon reading, the value corresponding to reserved bit fields is undefined. R indicates read permission; W indicates write permission; RW indicates read/write permission for software to access a register. 10. REGISTER DEFINITIONS 10.1 Transmit Registers Register Name: Register Description: Register Address: TCFR Transmit Configuration Register 00h (Common for All Transmit Ports) Bit: Name: Default: 6 — 0 7 — 0 5 — 0 4 — 1 3 TADDR1 0 2 TADDR0 0 1 TPM 0 0 TPC 0 Bit 0: Transmit Port Configuration (TPC). This bit affects only the Tx section. 0 = T1 mode 1 = E1 mode Bit 1: Transmit Poll Mode (TPM). Transmit UTOPIA polling mode configuration. 0 = multiplexed with 1CLAV mode 1 = direct status Bits 2, 3: Transmit High Address (TADDR). These bits decide which upper 2 bits of the UTOPIA address are to be used by the ATM layer for selecting one of the ports. The lower 3 bits of address are assigned to the port number 1 to 8 (one-based): '00' for address range 0–7 '01' for address range 8–15 '10' for address range 16–23 * '11' for address range 24–30 Bits 4 to 7: Unassigned, read only *Address 31 (1F hex) is reserved as the null address per UTOPIA Forum. When an octal block is offset to the highest UTOPIA address range, the port at address 31 becomes inactive. 30 of 62 DS26101 8-Port TDM-to-ATM PHY Register Name: Register Description: Register Address: Bit: Name: Default: 7 — 0 TCR1 Transmit Control Register 1 06h, 26h, 46h, 66h, 86h, A6h, C6, E6h 6 TPEDIM 0 5 TPRS 0 4 TPSE 0 3 TCRDS 0 2 TCAE 1 1 THEIE 0 0 THIE 1 Bit 0: Transmit HEC Insertion Enable (THIE) 0 = HEC byte as received from the ATM layer is transparently passed. 1 = proper HEC value is computed and inserted into the HEC byte of the cell. Bit 1: Transmit HEC Error-Insertion Enable (THEIE) 0 = HEC error insertion disabled 1 = HEC errors are introduced into the transmitted cells, as specified by the transmit HEC error-insertion pattern register. Bit 2: Transmit COSET Addition Enable (TCAE) 0 = no COSET addition 1 = COSET (0x55) addition to the calculated HEC. Note that if HEC insertion is disabled, the HEC byte is transmitted transparently (this bit does not affect ATM layer cells). However, the HEC byte of idle/unassigned cells used for cell-rate decoupling includes COSET addition as long as the TCAE bit is enabled. Bit 3: Transmit Cell-Rate Decoupling Selection (TCRDS) 0 = idle cell 1 = unassigned cell Bit 4: Transmit Payload Scrambling Enable (TPSE) 0 = disable scrambling 1 = enable scrambling Bit 5: Transmit Parity Select (TPRS). This bit determines the parity mode expected on the UT_PAR signal. 0 = odd parity check selected for transmit UTOPIA bus 1 = even parity check selected for transmit UTOPIA bus Bit 6: Transmit Parity Error-Detect Interrupt Mask (TPEDIM) 0 = DS26101 does NOT generate an external interrupt on a Tx parity error. 1 = DS26101 does generate an external interrupt on a Tx parity error. Bit 7: Unassigned, must be set to 0 for proper operation 31 of 62 DS26101 8-Port TDM-to-ATM PHY Register Name: Register Description: Register Address: Bit: Name: Default: 7 — 0 TCR2 Transmit Control Register 2 07h, 27h, 47h, 67h, 87h, A7h, C7h, E7h 6 TLICS 0 5 FDC1 0 4 FDC0 0 3 TCES 0 2 TAES 0 1 TPLIM 0 0 TFSD 0 Bit 0: Transmit Frame-Sync Direction (TFSD) 0 = UTOPIA block accepts a transmit frame sync (TFP is an input). 1 = UTOPIA block generates a frame sync (TFP is an output). Bit 1: Transmit Physical-Layer Interface Mode (TPLIM) 0 = clock + data + frame-pulse-indication combination 1 = gapped clock + data combination Bit 2: Transmit Active-Edge Selection (TAES) 0 = positive edge of TCLK as timing reference 1 = negative edge of TCLK as timing reference Bit 3: Transmit Clear E1 Selection (TCES) 0 = channelized E1 (data at TS0 and TS16 is ignored) 1 = clear E1 (all E1 channels are used) Bits 4, 5: Transmit FIFO Depth Configuration Bits (FDC1, FDC0) FDC1 0 0 1 1 FDC0 0 1 0 1 Cell Depth 4 3 2 Reserved Bit 6: Transmit Line Interface Clock Selection (TLICS) 0 = The T1/E1 clock from the framer (TCLKx) is used at the transmit line interface. 1 = The internally generated system clock divided by 8 is used at the transmit line interface. Bit 7: Unassigned, must be set to 0 for proper operation Register Name: Register Description: Register Address: TPCL Transmit PMON Counter Latch 01h, 21h, 41h, 61h, 81h, A1h, C1h, E1h Bit: Name: Default: 6 — 0 7 — 0 5 — 0 4 — 0 3 — 0 2 — 0 1 — 0 0 — 0 Bits 0 to 7: The host should always write 0x00 to this register when latching the PMON counter. This register is provided for latching in the 16-bit transmit-assigned cell-count value of a port into the common transmitassigned cell-counter latch register. Tto read the transmit-assigned cell-count value, software writes into this register, then reads from the Tx-assigned cell counter MSB and LSB registers. A write into this register clears the value. Figure 10-1 depicts the sequence of operation for accessing the Tx-assigned cell counter (TACC) for a given port. 32 of 62 DS26101 8-Port TDM-to-ATM PHY Figure 10-1. Accessing Tx PMON Counter HOW THE DS26101/DS26102 RESPONDS WHAT THE HOST MUST DO WRITE 00 INTO Tx-PMON COUNTER LATCH REGISTER (TPCL) FOR THE PORT WHOSE COUNTER VALUE IS TO BE OBTAINED. NOTE THAT ONLY THE ADDRESS SPECIFIC TO THE PORT INTENDED MUST BE USED. DS26101/DS26102 LATCHES TX-ASSIGNED CELL-COUNTER VALUE OF THE PORT SELECTED INTO CORRESPONDING LATCH REGISTER AND CLEARS THE INTERNAL ASSIGNED CELL COUNTER OF THE PORT FOR FRESH ACCUMULATION. READ FROM Tx-ASSIGNED CELL COUNTER LATCH REGISTER 1 (TACC1). NOTE THAT ANY ONE OF THE EIGHT ADDRESSES SPECIFIED FOR THIS REGISTER CAN BE USED. DS26101/DS26102 DRIVES MOST SIGNIFICANT 8 BITS (TACC[15:8]) OF LATCHED ASSIGNED CELL-COUNT VALUE ONTO THE DATA BUS. READ FROM Tx-ASSIGNED CELL COUNTER LATCH REGISTER 2 (TACC2). NOTE THAT ANY ONE OF THE EIGHT ADDRESSES SPECIFIED FOR THIS REGISTER CAN BE USED. DS26101/DS26102 DRIVES LEAST SIGNIFICANT 8 BITS (TACC[7:0]) OF LATCHED ASSIGNED CELL-COUNT VALUE ONTO THE DATA BUS. Register Name: Register Description: Register Address: Bit: Name: Default: 7 TACC15 0 TACC1 Transmit-Assigned Cell-Count Register 1 02h, 22h, 42h, 62h, 82h, A2h, C2h, E2h (Common to All Ports) 6 TACC14 0 5 TACC13 0 4 TACC12 0 3 TACC11 0 2 TACC10 0 1 TACC9 0 0 TACC8 0 Bits 0 to 7: Transmit-Assigned Cell Count (TACC8 to TACC15). This register is read-only. Register Name: Register Description: Register Address: Bit: Name: Default: 7 TACC7 0 TACC2 Transmit-Assigned Cell-Count Register 2 03h, 23h, 43h, 63h, 83h, A3h, C3h, E3h (Common to All Ports) 6 TACC6 0 5 TACC5 0 4 TACC4 0 3 TACC3 0 2 TACC2 0 1 TACC1 0 0 TACC0 0 Bits 0 to 7: Transmit-Assigned Cell Count (TACC0 to TACC7). This register is read-only. These registers are common for all ports. For software convenience, any of the eight addresses can be used to access these registers. The transmit-assigned cell-count value reflects the number of ATM layer cells transmitted since last latching. For reading the 16-bit transmit-assigned cell count for a port, software must write into the transmit-PMON counter latchenable register for the desired port prior to reading these registers. Reading from these registers without writing into the latch-enable register returns the old value that was latched and not the current value. 33 of 62 DS26101 8-Port TDM-to-ATM PHY Register Name: Register Description: Register Address: Bit: Name: Default: 7 TIUP7 0 TIUPB Transmit Idle/Unassigned Payload Byte Register 04h (Common for All Transmit Ports) 6 TIUP6 1 5 TIUP5 1 4 TIUP4 0 3 TIUP3 1 2 TIUP2 0 1 TIUP1 1 0 TIUP0 0 Bits 0 to 7: Transmit Idle/Unassigned Payload (TIUP0 to TIUP7). This register holds the payload byte to be carried in octets of idle/unassigned cells, transmitted toward the line for cell-rate decoupling. This register defaults to the value 6Ah. Register Name: Register Description: Register Address: Bit: Name: Default: 7 HOFFP4 0 THEPR Transmit HEC Error-Insertion Pattern Register 05h (Common for All Transmit Ports) 6 HOFFP3 0 5 HOFFP2 1 4 HOFFP1 0 3 HOFFP0 1 2 HONP2 0 1 HONP1 0 0 HONP0 1 Bits 0 to 2: HEC On Period (HONP0 to HONP2). This register holds the number of cells in which incorrect HEC (HEC error insertion is ON) is sent, if HEC-error insertion is enabled. Bits 3 to 7: HEC Off Period (HOFFP0 to HOFFP4). This register holds the number of cells in which correct HEC (HEC error insertion is OFF) is sent, if HEC error insertion is enabled. If HEC error insertion in the transmit control register is enabled for a port (THEIE = 1), then for the “HEC off period” cells are transmitted to the port with correct HEC; for the “HEC on period” cells are sent with incorrect HEC. This cycle repeats until HEC error insertion is disabled. Note that HEC errors are inserted according to the above pattern as long as THEIE is set, whether HEC insertion (THIE) is enabled or not. 10.2 Status Registers Register Name: Register Description: Register Address: PSR Port Status Register 18h, 38h, 58h, 78h, 98h, B8h, D8h, F8h Bit: Name: Default: 6 TPED 0 7 EXSTAT 0 5 CDS1 0 4 CDS0 0 3 RMS 0 2 LCDS 1 1 LCDCSIS 0 0 FOIS 0 Bit 0: Receive FIFO-Overrun Interrupt Status (FOIS). This status bit is set when the receive FIFO overruns. It creates an interrupt on the INT pin if the Rx-FIFO overrun-interrupt mask bit (RCR2.3) is set. This bit is reset when read. Bit 1: LCD Change-of-State Interrupt Status (LCDCSIS). This status bit is set when LCD status changes. It creates an interrupt on the INT pin if the LCD interrupt mask bit (RCR2.4) is set. This bit is reset when read. Bit 2: LCD Status (LCDS). The LCDS bit indicates the current status of LCD. 0 = in-cell delineation 1 = loss-of-cell delineation Bit 3: Receiver Mode Status (RMS). This bit shows valid status only when HEC correction is enabled. 0 = correction mode 1 = detection mode 34 of 62 DS26101 8-Port TDM-to-ATM PHY Bits 4, 5: Cell Delineation Status 0, 1 (CDS0, CDS1). These bits show the cell delineation status. Bit 5 indicates instantaneous OCD status. CDS1 0 0 1 CDS0 0 1 x Cell Delineation Status HUNT State PRESYNC State SYNC State Bit 6: Transmit Parity Error Detect (TPED). This bit is set for each transmit parity error that is detected on the transmit UTOPIA interface. It can generate an interrupt when enabled by TPEDIM in TCR1. This bit is reset if read access to this register is detected. Bit 7: External Status Event (EXSTAT). This bit is set on the rising edge of the signal applied to the associated EXSTAT signal. It can generate an interrupt when enabled by EXSTATIM in RCR2. This bit is reset if read access to this register is detected. EXSTAT1 maps to this bit in the PSR for port 1 (18h) up to EXSTAT8, which maps to the PSR for port 8 (F8h). A typical application might connect the 1SECOUT signal created by the DS26101 to one of the EXSTAT signals so that an interrupt can be created on 1-second boundaries. The EXSTAT signals, however, can also be used to provide microprocessor access to board-level hardware-status pins or an off-chip interval timer. Register Name: Register Description: Register Address: Bit: Name: Default: 7 PSR8 0 ISR Interrupt Status Register 08h (Common for All Ports) 6 PSR7 0 5 PSR6 0 4 PSR5 0 3 PSR4 0 2 PSR3 0 1 PSR2 0 0 PSR1 0 This register reports which of the 8 ports are currently generating interrupts. ISR.0 reports the status for port 1 (18h), while ISR.7 reports the status for port 8 (F8h). When the associated port’s status register is read (and consequently cleared), the associated bit in this register is also cleared. Note that only status bits that are enabled to generate an interrupt (i.e., the interrupt mask bit is set) set the reporting bit in this register. 10.3 Receive Registers Register Name: Register Description: Register Address: RCFR Receive Configuration Register 10h (Common for All Receive Ports) Bit: Name: Default: 6 — 0 7 — 0 5 — 0 4 — 1 3 RADDR1 0 2 RADDR0 0 1 RUPM 0 0 RPC 0 Bit 0: Receive Port Configuration (RPC). This bit affects only the Rx section. 0 = T1 mode 1 = E1 mode Bit 1: Receive Polling Mode (RUPM) 0 = multiplexed with 1CLAV mode 1 = direct status Bits 2, 3: Receive High Address (RADDR). These bits decide which upper 2 bits of the UTOPIA address are to be used by the ATM layer for selecting one of the ports. The lower 3 bits of address are assigned to port number 1 to 8 (one-based): '00' for address range 0–7 '01' for address range 8–15 35 of 62 DS26101 8-Port TDM-to-ATM PHY '10' for address range 16–23 * '11' for address range 24–30 Bits 3 to 7/Unassigned, read only *Address 31 (1F hex) is reserved as the null address per UTOPIA Forum. When an octal block is offset to the highest UTOPIA address range, the port at address 31 becomes inactive. Register Name: Register Description: Register Address: Bit: Name: Default: 7 — 0 RCR1 Receive Control Register 1 19h, 39h, 59h, 79h, 99h, B9h, D9h, F9h 6 RPRS 0 5 RUCFE 0 4 RICFE 0 3 RPHEC 0 2 RDE 0 1 RHECE 0 0 RCSE 1 Bit 0: Receive COSET Subtraction Enable (RCSE) 0 = DS26101 does NOT do COSET subtraction from HEC byte for checking HEC. 1 = DS26101 subtracts COSET polynomial (0x55) from the HEC byte for checking HEC. Bit 1: Receive HEC Error-Correction Enable (RHECE) 0 = single-bit HEC-error correction is disabled. 1 = The DS26101 corrects single-bit HEC errors based on the current state of receiver mode of operation. Single-bit error correction is done only if this bit is set and the receiver mode of operation is in CORRECTION state. Bit 2: Receive Descrambling Enable (RDE) 0 = payload descrambling is disabled. 1 = payload descrambling is enabled. Payload of cells received in the PRESYNC and SYNC states of cell 43 delineation are descrambled, based on the self-synchronizing polynomial X + 1. The cell header is unaffected by descrambling. Bit 3: Receive Pass HEC-Errored Cells (RPHEC) 0 = DS26101 passes only error-free and error-corrected cells to the ATM layer. 1 = DS26101 passes all received cells, including HEC errored cells to the ATM layer when cell delineation is in SYNC. Bit 4: Receive Idle Cell-Filter Enable (RICFE) 0 = DS26101 does NOT filter idle cells. 1 = DS26101 filters all idle cells received from being written into receive FIFO. The cell header of idle cell (first 5 bytes) is 0x00, 0x00, 0x00, 0x01, and proper HEC byte. Cell payload is not considered for idle cell filtering. Bit 5: Receive Unassigned Cell-Filter Enable (RUCFE) 0 = DS26101 does NOT filter unassigned cells. 1 = DS26101 filters all unassigned cells received from being written into receive FIFO. The cell header of unassigned cell (first five bytes) is 0x00, 0x00, 0x00, 0x00 and proper HEC byte. Cell payload is not considered for unassigned cell filtering.* Bit 6: Receive Parity Select (RPRS). This bit determines the parity type for the UR_PAR signal. 0 = odd parity calculated for receive UTOPIA bus 1 = even parity calculated for receive UTOPIA bus Bit 7: Unassigned, must be set to 0 for proper operation *The header pattern of an unassigned cell is 0x00, 0x00, 0x00, 0x00, and proper HEC byte. The header pattern of an idle cell is 0x00, 0x00, 0x00, 0x01, and proper HEC byte for the first 4 bytes. Note that, for cell filtering, only the header pattern (payload is don’t care) is checked. 36 of 62 DS26101 8-Port TDM-to-ATM PHY Register Name: Register Description: Register Address: Bit: Name: Default: 7 — 0 RCR2 Receive Control Register 2 1Ah, 3Ah, 5Ah, 7Ah, 9Ah, BAh, DAh, FAh 6 — 0 5 EXSTATIM 0 4 LCDIM 0 3 RFOIM 0 2 RAES 0 1 RPLIM 0 0 DLBE 0 Bit 0: Diagnostic Loopback Enable (DLBE) 0 = normal operation 1 = diagnostic loopback is enabled. In this loopback, the transmit data and clock is looped back onto the receive side. The Rx physical interface mode should be configured with the same value as the Tx physicalinterface mode. The Rx active-edge selection bit should be configured as the opposite edge of that used by the transmit section of the DS26101. It is possible to use the internally generated SYS_CLK/8 in place of TCLK for this mode, enabled with (TCR2.6). Bit 1: Receive Physical-Layer Interface Mode (RPLIM) 0 = clock + data + frame-pulse combination 1 = gapped clock + data combination Bit 2: Receive Active Clock-Edge Selection (RAES) 0 = positive edge of receive line clock is used for sampling input line signals. 1 = negative edge of receive line clock is used for sampling. Bit 3: Receive FIFO-Overrun Interrupt Mask (RFOIM) 0 = DS26101 does NOT generate an external interrupt for receive FIFO-overrun events. 1 = DS26101 generates an external interrupt if a receive FIFO-overrun condition has occurred. Bit 4: LCD Interrupt Mask (LCDIM) 0 = DS26101 does NOT generate external interrupt for LCD state changes. 1 = DS26101 does generate an external interrupt if the LCD state has changed. Bit 5: External Status Event Interrupt Mask (EXSTATIM) 0 = DS26101 does NOT generate an external interrupt on the EXSTAT signal. 1 = DS26101 generates an external interrupt on the rising edge of the EXSTAT signal associated with the enabled port. Bits 6, 7: Unassigned, must be set to 0 for proper operation 10.3.1 Additional Receive Control Information The active edge of the line clock used for sampling the input signals from the physical layer, namely data and frame-pulse-indication signals, are programmed to use the opposite edge of the active edge, which is used by the physical layer (framer). For example, if the physical layer uses the positive edge of the receive line clock to launch data and frame-pulse-indication signals, the receive active-line clock-edge selection bit is programmed to 1, so that the receive line interface block uses the negative edge to sample the incoming signals. In diagnostic loopback, the receive active-line clock edge is programmed to use the opposite edge as that of the transmit interface. So, the receive active-line clock-edge selection (RAES) is programmed inverted from the transmit active-line clock-edge selection (TAES) during diagnostic loopback. The receive physical-layer interface mode determines the protocol used in the receive interface for sampling data bits. In gapped clock and data combination, the data bits are sampled at every line clock. The receive line clock is gapped at the framing-overhead-bit location. In clock, data, and frame-pulse-indication combination, data bits coming with frame-pulse indication asserted are ignored in the T1 case. In the E1 case, frame-pulse indication is used to locate TS0 and TS16 slots, and data bits coming at these time slots are ignored. In the clear E1 case, the interface should be configured in gapped clock and data combination even though the clock may not be gapped. 37 of 62 DS26101 8-Port TDM-to-ATM PHY For clear E1, data bits are sampled by the receive section at every clock tick, and the external frame-pulse indication is ignored. The receive FIFO-overrun condition indicates that the receive FIFO has been filled with 4 cells before the ATM layer has read the FIFO. The four cells that caused the receive FIFO-overrun condition remain intact in the receive FIFO, and subsequent cells are not written into memory until the ATM layer reads at least one cell through the UTOPIA II interface. Register Name: Register Description: Register Address: Bit: Name: Default: 7 RLIP7 0 RLCDIP Receive LCD Integration Period 11h (Common for All Receive Ports) 6 RLIP6 1 5 RLIP5 1 4 RLIP4 0 3 RLIP3 0 2 RLIP2 1 1 RLIP1 1 0 RLIP0 0 Bits 0 to 7: Receive LCD Integration Period (RLIP0 to RLIP7). This 8-bit register holds the value of the LCD integration period (the time the cell delineation condition must persist before the DS26101 declares LCD). The DS26101 also deasserts the LCD indication once cell delineation is maintained in the SYNC state for the amount of time programmed in this register. LCD state-change condition can be programmed to generate an external interrupt through RCR2.4. A value of 0 programmed into this register declares LCD for every OCD condition at the resolution of the internal system clock period x 16,383. The value to be used in this register can be determined as follows: Register value to be programmed = (Integration time needed) / (System clock period x 16,383) E.g., for a system clock period of 60ns and desired integration time of 100ms, the register value should be: 100,000,000ns / (60ns x 16,383) = 66h Register Name: Register Description: Register Address: RPCL Receive-PMON Counter Latch Enable 12h, 32h, 52h, 72h, 92h, B2h, D2h, F2h Bit: Name: Default: 6 — 0 7 — 0 5 — 0 4 — 0 3 — 0 2 — 0 1 — 0 0 — 0 Bits 0 to 7: The host should always write 0x00 to this register when latching the receive PMON counter. Writing 0x00 to this register latches all receive-PMON counter values for the given port. Namely, the 16-bit receiveassigned cell-count value, 12-bit receive uncorrectable HEC-count value, and 8-bit receive correctable HEC-count value of a port is latched into the associated registers. A write into this register also clears the receive PMON counters for that port. Figure 10-2 depicts the sequence of operation to be performed for accessing Rx PMON counters for a port. For example, if port 8’s (one-based) Rx-assigned cell-count value is to be read, software must first write into RxPMON counter-latch enable register at 0xF2 and then read from Rx-assigned cell counter MSB-latch register at 0xF6 and Rx-assigned cell counter LSB register at 0xF7. Note that all Rx PMON counters maintained for port 8 are reset as the RPCL register is accessed. Thus, it is recommended that all Rx PMON counters be read together by following the sequence depicted in Figure 10-2. 38 of 62 DS26101 8-Port TDM-to-ATM PHY Figure 10-2. Accessing Rx PMON Counters WHAT THE HOST MUST DO HOW THE DS26101/DS26102 RESPONDS WRITE 00 INTO Rx-PMON COUNTER LATCHENABLE REGISTER (RPCL) FOR THE PORT WHOSE COUNTER VALUES ARE TO BE OBTAINED. NOTE THAT ONLY THE ADDRESS SPECIFIC TO THE INTENDED PORT IS USED. DS26101/DS26102 LATCH ALL RX PMON COUNTER VALUES OF THE PORT SELECTED INTO CORRESPONDING LATCH REGISTERS AND CLEAR ALL INTERNAL PMON COUNTERS OF THE PORT FOR FRESH ACCUMULATION. READ FROM Rx-CORRECTABLE HEC COUNTER LATCH REGISTER (RCHEC). NOTE THAT ANY ONE OF THE EIGHT ADDRESSES SPECIFIED CAN BE USED. DS26101/DS26102 DRIVE LATCHED CORRECTABLE HEC COUNT VALUE (RCHEC[7:0]) INTO THE MICROPROCESSOR DATA BUS. READ FROM Rx-UNCORRECTABLE HEC COUNTER MSB LATCH REGISTER (RUHEC1). NOTE THAT ANY ONE OF THE EIGHT ADDRESSES SPECIFIED CAN BE USED. DS26101/DS26102 DRIVE THE FOUR MOST SIGNIFICANT BITS OF THE LATCHED UNCORRECTABLE HEC COUNT VALUE (RUHEC[11:8]) ONTO THE DATA BUS. READ FROM Rx-UNCORRECTABLE HEC COUNTER LSB LATCH REGISTER (RUHEC2). NOTE THAT ANY ONE OF THE EIGHT ADDRESSES SPECIFIED CAN BE USED. DS26101/DS26102 DRIVE THE LEAST SIGNIFICANT 8 BITS OF THE LATCHED UNCORRECTABLE HEC COUNT VALUE (RUHEC[7:0]) ONTO THE DATA BUS. READ FROM Rx-ASSIGNED CELL COUNTER MSB LATCH REGISTER (RACC1). NOTE THAT ANY ONE OF THE EIGHT ADDRESSES SPECIFIED CAN BE USED. DS26101/DS26102 DRIVE THE MOST SIGNIFICANT 8 BITS OF THE ASSIGNED CELL-COUNT VALUE (RACC[15:8]) ONTO THE DATA BUS. READ FROM Rx-ASSIGNED CELL COUNTER LSB LATCH REGISTER (RACC2). NOTE THAT ANY ONE OF THE EIGHT ADDRESSES SPECIFIED CAN BE USED. DS26101/DS26102 DRIVE THE LEAST SIGNIFICANT 8 BITS OF THE ASSIGNED CELL-COUNT VALUE (RACC[7:0]) ONTO THE DATA BUS. 39 of 62 DS26101 8-Port TDM-to-ATM PHY Register Name: Register Description: Register Address: Bit: Name: Default: 7 RCHC7 0 RCHEC Receive Correctable-HEC Counter 13h, 33h, 53h, 73h, 93h, B3h, D3h, F3h (Common to All Ports) 6 RCHC6 0 5 RCHC5 0 4 RCHC4 0 3 RCHC3 0 2 RCHC2 0 1 RCHC1 0 0 RCHC0 0 Bits 0 to 7: Receive Correctable-HEC Counter (RCHC0 to RCHC7). This register holds the number of correctable HEC-errored cells received since the last latching. Note that this count corresponds to cells received when cell delineation is in SYNC. A correctable HEC-errored cell is a cell with single-bit error, provided single-bit HEC-error correction is enabled through RCR1.1 and the receiver mode of operation is in correction mode. Correctable-HEC count value is not affected if HEC-error correction is disabled. Register Name: Register Description: Register Address: RUHEC1 Receive Uncorrectable-HEC Counter Register 1 14h, 34h, 54h, 74h, 94h, B4h, D4h, F4h (Common to All Ports) Bit: Name: Default: 6 — 0 7 — 0 5 — 0 4 — 0 3 RUHC11 0 2 RUHC10 0 1 RUHC9 0 0 RUHC8 0 Bits 0 to 3: Receive Uncorrectable-HEC Counter (RUHC8 to RUHC11) Bits 4 to 7: Unused Register Name: Register Description: Register Address: Bit: Name: Default: 7 RUHC7 0 RUHEC2 Receive Uncorrectable-HEC Counter Register 2 15h, 35h, 55h, 75h, 95h, B5h, D5h, F5h (Common to All Ports) 6 RUHC6 0 5 RUHC5 0 4 RUHC4 0 3 RUHC3 0 2 RUHC2 0 1 RUHC1 0 0 RUHC0 0 Bits 0 to 7: Receive Uncorrectable-HEC Counter (RUHC0 to RUHC7) The RUHEC1 and RUHEC2 registers count the number of uncorrectable HEC-errored cells received since the last latching. Note that this count corresponds to cells received when cell delineation is in SYNC. For every SYNC-toHUNT transition of the cell delineation state machine, the “Correctable + Uncorrectable” error-count value increases by 6 instead of 7. If HEC correction is enabled, for every SYNC-to-HUNT transition, the correctable HEC count increases by 1 and the uncorrectable HEC count increases by 5. If HEC correction is disabled, correctable HEC count is not affected and uncorrectable HEC count increases by 6. Note that upon the reception of the 7th consecutive HEC pattern, cell delineation goes to HUNT state. Receive PMON counters are not updated when cell delineation is out of SYNC state. Note that write access to the RPCL register latches internal receive-PMON values and clear the counters. Uncorrectable HEC-error cell means: If HEC-error correction is enabled (RHECE = 1) { Cell with multibit HEC error in cell header OR Cell with single-bit HEC error in cell header, provided receiver mode of operation is in detection mode } else { 40 of 62 DS26101 8-Port TDM-to-ATM PHY Cell with either single bit or multibit HEC error in cell header } Note that this count corresponds to cells received when cell delineation is in SYNC. Register Name: Register Description: Register Address: Bit: Name: Default: 7 RACC15 0 RACC1 Receive-Assigned Cell-Count Register 1 16h, 36h, 56h, 76h, 96h, B6h, D6h, F6h (Common to All Ports) 6 RACC14 0 5 RACC13 0 4 RACC12 0 3 RACC11 0 2 RACC10 0 1 RACC9 0 0 RACC8 0 Bits 0 to 7: Receive-Assigned Cell Count 8 to 15 (RACC8 to RACC15) Register Name: Register Description: Register Address: Bit: Name: Default: 7 RACC7 0 RACC2 Receive-Assigned Cell-Count Register 2 17h, 37h, 57h, 77h, 97h, B7h, D7h, F7h (Common to All Ports) 6 RACC6 0 5 RACC5 0 4 RACC4 0 3 RACC3 0 2 RACC2 0 1 RACC1 0 0 RACC0 0 Bits 0 to 7: Receive-Assigned Cell Count 0 to 7 (RACC0 to RACC7) The RACC1 and RACC2 registers are common registers for all ports. For software convenience, any of the eight addresses can be used to access these registers. For reading the 16-bit receive assigned-cell count for a port, software must write into the RPCL register for the port before reading from these registers. Reading from these registers without writing into the latch-enable register returns the old value that was latched and not the current value of the receive-assigned cell count of a port. The assigned cell-count value reflects the number of cells written into the receive FIFO that can be read by the ATM layer since last latching. Note that, whether or not the ATM layer dequeues cells from the receive FIFO, the assigned cell counter of a port is incremented upon the reception of a valid ATM layer cell, as long as the cell delineation is in SYNC state. A valid ATM layer cell is defined as: If (HEC-errored cells are programmed to be passed to ATM layer (RPHEC = 1)) { Cell received when cell delineation is in SYNC state } else { Cell with correct HEC OR if (HEC-error correction is enabled (RHECE=1)) { Cell with single-bit HEC error in cell header, provided receiver mode is in correction } } Note that this count corresponds to cells received when cell delineation is in SYNC. 10.3.2 User-Programmable Cell Filtering User-programmable cell filtering allows the user to define a maskable pattern for each of the 4 bytes in the cell header so that the DS26101 either filters (rejects) all matching receive cells, or alternately only accepts cells that match the predefined pattern. Five registers are defined for this function per port. This function is an addition to the DS26101’s ability to filter standard idle/unassigned cells. The user must program a filter pattern in the RUFPM1–4 registers by setting the UFPMS (RUFC.2) bit = 0, then program the mask, or “don’t care” pattern, in the RUFPM1–4 registers by setting the UFPMS bit = 1. 41 of 62 DS26101 8-Port TDM-to-ATM PHY Register Name: Register Description: Register Address: RUFC Receive User-Filter Control 1Bh, 3Bh, 5Bh, 7Bh, 9Bh, BBh, DBh, FBh Bit: Name: Default: 6 — 0 7 — 0 5 — 0 4 — 0 3 — 0 2 UFPMS 0 1 UFMS 0 0 UFEN 0 Bit 0: User-Filter Enable (UFEN) 0 = do not apply the user-defined filter. 1 = filter incoming cells based on the UFPM registers. Bit 1: User-Filter-Mode Select (UFMS) 0 = reject (block) all cells that match the user-defined pattern and mask. 1 = accept (pass) only the cells that match the user-defined pattern and mask. Bit 2: User-Filter Pattern/Mask Select (UFPMS). This bit must be set = 0 to enter the filter pattern, and then set = 1 to enter the filter mask. 0 = user-filter pattern/mask (UFPM) registers are enabled as pattern mode. 1 = user-filter pattern/mask (UFPM) registers are enable as mask mode. Bits 3 to 7: Unassigned, must be set to 0 for proper operation Register Name: Register Description: Register Address: Bit: Name: Default: 7 H1.7 0 RUFPM1 Receive User-Filter Pattern/Mask Register 1 1Ch, 3Ch, 5Ch, 7Ch, 9Ch, BCh, DCh, FCh 6 H1.6 0 5 H1.5 0 4 H1.4 0 3 H1.3 0 2 H1.2 0 1 H1.1 0 0 H1.0 0 Bits 0 to 7: Receive User-Filter Pattern/Mask 1 (UFPM1[7:0]). When UFPMS = 0, this register can be programmed with the cell header pattern to match with the first octet (H1) of the received ATM cell. When UFPMS = 1, this register can be programmed with cell header mask associated with the first octet (H1). A logic 1 in any mask bit enables the comparison of the corresponding pattern bit to the header bit. An FFh in this register enables matching of all 8 bits in pattern register 1. A logic 0 causes the masking of the corresponding bit (essentially a don’t care in the match). 42 of 62 DS26101 8-Port TDM-to-ATM PHY Register Name: Register Description: Register Address: Bit: Name: Default: 7 H2.7 0 RUFPM2 Receive User-Filter Pattern/Mask Register 2 1Dh, 3Dh, 5Dh, 7Dh, 9Dh, BDh, DDh, FDh 6 H2.6 0 5 H2.5 0 4 H2.4 0 3 H2.3 0 2 H2.2 0 1 H2.1 0 0 H2.0 0 Bits 0 to 7: Receive User-Filter Pattern/Mask 2 (UFPM2[7:0]). When UFPMS = 0, this register can be programmed with the cell header pattern to match with the second octet (H2) of the received ATM cell. When UFPMS = 1, this register can be programmed with the cell header mask associated with the second octet (H2). A logic 1 in any mask bit enables the comparison of the corresponding pattern bit to the header bit. An FFh in this register enables matching of all 8 bits in pattern register 2. A logic 0 causes the masking of the corresponding bit (essentially a don’t care in the match). Register Name: Register Description: Register Address: Bit: Name: Default: 7 H3.7 0 RUFPM3 Receive User-Filter Pattern/Mask Register 3 1Eh, 3Eh, 5Eh, 7Eh, 9Eh, BEh, DEh, FEh 6 H3.6 0 5 H3.5 0 4 H3.4 0 3 H3.3 0 2 H3.2 0 1 H3.1 0 0 H3.0 0 Bits 0 to 7: Receive User-Filter Pattern/Mask 3 (UFPM3[7:0]). When UFPMS = 0, this register can be programmed with the cell header pattern to match with the third octet (H3) of the received ATM cell. When UFPMS = 1, this register can be programmed with the cell header mask associated with the third octet (H3). A logic 1 in any mask bit enables the comparison of the corresponding pattern bit to the header bit. An FFh in this register enables matching of all 8 bits in pattern register 3. A logic 0 causes the masking of the corresponding bit (essentially a don’t care in the match). Register Name: Register Description: Register Address: Bit: Name: Default: 7 H4.7 0 RUFPM4 Receive User-Filter Pattern/Mask Register 4 1Fh, 3Fh, 5Fh, 7Fh, 9Fh, BFh, DFh, FFh 6 H4.6 0 5 H4.5 0 4 H4.4 0 3 H4.3 0 2 H4.2 0 1 H4.1 0 0 H4.0 0 Bits 0 to 7: Receive User-Filter Pattern/Mask 4 (UFPM4[7:0]). When UFPMS = 0, this register can be programmed with the cell header pattern to match with the fourth octet (H4) of the received ATM cell. When UFPMS = 1, this register can be programmed with the cell header mask associated with the fourth octet (H4). A logic 1 in any mask bit enables the comparison of the corresponding pattern bit to the header bit. An FFh in this register enables matching of all 8 bits in pattern register 4. A logic 0 causes the masking of the corresponding bit (essentially a don’t care in the match). 43 of 62 DS26101 8-Port TDM-to-ATM PHY 11. JTAG BOUNDARY SCAN ARCHITECTURE AND TEST ACCESS PORT The DS26101 IEEE 1149.1 design supports the standard instruction codes SAMPLE/PRELOAD, BYPASS, and EXTEST. Optional public instructions included are HIGHZ, CLAMP, and IDCODE (Table 11-A). The DS26101 contains the following functions, as required by IEEE 1149.1 Standard Test Access Port and Boundary Scan Architecture. Test Access Port (TAP) TAP Controller Instruction Register Bypass Register Boundary Scan Register Device Identification Register The TAP has the necessary interface pins JTRST, JTCLK, JTMS, JTDI, and JTDO. See the pin descriptions for details. Figure 11-1. JTAG Functional Block Diagram BOUNDRY SCAN REGISTER IDENTIFICATION REGISTER MUX BYPASS REGISTER INSTRUCTION REGISTER TEST ACCESS PORT CONTROLLER VDD 10kW JTDI OUTPUT ENABLE VDD VDD 10kW SELECT 10kW JTMS JTCLK 44 of 62 JTRST JTDO DS26101 8-Port TDM-to-ATM PHY TAP Controller State Machine. The TAP controller is a finite state machine that responds to the logic level at JTMS on the rising edge of JTCLK (Figure 11-2). Test-Logic-Reset. Upon power-up, the TAP controller is in the Test-Logic-Reset state. The instruction register contains the IDCODE instruction. All system logic of the device operates normally. Run-Test-Idle. The Run-Test-Idle is used between scan operations or during specific tests. The instruction register and test registers remain idle. Select-DR-Scan. All test registers retain their previous state. With JTMS LOW, a rising edge of JTCLK moves the controller into the Capture-DR state and initiates a scan sequence. JTMS HIGH during a rising edge on JTCLK moves the controller to the Select-IR-Scan state. Capture-DR. Data can be parallel-loaded into the test data registers selected by the current instruction. If the instruction does not call for a parallel load or the selected register does not allow parallel loads, the test register remains at its current value. On the rising edge of JTCLK, the controller goes to the Shift-DR state if JTMS is LOW or it goes to the Exit1-DR state if JTMS is HIGH. Shift-DR. The test data register selected by the current instruction is connected between JTDI and JTDO and shifts data one stage toward its serial output on each rising edge of JTCLK. If a test register selected by the current instruction is not placed in the serial path, it maintains its previous state. Exit1-DR. While in this state, a rising edge on JTCLK puts the controller in the Update-DR state, which terminates the scanning process, if JTMS is HIGH. A rising edge on JTCLK with JTMS LOW puts the controller in the PauseDR state. Pause-DR. Shifting of the test registers is halted while in this state. All test registers selected by the current instruction retain their previous state. The controller remains in this state while JTMS is LOW. A rising edge on JTCLK with JTMS HIGH puts the controller in the Exit2-DR state. Exit2-DR. A rising edge on JTCLK with JTMS HIGH while in this state puts the controller in the Update-DR state and terminates the scanning process. A rising edge on JTCLK with JTMS LOW enters the Shift-DR state. Update-DR. A falling edge on JTCLK while in the Update-DR state latches the data from the shift register path of the test registers into the data output latches. This prevents changes at the parallel output because of changes in the shift register. Select-IR-Scan. All test registers retain their previous state. The instruction register remains unchanged during this state. With JTMS LOW, a rising edge on JTCLK moves the controller into the Capture-IR state and initiates a scan sequence for the instruction register. JTMS HIGH during a rising edge on JTCLK puts the controller back into the Test-Logic-Reset state. Capture-IR. The Capture-IR state is used to load the shift register in the instruction register with a fixed value. This value is loaded on the rising edge of JTCLK. If JTMS is HIGH on the rising edge of JTCLK, the controller enters the Exit1-IR state. If JTMS is LOW on the rising edge of JTCLK, the controller enters the Shift-IR state. Shift-IR. In this state, the shift register in the instruction register is connected between JTDI and JTDO and shifts data one stage for every rising edge of JTCLK toward the serial output. The parallel register as well as all test registers remain at their previous states. A rising edge on JTCLK with JTMS HIGH moves the controller to the Exit1-IR state. A rising edge on JTCLK with JTMS LOW keeps the controller in the Shift-IR state while moving data one stage thorough the instruction shift register. Exit1-IR. A rising edge on JTCLK with JTMS LOW puts the controller in the Pause-IR state. If JTMS is HIGH on the rising edge of JTCLK, the controller enters the Update-IR state and terminates the scanning process. Pause-IR. Shifting of the instruction shift register is halted temporarily. With JTMS HIGH, a rising edge on JTCLK puts the controller in the Exit2-IR state. The controller remains in the Pause-IR state if JTMS is LOW during a rising edge on JTCLK. 45 of 62 DS26101 8-Port TDM-to-ATM PHY Exit2-IR. A rising edge on JTCLK with JTMS LOW puts the controller in the Update-IR state. The controller loops back to Shift-IR if JTMS is HIGH during a rising edge of JTCLK in this state. Update-IR. The instruction code shifted into the instruction shift register is latched into the parallel output on the falling edge of JTCLK as the controller enters this state. Once latched, this instruction becomes the current instruction. A rising edge on JTCLK with JTMS LOW puts the controller in the Run-Test-Idle state. With JTMS HIGH, the controller enters the Select-DR-Scan state. Figure 11-2. TAP Controller State Diagram 1 Test Logic Reset 0 0 Run Test/ Idle 1 Select DR-Scan 1 Select IR-Scan 0 1 0 1 Capture DR Capture IR 0 0 Shift DR Shift IR 0 1 1 Exit IR 0 1 0 Pause DR Pause IR 0 1 0 1 Exit2 DR 0 Exit2 IR 1 1 Update DR 1 0 1 Exit DR 0 1 0 Update IR 1 0 11.1 Instruction Register The instruction register contains a shift register as well as a latched parallel output and is 3 bits in length. When the TAP controller enters the Shift-IR state, the instruction shift register is connected between JTDI and JTDO. While in the Shift-IR state, a rising edge on JTCLK with JTMS LOW shifts the data one stage toward the serial output at JTDO. A rising edge on JTCLK in the Exit1-IR state or the Exit2-IR state with JTMS HIGH moves the controller to the Update-IR state. The falling edge of that same JTCLK latches the data in the instruction shift register to the instruction parallel output. Instructions supported by the DS26101 and its respective operational binary codes are shown in Table 11-A. 46 of 62 DS26101 8-Port TDM-to-ATM PHY Table 11-A. Instruction Codes for IEEE 1149.1 Architecture INSTRUCTION SELECTED REGISTER INSTRUCTION CODES SAMPLE/PRELOAD BYPASS EXTEST CLAMP HIGHZ IDCODE Boundary Scan Bypass Boundary Scan Bypass Bypass Device Identification 010 111 000 011 100 001 SAMPLE/PRELOAD. This is a mandatory instruction for the IEEE 1149.1 specification that supports two functions. The digital I/Os of the device can be sampled at the boundary scan register without interfering with the normal operation of the device by using the Capture-DR state. SAMPLE/PRELOAD also allows the device to shift data into the boundary scan register through JTDI using the Shift-DR state. BYPASS. When the BYPASS instruction is latched into the parallel instruction register, JTDI connects to JTDO through the 1-bit bypass test register. This allows data to pass from JTDI to JTDO without affecting the device’s normal operation. EXTEST. This instruction allows testing of all interconnections to the device. When the EXTEST instruction is latched in the instruction register, the following actions occur. Once enabled through the Update-IR state, the parallel outputs of all digital output pins are driven. The boundary scan register is connected between JTDI and JTDO. The Capture-DR samples all digital inputs into the boundary scan register. CLAMP. All digital outputs of the device output data from the boundary scan parallel output while connecting the bypass register between JTDI and JTDO. The outputs do not change during the CLAMP instruction. HIGHZ. All digital outputs of the device are placed in a high-impedance state. The BYPASS register is connected between JTDI and JTDO. IDCODE. When the IDCODE instruction is latched into the parallel instruction register, the identification test register is selected. The device identification code is loaded into the identification register on the rising edge of JTCLK following entry into the Capture-DR state. Shift-DR can be used to shift the identification code out serially through JTDO. During Test-Logic-Reset, the identification code is forced into the instruction register’s parallel output. The ID code always has a 1 in the LSB position. The next 11 bits identify the manufacturer’s JEDEC number and number of continuation bytes followed by 16 bits for the device and 4 bits for the version. Table 11-B. ID Code Structure MSB Version—Contact Factory 4 Bits Device ID JEDEC See Table 11-C 00010100001 Table 11-C. Device ID Codes PART ID CODE DS26101 0000000000100111 47 of 62 LSB (Must be 1) 1 1 DS26101 8-Port TDM-to-ATM PHY 11.2 Test Registers IEEE 1149.1 requires a minimum of two test registers—the bypass register and the boundary scan register. An optional test register, the identification register, has been included with the DS26101 design. It is used in conjunction with the IDCODE instruction and the Test-Logic-Reset state of the TAP controller. Bypass Register. This is a single one-bit shift register used in conjunction with the BYPASS, CLAMP, and HIGHZ instructions. It provides a short path between JTDI and JTDO. Boundary Scan Register. This register contains both a shift register path and a latched parallel output for all control cells and digital I/O cells. It is n bits in length. See Table 11-D for the cell bit locations and definitions. Identification Register. The identification register contains a 32-bit shift register and a 32-bit latched parallel output. This register is selected during the IDCODE instruction and when the TAP controller is in the Test-LogicReset state. Table 11-D. Boundary Scan Control Bits CELL NAME TYPE 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 — ROVFL5 ROVFL5 — TPED5 — ROVFL4 ROVFL4 — TPED4 — ROVFL3 ROVFL3 — TPED3 — ROVFL2 ROVFL2 — TPED2 — ROVFL1 ROVFL1 — TPED1 — ROVFL0 ROVFL0 — TPED0 — — — — — — — — — — — — — — — — — CONTROLR OUTPUT3 OBSERVE ONLY INTERNAL OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY INTERNAL OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY INTERNAL OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY INTERNAL OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY INTERNAL OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY INTERNAL OUTPUT3 INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL CONTROL CELL 0 161 5 161 10 161 15 161 20 161 25 161 48 of 62 CELL NAME TYPE 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 — — — — — — — — — — — — — — — RLCD7 RLCD6 RLCD5 RLCD4 RLCD3 RLCD2 RLCD1 RLCD0 UR_PAR UR_CLAV3 UR_CLAV2 — UR_CLAV1 — UR_CLAV0 — UR_SOC UR_DATA0 UR_DATA1 UR_DATA2 UR_DATA3 UR_DATA4 UR_DATA5 UR_DATA6 — UR_DATA7 UR_CLK UR_ENB UR_ADDR0 UR_ADDR1 UR_ADDR2 UR_ADDR3 INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL INTERNAL OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 CONTROLR OUTPUT3 CONTROLR OUTPUT3 CONTROLR OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY CONTROL CELL 161 161 161 161 161 161 161 161 77 73 73 73 75 77 86 86 86 86 86 86 86 86 DS26101 8-Port TDM-to-ATM PHY CELL NAME TYPE 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 UR_ADDR4 UT_2CLAV3 UT_2CLAV2 UT_2CLAV1 UT_CLAV3 UT_CLAV2 — UT_CLAV1 UT_2CLAV0 — UT_CLAV0 UT_PAR UT_CLK UT_SOC UT_DATA0 UT_DATA1 UT_DATA2 UT_DATA3 UT_DATA4 UT_DATA5 UT_DATA6 UT_DATA7 UT_ENB UT_ADDR0 UT_ADDR1 UT_ADDR2 UT_ADDR3 UT_ADDR4 — TFP7 TFP7 TCLK7 TDATA7 — TFP6 TFP6 TCLK6 TDATA6 — TFP5 TFP5 TCLK5 TDATA5 — TFP4 TFP4 TCLK4 TDATA4 — TFP3 TFP3 TCLK3 TDATA3 — TFP2 TFP2 TCLK2 TDATA2 — TFP1 TFP1 TCLK1 TDATA1 — TFP0 TFP0 TCLK0 OBSERVE ONLY OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 OUTPUT3 CONTROLR OUTPUT3 OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY CONTROL CELL 100 100 100 100 100 100 103 103 122 161 127 161 132 161 137 161 142 161 147 161 152 161 157 49 of 62 CELL NAME TYPE 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 — TDATA0 RFP7 RCLK7 RDATA7 RFP6 RCLK6 RDATA6 RFP5 RCLK5 RDATA5 RFP4 RCLK4 RDATA4 RFP3 RCLK3 RDATA3 RFP2 RCLK2 RDATA2 RFP1 RCLK1 RDATA1 RFP0 RCLK0 RDATA0 INT — INT BLS MUX BTS CS WR (R/W) RD (DS) D0/AD0 D0/AD0 D1/AD1 D1/AD1 D2/AD2 D2/AD2 D3/AD3 D3/AD3 D4/AD4 D4/AD4 D5/AD5 D5/AD5 D6/AD6 D6/AD6 — D7/AD7 D7/AD7 A0 A1 A2 A3 A4 A5 A6 A7/ALE (AS) EXSTAT7 EXSTAT6 EXSTAT5 EXSTAT4 EXSTAT3 EXSTAT2 EXSTAT1 CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OUTPUT2 INTERNAL OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OUTPUT3 OBSERVE ONLY OUTPUT3 OBSERVE ONLY OUTPUT3 OBSERVE ONLY OUTPUT3 OBSERVE ONLY OUTPUT3 OBSERVE ONLY OUTPUT3 OBSERVE ONLY OUTPUT3 OBSERVE ONLY CONTROLR OUTPUT3 OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY OBSERVE ONLY CONTROL CELL 161 187 210 210 210 210 210 210 210 210 DS26101 8-Port TDM-to-ATM PHY CELL NAME TYPE 228 229 230 231 232 233 234 235 236 EXSTAT0 1SECOUT 8KHZIN GCLKIN GCLKOUT REFCLKIN RESET — ROVFL7 OBSERVE ONLY OUTPUT3 OBSERVE ONLY OBSERVE ONLY OUTPUT3 OBSERVE ONLY OBSERVE ONLY CONTROLR OUTPUT3 CONTROL CELL 161 161 235 50 of 62 CELL NAME TYPE 237 238 239 240 241 242 243 244 ROVFL7 — TPED7 — ROVFL6 ROVFL6 — TPED6 OBSERVE ONLY INTERNAL OUTPUT3 CONTROLR OUTPUT3 OBSERVE ONLY INTERNAL OUTPUT3 CONTROL CELL 161 240 161 DS26101 8-Port TDM-to-ATM PHY 12. OPERATING PARAMETERS ABSOLUTE MAXIMUM RATINGS Voltage Range on Any Pin with Respect to VSS (Except VDD) Supply Voltage (VDD) Range with Respect to VSS Operating Temperature Range Storage Temperature Range Soldering Temperature -0.3V to +5.5V -0.3V to +3.63V -40ºC to +85ºC -55ºC to +125ºC See IPC/JEDEC J-STD-020A Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to the absolute maximum rating conditions for extended periods may affect device. RECOMMENDED DC OPERATING CONDITIONS (TA = -40ºC to +85ºC) PARAMETER Logic 1 Logic 0 Supply SYMBOL MIN TYP MAX UNITS VIH VIL VDD 2.0 -0.3 3.135 3.3 5.5 +0.8 3.465 V V V SYMBOL MIN TYP MAX UNITS CAPACITANCE (TA = +25ºC) PARAMETER Input Capacitance Output Capacitance CIN COUT 7 7 pF pF DC CHARACTERISTICS (VDD = 3.135V to 3.465V, TA = -40°C to +85°C.) PARAMETER Supply Current at 3.3V (Note 2) Input Leakage Tri-State Output Leakage Output Voltage (Io = -4.0mA) (Note 3) Output Voltage (Io = +4.0mA) (Note 3) UTOPIA VOH (Io = -8.0mA) (Note 4) UTOPIA VOL (Io = +8.0mA) (Note 4) SYMBOL IDD IIL IOL VOH VOL VOHU VOLU MIN TYP MAX 70 -10.0 -10.0 2.4 +10.0 +10.0 0.4 2.4 0.4 Note 1: Theta-Ja is based on the package mounted on a 4-layer JEDEC board and measured in a JEDEC test chamber. Note 2: RCLK1 - n = TCLK1 - n = 2.048MHz, GCLK = 32.768MHz. Note 3: Applies to all non-UTOPIA outputs. Note 4: Applies to UTOPIA outputs. 51 of 62 UNITS mA mA mA V V V V DS26101 8-Port TDM-to-ATM PHY 13. CRITICAL TIMING INFORMATION Unless otherwise noted, all timing numbers assume 20pF test load on output signals, 40pF test load on bus signals. Table 13-A. AC Characteristics—Multiplexed Parallel Port (MUX = 1) (VDD = 3.3V ±5%, TA = -40°C to +85°C.) (Figure 13-1, Figure 13-2, and Figure 13-3) PARAMETER SYMBOL MIN tCYC 200 ns Pulse Width, DS Low or RD High PW EL 100 ns Pulse Width, DS High or RD Low PW EH 100 ns Input Rise/Fall Times tR, tF R/W Hold Time tRWH 10 ns R/W Setup Time Before DS High tRWS 50 ns CS Setup Time Before DS, WR, or RD Active tCS 20 ns CS Hold Time tCH 0 ns Read Data Hold Time tDHR 10 Write Data Hold Time tDHW 5 ns Muxed Address Valid to AS or ALE Fall tASL 15 ns Muxed Address Hold Time tAHL 10 ns Delay Time DS, WR, or RD to AS or ALE Rise tASD 20 ns PW ASH 30 ns Delay Time, AS or ALE to DS, WR, or RD tASED 10 ns Output Data Delay Time from DS or RD tDDR Data Setup Time tDSW Cycle Time Pulse Width AS or ALE High TYP MAX 20 50 80 50 t CYC ALE (A7) WR_B PWASH t ASD t ASED RD_B PWEL PWEH t CH t CS CS_B t ASL t DDR AD0-AD7 t AHL 52 of 62 ns ns ns ns Figure 13-1. Intel Bus Read Timing (BTS = 0/MUX = 1) t ASD UNITS t DHR DS26101 8-Port TDM-to-ATM PHY Figure 13-2. Intel Bus Write Timing (BTS = 0/MUX = 1) t CYC ALE (A7) RD_B PWASH t ASD t ASED t ASD WR_B PWEH t CH t CS PWEL CS_B t ASL t DHW AD0-AD7 t AHL t DSW Figure 13-3.Motorola Bus Timing (BTS = 1/MUX = 1) PWASH AS DS PWEH t ASED t ASD PWEL t CYC t RWS t RWH R/W AD0–AD7 (read) t DDR t ASL t AHL t DHR t CH t CS CS_B AD0–AD7 (write) t DSW t ASL t DHW t AHL 53 of 62 DS26101 8-Port TDM-to-ATM PHY Table 13-B. AC Characteristics—Nonmultiplexed Parallel Port (MUX = 1) (VDD = 3.3V ±5%, TA = -40°C to +85°C.) (Figure 13-4 through Figure 13-7) PARAMETER SYMBOL MIN TYP Setup Time for A[7:0], BLS0 Valid to CS Active t1 0 ns Setup Time for CS Active to Either RD or WR Active t2 0 ns Delay Time from Either RD or DS Active to D/AD[7:0] Valid t3 Hold Time from Either RD or WR Inactive to CS Inactive t4 0 Hold Time from CS or RD or DS Inactive to D/AD[7:0] Tri-State t5 5 Wait Time from WR Active to Latch Data t6 30 ns Data Setup Time to WR Inactive t7 10 ns Data Hold Time from WR Inactive t8 2 ns Address, BLS0 Hold from WR Inactive t9 0 ns Write Access to Subsequent Write/Read Access Delay Time (Note 1) t10 5 x GCLK ns 130 25 Figure 13-4. Intel Bus Read Timing (BTS = 0/MUX = 0) t9 ADDRESS VALID DATA[7:0] DATA VALID t5 WR_B t1 CS_B t2 t3 RD_B t4 t10 54 of 62 UNITS ns ns Note 1: Time t10 should be minimum 5 x the GCLKIN period. For a GCLKIN = 33MHz, t10 = 150ns. Note 2: Interrupt is deasserted at 5 x GCLKIN period + 40ns maximum from RD active. ADDR[7:0] MAX ns DS26101 8-Port TDM-to-ATM PHY Figure 13-5. Intel Bus Write Timing (BTS = 0/MUX = 0) t9 ADDR[7:0] ADDRESS VALID DATA[7:0] t7 t8 RD_B t1 CS_B t2 t6 t4 WR_B t10 Figure 13-6. Motorola Bus Read Timing (BTS = 1/MUX = 0) t9 ADDRESS VALID ADDR[7:0] DATA[7:0] DATA VALID t5 R/W_B t1 CS_B t2 t3 t4 DS_B t10 Figure 13-7. Motorola Bus Write Timing (BTS = 1/MUX = 0) t9 ADDR[7:0] ADDRESS VALID DATA[7:0] t7 t8 R/W_B t1 CS_B t2 t6 DS_B t4 t10 55 of 62 DS26101 8-Port TDM-to-ATM PHY Table 13-C. Framer Interface AC Characteristics PARAMETER SYMBOL RCLK Duty Cycle MIN TYP 30 MAX UNITS 70 % RDATA and RFP Setup to RCLK Active Edge t11 10 ns RDATA and RFP Hold from RCLK Active Edge t12 2 ns TCLK Duty Cycle 30 70 % 20 ns Output Delay TDATA and TFP from TCLK Active Edge (Note 3) t13 TFP Setup Time to TCLK Active Edge (Note 4) t14 10 ns TFP Hold time from TCLK Active Edge (Note 4) t15 10 ns Note 3: TFP is an output. Note 4: TFP is an input. Table 13-D. UTOPIA Transmit AC Characteristics PARAMETER SYMBOL MIN TYP MAX UNITS UT_CLK Frequency 0 25 MHz UT_CLK Duty Cycle 40 60 % Setup Time UT_DATA[x], UT_ADDR[x], UT_ENB, UT_SOC, UT_PAR inputs to UT_CLK t20 (ts) 10 ns Hold Time UT_DATA[x], UT_ADDR[x], UT_ENB, UT_SOC, UT_PAR Inputs from UT_CLK t21 (th) 1 ns Output Delay UT_CLAV[x] from UT_CLK t22 (td) 20 ns Output Tri-State Delay UT_CLAV[x] from UT_CLK t23 (tz) 25 ns MAX UNITS Table 13-E. UTOPIA Receive AC Characteristics PARAMETER SYMBOL MIN TYP UR_CLK Frequency 0 25 MHz UR_CLK Duty Cycle 40 60 % Setup Time UR_ADDR[x] and UR_ENB Inputs to UR_CLK t24 (ts) 10 ns Hold Time UR_ADDR[x] and UR_ENB Inputs from UR_CLK t25 (th) 1 ns Output Delay UR_CLAV[x], UR_DATA[x], UR_SOC, and UR_PAR from UR_CLK t26 (td) 20 ns Output Tri-State Delay UR_CLAV[x], UR_DATA[x], UR_SOC, and UR_PAR from UR_CLK t27 (tz) 25 ns 56 of 62 DS26101 8-Port TDM-to-ATM PHY Figure 13-8. Setup/Hold Time Definition Figure 13-9. Delay Time Definition CLOCK CLOCK SIGNAL SIGNAL ts th td AND tz INPUT HOLD FROM CLOCK INPUT SETUP TO CLOCK Table 13-F. JTAG Interface Timing (VDD = 3.3V ±5%, TA = -40°C to +85°C.) (Figure 13-10) PARAMETER SYMBOL JTCLK Clock Period MIN t1 JTCLK Clock High/Low Time (Note 5) TYP MAX UNITS 1000 ns 500 ns t2/t3 50 JTCLK to JTDI, JTMS Setup Time t4 3 ns JTCLK to JTDI, JTMS Hold Time t5 2 ns JTCLK to JTDO Delay t6 2 50 ns JTCLK to JTDO High-Z Delay t7 2 50 ns JTRST Width Low Time t8 100 Note 5: Clock can be stopped high or low. Figure 13-10. JTAG Interface Timing Diagram t1 t3 t2 JTCLK t4 t5 JTDI, JTMS, JTRST t6 t7 JTD0 t8 JTRST 57 of 62 ns DS26101 8-Port TDM-to-ATM PHY Table 13-G. System Clock AC Characteristics PARAMETER SYMBOL CONDITIONS MIN TYP MAX 1.544 2.048 REFCLKIN Frequency REFCLKIN Duty Cycle GCLK Frequency (Note 6) GCLK Duty Cycle UNITS MHz 40 60 % 16 40 MHz 40 60 % MAX +85°C +125°C UNITS Note 6: GCLK frequency must be at least 10 times the line rate (either 1.544MHz or 2.048MHz). 14. THERMAL INFORMATION Table 14-A. Thermal Properties, Natural Convection PARAMETER Ambient Temperature Junction Temperature Theta-JA (qJA), Still Air Psi-JB Psi-JT SYMBOL CONDITIONS (Note 1) (Note 2) MIN -40°C -40°C TYP 20.27°C/W 8.27°C/W 0.24°C/W Note 1: The package is mounted on a 4-layer JEDEC standard test board with no airflow and dissipating maximum power. Note 2: Theta-JA (qJA) is the junction to ambient thermal resistance, when the package is mounted on a 4-layer JEDEC standard test board with no airflow and dissipating maximum power. Table 14-B. Theta-JA (qJA) vs. Airflow FORCED AIR (m/s) THETA-JA (qJA) 0 1 2.5 20.27°C/W 17.44°C/W 16.18°C/W 58 of 62 DS26101 8-Port TDM-to-ATM PHY 15. APPLICATIONS INFORMATION 15.1 Application in ATM User-Network Interfaces Figure 15-1 shows the application of the DS26101 in an ATM user-network interface. In a UNI interface, the DS26101 provides the transmission convergence sublayer functionality. The interface between DS26101 and the ATM layer is governed by UTOPIA II specification from the ATM Forum. Multiplexing with 1CLAV can be used as UTOPIA polling mode. The DS26101 supports up to eight T1/E1 ports. For cell-rate decoupling, 4-cell buffer is allocated per port separately in the transmit and receive interfaces with the ATM layer. The buffer size of the transmit FIFO is configurable to 2, 3, or 4 cells. This flexibility in changing the FIFO depth provides users the control over cell latency, if desired. Figure 15-1. User-Network Interface Application T1/E1 FRAMER 1 DS26101 ATM LAYER T1/E1 FRAMER 2 T1/E1 FRAMER 8 15.2 Interfacing with Framers Figure 15-2 shows two methods of interfacing the DS26101 to a Dallas framer. One method shows a “loop timing” method where TCLK, TSYNC/TFPx, RFPx, and RCLK are derived from the receive framer’s RCLK and RSYNC. The other method shows an interface where transmit and receive are independent. The following guidelines are suggested: · TCLK may be derived from RCLK. TCLK must be 1.544MHz for T1 and 2.048MHz for E1. · The framer elastic stores should be disabled on both the transmit and receive sides. · RSYNC must be configured as a frame-boundary output. · The framer TSYNC can be an input or an output (the DS26101 must be programmed accordingly). TSYNC should be configured for frame-boundary mode. · The TSYNC and RSYNC signals should be high for only one TCLK and RCLK period, respectively. 59 of 62 DS26101 8-Port TDM-to-ATM PHY Figure 15-2. DS26101 Interfacing with Dallas Framer in Framing-Pulse Mode DALLAS FRAMER DS26101 DALLAS FRAMER DS26101 RCLK RCLKx RCLK RCLKx RSER RDATAx RSER RDATAx RSYNC RFPx x=0-7 RSYNC RFPx TCLK TCLKx TCLK TCLKx TSER TDATAx TSER TDATAx TFPx TSYNC TSYNC x=0-7 TFPx CLOCK When interfacing to framers where the framing pulse and data-active edge are individually configurable, ensure that the sampling and updating should happen in opposite edges. Table 15-A demonstrates the recommended configurations for interfacing the DS26101 to the framer signals. Table 15-A. Suggested Clock Edge Configurations DATA UPDATE EDGE IN DS26101 DATA-SAMPLING EDGE IN FRAMER FRAMING-PULSE DIRECTION FRAMING-PULSE EDGE IN FRAMER Positive Negative Positive Negative Negative Positive Negative Positive From DS26101 to framer From DS26101 to framer From framer to DS26101 From framer to DS26101 Negative for sampling Positive for sampling Positive for updating Negative for updating 15.3 Fractional T1/E1 Support Table 15-B describes the configuration needed by the DS26101 for supporting fractional T1/E1. Note that in E1 mode, the DS26101 must be used in gapped-clock mode, where the clock is gapped during inactive channels as well as TS0 and TS16 for CAS-framed format. When configured for T1, either frame-pulse or gapped-clock mode can be used, however, the TFP and RFP signals must be generated during framing overhead-bit and nonactiveDS0/TS positions of the T1 frame. Older Dallas framers may require additional logic to implement gapped-clock operation. Table 15-B. Fractional T1/E1 Register Settings CONTROL REGISTER BIT T1 E1 TPC 0 1 TPLIM 0 for frame-pulse mode or 1 for gapped-clock mode 1 (gapped-clock mode only) TFSD 0 (input only) 0 for TFP as input or 1 for TFP as output RPC 0 1 RPLIM 0 for frame-pulse mode or 1 for gapped-clock mode 1 (gapped-clock mode only) 60 of 62 DS26101 8-Port TDM-to-ATM PHY 16. PACKAGE INFORMATION (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information, go to www.maxim-ic.com/DallasPackInfo.) 61 of 62 DS26101 8-Port TDM-to-ATM PHY 17. REVISION HISTORY REVISION 032503 DESCRIPTION New product release 62 of 62