Part Number Hot Search : 
PRODUC Q160C RLR2905 NTE231 0100CT LT5526 SMBJ50 5LN01M06
Product Description
Full Text Search
 

To Download 1990421 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PM5352
S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
DATASHEET
PROPRIETARY AND CONFIDENTIAL ISSUE 3: JANUARY 2002
PMC-Sierra, Inc.
105 - 8555 Baxter Place Burnaby, BC Canada V5A 4V7 604 .415.6000
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
CONTENTS
1 FEATURES ..................................................................................................................... 17 1.1 1.2 1.3 1.4 1.5 1.6 1.7 2 3 4 5 6 7 8 9 GENERAL .......................................................................................................... 17 THE SONET RECEIVER ................................................................................... 18 THE RECEIVE ATM PROCESSOR................................................................... 19 THE RECEIVE POS PROCESSOR .................................................................. 19 THE SONET TRANSMITTER ............................................................................ 20 THE TRANSMIT ATM PROCESSOR ................................................................ 20 THE TRANSMIT POS PROCESSOR................................................................ 21
APPLICATIONS .............................................................................................................. 22 REFERENCES................................................................................................................ 23 DEFINITIONS ................................................................................................................. 25 APPLICATION EXAMPLES ............................................................................................ 28 BLOCK DIAGRAM .......................................................................................................... 31 DESCRIPTION................................................................................................................ 32 PIN DIAGRAM ................................................................................................................ 34 PIN DESCRIPTION......................................................................................................... 35 9.1 9.2 9.3 9.4 9.5 9.6 9.7 LINE SIDE INTERFACE SIGNALS.................................................................... 35 SECTION AND LINE STATUS DCC SIGNALS ................................................. 38 ATM (UTOPIA) ANDPACKET OVER SONET (POS-PHY) SYSTEM INTERFACE ........................................................................................................................... 39 MICROPROCESSOR INTERFACE SIGNALS .................................................. 60 JTAG TEST ACCESS PORT (TAP) SIGNALS................................................... 61 ANALOG SIGNALS ........................................................................................... 62 POWER AND GROUND .................................................................................... 63
10
FUNCTIONAL DESCRIPTION........................................................................................ 71 10.1 10.2 MICROPROCESSOR INTERFACE................................................................... 71 RECEIVE LINE INTERFACE ............................................................................. 71 10.2.1 10.2.2 10.3 CLOCK RECOVERY ...................................................................... 71 SERIAL TO PARALLEL CONVERTER .......................................... 72
RECEIVE SECTION OVERHEAD PROCESSOR (RSOP) ............................... 73
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
i
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.3.1 10.3.2 10.3.3 10.3.4 10.3.5 10.3.6 10.4
FRAMER ........................................................................................ 73 DE-SCRAMBLE.............................................................................. 73 DATA LINK EXTRACT.................................................................... 73 ERROR MONITOR......................................................................... 74 LOSS OF SIGNAL.......................................................................... 74 LOSS OF FRAME .......................................................................... 74
RECEIVE LINE OVERHEAD PROCESSOR (RLOP)........................................ 74 10.4.1 10.4.2 10.4.3 10.4.4 LINE RDI DETECT ......................................................................... 75 LINE AIS DETECT.......................................................................... 75 DATA LINK EXTRACT BLOCK....................................................... 75 ERROR MONITOR BLOCK ........................................................... 75
10.5
THE RECEIVE APS, SYNCHRONIZATION EXTRACTOR AND BIT ERROR MONITOR (RASE) ............................................................................................. 76 10.5.1 10.5.2 10.5.3 AUTOMATIC PROTECTION SWITCH CONTROL ........................ 76 BIT ERROR RATE MONITOR........................................................ 76 SYNCHRONIZATION STATUS EXTRACTION.............................. 77
10.6
RECEIVE PATH OVERHEAD PROCESSOR (RPOP) ...................................... 77 10.6.1 10.6.2 10.6.3 POINTER INTERPRETER ............................................................. 77 SPE TIMING ................................................................................... 81 ERROR MONITOR......................................................................... 82
10.7
RECEIVE ATM CELL PROCESSOR (RXCP).................................................... 82 10.7.1 10.7.2 10.7.3 10.7.4 CELL DELINEATION ...................................................................... 83 DE-SCRAMBLER ........................................................................... 84 CELL FILTER AND HCS VERIFICATION ...................................... 84 PERFORMANCE MONITOR.......................................................... 85
10.8
RECEIVE POS FRAME PROCESSOR (RXFP)................................................ 86 10.8.1 10.8.2 10.8.3 10.8.4 10.8.5 10.8.6 OVERHEAD REMOVAL ................................................................. 86 DE-SCRAMBLER ........................................................................... 86 POS FRAME DELINEATION.......................................................... 86 BYTE DE-STUFFING ..................................................................... 87 FCS CHECK................................................................................... 87 PERFORMANCE MONITOR.......................................................... 88
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
ii
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.8.7 10.9
RECEIVE FIFO............................................................................... 89
TRANSMIT LINE INTERFACE .......................................................................... 89 10.9.1 10.9.2 CLOCK SYNTHESIS...................................................................... 90 PARALLEL-TO-SERIAL CONVERTER.......................................... 90
10.10
TRANSMIT SECTION OVERHEAD PROCESSOR (TSOP) ............................. 90 10.10.1 10.10.2 10.10.3 10.10.4 10.10.5 LINE AIS INSERT........................................................................... 90 DATA LINK INSERT........................................................................ 90 BIP-8 INSERT ................................................................................ 91 FRAMING AND IDENTITY INSERT ............................................... 91 SCRAMBLER ................................................................................. 91
10.11
TRANSMIT LINE OVERHEAD PROCESSOR (TLOP) ..................................... 91 10.11.1 10.11.2 10.11.3 10.11.4 10.11.5 APS INSERT .................................................................................. 92 DATA LINK INSERT........................................................................ 92 LINE BIP CALCULATE................................................................... 92 LINE RDI INSERT .......................................................................... 92 LINE FEBE INSERT ....................................................................... 92
10.12
TRANSMIT PATH OVERHEAD PROCESSOR (TPOP) .................................... 92 10.12.1 10.12.2 10.12.3 POINTER GENERATOR ................................................................ 93 BIP-8 CALCULATE......................................................................... 93 FEBE CALCULATE ........................................................................ 94
10.13
TRANSMIT ATM CELL PROCESSOR (TXCP) ................................................. 94 10.13.1 10.13.2 10.13.3 IDLE OR UNASSIGNED CELL GENERATOR............................... 94 SCRAMBLER ................................................................................. 94 HCS GENERATOR ........................................................................ 94
10.14
TRANSMIT POS FRAME PROCESSOR (TXFP).............................................. 94 10.14.1 10.14.2 10.14.3 10.14.4 10.14.5 10.14.6 TRANSMIT FIFO ............................................................................ 95 POS FRAME GENERATOR........................................................... 95 FCS GENERATOR......................................................................... 96 BYTE STUFFING ........................................................................... 97 DATA SCRAMBLING ...................................................................... 97 SONET/SDH FRAMER .................................................................. 98
10.15
SONET/SDH SECTION AND PATH TRACE BUFFERS (SSTB AND SPTB).... 98
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
iii
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.15.1
RECEIVE TRACE BUFFER (RTB)................................................. 98 10.15.1.1 10.15.1.2 TRACE MESSAGE RECEIVER ........................................ 98 OVERHEAD BYTE RECEIVER ........................................ 99
10.15.2 10.16
TRANSMIT TRACE BUFFER (TTB) ............................................ 100
ATM UTOPIA AND PACKET OVER SONET/SDH POS-PHY SYSTEM INTERFACES................................................................................................... 100 10.16.1 10.16.2 RECEIVE ATM INTERFACE ........................................................ 101 RECEIVE POS INTERFACE........................................................ 101 10.16.2.1 10.16.3 10.16.4 PREMATURE RPA ASSERTION..................................... 102
TRANSMIT ATM INTERFACE...................................................... 103 TRANSMIT POS INTERFACE ..................................................... 104
10.17
WAN SYNCHRONIZATION CONTROLLER (WANS) ..................................... 105 10.17.1 PHASE COMPARISON ................................................................ 105 10.17.1.1 10.17.2 PHASE REACQUISITION CONTROL ............................ 106
PHASE AVERAGER..................................................................... 107
10.18 11 12 13
JTAG TEST ACCESS PORT ........................................................................... 108
MICROPROCESSOR INTERFACE.............................................................................. 109 NORMAL MODE REGISTER DESCRIPTION...............................................................117 TEST FEATURES DESCRIPTION ............................................................................... 327 13.1 13.2 MASTER TEST REGISTER............................................................................. 327 JTAG TEST PORT ........................................................................................... 329 13.2.1 BOUNDARY SCAN CELLS.......................................................... 336
14
OPERATION ................................................................................................................. 339 14.1 SONET/SDH FRAME MAPPINGS AND OVERHEAD BYTE USAGE ............ 339 14.1.1 14.1.2 14.1.3 14.2 14.3 14.4 14.5 14.6 ATM MAPPING............................................................................. 339 PACKET OVER SONET/SDH MAPPING .................................... 340 TRANSPORT AND PATH OVERHEAD BYTES........................... 341
ATM CELL DATA STRUCTURE....................................................................... 343 PACKET OVER SONET/SDH DATA STRUCTURE ........................................ 344 BIT ERROR RATE MONITOR ......................................................................... 345 CLOCKING OPTIONS ..................................................................................... 346 LOOP BACK OPERATION .............................................................................. 348
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
iv
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.7
JTAG SUPPORT .............................................................................................. 354 14.7.1 TAP CONTROLLER ..................................................................... 355 14.7.1.1 14.7.1.2 STATES ........................................................................... 357 INSTRUCTIONS.............................................................. 358
14.8 14.9 14.10 14.11 14.12 14.13 14.14 14.15 14.16 15
BOARD DESIGN RECOMMENDATIONS ....................................................... 359 ANALOG POWER SUPPLY FILTERING ......................................................... 360 POWER SUPPLIES SEQUENCING................................................................ 364 INTERFACING TO ECL OR PECL DEVICES ................................................. 365 CLOCK RECOVERY LOOP FILTER ............................................................... 367 SETTING THE S/UNI-STAR IN ATM MODE ................................................... 367 SETTING THE S/UNI-STAR IN POS MODE ................................................... 368 SETTING THE S/UNI-STAR FOR SONET OR SDH APPLICATIONS ............ 369 USING THE S/UNI-STAR WITH A 5 VOLT ODL ............................................. 369
FUNCTIONAL TIMING.................................................................................................. 370 15.1 15.2 15.3 ATM UTOPIA LEVEL 2 SYSTEM INTERFACE ............................................... 370 PACKET OVER SONET/SDH (POS) SYSTEM INTERFACE ......................... 372 SECTION AND LINE DATA COMMUNICATION CHANNELS ......................... 375
16 17 18 19
ABSOLUTE MAXIMUM RATINGS................................................................................ 378 D.C. CHARACTERISTICS ............................................................................................ 379 MICROPROCESSOR INTERFACE TIMING CHARACTERISTICS ............................. 382 A.C. TIMING CHARACTERISTICS .............................................................................. 386 19.1 19.2 19.3 19.4 19.5 19.6 19.7 19.8 SYSTEM RESET TIMING................................................................................ 386 REFERENCE TIMING ..................................................................................... 386 ATM SYSTEM INTERFACE TIMING ............................................................... 387 POS SYSTEM INTERFACE TIMING............................................................... 391 LINE AND SECTION DCC TIMING ................................................................. 396 TRANSMIT AND RECEIVE FRAME PULSES ................................................ 398 TRANSMIT LINE TIMING IN SINCLE ENDED TXD/TXC MODE ................... 399 JTAG TEST PORT TIMING.............................................................................. 399
20 21 22
ORDERING AND THERMAL INFORMATION .............................................................. 402 MECHANICAL INFORMATION..................................................................................... 404 OPERATIONS............................................................................................................... 405
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
v
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
22.1 23
DEVICE INITIALIZATION................................................................................. 405
TEST FEATURES DESCRIPTION ............................................................................... 406 23.1 23.2 MASTER TEST REGISTER............................................................................. 406 JTAG TEST PORT ........................................................................................... 408 23.2.1 BOUNDARY SCAN CELLS.......................................................... 415
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
vi
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LIST OF REGISTERS
REGISTER 0X00: S/UNI-STAR MASTER RESET AND IDENTITY ...........................................118 REGISTER 0X01: S/UNI-STAR MASTER CONFIGURATION...................................................119 REGISTER 0X02: S/UNI-STAR MASTER SYSTEM INTERFACE CONTROL ......................... 120 REGISTER 0X03: S/UNI-STAR MASTER CLOCK MONITOR ................................................. 122 REGISTER 0X04: S/UNI-STAR MASTER INTERRUPT STATUS............................................. 124 REGISTER 0X305: S/UNI-STAR CHANNEL RESET AND MONITORING UPDATE................ 125 REGISTER 0X306: S/UNI-STAR CHANNEL CONFIGURATION.............................................. 126 REGISTER 0X307: S/UNI-STAR CHANNEL CONTROL .......................................................... 128 REGISTER 0X308: S/UNI-STAR CHANNEL CONTROL EXTENSION .................................... 130 REGISTER 0X30A: S/UNI-STAR INTERRUPT STATUS #1 ..................................................... 131 REGISTER 0X30B: S/UNI-STAR INTERRUPT STATUS #2 ..................................................... 133 REGISTER 0X30C: CSPI (CLOCK SYNTHESIS) CONTROL AND STATUS ........................... 135 REGISTER 0X30D: CSPI (CLOCK SYNTHESIS) RESERVED ................................................ 136 REGISTER 0X30E: CRSI (CLOCK RECOVERY) CONTROL AND STATUS ........................... 137 REGISTER 0X30F: CRSI (CLOCK RECOVERY) PLL MODE SELECT ................................... 139 REGISTER 0X310: RSOP CONTROL/INTERRUPT ENABLE ................................................. 140 REGISTER 0X311: RSOP STATUS/INTERRUPT STATUS ...................................................... 142 REGISTER 0X312: RSOP SECTION BIP-8 LSB ...................................................................... 144 REGISTER 0X313: RSOP SECTION BIP-8 MSB ..................................................................... 144 REGISTER 0X314: TSOP CONTROL....................................................................................... 146 REGISTER 0X315: TSOP DIAGNOSTIC .................................................................................. 147 REGISTER 0X318: RLOP CONTROL/STATUS ........................................................................ 148 REGISTER 0X319: RLOP INTERRUPT ENABLE/INTERRUPT STATUS ................................ 150 REGISTER 0X31A: RLOP LINE BIP-24 LSB ............................................................................ 152 REGISTER 0X31B: RLOP LINE BIP-24 .................................................................................... 152 REGISTER 0X31C: RLOP LINE BIP-24 MSB ........................................................................... 153 REGISTER 0X31D: RLOP LINE FEBE LSB.............................................................................. 154 REGISTER 0X31E: RLOP LINE FEBE...................................................................................... 154 REGISTER 0X31F: RLOP LINE FEBE MSB ............................................................................. 155 REGISTER 0X320: TLOP CONTROL ....................................................................................... 156
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
vii
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REGISTER 0X321: TLOP DIAGNOSTIC .................................................................................. 157 REGISTER 0X322: TLOP TRANSMIT K1 ................................................................................. 158 REGISTER 0X323: TLOP TRANSMIT K2 ................................................................................. 159 REGISTER 0X324: S/UNI-STAR CHANNEL TRANSMIT SYNC. MESSAGE (S1)................... 160 REGISTER 0X325: S/UNI-STAR CHANNEL TRANSMIT J0/Z0 ............................................... 161 REGISTER 0X328: SSTB CONTROL ....................................................................................... 162 REGISTER 0X329: SSTB SECTION TRACE IDENTIFIER STATUS........................................ 164 REGISTER 0X32A: SSTB INDIRECT ADDRESS REGISTER.................................................. 166 REGISTER 0X32B: SSTB INDIRECT DATA REGISTER .......................................................... 167 REGISTER 0X330 (EXTD=0): RPOP STATUS/CONTROL ...................................................... 170 REGISTER 0X330 (EXTD=1): RPOP STATUS/CONTROL ...................................................... 172 REGISTER 0X331 (EXTD=0): RPOP INTERRUPT STATUS.................................................... 173 REGISTER 0X331 (EXTD=1): RPOP INTERRUPT STATUS.................................................... 175 REGISTER 0X332: RPOP POINTER INTERRUPT STATUS.................................................... 176 REGISTER 0X333 (EXTD=0): RPOP INTERRUPT ENABLE ................................................... 178 REGISTER 0X333 (EXTD=1): RPOP INTERRUPT ENABLE ................................................... 180 REGISTER 0X334: RPOP POINTER INTERRUPT ENABLE ................................................... 181 REGISTER 0X335: RPOP POINTER LSB ................................................................................ 183 REGISTER 0X336: RPOP POINTER MSB AND RDI FILTER CONTROL................................ 184 REGISTER 0X337: RPOP PATH SIGNAL LABEL..................................................................... 186 REGISTER 0X338: RPOP PATH BIP-8 LSB ............................................................................. 187 REGISTER 0X339: RPOP PATH BIP-8 MSB ............................................................................ 187 REGISTER 0X33A: RPOP PATH FEBE LSB ............................................................................ 188 REGISTER 0X33B: RPOP PATH FEBE MSB ........................................................................... 188 REGISTER 0X33C: RPOP AUXILIARY RDI.............................................................................. 190 REGISTER 0X33D: RPOP ERROR EVENT CONTROL........................................................... 191 REGISTER 0X340: TPOP CONTROL/DIAGNOSTIC ............................................................... 194 REGISTER 0X341: TPOP POINTER CONTROL...................................................................... 196 REGISTER 0X343: TPOP CURRENT POINTER LSB .............................................................. 199 REGISTER 0X344: TPOP CURRENT POINTER MSB ............................................................. 200 REGISTER 0X345: TPOP ARBITRARY POINTER LSB ........................................................... 201 REGISTER 0X346: TPOP ARBITRARY POINTER MSB .......................................................... 202
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
viii
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REGISTER 0X347: TPOP PATH TRACE .................................................................................. 203 REGISTER 0X348: TPOP PATH SIGNAL LABEL ..................................................................... 204 REGISTER 0X349: TPOP PATH STATUS................................................................................. 205 REGISTER 0X350: SPTB CONTROL ....................................................................................... 213 REGISTER 0X351: SPTB PATH TRACE IDENTIFIER STATUS............................................... 215 REGISTER 0X352: SPTB INDIRECT ADDRESS REGISTER .................................................. 217 REGISTER 0X353: SPTB INDIRECT DATA REGISTER .......................................................... 218 REGISTER 0X354: SPTB EXPECTED PATH SIGNAL LABEL................................................. 219 REGISTER 0X355: SPTB PATH SIGNAL LABEL STATUS....................................................... 220 REGISTER 0X360: RXCP_50 CONFIGURATION 1 ................................................................. 222 REGISTER 0X361: RXCP_50 CONFIGURATION 2 ................................................................. 223 REGISTER 0X362: RXCP_50 FIFO/UTOPIA CONTROL & CONFIGURATION....................... 225 REGISTER 0X363: RXCP_50 INTERRUPT ENABLES AND COUNTER STATUS.................. 227 REGISTER 0X364: RXCP_50 STATUS/INTERRUPT STATUS ................................................ 229 REGISTER 0X365: RXCP_50 LCD COUNT THRESHOLD (MSB)........................................... 231 REGISTER 0X366: RXCP_50 LCD COUNT THRESHOLD (LSB)............................................ 231 REGISTER 0X367: RXCP_50 IDLE CELL HEADER PATTERN............................................... 232 REGISTER 0X368: RXCP_50 IDLE CELL HEADER MASK ..................................................... 233 REGISTER 0X369: RXCP_50 CORRECTED HCS ERROR COUNT....................................... 234 REGISTER 0X36A: RXCP_50 UNCORRECTED HCS ERROR COUNT ................................. 235 REGISTER 0X36B: RXCP_50 RECEIVE CELL COUNTER (LSB) ........................................... 236 REGISTER 0X36C: RXCP_50 RECEIVE CELL COUNTER..................................................... 236 REGISTER 0X36D: RXCP_50 RECEIVE CELL COUNTER (MSB).......................................... 237 REGISTER 0X36E: RXCP_50 IDLE CELL COUNTER (LSB)................................................... 238 REGISTER 0X36F: RXCP_50 IDLE CELL COUNTER ............................................................. 238 REGISTER 0X370: RXCP_50 IDLE CELL COUNTER (MSB) .................................................. 239 REGISTER 0X380: TXCP_50 CONFIGURATION 1.................................................................. 240 REGISTER 0X381: TXCP_50 CONFIGURATION 2.................................................................. 242 REGISTER 0X382: TXCP_50 CELL COUNT STATUS/CONFIGURATION OPTIONS............. 244 REGISTER 0X383: TXCP_50 INTERRUPT ENABLE/STATUS ................................................ 246 REGISTER 0X384: TXCP_50 IDLE CELL HEADER CONTROL.............................................. 248 REGISTER 0X385: TXCP_50 IDLE CELL PAYLOAD CONTROL ............................................ 249
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
ix
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REGISTER 0X386: TXCP_50 TRANSMIT CELL COUNT (LSB) .............................................. 250 REGISTER 0X387: TXCP_50 TRANSMIT CELL COUNT ........................................................ 250 REGISTER 0X388: TXCP_50 TRANSMIT CELL COUNT (MSB) ............................................. 251 REGISTER 0X390: S/UNI-STAR CHANNEL AUTO LINE RDI CONTROL ............................... 252 REGISTER 0X391: S/UNI-STAR CHANNEL AUTO PATH RDI CONTROL .............................. 254 REGISTER 0X392: S/UNI-STAR CHANNEL AUTO ENHANCED PATH RDI CONTROL......... 256 REGISTER 0X393: S/UNI-STAR CHANNEL RECEIVE RDI AND ENHANCED RDI CONTROL EXTENSIONS ............................................................................................................... 259 REGISTER 0X394: S/UNI-STAR CHANNEL RECEIVE LINE AIS CONTROL.......................... 261 REGISTER 0X395: S/UNI-STAR CHANNEL RECEIVE PATH AIS CONTROL......................... 263 REGISTER 0X396: S/UNI-STAR CHANNEL RECEIVE ALARM CONTROL #1 ....................... 265 REGISTER 0X397: S/UNI-STAR CHANNEL RECEIVE ALARM CONTROL #2 ....................... 265 REGISTER 0X3A0: RXFP CONFIGURATION .......................................................................... 267 REGISTER 0X3A1: RXFP CONFIGURATION/INTERRUPT ENABLES................................... 269 REGISTER 0X3A2: RXFP INTERRUPT STATUS ..................................................................... 270 REGISTER 0X3A3: RXFP MINIMUM PACKET LENGTH ......................................................... 271 REGISTER 0X3A4: RXFP MAXIMUM PACKET LENGTH (LSB).............................................. 272 REGISTER 0X3A5: RXFP MAXIMUM PACKET LENGTH (MSB)............................................. 272 REGISTER 0X3A6: RXFP RECEIVE INITIATION LEVEL ........................................................ 273 REGISTER 0X3A7: RXFP RECEIVE PACKET AVAILABLE HIGH WATER MARK .................. 274 REGISTER 0X3A8: RXFP RECEIVE BYTE COUNTER (LSB)................................................. 275 REGISTER 0X3A9: RXFP RECEIVE BYTE COUNTER ........................................................... 275 REGISTER 0X3AA: RXFP RECEIVE BYTE COUNTER........................................................... 276 REGISTER 0X3AB: RXFP RECEIVE BYTE COUNTER (MSB) ............................................... 276 REGISTER 0X3AC: RXFP RECEIVE FRAME COUNTER (LSB) ............................................. 277 REGISTER 0X3AD: RXFP RECEIVE FRAME COUNTER ....................................................... 277 REGISTER 0X3AE: RXFP RECEIVE FRAME COUNTER (MSB) ............................................ 278 REGISTER 0X3AF: RXFP RECEIVE ABORTED FRAME COUNTER (LSB) ........................... 279 REGISTER 0X3B0: RXFP RECEIVE ABORTED FRAME COUNTER (MSB) .......................... 279 REGISTER 0X3B1: RXFP RECEIVE FCS ERROR FRAME COUNTER (LSB) ....................... 281 REGISTER 0X3B2: RXFP RECEIVE FCS ERROR FRAME COUNTER (MSB) ...................... 281 REGISTER 0X3B3: RXFP RECEIVE MINIMUM LENGTH ERROR FRAME COUNTER (LSB)282
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
x
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REGISTER 0X3B4: RXFP RECEIVE MINIMUM LENGTH ERROR FRAME COUNTER (MSB)282 REGISTER 0X3B5: RXFP RECEIVE MAXIMUM LENGTH ERROR FRAME COUNTER (LSB)284 REGISTER 0X3B6: RXFP RECEIVE MAXIMUM LENGTH ERROR FRAME COUNTER (MSB) ...................................................................................................................................... 284 REGISTER 0X3C0: TXFP INTERRUPT ENABLE/STATUS...................................................... 286 REGISTER 0X3C1: TXFP CONFIGURATION........................................................................... 288 REGISTER 0X3C2: TXFP CONTROL ....................................................................................... 290 REGISTER 0X3C3: TXFP TRANSMIT PACKET AVAILABLE LOW WATER MARK................. 292 REGISTER 0X3C4: TXFP TRANSMIT PACKET AVAILABLE HIGH WATER MARK ................ 293 REGISTER 0X3C5: TXFP TRANSMIT BYTE COUNTER (LSB)............................................... 294 REGISTER 0X3C6: TXFP TRANSMIT BYTE COUNTER......................................................... 294 REGISTER 0X3C7: TXFP TRANSMIT BYTE COUNTER......................................................... 295 REGISTER 0X3C8: TXFP TRANSMIT BYTE COUNTER (MSB).............................................. 295 REGISTER 0X3C9: TXFP TRANSMIT FRAME COUNTER (LSB) ........................................... 297 REGISTER 0X3CA: TXFP TRANSMIT FRAME COUNTER ..................................................... 297 REGISTER 0X3CB: TXFP TRANSMIT FRAME COUNTER (MSB) .......................................... 298 REGISTER 0X3CC: TXFP TRANSMIT USER ABORTED FRAME COUNTER (LSB) ............. 299 REGISTER 0X3CD: TXFP TRANSMIT USER ABORTED FRAME COUNTER (MSB) ............ 299 REGISTER 0X3CE: TXFP TRANSMIT FIFO ERROR ABORTED FRAME COUNTER (LSB) . 300 REGISTER 0X3CF: TXFP TRANSMIT FIFO ERROR ABORTED FRAME COUNTER (MSB). 300 REGISTER 0X3D0: WANS CONFIGURATION ......................................................................... 302 REGISTER 0X3D1: WANS INTERRUPT & STATUS ................................................................ 303 REGISTER 0X3D2: WANS PHASE WORD [7:0] ...................................................................... 304 REGISTER 0X3D3: WANS PHASE WORD [15:8] .................................................................... 304 REGISTER 0X3D4: WANS PHASE WORD [23:16] .................................................................. 305 REGISTER 0X3D5: WANS PHASE WORD [30:24] .................................................................. 305 REGISTER 0X3D9: WANS REFERENCE PERIOD [7:0].......................................................... 306 REGISTER 0X3DA: WANS REFERENCE PERIOD [15:8] ....................................................... 306 REGISTER 0X3DB: WANS PHASE COUNTER PERIOD[7:0].................................................. 307 REGISTER 0X3DC: WANS PHASE COUNTER PERIOD[15:8] ............................................... 307 REGISTER 0X3DD: WANS PHASE AVERAGE PERIOD [3:0] ................................................. 308 REGISTER 0X3E0: RASE INTERRUPT ENABLE .................................................................... 309
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xi
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REGISTER 0X3E1: RASE INTERRUPT STATUS..................................................................... 310 REGISTER 0X3E2: RASE CONFIGURATION/CONTROL ....................................................... 312 REGISTER 0X3E3: RASE SF ACCUMULATION PERIOD ....................................................... 314 REGISTER 0X3E4: RASE SF ACCUMULATION PERIOD ....................................................... 314 REGISTER 0X3E5: RASE SF ACCUMULATION PERIOD ....................................................... 315 REGISTER 0X3E6: RASE SF SATURATION THRESHOLD .................................................... 316 REGISTER 0X3E7: RASE SF SATURATION THRESHOLD .................................................... 316 REGISTER 0X3E8: RASE SF DECLARING THRESHOLD ...................................................... 317 REGISTER 0X3E9: RASE SF DECLARING THRESHOLD ...................................................... 317 REGISTER 0X3EA: RASE SF CLEARING THRESHOLD ........................................................ 318 REGISTER 0X3EB: RASE SF CLEARING THRESHOLD ........................................................ 318 REGISTER 0X3EC: RASE SD ACCUMULATION PERIOD ...................................................... 319 REGISTER 0X3ED: RASE SD ACCUMULATION PERIOD ...................................................... 319 REGISTER 0X3EE: RASE SD ACCUMULATION PERIOD ...................................................... 320 REGISTER 0X3EF: RASE SD SATURATION THRESHOLD.................................................... 321 REGISTER 0X3F0: RASE SD SATURATION THRESHOLD .................................................... 321 REGISTER 0X3F1: RASE SD DECLARING THRESHOLD...................................................... 322 REGISTER 0X3F2: RASE SD DECLARING THRESHOLD...................................................... 322 REGISTER 0X3F3: RASE SD CLEARING THRESHOLD ........................................................ 323 REGISTER 0X3F4: RASE SD CLEARING THRESHOLD ........................................................ 323 REGISTER 0X3F5: RASE RECEIVE K1 ................................................................................... 324 REGISTER 0X3F6: RASE RECEIVE K2 ................................................................................... 325 REGISTER 0X3F7: RASE RECEIVE Z1/S1.............................................................................. 326 REGISTER 0X400: MASTER TEST .......................................................................................... 328 REGISTER 0X400: MASTER TEST .......................................................................................... 407
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xii
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LIST OF FIGURES
FIGURE 1: TYPICAL STS-3C (STM-1) ATM SWITCH PORT APPLICATION............................. 29 FIGURE 2: TYPICAL STS-3C (STM-1) PACKER OVER SONET/SDH (PPP) APPLICATION ... 30 FIGURE 3: TYPICAL STS-3C (STM-1) JITTER TOLERANCE ................................................... 72 FIGURE 4: POINTER INTERPRETATION STATE DIAGRAM .................................................... 78 FIGURE 5: CELL DELINEATION STATE DIAGRAM................................................................... 83 FIGURE 6: HCS VERIFICATION STATE DIAGRAM................................................................... 85 FIGURE 7: PACKET OVER SONET/SDH FRAME FORMAT ..................................................... 87 FIGURE 8: CRC DECODER........................................................................................................ 88 FIGURE 9: PACKET OVER SONET/SDH FRAME FORMAT ..................................................... 96 FIGURE 10: CRC GENERATOR ................................................................................................. 97 FIGURE 11 : PRE-MATURE RPA ASSERTION TIMING ........................................................... 103 FIGURE 12. PHASE COMPARATOR BLOCK DIAGRAM......................................................... 106 FIGURE 13. PHASE AVERAGER BLOCK DIAGRAM .............................................................. 107 FIGURE 14: INPUT OBSERVATION CELL (IN_CELL) ............................................................. 337 FIGURE 15: OUTPUT CELL (OUT_CELL)................................................................................ 337 FIGURE 16: BIDIRECTIONAL CELL (IO_CELL)....................................................................... 338 FIGURE 17: LAYOUT OF OUTPUT ENABLE AND BIDIRECTIONAL CELLS.......................... 338 FIGURE 18: ATM MAPPING INTO THE STS-3C (STM-1) SPE................................................ 339 FIGURE 19: POS MAPPING INTO THE STS-3C (STM-1) SPE ............................................... 340 FIGURE 20: STS-3C (STM-1) OVERHEAD .............................................................................. 341 FIGURE 21: 16-BIT WIDE, 27 WORD ATM CELL STRUCTURE ............................................. 343 FIGURE 22: PACKET DATA STRUCTURE ............................................................................... 345 FIGURE 23: CONCEPTUAL CLOCKING STRUCTURE........................................................... 347 FIGURE 24: LINE LOOP BACK MODE (LL) ............................................................................. 350 FIGURE 25: SERIAL DIAGNOSTIC LOOP BACK MODE (SDL) .............................................. 351 FIGURE 26: PARALLEL DIAGNOSTIC LOOP BACK MODE (PDL) ......................................... 353 FIGURE 27: BOUNDARY SCAN ARCHITECTURE .................................................................. 354 FIGURE 28: TAP CONTROLLER FINITE STATE MACHINE .................................................... 356 FIGURE 29: WAN MODE ANALOG POWER PIN PASSIVE-FILTERING WITH 3.3V SUPPLY361 FIGURE 30: WAN MODE ANALOG POWER FILTERS WITH 3.3V SUPPLY (1) ..................... 362
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xiii
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
FIGURE 31: LAN MODE ANALOG POWER FILTERS WITH 3.3V SUPPLY (2) ...................... 363 FIGURE 32: POWER SEQUENCING CIRCUIT ........................................................................ 365 FIGURE 33: INTERFACING TO ECL OR PECL........................................................................ 366 FIGURE 34: CLOCK RECOVERY EXTERNAL COMPONENTS .............................................. 367 FIGURE 35: MULTI-PHY POLLING AND ADDRESSING TRANSMIT CELL INTERFACE....... 370 FIGURE 36: MULTI-PHY POLLING AND ADDRESSING RECEIVE CELL INTERFACE ......... 371 FIGURE 37: TRANSMIT POS SYSTEM INTERFACE TIMING................................................. 373 FIGURE 38: RECEIVE POS SYSTEM INTERFACE ................................................................. 375 FIGURE 39: TRANSPORT OVERHEAD DATA LINK CLOCK AND DATA EXTRACTION........ 376 FIGURE 40: TRANSPORT OVERHEAD DATA LINK CLOCK AND DATA INSERTION............ 377 FIGURE 41: MICROPROCESSOR INTERFACE READ TIMING ............................................. 383 FIGURE 42: MICROPROCESSOR INTERFACE WRITE TIMING............................................ 385 FIGURE 43: RSTB TIMING DIAGRAM ..................................................................................... 386 FIGURE 44: TRANSMIT ATM SYSTEM INTERFACE TIMING DIAGRAM ............................... 388 FIGURE 45: RECEIVE ATM SYSTEM INTERFACE TIMING DIAGRAM.................................. 390 FIGURE 46: TRANSMIT POS SYSTEM INTERFACE TIMING................................................. 392 FIGURE 47: RECEIVE POS SYSTEM INTERFACE TIMING ................................................... 395 FIGURE 48: SECTION DCC TIMING DIAGRAM ...................................................................... 396 FIGURE 49: LINE DCC TIMING DIAGRAM .............................................................................. 397 FIGURE 50: TRANSMIT AND RECEIVE FRAME PULSES ...................................................... 398 FIGURE 51: LINE SIDE TRANSMIT TIMING DIAGRAM (TXC_OE=1) .................................... 399 FIGURE 52: JTAG PORT INTERFACE TIMING........................................................................ 400 FIGURE 53:- MECHANICAL DRAWING 304 PIN SUPER BALL GRID ARRAY (SBGA).......... 404 FIGURE 54: INPUT OBSERVATION CELL (IN_CELL) ............................................................. 416 FIGURE 55: OUTPUT CELL (OUT_CELL)................................................................................ 416 FIGURE 56: BIDIRECTIONAL CELL (IO_CELL)....................................................................... 417 FIGURE 57: LAYOUT OF OUTPUT ENABLE AND BIDIRECTIONAL CELLS.......................... 417
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xiv
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LIST OF TABLES
TABLE 1: POINTER INTERPRETER EVENT (INDICATIONS) DESCRIPTION ......................... 79 TABLE 2: POINTER INTERPRETER TRANSITION DESCRIPTION.......................................... 80 TABLE 3: BYTE DE-STUFFING .................................................................................................. 87 TABLE 4: BYTE STUFFING......................................................................................................... 97 TABLE 5: OBR MISMATCH MECHANISM ................................................................................ 100 TABLE 6: REGISTER MEMORY MAP....................................................................................... 109 TABLE 7: EPSL PATH SIGNAL LABEL BYTE ACTION............................................................. 219 TABLE 8: RECEIVE INITIATION LEVEL VALUES .................................................................... 273 TABLE 9: TRANSMIT INITIATION LEVEL VALUES .................................................................. 290 TABLE 10: INTER PACKET GAPING VALUES ......................................................................... 291 TABLE 12: TEST MODE REGISTER MEMORY MAP............................................................... 327 TABLE 13: INSTRUCTION REGISTER (LENGTH - 3 BITS) .................................................... 329 TABLE 14: IDENTIFICATION REGISTER ................................................................................. 330 TABLE 15: BOUNDARY SCAN REGISTER (LENGTH - 155 BITS) ......................................... 330 TABLE 16: RECOMMENDED BERM SETTINGS ..................................................................... 346 TABLE 17: SETTINGS FOR SONET OR SDH APPLICATIONS ............................................... 369 TABLE 18: ABSOLUTE MAXIMUM RATINGS........................................................................... 378 TABLE 19: D.C CHARACTERISTICS........................................................................................ 379 TABLE 20: MICROPROCESSOR INTERFACE READ ACCESS (FIGURE 41)........................ 382 TABLE 21: MICROPROCESSOR INTERFACE WRITE ACCESS (FIGURE 42) ...................... 384 TABLE 22: RSTB TIMING (FIGURE 43).................................................................................... 386 TABLE 23: TRANSMIT ATM SYSTEM INTERFACE TIMING (FIGURE 44).............................. 387 TABLE 24: RECEIVE ATM SYSTEM INTERFACE TIMING (FIGURE 45) ................................ 389 TABLE 25: TRANSMIT POS SYSTEM INTERFACE TIMING (FIGURE 46) ............................. 391 TABLE 26: RECEIVE POS SYSTEM INTERFACE TIMING (FIGURE 47)................................ 393 TABLE 27: SECTION DCC TIMING (FIGURE 48) .................................................................... 396 TABLE 28: LINE DCC TIMING (FIGURE 49) ............................................................................ 397 TABLE 29: TRANSMIT AND RECEIVE FRAME PULSE TIMING (FIGURE 50) ....................... 398 TABLE 30: LINE SIDE TRANSMIT TIMING (TXC_OE=1 ONLY) (FIGURE 51)........................ 399 TABLE 31: JTAG PORT INTERFACE (FIGURE 52).................................................................. 399
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xv
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
TABLE 32: ORDERING INFORMATION ................................................................................... 402 TABLE 33: THERMAL INFORMATION ...................................................................................... 402 TABLE 34: TEST MODE REGISTER MEMORY MAP............................................................... 406 TABLE 35: INSTRUCTION REGISTER (LENGTH - 3 BITS) .................................................... 408 TABLE 36: IDENTIFICATION REGISTER ................................................................................. 409 TABLE 37: BOUNDARY SCAN REGISTER (LENGTH - 155 BITS) ......................................... 409
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
xvi
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
1 1.1
FEATURES General * * Single chip ATM User-Network Interface operating at 155.52 Mbit/s. Implements the ATM Forum User Network Interface Specification and the ATM physical layer for Broadband ISDN according to CCITT Recommendation I.432. Implements the Point-to-Point Protocol (PPP) over SONET/SDH specification according to RFC 1619/1662 of the PPP Working Group of the Internet Engineering Task Force (IETF). Processes duplex 155.52 Mbit/s STS-3c (STM-1) data streams with on-chip clock and data recovery and clock synthesis. Exceeds Telcordia GR-253-CORE jitter tolerance and intrinsic jitter criteria. Exceeds Telcordia GR-253-CORE jitter transfer and phase variation criteria. Provides control circuitry required to exceed Telcordia GR-253-CORE WAN clocking requirements related to wander transfer, holdover, and long term stability when using an external VCXO. Compatible with ATM Forum's Utopia Level 2 Specification with Multi-PHY addressing and parity support. Implements the POS-PHY 16-bit System Interface for Packet over SONET/SDH (POS) applications. This system interface is similar to Utopia Level 2, but is adapted to packet transfer. Both byte-level and packet-level transfer modes are supported. Provides a standard 5 signal IEEE 1149.1 JTAG test port for boundary scan board test purposes. Provides a generic 8-bit microprocessor bus interface for configuration, control, and status monitoring. Low power 3.3V CMOS with PECL and TTL compatible inputs and CMOS/TTL outputs, with 5V tolerance inputs. Note that the system side interface is 3.3V only
*
* * * *
* *
* * *
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
17
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
* * 1.2
Industrial temperature range (-40C to +85C). 304 pin Super BGA package.
The SONET Receiver * * * * * * * Provides a serial interface at 155.52 Mbit/s. Recovers the clock and data. Frames to and de-scrambles the recovered stream. Detects signal degrade (SD) and signal fail (SF) threshold crossing alarms based on received B2 errors. Captures and debounces the synchronization status (S1) byte in a readable register. Filters and captures the automatic protection switch channel (K1, K2) bytes in readable registers and detects APS byte failure. Counts received section BIP-8 (B1) errors, received line BIP-24 (B2) errors, line far end block errors (FEBE), received path BIP-8 (B3) errors, and path far end block errors (FEBE). Detects loss of signal (LOS), out of frame (OOF), loss of frame (LOF), line alarm indication signal (LAIS), line remote defect indication (LRDI), loss of pointer (LOP), path alarm indication signal (PAIS), path remote defect indication (PRDI), and path extended remote defect indicator (PERDI). Extracts the section and line data communication channels (D1-D3 and D4D12) as selected in internal register banks and serializes them at 192 Kbit/s (D1-D3) and 576 Kbit/s (D4-D12) for optional external processing. Extracts the 16- or 64-byte section trace (J0) sequence and the 16- or 64-byte path trace (J1) sequence into internal register banks. Interprets the received payload pointer (H1, H2) and extracts the STS-3c (STM-1) synchronous payload envelope and path overhead. Provides a divide-by-8 recovered clock (19.44 MHz). Provides a 8 KHz receive frame pulse.
*
*
* * * *
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
18
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
1.3
The Receive ATM Processor * * * * * * Extracts ATM cells from the received STS-3c (STM-1) synchronous payload envelope using ATM cell delineation. Provides ATM cell payload de-scrambling. Performs header check sequence (HCS) error detection and correction, and idle or unassigned cell filtering. Detects Out of Cell Delineation (OCD) and Loss of Cell Delineation (LCD). Counts number of received cells, idle cells, errored cells, and dropped cells. Provides a synchronous 8-bit wide, four-cell FIFO buffer.
1.4
The Receive POS Processor * * * * Generic design that supports packet based link layer protocols, like PPP, HDLC, and Frame Relay. Performs self synchronous POS data de-scrambling on SPE payload (x43+1 polynomial). Performs flag sequence detection and terminates the received POS frames. Performs frame check sequence (FCS) validation. The POS processor supports the validation of both CRC-CCITT and CRC-32 frame check sequences. Performs control-escape de-stuffing. Checks for packet abort sequence. Checks for octet aligned packet lengths and for minimum and maximum packet lengths. Automatically deletes short packets (software configurable), and marks those exceeding the maximum length as errored. Provides a synchronous 256-byte FIFO buffer accessed through a 16-bit data bus on the POS-PHY System Interface.
* * *
*
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
19
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
1.5
The SONET Transmitter * * * * * * Synthesizes the 155.52 MHz transmit clock from a 19.44 MHz reference. Provides a differential TTL serial interface that can be adapted to PECL levels at 155.52 Mbit/s with both line rate data (TXD+/-) and clock (TXC+/-). Provides a transmit frame pulse input to align the transport frames to a system reference. Provides a transmit byte clock that is a divide-by-eight of the synthesized line rate clock to provide a timing reference for the transmit outputs. Optionally inserts register programmable APS (K1, K2) and synchronization status (S1) bytes. Optionally inserts path alarm indication signal (PAIS), path remote defect indication (PRDI), line alarm indication signal (LAIS), and line remote defect indication (LRDI). Inserts path BIP-8 codes (B3), path far end block error (G1) indications, line BIP-24 codes (B2), line far end block error (M1) indications, and section BIP-8 codes (B1) to allow performance monitoring at the far end. Optionally inserts the section and line data communication channels (D1-D3 or D4-12) via a 192 kbit/s (D1-D3) and 576 kbit/s (D4-D12) serial stream. Optionally inserts the 16- or 64-byte section trace (J0) sequence and the 16or 64-byte path trace (J1) sequence from internal register banks. Scrambles the transmitted STS-3c (STM-1) stream and inserts the framing bytes (A1, A2). Inserts ATM cells or POS frames into the transmitted STS-3c (STM-1) synchronous payload envelope.
*
* * * * 1.6
The Transmit ATM Processor * * * Provides idle or unassigned cell insertion. Provides HCS generation/insertion, and ATM cell payload scrambling. Counts number of transmitted and idle cells.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
20
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
* 1.7
Provides a synchronous 8-bit wide, 4-cell FIFO buffer.
The Transmit POS Processor * * * * * * * * Supports any packet based link layer protocol, like PPP, HDLC, and Frame Relay because of its generic design. Performs self synchronous POS data scrambling (X43 + 1 polynomial). Encapsulates packets within a POS frame. Performs flag sequence insertion. Performs byte stuffing for transparency processing. Performs frame check sequence generation. The POS processor supports the generation of both CRC-CCITT and CRC-32 frame check sequences. Aborts packets under the direction of the host or when the FIFO underflows. Provides a synchronous 256-byte FIFO buffer accessed through the16-bit data bus on the POS-PHY System Interface.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
21
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
2
APPLICATIONS * * * * * * DSLAM uplinks Access Concentrators WAN and edge ATM switches LAN switches and hubs Layer 3 switches Multiservice switches (FR, ATM, IP, etc.)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
22
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
3
REFERENCES * * * * Telcordia - GR-253-CORE "SONET Transport Systems: Common Generic Criteria", Issue 2, December 1995. Telcordia - GR-436-CORE "Digital Network Synchronization Plan", Issue 1 Revision 1, June 1996. ITU-T Recommendation G.703 - "Physical/Electrical Characteristics of Hierarchical Digital Interfaces", 1991. ITU-T Recommendation G.704 - "General Aspects of Digital Transmission Systems; Terminal Equipment - Synchronous Frame Structures Used At 1544, 6312, 2048, 8488 and 44 736 kbit/s Hierarchical Levels", July, 1995. ITU, Recommendation G.707 - "Network Node Interface For The Synchronous Digital Hierarchy", 1996. ITU Recommendation G781, "Structure of Recommendations on Equipment for the Synchronous Design Hierarchy (SDH)", January 1994. ITU, Recommendation G.783 - "Characteristics of Synchronous Digital Hierarchy (SDH) Equipment Functional Blocks", 1996. ITU Recommendation I.432, "ISDN User Network Interfaces", March 93. ATM Forum - ATM User-Network Interface Specification, V3.1, October, 1995. ATM Forum - "UTOPIA, An ATM PHY Interface Specification, Level 2, Version 1", June, 1995. IETF Network Working Group - RFC-1619 "Point to Point Protocol (PPP) over SONET/SDH Specification", May 1994. IETF Network Working Group - RFC-1661 "The Point to Point Protocol (PPP)", July 1994. IETF Network Working Group - RFC-1662 "PPP in HDLC like framing", July 1994. PMC-1971147 "Saturn Compliant Interface for Packet over SONET Physical Layer and Link Layer Devices, Level 2", Issue 3, February 1998.
* * * * * * * * * *
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
23
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
*
PMC-1950820 "SONET/SDH Bit Error Threshold Monitoring Application Note", Issue 2, September 1998. (Document is not currently on CD ROM, please refer to the website: http://www.pmcsierra.com/products/docFind.asp.)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
24
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
4
DEFINITIONS The following table defines the abbreviations for the S/UNI-STAR. AIS APS ASSP ATM BER BIP CBI CMOS CRC CRSI CRU CSPI CSU DCC DSLAM ECL ERDI ESD FCS FEBE FIFO GFC HCS HDLC LAN Alarm Indication Signal Automatic Protection Switching Application Specific Standard Product Asynchronous Transfer Mode Bit Error Rate Byte Interleaved Parity Common Bus Interface Complementary Metal Oxide Semiconductor Cyclic Redundancy Check CRU and Serial-In Parallel-Out Clock Recovery Unit CSU and Parallel-In Serial-Out Clock Synthesis Unit Data Communication Channel Digital Subscriber Line Access Multiplexer Emitter Controlled Logic Enhanced Remote Defect Indication Electrostatic Discharge Frame Check Sequence Far-End Block Error First-In First-Out Generic Flow Control Header Check Sequence High-level Data Link Layer Local Area Network
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
25
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LCD LOF LOH LOP LOS NC NDF NNI ODL OOF PECL PLL POS PPP PSL PSLM RASE RDI RLOP RPOP RSOP RXCP RXFP SBGA SD SDH SF SOH SONET
Loss of Cell Delineation Loss of Frame Line Overhead Loss of Pointer Loss of Signal No Connect, indicates an unused pin New Data Flag Network-Network Interface Optical Data Link Out of Frame Pseudo-ECL Phase-Locked Loop Packet Over SONET Point-to-Point Protocol Path Signal Label Path Signal Label Mismatch Receive APS, Synchronization Extractor, and Bit Error Monitor Remote Defect Indication Receive Line Overhead Processor Receive Path Overhead Processor Receive Section Overhead Processor Receive ATM Cell Processor Receive POS Frame Processor Super Ball Grid Array Signal Degrade Synchronous Digital Hierarchy Signal Fail Section Overhead Synchronous Optical Network
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
26
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
SPE SPTB SSTB TIM TIU TLOP TOH TPOP TSB TSOP TXCP TXFP UI UNI UTOPIA VCI VCXO VPI WAN XOR
Synchronous Payload Envelope SONET/SDH Path Trace Buffer SONET/SDH Section Trace Buffer Trace Identifier Mismatch Trace Identifier Unstable Transmit Line Overhead Processor Transport Overhead Transmit Path Overhead Processor Telecom System Block Transmit Section Overhead Processor Transmit ATM Cell Processor Transmit POS Frame Processor Unit Interval User-Network Interface Universal Test and Operation Physical Interface for ATM Virtual Connection Indicator Voltage Controlled Oscillator Virtual Path Indicator Wide Area Network Exclusive OR logic operator
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
27
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
5
APPLICATION EXAMPLES The PM5352 S/UNI-STAR is intended for use in equipment implementing Asynchronous Transfer Mode (ATM) User-Network Interfaces (UNI), ATM Network-Network Interfaces (NNI), as well as Packet over SONET/SDH (POS) interfaces. The POS interface can be used to support several packet-based protocols, including the point-to-point protocol (PPP). The S/UNI-STAR may find application at either end of switch-to-switch links or switch-to-terminal links, both in public network (WAN) and private network (LAN) situations. The S/UNI-STAR provides a comprehensive feature set as well as the circuitry to enable full compliance to WAN synchronization requirements. The S/UNI-STAR performs the mapping of either ATM cells or POS frames into the SONET/SDH STS-3c (STM-1) synchronous payload envelope (SPE) and processes the applicable SONET/SDH section, line, and path overhead.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
28
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
In a typical STS-3c (STM-1) ATM application, the S/UNI-STAR performs clock and data recovery for the receive direction and clock synthesis for the transmit direction of the line interface. This application is shown in Figure 1. On the system side, the S/UNI-STAR interfaces directly with ATM layer processors and switching or adaptation functions using a Utopia Level 2-compliant synchronous first-in first-out (FIFO)-style interface. The initial configuration and ongoing control and monitoring of the S/UNI-STAR are normally provided by a generic microprocessor interface. Figure 1: Typical STS-3c (STM-1) ATM Switch Port Application
Utopia Level 2 Interface
Clock Source ATM Layer Device TFCLK TENB TADR[2.0] TCA TSOC TPRTY TDAT[15.0] RFCLK RENB RADR[2.0] RCA RSOC RPRTY RDAT[15.0] Clock Source PM5352 S/UNI-STAR TFCLK TENB TADR[2.0] TCA TSOC TPRTY TDAT[15.0] RFCLK RENB RADR[2.0] RCA RSOC RPRTY RDAT[15.0]
RXD +/SD TXD +/Optical Transciever
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
29
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
In a typical Packet over SONET/SDH application, using the PPP protocol, the S/UNI-STAR performs clock and data recovery for the receive direction and clock synthesis for the transmit direction of the line interface. This application is shown in Figure 2. On the system side, the S/UNI-STAR interfaces directly with a PPP link layer processors using a 256-byte synchronous FIFO interface over which packets are transferred. The initial configuration and ongoing control and monitoring of the S/UNI-STAR are normally provided via a generic microprocessor interface. Figure 2: Typical STS-3c (STM-1) Packer over SONET/SDH (PPP) Application
POS/PHY Level 2 Interface
Clock Source ATM Layer Device TFCLK TENB TADR[2.0] STPA DTPA TSOP TPRTY TDAT[15.0] TMOD TEOP TERR PTPA Clock Source RFCLK RENB RADR[2.0] DRPA RVAL RSOP RPRTY RDAT[15.0] RMOD REOP RERR PRPA RFCLK RENB RADR[2.0] DRPA RVAL RSOP RPRTY RDAT[15.0] RMOD REOP RERR PRPA PM5352 S/UNI-STAR TFCLK TENB TADR[2.0] STPA DTPA TSOP TPRTY TDAT[15.0] TMOD TEOP TERR PTPA
RXD +/SD TXD +/Optical Transciever
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
30
6
DATASHEET
PMC-1990421
PRODUCTION S/UNI-STAR
TDO TDI
TLDCLK
TSDCLK
BLOCK DIAGRAM
TRSTB
TFPO TFPI TLD TSD JTAG Test Access Port STPA TMOD TERR TEOP DTC/DTPA TDAT[15.0] TPRTY TSOC/TSOP TCA/PTPA TADR[2.0] TENB TFCLK PHY_OEN RFLCK RENB RADR[2.0] RCA/PRPA RSOC/RSOP RPRTY RDAT[15.0] DRCA/DRP REOP RERR RMOD RVAL Microprocessor Interface Tx ATM Cell Processor Tx POS Frame Processor TCLK TCK TMS
ISSUE 3
TXC +
Section DCC Insert
Line DCC Insert
TXC Tx Line Interface Tx Section O/H Processor Tx Line O/H Processor Tx Path O/H Processor
TXD +
TXD -
ATBO-3 WAN Synchronization Section Trace Buffer Rx POS Frame Processor RX ATM Cell Processor Path Trace Buffer
REFCLK
Utopia / POS-PHY System Interface
RXD + RXD SD Rx Line Interface Rx Section O/H Processor Rx Line O/H Processor Rx Path O/H Processor Rx APS. Sync. BERM Section DCC Extract Line DCC Extract
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
RLD INTB RSTB RDB WRB CSB ALE A[10.0] D[7.0] RSD
CP CN
SATURN USER NETWORK INTERFACE (STAR)
31
RCLK RFPO RALRM RLDCLK RSDCLK
PM5352 S/UNI-STAR
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
7
DESCRIPTION The PM5352 S/UNI-STAR SATURN User Network Interface is a monolithic integrated circuit that implements SONET/SDH processing, ATM mapping, and Packet over SONET/SDH (POS) mapping functions at the STS-3c (STM-1) 155.52 Mbit/s rate. The S/UNI-STAR receives SONET/SDH streams using a bit serial interface, recovers the clock and data, and processes the section, line, and path overhead. It performs framing (A1, A2), de-scrambling, detects alarm conditions, and monitors section, line, and path bit interleaved parity (B1, B2, B3), accumulating error counts at each level for performance monitoring purposes. It also gathers line and path far end block error indications (M1, G1). The S/UNI-STAR interprets the received payload pointers (H1, H2) and extracts the synchronous payload envelope that carries the received ATM POS packet payload. When used to implement an ATM user network interface (UNI) or network-tonetwork interface (NNI), the S/UNI-STAR frames to the ATM payload using cell delineation. Header check sequence (HCS) error correction is provided. Idle or unassigned cells may be dropped according to a programmable filter. Cells are dropped upon detection of an uncorrectable header check sequence error. The ATM cell payloads are de-scrambled and the cells that are passed are written to the FIFO buffer. The received cells are read from the FIFO using a 16-bit wide Utopia level 2-compliant datapath interface. Counts of received ATM cell headers that are errored and uncorrectable and those that are errored and correctable are accumulated independently for performance monitoring purposes. When used to implement packet transmission over a SONET/SDH link, the S/UNI-STAR extracts POS frames from the SONET/SDH synchronous payload envelope and verifies the frames for correct construction and size. The S/UNISTAR removes the control-escape characters and, optionally, verifies the error check sequence for correctness. The S/UNI-STAR then places the extracted packets in the receive FIFO. The received packets are read from the FIFO through the system side interface. Valid and errored packet counts are provided for performance monitoring. The S/UNI-STAR Packet over SONET/SDH implementation is flexible enough to support several link layer protocols, including High-level data link layer (HDLC), point-to point (PPP), and Frame Relay. The S/UNI-STAR transmits SONET/SDH streams using a bit serial interface and appropriately formats section, line, and path overhead. It synthesizes the transmit clock from a lower frequency reference and performs framing pattern insertion (A1, A2), scrambling, alarm signal insertion, and creates section, line, and path
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
32
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
bit interleaved parity (B1, B2, B3) as required to allow performance monitoring at the far end. Line and path far end block error indications (M1, G1) are also inserted. The S/UNI-STAR generates the payload pointer (H1, H2) and inserts the synchronous payload envelope which carries the ATM cell POS frame payload. Line and section data communication channel (DCC) ports are available for direct insertion and extraction of DCC data. The S/UNI-STAR also supports the insertion of a large variety of errors into the transmit stream, such as framing pattern errors, bit interleaved parity errors, and illegal pointers, which are useful for system diagnostics and tester applications. When used to implement an ATM UNI or NNI, ATM cells are written to an internal 4-cell FIFO using a 16-bit wide Utopia Level 2 data-path interface. Idle or unassigned cells are automatically inserted when the internal FIFO contains less than one cell. The S/UNI-STAR provides generation of the header check sequence and scrambles the payload of the ATM cells. Each of these transmit ATM cell processing functions can be enabled or bypassed. When used to implement a POS link, the S/UNI-STAR inserts POS frames into the SONET/SDH synchronous payload envelope. Packets to be transmitted are written into a 256-byte FIFO through the POS-PHY System Interface. POS Frames are built by inserting the flags, control-escape characters, and the frame sequence fields (FCS). Either the CRC-CCITT or CRC-32 can be computed and added to the frame. Several counters are provided for performance monitoring. The S/UNI-STAR does not directly require any line rate clocks as it synthesizes the transmit clock and recovers the receive clock using a 19.44 MHz reference clock. The S/UNI-STAR outputs a differential TTL (externally converted to pseudo-emitter controlled logic (PECL)) line data (TXD+/-). As an option, the S/UNI-STAR can also output a differential TTL (externally converted to PECL) transmit line rate clock (TXC+/-). The S/UNI-STAR also provides a WAN Synchronization controller that can be used to control an external VCXO in order to fully meet Telcordia GR-253-CORE jitter, wander, holdover, and stability requirements. The S/UNI-STAR is configured, controlled, and monitored by a generic 8-bit microprocessor bus interface. The S/UNI-STAR also offers a standard 5-signal IEEE 1149.1 JTAG test port for boundary scan board test purposes. The S/UNI-STAR is implemented in low power, +3.3 Volt, CMOS technology. It has TTL and pseudo-ECL (PECL) compatible inputs and TTL/CMOS compatible outputs, and is packaged in a 304 pin SBGA package.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
33
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
8
PIN DIAGRAM The S/UNI-STAR is available in a 304 pin SBGA package having a body size of 31 mm by 31 mm and a ball pitch of 1.27 mm.
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
A
VDD
VSS
TDAT[12]
TDAT[15] PHY_OEN
VSS
D [2]
VSS
A[0]
A[3]
A[7]
VSS
A[10]
W RB
TDO
VSS
N/C
VSS
N/C
RAVD1_B RAVS1_B
VSS
VDD
B
VSS
VDD
VSS
TDAT[13]
STPA
N/C
D [1]
D [4]
D [6]
A[2]
A[6]
A[9]
CSB
RSTB
TMS
TCK
N/C
N/C
QAVS_2
N/C
VSS
VDD
VSS
C
TDAT[7]
VSS
VDD
TDAT[10]
TDAT[14]
TEOP
BIAS
D [3]
D [5]
A[1]
A[5]
A[8]
ALE
INTB
TRSTB
N/C
N/C
QAVD_2
N/C
RAVD1_C
VDD
VSS
N/C
D
TDAT[4]
TDAT[6]
TDAT[9]
VD D
TDAT[11]
VD D
TERR
D [0]
VDD
D [7]
A[4]
VDD
RDB
TDI
VDD
N/C
N/C
VDD
R AVS1_C
VDD
N/C
N/C
VSS
E
TDAT[0]
TDAT[3]
TDAT[5]
TDAT[8]
N/C
VSS
VSS
N/C
F
VSS
TMOD
TDAT[2]
VD D
VDD
RAVS1_A
N/C
VSS
G
VDD
TADR [0]
TADR [2]
TDAT[1]
RAVD1_A
N/C
VSS
VSS
H
VSS
TPRT Y
VDD
TADR [1]
N/C
RAVS2_A RAVD2_A
VSS
J
TCA/PT PA
TEN B
TSOC / TSOP
VD D
VDD
VSS
N/C
RAVD2_C
K
N/C
DTCA / DTPA
BIAS
TFC LK
BOTTOM VIEW
RAVS2_C RAVS2_B
N/C
N/C
L
REOP
RERR
N/C
N/C
RAVD2_B TAVD1_A
TAVS1_A
TAVD1_B
M
VSS
RVAL
DRCA / DRPA
VD D
VDD
TAVS1_B RAVD3_B
VSS
N
N/C
N/C
N/C
RCA / PRPA
RAVD3_C RAVS3_B
N/C
N/C
P
RSOC / RSOP
RENB
RFCLK
RADR[1]
ATB2
ATB1
ATB0
RAVS3_C
R
RADR[2]
RADR[0]
VDD
VD D
VDD
N/C
N/C
ATB3
T
VSS
VDD
RPRTY
RDAT [13]
RAVS3_A
N/C
N/C
VSS
U
RDAT[15]
RDAT[14]
RDAT [12]
RDAT [9]
TXC+
VSS
RAVD3_A
N/C
V
VSS
RDAT[11]
RDAT [8]
VD D
VDD
TXC-
VSS
VSS
W
RDAT[10]
RDAT [7]
RDAT [5]
RDAT [2]
RAVS4_A
SD
TXD+
VSS
Y
RDAT[6]
RDAT [4]
RDAT [1]
VD D
RMOD
VD D
N/C
N/C
VDD
N/C
N/C
VDD
N/C
N/C
VDD
VSS
TFPI
VDD
R AVS4_C
VDD
RAVD4_A
RXD-
TXD-
AA
RDAT[3]
VSS
VDD
RDAT [0]
N/C
N/C
N/C
RLD
N/C
N/C
N/C
N/C
TLDCLK
T SDCLK
TLD
VSS
VSS
QAVD_1
C-
RAVD4_C
VDD
VSS
RXD+
AB
VSS
VDD
VSS
N/C
RLD CLK
RSD
N/C
N/C
RALRM
RCLK
R FPO
N/C
TFPO
N/C
N/C
VSS
TSD
VSS
QAVS_1
C+
VSS
VDD
VSS
AC
VDD
VSS
RSDC LK
N/C
N/C
VSS
N/C
VSS
N/C
N/C
N/C
VSS
TCLK
N/C
N/C
VSS
VSS
VSS
REFCLK
RAVD4_B RAVS4_B
VSS
VDD
BOTTOM VIEW
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
34
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
9 9.1
PIN DESCRIPTION Line Side Interface Signals Pin Name REFCLK Type Input Pin No. AC5 Function The reference clock input (REFCLK) must provide a jitter-free 19.44 MHz reference clock. It is used as the reference clock by both clock recovery and clock synthesis circuits. When the WAN Synchronization controller is used, REFCLK is supplied using a VCXO. In this application, the transmit direction can be looptimed to any of the line receivers in order to meet wander transfer and holdover requirements. RXD+ RXDDifferential AA1 PECL Y2 inputs The receive differential data inputs (RXD+, RXD-) contain the NRZ bit serial receive stream. The receive clock is recovered from the RXD+/- bit stream. Please refer to the OPERATION section of this document for a discussion of PECL interfacing issues. The signal detect pin (SD) indicates the presence of valid receive-signal-power from the Optical Physical Medium Dependent Device. A PECL high indicates the presence of valid data and a PECL low indicates a loss of signal. It is mandatory that SD be terminated into the equivalent network that RXD+/- is terminated into. AB14 The receive byte clock (RCLK) provides a timing reference for the S/UNI-STAR receive outputs. RCLK is a divide-by-eight of the recovered line rate clock (19.44 MHz).
SD
SingleEnded PECL Input
W3
RCLK
Output
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
35
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RFPO
Type Output
Pin No. AB13
Function The Receive Frame Pulse Output (RFPO), when the framing alignment is found (the out of frame (OOF) Register bit is logic zero), is an 8 kHz signal derived from the receive line clock. RFPO pulses high for one RCLK cycle every 2430 RCLK cycles (STS-3c (STM-1)). RFPO is updated on the rising edge of RCLK.
RALRM
Output
AB15
The Receive Alarm (RALRM) output indicates the state of the receive framing. RALRM is low if no receive alarms are active. RALRM is high if the line alarm indication signal (LAIS), path AIS (PAIS), line remote defect indication (LRDI), path RDI (PRDI), enhanced path RDI (PERDI), loss of signal (LOS), loss of frame (LOF), out of frame (OOF), loss of pointer (LOP), loss of cell delineation (LCD), signal fail BER (SFBER), signal degrade BER (SDBER), path trace identification mismatch (TIM), path signal label mismatch (PSLM) is detected in the channel. Each alarm can be individually enabled using bits in the S/UNI-STAR Channel Alarm Control Registers #1 and #2. RALRM is updated on the rising edge of RCLK.
TXD+ TXD-
Differential W2 TTL output Y1 (externally converted to PECL)
The transmit differential data outputs (TXD+, TXD-) contain the 155.52 Mbit/s transmit stream.
TXC+ TXC-
Differential U4 TTL output V3 (externally converted to PECL)
The transmit differential clock outputs (TXC+, TXC-) contain the 155.52 Mbit/s transmit clock. TXC+/- must be enabled by setting the TXC_OE Register bit to logic one.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
36
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TFPI
Type Input
Pin No. Y7
Function The active high framing position (TFPI) signal is an 8 kHz timing marker for the transmitter. TFPI is used to align the SONET/SDH transport frame generated by the S/UNI-STAR device to a system reference. TFPI is used internally to align a master frame pulse counter. When TFPI is not used, this counter is freerunning. TFPI should be brought high for a single TCLK period every 2430 (STS-3c (STM-1)) TCLK cycles, or a multiple thereof. TFPI must be tied low if such synchronization is not required. TFPI cannot be used as an input to a loop-timed channel. For TFPI to operate correctly the TCLK/TFPO output must be configured to output the CSU byte clock. The TFPI_EN Register bits allow the use of the global framing pulse counter and TFPI for framing alignment. TFPI is sampled on the rising edge of TCLK, but only when the TTSEL Register bit is set to logic zero. When TTSEL is set to logic one, TFPI is unused.
TFPO
Output
AB11
The Transmit Frame Pulse Output (TFPO) pulses high for one TCLK cycle every 2430 TCLK cycles and provides an 8 KHz timing reference. TFPO can be enabled using TFPO_CH[1:0] configuration register bits, with the restriction that the device must be self-timed (not in loop-timed or line-loop back modes). TFPO is updated on the rising edge of TCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
37
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TCLK
Type Output
Pin No. AC11
Function The transmit byte clock (TCLK) output provides a timing reference for the S/UNI-STAR self-timed channel. TCLK always provides a divide-by-eight of the synthesized line rate clock and thus has a nominal frequency of 19.44 MHz. TFPI is sampled on the rising edge of TCLK. TCLK does not apply to internally loop-timed channels, in which case RCLK provides transmit timing information.
9.2
Section and Line Status DCC Signals Pin Name RSD RSDCLK Type Output Output Pin No. AB18 AC21 Function The receive section DCC (RSD) signal contains the section data communications channel (D1-D3) The receive section DCC clock (RSDCLK) is used to clock out the section DCC. RSDCLK is a 192 kHz clock used to update the RSD output. RSDCLK is generated by gapping a 216 kHz clock. TSD Input AB7 The transmit section DCC (TSD) signal contains the section data communications channel (D1-D3). TSD is sampled on the rising edge of TSDCLK. TSDCLK Output AA10 The transmit section DCC clock (TSDCLK) is used to clock in the section DCC. TSDCLK is a 192 kHz clock used to sample the TSD input. TSDCLK is generated by gapping a 216 kHz clock. RLD Output AA16 The receive line DCC (RLD) signal contains the line data communications channel (D4-D12).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
38
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RLDCLK
Type Output
Pin No. AB19
Function The receive line DCC clock (RLDCLK) is used to clock out the line DCC. RLDCLK is a 576 kHz clock used to update the RLD output. RLDCLK is generated by gapping a 2.16 MHz clock.
TLD
Input
AA9
The transmit line DCC (TLD) signal contains the line data communications channel (D4-D12). TLD is sampled on the rising edge of TLDCLK. The transmit line DCC clock (TLDCLK) is used to clock in the line DCC. TLDCLK is a 576 kHz clock used to sample the TLD input. TLDCLK is generated by gapping a 2.16 MHz clock.
TLDCLK
Output
AA11
9.3
ATM (UTOPIA) andPacket over SONET (POS-PHY) System Interface Pin Name TDAT[15] TDAT[14] TDAT[13] TDAT[12] TDAT[11] TDAT[10] TDAT[9] TDAT[8] TDAT[7] TDAT[6] TDAT[5] TDAT[4] TDAT[3] TDAT[2] TDAT[1] TDAT[0] Type Input (ATM) Pin No. A20 C19 B20 A21 D19 C20 D21 E20 C23 D22 E21 D23 E22 F21 G20 E23 Function The UTOPIA Transmit Cell Data Bus (TDAT[15:0]) carries the ATM cell octets that are written to the selected transmit FIFO. TDAT[15:0] is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TDAT[15:0] is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
39
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TDAT[15] TDAT[14] TDAT[13] TDAT[12] TDAT[11] TDAT[10] TDAT[9] TDAT[8] TDAT[7] TDAT[6] TDAT[5] TDAT[4] TDAT[3] TDAT[2] TDAT[1] TDAT[0] TPRTY
Type Input (POS)
Pin No. A20 C19 B20 A21 D19 C20 D21 E20 C23 D22 E21 D23 E22 F21 G20 E23 H22
Function The POS-PHY Transmit Packet Data Bus (TDAT[15:0]) carries the POS packet octets that are written to the selected transmit FIFO. TDAT[15:0] is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TDAT[15:0] is sampled on the rising edge of TFCLK.
Input (ATM)
The UTOPIA Transmit bus parity (TPRTY) signal indicates the parity of the TDAT[15:0] bus. A parity error is indicated by a status bit and a maskable interrupt. Cells with parity errors are inserted in the transmit stream, so the TPRTY input may be unused. Odd or even parity selection is made using the RXPTYP Register bit. TPRTY is considered valid only when the UTOPIA Transmit Multi-PHY Write Enable (TENB) is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TPRTY is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
40
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TPRTY
Type Input (POS)
Pin No. H22
Function The POS-PHY Transmit bus parity (TPRTY) signal indicates the parity of the TDAT[15:0] bus. A parity error is indicated by a status bit and a maskable interrupt. Packets with parity errors are inserted in the transmit stream, so the TPRTY input may be unused. Odd or even parity selection is made using the RXPTYP Register bit. TPRTY is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TPRTY is sampled on the rising edge of TFCLK
TSOC
Input (ATM)
J21
The UTOPIA Transmit Start of Cell (TSOC) signal marks the start of cell on the TDAT bus. When TSOC is high, the first word of the cell structure is present on the TDAT bus. It is not necessary for TSOC to be present for each cell. An interrupt may be generated if TSOC is high during any word other than the first word of the cell structure. TSOC is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TSOC is sampled on the rising edge of TFCLK.
TSOP
Input (POS)
J21
The POS-PHY Transmit Start of Packet (TSOP) signals indicate the first word of a packet. TSOP must be present at the beginning of every packet for proper operation. TSOP is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TSOP is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
41
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TENB
Type Input (ATM)
Pin No. J22
Function The UTOPIA Transmit Multi-PHY Write Enable (TENB) signal is an active low input used along with the TADR[2:0] inputs to initiate writes to the transmit FIFOs. When TENB is sampled high, no write is performed, but the TADR[2:0] address is latched to identify the transmit FIFO to be accessed. When TENB is sampled low, the word on the TDAT bus is written into the transmit FIFO that is selected by the TADR[2:0} address bus. A complete 53 octet cell must be written to the transmit FIFO before it is inserted into the transmit stream. Idle cells are inserted when a complete cell is not available. While TENB is de-asserted, TADR[2:0] can be used for polling TCA. TENB is sampled on the rising edge of TFCLK.
TENB
Input (POS)
J22
The S/UNI-STAR supports both byte-level and packet-level transfer. Packet-level transfer operates in a similar fashion to Utopia, with a selection phase when the POS-PHY Transmit Multi-PHY Write Enable (TENB) signal is de-asserted and a transfer phase when TENB is asserted. While TENB is asserted, TADR[2:0] is used for polling PTPA and the currently selected PHY status is provided on STPA. Byte level transfer works on a cycle basis. When TENB is asserted, data is transferred to the selected PHY. Nothing happens when TENB is de-asserted. Polling is not available and packet availability is indicated by DTPA. TENB is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
42
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TADR[2] TADR[1] TADR[0]
Type Input (ATM)
Pin No. G21 H20 G22
Function The Transmit Address TADR[2:0] bus is used for device selection and device polling in accordance with the Utopia Level 2 standard. When TADR[2:0] is set to the same value as the PHY_ADR[2:0] inputs than the transmit interface of the S/UNISTAR is either being selected or polled. Note that the null-PHY address 0x7 is an invalid address and cannot be used to select the S/UNISTAR. TADR[2:0] is sampled on the rising edge of TFCLK.
TADR[2] TADR[1] TADR[0]
Input (POS)
G21 H20 G22
The POS-PHY Transmit Write Address (TADR[2:0]) bus is used to select the FIFO (and hence port) that is written to using the TENB signal. In packet level transfer mode, TADR[2:0] is also used for polling on PTPA. Note that address 0x7 is the null-PHY address and cannot be used to select the S/UNI-STAR. TADR[2:0] is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
43
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TCA
Type Output (ATM)
Pin No. J23
Function The UTOPIA Transmit multi-PHY Cell Available (TCA) signal indicates when a cell is available in the transmit FIFO for the port polled by TADR[2:0] when TENB is asserted. When high, TCA indicates that the transmit FIFO is not full and a complete cell may be written. When TCA is low, it can be configured to indicate either that the transmit FIFO is near full or that the transmit FIFO is full. TCA will transition low on the rising edge of TFCLK after the Payload word 19 (TCALEVEL0=0) or 23 (TCALEVEL0=1) is sampled if the PHY being polled is the same as the PHY in use. To reduce FIFO latency, the FIFO depth at which TCA indicates "full" can be set to one, two, three, or four cells. Note that regardless of what fill level TCA is set to indicate "full" at, the transmit cell processor can store four complete cells. TCA is tri-stated when either the null-PHY address (0x7) or an address not matching the address set by PHY_ADR[2:0] is latched from the TADR[2:0] inputs when TENB is high. TCA is updated on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
44
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name PTPA
Type Output (POS)
Pin No. J23
Function The POS-PHY Polled Transmit multi-PHY Packet Available (PTPA) transitions high when a programmable minimum number of bytes is available in the polled transmit FIFO (TPAHWM[7:0] Register bits). Once high, PTPA indicates that the transmit FIFO is not full. As an option, when PTPA transitions low, it can indicate that the transmit FIFO is full or near full (TPALWM[7:0] Register bits). PTPA allows polling of the PHY address selected by TADR[2:0] when TENB is asserted. PTPA is tri-stated when either the null-PHY address (0x7) or an address not matching the address set by PHY_ADR[2:0] is latched from the TADR[2:0] inputs when TENB is high. PTPA is only available in POS-PHY packet-level transfer mode, as selected by the POS_PLVL Register bit. PTPA is tri-stated in byte-level transfer mode. PTPA is updated on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
45
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name STPA
Type Output (POS)
Pin No. B19
Function The POS-PHY Selected multi-PHY Transmit Packet Available (STPA) signal. transitions high when a predefined (TPAHWM[7:0] Register bits) minimum number of bytes is available in the selected transmit FIFO (the FIFO that data is written into). Once high, STPA indicates that the transmit FIFO is not full. When STPA transitions low, it optionally indicates that the transmit FIFO is full or near full (TPALWM[7:0] Register bits). STPA always provides status indication for the selected PHY in order to avoid FIFO overflows while polling is performed. The PHY Layer device shall tri-state STPA when TENB is de-asserted. STPA shall also be tri-stated when either the null-PHY address (0x7H) or an address not matching the address set by PHY_ADR[2:0] is presented on the TADR[2:0] signals when TENB is sampled high (de-asserted during the previous clock cycle). STPA is only available in POS-PHY packet-level transfer mode, as selected by the POS_PLVL Register bit. STPA is tri-stated in byte-level transfer mode. STPA is updated on the rising edge of TFCLK.
TFCLK
Input (ATM)
K20
The UTOPIA Transmit FIFO Write Clock (TFCLK) is used to write ATM cells to the cell transmit FIFO. TFCLK cycles at a 50 MHz or lower instantaneous rate.
TFCLK
Input (POS)
K20
The POS-PHY Transmit FIFO Write Clock (TFCLK) is used to write packet octets into the 256-byte packet FIFOs. TFCLK cycles at a 50 MHz or lower instantaneous rate.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
46
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name DTCA
Type Output (ATM)
Pin No. K22
Function The UTOPIA Direct Transmit Cell Available (DTCA) output signals provide direct status indication of when a cell is available in the transmit FIFO for the corresponding port. When high, DTCA indicates that the corresponding transmit FIFO is not full and a complete cell may be written. When DTCA goes low, it can be configured to indicate either that the corresponding transmit FIFO is near full or that the corresponding transmit FIFO is full. DTCA will transition low on the rising edge of TFCLK after the Payload word 19 (TCALEVEL0=0) or 23 (TCALEVEL0=1) is sampled if the PHY being polled is the same as the PHY in use. To reduce FIFO latency, the FIFO depth at which DTCA indicates "full" can be set to one, two, three or four cells. Note that regardless of what fill level DTCA is set to indicate "full" at, the transmit cell processor can store four complete cells. DTCA are updated on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
47
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name DTPA
Type Output (POS)
Pin No. K22
Function The POS-PHY Direct Transmit Packet Available (DTPA) output signals provide direct status indication of when some programmable number of bytes is available in the transmit FIFO, for the corresponding port. When transitioning high, DTPA indicates that the transmit FIFO has enough room to store data. The transition level is selected by the TXFP Transmit Packet Available Low Water-mark (TPALWM[7:0]) Register. When DTPA transitions low, it indicates that the transmit FIFO is either full or near full as selected by the TXFP Transmit Packet Available High Water-mark (TPAHWM[7:0]) Register. This last option provides the Link Layer system with some look ahead capability in order to avoid FIFO overruns and smoothly transition between PHY's. DTPA are updated on the rising edge of TFCLK.
TMOD
Input (POS)
F22
The POS-PHY Transmit Word Modulo (TMOD) signal indicates the size of the current word. TMOD is only used during the last word transfer of a packet, at the same time TEOP is asserted. During a packet transfer every word must be complete except the last word, which can be composed of one or two bytes. TMOD set high indicates a 1-byte word (present on MSBs, LSBs are discarded) while TMOD set low indicates a 2byte word. TMOD is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TMOD is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
48
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TEOP
Type Input (POS)
Pin No. C18
Function The active high POS-PHY Transmit End of Packet (TEOP) signal marks the end of a packet on the TDAT[15:0] bus. When TEOP is high, the last word of the packet is present on the TDAT[15:0] data bus and TMOD indicates how many bytes this last word is composed of. It is legal to set TSOP high at the same time TEOP is high. This provides support for one or two byte packets, as indicated by the value of TMOD. TEOP is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TEOP is sampled on the rising edge of TFCLK.
TERR
Input (POS)
D17
The POS-PHY Transmit Error (TERR) indicator is used to indicate that the current packet must be aborted. TERR should only be asserted during the last word transfer of a packet. Packets marked with TERR will be appended with the abort sequence (0x7D-0x7E) when transmission. TERR is considered valid only when TENB is simultaneously asserted and the S/UNI-STAR is selected via TADR[2:0]. TERR is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
49
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RDAT[15] RDAT[14] RDAT[13] RDAT[12] RDAT[11] RDAT[10] RDAT[9] RDAT[8] RDAT[7] RDAT[6] RDAT[5] RDAT[4] RDAT[3] RDAT[2] RDAT[1] RDAT[0] RDAT[15] RDAT[14] RDAT[13] RDAT[12] RDAT[11] RDAT[10] RDAT[9] RDAT[8] RDAT[7] RDAT[6] RDAT[5] RDAT[4] RDAT[3] RDAT[2] RDAT[1] RDAT[0]
Type Output (ATM)
Pin No. U23 U22 T20 U21 V22 W23 U20 V21 W22 Y23 W21 Y22 AA23 W20 Y21 AA20 U23 U22 T20 U21 V22 W23 U20 V21 W22 Y23 W21 Y22 AA23 W20 Y21 AA20
Function The UTOPIA Receive Cell Data Bus (RDAT[15:0]) carries the ATM cells that are read from the receive FIFO selected by RADR[2:0]. RDAT[15:0] is tristated when RENB is high. RDAT[15:0] is tri-stated when RENB is high. RDAT[15:0] is also tri-stated when either the nullPHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs when RENB is high. RDAT[15:0] is updated on the rising edge of RFCLK.
Output (POS)
The POS-PHY Receive Packet Data Bus (RDAT[15:0]) carries the POS packet octets that are read from the selected receive FIFO. RDAT[15:0] is considered valid only when RVAL is asserted. RDAT[15:0] is tri-stated when RENB is high. RDAT[15:0] is also tri-stated when either the nullPHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs. RDAT[15:0] is updated on the rising edge of RFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
50
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RPRTY
Type Output (ATM)
Pin No. T21
Function The UTOPIA Receive Parity (RPRTY) signal indicates the parity of the RDAT bus. RPRTY reflects the parity of RDAT[15:0]. Odd or even parity selection is made by using the RXPTYP Register bit-.In ATM cell processors, the four RXCP shall be programmed with the same parity settings).RPRTY is tri-stated when RENB is high. RPRTY is also tri-stated when either the null-PHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs when RENB is high. RPRTY is updated on the rising edge of RFCLK.
RPRTY
Output (POS)
T21
The POS-PHY Receive Parity (RPRTY) signal indicates the parity of the RDAT bus. Odd or even parity selection is made by using the RXPTYP Register-.bit (in POS Frame Processors, the four RXFP shall be programmed with the same parity settings). RPRTY is tri-stated when RENB is high. RPRTY is also tri-stated when either the nullPHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs. RPRTY is updated on the rising edge of RFCLK.
RSOC
Output (ATM)
P23
The UTOPIA Receive Start of Cell (RSOC) marks the start of cell on the RDAT bus. RSOC is tri-stated when RENB is de-asserted. RSOC is also tri-stated when either the null-PHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs when RENB is high. RSOC is sampled on the rising edge of RFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
51
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RSOP
Type Output (POS)
Pin No. P23
Function The POS-PHY Receive Start of Packet (RSOP) marks the first word of a packet transfer. RSOP is tri-stated when RENB is de-asserted. RSOP is also tri-stated when either the null-PHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs. RSOP/RSOP is sampled on the rising edge of RFCLK
RENB
Input (ATM)
P22
The UTOPIA Receive multi-PHY Read Enable (RENB) signal is used to initiate reads from the receive FIFOs. When RENB is sampled high, no read is performed and RDAT[15:0], RPRTY, and RSOC are tri-stated, and the address on RADR[2:0] is latched to select the device or port for the next FIFO access. When RENB is sampled low, the word on the RDAT bus is read from the selected receive FIFO. RENB must operate in conjunction with RFCLK to access the FIFOs at a high enough rate to prevent FIFO overflows. The system may de-assert RENB at anytime it is unable to accept another byte. RENB is sampled on the rising edge of RFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
52
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RENB
Type Input (POS)
Pin No. P22
Function The S/UNI-STAR supports both byte-level and packet-level transfer. Packet-level transfer operates as described above, with a selection phase when POS-PHY Receive multi-PHY Read Enable (RENB) is de-asserted and a transfer phase when RENB is asserted. While RENB is asserted, RADR[2:0] is used for polling RPA. Byte level transfer works on a cycle basis. When RENB is asserted data is transferred from the selected PHY and RADR[2:0] is used to select the PHY. Nothing happens when RENB is deasserted. Polling is not possible and packet availability is directly indicated by DRPA. During a data transfer, RVAL shall be monitored since it will indicate if the data is valid. Once RVAL is de-asserted, RENB or RADR[2:0] must be used to select a new PHY for data transfer. RENB must operate in conjunction with RFCLK to access the FIFOs at a high enough rate to prevent FIFO overflows. The system may de-assert RENB at anytime it is unable to accept another byte. RENB is sampled on the rising edge of RFCLK.
RADR[2] RADR[1] RADR[0]
Input (ATM)
R23 P20 R22
The Receive Address (RADR[2:0]) bus is used for device selection and device polling in accordance with the Utopia Level 2 standard. When RADR[2:0] is set to the same value as the PHY_ADR[2:0] inputs then the receive interface of the S/UNI-STAR is either being selected or polled. Note that the null PHY address 7H is an invalid address and cannot be used to select the S/UNISTAR. RADR[2:0] is sampled on the rising edge of TFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
53
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RADR[2] RADR[1] RADR[0]
Type Input (POS)
Pin No. R23 P20 R22
Function The POS-PHY Receive Read Address (RADR) signal is used to select the FIFO (and hence port) that is read from using the RENB signal. The RADR bus is also used to select the FIFO (and hence port) that is written to using the TENB signal and the FIFOs whose packet available signal is visible on the PRPA polling output. Note that address 0x7H is the null-PHY address and will not be identified with the S/UNI-STAR. RADR is sampled on the rising edge of RFCLK.
RCA
Output (ATM)
N20
UTOPIA Receive multi-PHY Cell Available (RCA) indicates when a cell is available in the receive FIFO (when the STAR is selected by RADR[2:0]). RCA can be configured to be de-asserted when either zero or four bytes remain in the selected/addressed FIFO. RCA will thus transition low on the rising edge of RFCLK after Payload word 24 (RCALEVEL0=1) or 19 (RCALEVEL0=0) is output if the PHY being polled is the same as the PHY in use. RCA is tri-stated when either the null-PHY address (0x7H) or an address not matching the device address is latched from the RADR[2:0] inputs when RENB is high. RCA is updated on the rising edge of RFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
54
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name PRPA
Type Output (POS)
Pin No. N20
Function POS-PHY Polled multi-PHY Receive Packet Available (PRPA) signal indicates when data is available in the polled receive FIFO. When PRPA is high, the receive FIFO has at least one end-of-packet or a predefined number of bytes to be read (the number of bytes might be user programmable). PRPA is low when the receive FIFO fill level is below the assertion threshold and the FIFO contains no end of packet. PRPA allows to poll every PHY while transferring data from the selected PHY. PRPA is driven by a PHY layer device when its address is polled on RADR[2:0]. A PHY layer device shall tri-state PRPA when either the null-PHY address (0x7H) or an address not matching the address set by the PHY_ADR[2:0] Register bits is provided on RADR[2:0]. PRPA is only available in POS-PHY packet-level transfer mode, as selected by the POS_PLVL Register bit. PRPA is tri-stated in byte-level transfer mode. PRPA is updated on the rising edge of RFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
55
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RVAL
Type Output (POS)
Pin No. M22
Function POS-PHY Receive Data Valid (RVAL) indicates the validity of the receive data signals. When RVAL is high, the Receive signals (RDAT, RSOP, REOP, RMOD, RPRTY, and RERR) are valid. When RVAL is low, all Receive signals are invalid and must be disregarded. RVAL will transition low on a FIFO empty condition or on an end of packet. No data will be removed from the receive FIFO while RVAL is de-asserted. Once deasserted, RVAL will remain de-asserted until the current PHY is deselected. RVAL allows monitoring of the selected PHY during a data transfer while monitoring other PHYs is done using DRPA. RVAL is tri-stated when RENB is de-asserted. RVAL is also tri-stated when either the null-PHY address (0x7H) or an address not matching the PHY layer device address is presented on the RADR[2:0] signals. RVAL is updated on the rising edge of RFCLK.
RFCLK
Input (ATM)
P21
UTOPIA Receive FIFO Read Clock (RFCLK) is used to read ATM cells from the receive FIFOs. RFCLK must cycle at a 50 MHz or lower instantaneous rate, but at a high enough rate to avoid FIFO overflows.
RFCLK
Input (ATM)
P21
The POS-PHY Receive FIFO Read Clock (RFCLK) is used to read packets from the receive FIFOs. RFCLK must cycle at a 50 MHz or lower instantaneous rate, but at a high enough rate to avoid FIFO overflows.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
56
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name DRCA
Type Output (ATM)
Pin No. M21
Function The output UTOPIA Direct Receive Cell Available (DRCA) signals provide direct indication of when a cell is available in the receive FIFO for the corresponding port. DRCA can be configured to be de-asserted when either zero or four bytes remain in the selected/addressed FIFO. Allowing DRCA to transition low on the rising edge of RFCLK after Payload word 24 (RCALEVEL0=1) or 19 (RCALEVEL0=0) is output if the PHY being polled is the same as the PHY in use. DRCA[x] is updated on the rising edge of RFCLK.
DRPA
Output (POS)
M21
The POS-PHY Direct Receive Packet Available (DRPA) provides a direct status indication when data is available in the receive FIFO. When DRPA is high, the receive FIFO has at least one end-of-packet or a programmable minimum number of bytes to be read. DRPA is otherwise low. The polarity of DRPA can be inverted with the RPAINV Register bit. DRPA is updated on the rising edge of RFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
57
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RMOD
Type Output (POS)
Pin No. Y19
Function The POS-PHY Receive Modulo (RMOD) signal indicates the number of bytes carried by the RDAT[15:0] bus during the last word of a packet transfer. During a packet transfer every word must be complete except the last word which can be composed of one or two bytes. RMOD set high indicate a single-byte word (present on MSBs, LSBs are discarded) while RMOD set low indicates a 2-byte word. RMOD is only used in POS mode. RMOD is tri-stated when RENB is de-asserted. RMOD is also tri-stated when either the null-PHY address (0x7H) or an address not matching the address space set by PHY_ADR[2:0] is latched from the RADR[2:0] inputs when RENB is high. RMOD is updated on the rising edge of RFCLK.
REOP
Output (POS)
L23
The POS-PHY Receive End Of Packet (REOP) signal marks the end-of-packet on the RDAT[15:0] bus. When the RXFP-50 is selected, REOP is set high to mark the last word of the packet presented on the RDAT[15:0] bus. During this same cycle RMOD is used to indicate if the last word has one or two bytes. It is legal to set RSOP high at the same time REOP is high. This provides support for one or two bytes packets, as indicated by the value of RMOD. REOP is only used in POS mode. REOP is tri-stated when RENB is de-asserted. REOP is also tri-stated when either the null-PHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs when RENB is high. REOP is updated on the rising edge of RFCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
58
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RERR
Type Output (POS)
Pin No. L22
Function The POS-PHY Receive Error (RERR) signal indicates that the current packet is aborted. RERR can only be asserted during the last word transfer, at the same time REOP is asserted. RERR is only used in POS mode. RERR is tri-stated when RENB is de-asserted. RERR is also tri-stated when either the null-PHY address (0x7H) or an address not matching the address space is latched from the RADR[2:0] inputs when RENB is high. RERR is updated on the rising edge of RFCLK.
PHY_OEN
Input (ATM/ POS)
A19
The PHY Output Enable (PHY_OEN) signal controls the operation of the system interface. When set to logic zero, all System Interface outputs are held tri-state. When PHY_OEN is set to logic one, the interface is enabled. PHY_OEN can be overwritten by the PHY_EN Master System Interface Configuration Register bit. PHY_OEN and PHY_EN are OR'ed together to enable the interface. When the S/UNI-STAR is the only PHY layer device on the bus, PHY_OEN can safely be tied to logic one. When the S/UNI-STAR shares the bus with other devices, then PHY_OEN must be tied to logic zero, and the PHY_EN Register bit used to enable the bus once its PHY_ADR[2:0] is programmed in order to avoid conflicts.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
59
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
9.4
Microprocessor Interface Signals Pin Name CSB Type Input Pin No. B11 Function The active-low chip select (CSB) signal is low during S/UNI-STAR Register accesses. Note that when not being used, CSB must be tied high. If CSB is not required (i.e., registers accesses are controlled using the RDB and WRB signals only), CSB must be connected to an inverted version of the RSTB input. RDB Input D11 The active-low read enable (RDB) signal is low during S/UNI-STAR Register read accesses. The S/UNI-STAR drives the D[7:0] bus with the contents of the addressed register while RDB and CSB are low. The active-low write strobe (WRB) signal is low during a S/UNI-STAR Register write access. The D[7:0] bus contents are clocked into the addressed register on the rising WRB edge while CSB is low. The bi-directional data bus D[7:0] is used during S/UNI-STAR Register read and write accesses.
WRB
Input
A10
D[0] D[1] D[2] D[3] D[4] D[5] D[6] D[7] A[0] A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9]
I/O
D16 B17 A17 C16 B16 C15 B15 D14 A15 C14 B14 A14 D13 C13 B13 A13 C12 B12
Input
The address bus A[9:0] selects specific registers during S/UNI-STAR Register accesses (except for S/UNI-STAR global registers).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
60
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name A[10]
Type Input
Pin No. A11
Function The A[10] signal, also called the test register select (TRS) signal, selects between normal and test mode register accesses. A[10]/TRS is high during test mode register accesses, and is low during normal mode register accesses. The active-low reset (RSTB) signal provides an asynchronous S/UNI-STAR reset. RSTB is a Schmitt triggered input with an integral pull-up resistor. The address latch enable (ALE) is active-high and latches the address bus A[7:0] when low. When ALE is high, the internal address latches are transparent. It allows the S/UNI-STAR to interface to a multiplexed address/data bus. ALE has an integral pull-up resistor. The active-low interrupt (INTB) signal goes low when a S/UNI-STAR interrupt source is active and that source is unmasked. The S/UNI-STAR may be enabled to report many alarms or events via interrupts. Examples of interrupt sources are: loss of signal (LOS), loss of frame (LOF), line AIS, line remote defect indication (LRDI) detect, loss of pointer (LOP), path AIS, path remote defect indication detect, amongst others. INTB is tri-stated when the interrupt is acknowledged by an appropriate register access. INTB is an open drain output.
RSTB
Input pull-up
B10
ALE
Input pull-up
C11
INTB
Output Opendrain
C10
9.5
JTAG Test Access Port (TAP) Signals Pin Name TCK Type Input Pin No. B8 Function The test clock (TCK) signal provides timing for test operations that are carried out using the IEEE P1149.1 test access port.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
61
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name TMS
Type Input pull-up
Pin No. B9
Function The test mode select (TMS) signal controls the test operations that are carried out using the IEEE P1149.1 test access port. TMS is sampled on the rising edge of TCK. TMS has an integral pull-up resistor. The test data input (TDI) signal carries test data into the S/UNI-STAR via the IEEE P1149.1 test access port. TDI is sampled on the rising edge of TCK. TDI has an integral pull-up resistor. The test data output (TDO) signal carries test data out of the S/UNI-STAR via the IEEE P1149.1 test access port. TDO is updated on the falling edge of TCK. TDO is a tri-state output which is inactive except when scanning of data is in progress. The active-low test reset (TRSTB) signal provides an asynchronous S/UNI-STAR test access port reset via the IEEE P1149.1 test access port. TRSTB is a Schmitt triggered input with an integral pull-up resistor. Note that when not being used, TRSTB must be connected to the RSTB input.
TDI
Input pull-up
D10
TDO
Tri-state
A9
TRSTB
Input pull-up
C9
9.6
Analog Signals Pin Name C+ CType Analog Pin No. AB4 AA5 Function The analog CP and CN pins are provided for applications that must meet SONET/SDH jitter transfer specifications. A 220 nF ceramic capacitor can be attached across C+ and C-. The Analog Test Bus (ATB). These pins are used for manufacturing testing only and should be connected ground.
ATB0 ATB1 ATB2 ATB3
Analog I/O P2 P3 P4 R1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
62
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
9.7
Power and Ground Pin Name BIAS Type Bias Voltage Pin No. K21 C17 Function When tied to +5V via a 1 KW resistor, the I/O Bias (BIAS). input is used to bias the wells in the input and I/O pads so that the pads can tolerate 5V on their inputs without forward biasing internal ESD protection devices. When BIAS is tied to +3.3V, the inputs and bi-directional inputs will only allow 3.3V level inputs.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
63
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name VDD
Type Power
Pin No. A1 A23 B2 B22 C3 C21 D4 D6 D9 D12 D15 D18 D20 F4 F20 J4 J20 M4 M20 R4 R20 V4 V20 Y4 Y6 Y9 Y12 Y15 Y18 Y20 AA3 AA21 AB2 AB22 AC1 AC23 R21 T22 H21 G23
Function The digital power (VDD) pins should be connected to a well-decoupled +3.3 V DC supply.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
64
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name VSS
Type Ground
Pin No. A2 A6 A8 A12 A16 A18 A22 B1 B3 B21 B23 C2 C22 F1 F23 H1 H23 M1 M23 T1 T23 V1 V23 AA2 AA22 AB1 AB3 AB21 AB23 AC2 AC6 AC8 AC12 AC16 AC18 AC22
Function The digital ground (VSS) pins should be connected to ground.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
65
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name VSS
Type Ground
Pin No. E2 D1 G1 G2 W1 V2 E3 J3 U3 AB6 AA7 Y8 AC7 AA8 AB8
Function The digital ground (VSS) pins should be connected to ground.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
66
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name N/C
Type No connect
Pin No. K23 L20 L21 N23 N22 N21 AA13 Y13 AC14 AA12 AB12 AC13 AA14 AC15 Y14 C1 D2 E1 F2 T2 U1 E4 D3 H4 G3 R3 R2 AB17 Y16 AA17 AC20 AA19 AB20 AB9 Y10 AC9
Function No connect
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
67
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name N/C
Type No connect
Pin No. AA15 AB16 AC17 AC19 Y17 AA18 AB10 AC10 Y11K 2 K1 N2 N1 B4 C5 T3 J2 D8 D7 C8 C7 B18 B7 B6 A7 A5. AA6 C6 AB5 B5
Function No connect
QAVD_1 QAVD_2 QAVS_1 QAVS_2
Analog Power Analog Ground
The quiet analog power (QAVD) pins for the analog core. QAVD should be connected to analog +3.3V. The quiet analog ground (QAVS) pins for the analog core. QAVS should be connected to analog GND.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
68
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Pin Name RAVD1_A RAVD1_B RAVD1_C RAVD2_A RAVD2_B RAVD2_C RAVD3_A RAVD3_B RAVD3_C RAVD4_A RAVD4_B RAVD4_C TAVD1_A TAVD1_B RAVS1_A RAVS1_B RAVS1_C RAVS2_A RAVS2_B RAVS2_C RAVS3_A RAVS3_B RAVS3_C RAVS4_A RAVS4_B RAVS4_C TAVS1_A TAVS1_B
Type Analog Power
Pin No. G4 A4 C4 H2 L4 J1 U2 M2 N4 Y3 AC4 AA4 L3 L1 F3 A3 D5 H3 K3 K4 T4 N3 P1 W4 AC3 Y5 L2 M3
Function The analog power (AVD) pins, which includes RAVD and TAVD pins for the analog core. AVD should be connected to analog +3.3V.
Analog Ground
The analog ground (AVS) pins, which include RAVS and RAVD pins, for the analog core. AVS should be connected to analog GND.
Notes on Pin Description: 1. All S/UNI-STAR inputs and bi-directionals present minimum capacitive loading and operate at TTL logic levels except: the SD, RXD+, and RXDinputs, which operate at pseudo-ECL (PECL) logic levels 2. The RDAT[7:0], RPRTY, RSOC, REOP, RMOD, RERR, RCA, TCA, TCLK, and RCLK outputs have a 4 mA drive capability. The TXD+ and TXDoutputs are designed to be terminated in a passive network and interface at PECL levels.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
69
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
3. It is mandatory that every ground pin (VSS) be connected to the printed circuit board ground plane to ensure a reliable device operation. 4. It is mandatory that every power pin (VDD) be connected to the printed circuit board power plane to ensure a reliable device operation. 5. All analog power and ground can be sensitive to noise. They must be isolated from the digital power and ground. Care must be taken to decouple these pins from each other and all other analog power and ground pins. 6. Due to ESD protection structures in the pads, caution must be taken when powering a device up or down. ESD protection devices behave as diodes between power supply pins and from I/O pins to power supply pins. Under extreme conditions it is possible to blow these ESD protection devices or trigger latch up. Please adhere to the recommended power supply sequencing as described in the OPERATION section of this document. 7. Some device pins can be made 5V tolerant by connecting the BIAS pins to a 5V power supply, while some other pins are 3.3V only. In summary, the system interface (ATM or POS) is 3.3V only while the microprocessor interface, SONET and line interfaces are 5V tolerant. 3.3V only I/O's:
RDAT[15:0], RSOC/RSOP, RPRTY, RENB, REOP, RMOD, RERR, RVAL, TDAT[15:0], TSOC/TSOP, TPRTY, TENB, TEOP, TMOD, TERR, RCA/RPA, DRCA/DRPA, TCA/PTPA, STPA, DTCA/DTPA, RADR[2:0], TADR[2:0], PHY_OEN
5V tolerant I/O's:
REFCLK, RCLK, RFPO, RALRM, TCLK, TFPO, TFPI, RSD, RSDCLK, TSD, TSDCLK. RLD, RLDCLK, TLD, TLDCLK., D[7:0], A[10:0], WRB, RDB, CSB, RSTB, INTB, ALE, TRSTB, TCK, TMS, TDI, TDO
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
70
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10 FUNCTIONAL DESCRIPTION 10.1 Microprocessor Interface The microprocessor interface block provides normal and test mode registers as well as the logic required to connect to the microprocessor interface. The normal mode registers are required for normal operation, and test mode registers are used to enhance the testability of the S/UNI-STAR. The register set is accessed as shown in Table 6. In the following section every register is documented and identified using the register number (REG #). Addresses that are not shown are not used and must be treated as Reserved. 10.2 Receive Line Interface The Receive Line Interface allows the S/UNI-STAR to directly interface with optical modules (ODLs) or other medium interfaces. This block performs clock and data recovery and performs serial-to-parallel conversion on the incoming 155.52 Mbit/s data stream. 10.2.1 Clock Recovery The clock recovery unit (CRU) recovers the clock from the incoming bit serial data stream. The CRU is fully compliant with SONET and SDH jitter tolerance requirements. The unit uses a low frequency reference clock to train and monitor its clock recovery phase-locked loop (PLL). Under loss of signal conditions, the CRU continues to output a line rate clock that is locked to this reference for keepalive purposes. The CRU uses a reference clock at 19.44 MHz. The unit also provides status bits that indicate whether it is locked to data or to the reference. It also supports diagnostic loop back and a loss of signal input that smothers normal input data. Initially, the PLL locks to the reference clock, REFCLK. When the frequency of the recovered clock is within 488 ppm of the reference clock, the PLL attempts to lock to the data. Once in data lock, if no data transitions occur in 80 bit periods or if the recovered clock drifts beyond 488 ppm of the reference clock, the PLL reverts to the reference clock. When the transmit clock is derived from the recovered clock (loop timing), the accuracy of the transmit clock is directly related to the REFCLK reference accuracy in the case of a loss of signal condition. To meet the Telcordia GR-253CORE SONET Network Element free-run accuracy specification, the reference
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
71
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
must be within +/-20ppm. When used in LAN applications, the REFCLK accuracy may be relaxed to +/-50ppm. The loop filter transfer function is optimized to enable the PLL to track the jitter while allowing the minimum transition density expected in a received SONET/SDH data signal. The total loop dynamics of the clock recovery PLL yield a jitter tolerance that exceeds the minimum tolerance proposed for SONET equipment by GR-253-CORE. Refer to Figure 3.. Figure 3: Typical STS-3c (STM-1) Jitter Tolerance
100
10
GR-253-CORE 1
0.1 100
1000
10000 100000 Jitter Freq. (Hz)
1000000
10000000
Note that for frequencies below 300 Hz, the jitter tolerance is greater than 15 UIpp; 15 UIpp is the maximum jitter tolerance of the test equipment. Also note that the dip in the tolerance curve between 300 Hz and 10 kHz is due to the S/UNI-STAR's internal clock difference detector: If the recovered clock drifts beyond 488 ppm of the reference, the PLL locks to the reference clock. 10.2.2 Serial to Parallel Converter The Serial to Parallel Converter (SIPO) converts the received bit serial stream to a byte serial stream. The SIPO searches for the SONET/SDH framing pattern (A1, A2) in the receive stream and performs serial to parallel conversion on octet boundaries.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
72
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.3 Receive Section Overhead Processor (RSOP) The Receive Section Overhead Processor (RSOP) provides frame synchronization, de-scrambling, section level alarm, and performance monitoring. In addition, it extracts the section data communication channel from the section overhead and, if selected, provides the channel serially on output RSD . 10.3.1 Framer The Framer Block determines the in-frame/out-of-frame status of the receive stream. While in-frame, the framing bytes (A1, A2) in each frame are compared against the expected pattern. Out-of-frame is declared when four consecutive frames containing one or more framing pattern errors have been received. While out-of-frame, the SIPO block monitors the receive stream for an occurrence of the framing pattern. When a framing pattern is recognized, the Framer block verifies that an error free framing pattern is present in the next frame before declaring in-frame. 10.3.2 De-scramble The De-scramble Block uses a frame synchronous de-scrambler to process the receive stream. The generating polynomial is x7 + x6 + 1 and the sequence length is 127. Details of the de-scrambling operation are provided in the REFERENCES. Note that the framing bytes (A1 and A2) and the trace/growth bytes (J0/Z0) are not de-scrambled. A register bit is provided to disable the descrambling operation. 10.3.3 Data Link Extract The Data Link Extract Block extracts the section data communication channel (bytes D1, D2, and D3) from the STS-3c (STM-1) stream. The extracted bytes are serialized and output on signal RSD at a nominal 192 kbit/s rate. Timing for the downstream processing of the data communication channel is provided by the RSDCLK signal that is also output by the Data Link Extract Block. RSDCLK is derived from a 216 kHz clock that is gapped to yield an average frequency of 192 kHz. RSD is updated with timing aligned to RSDCLK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
73
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.3.4 Error Monitor The Error Monitor Block calculates the received section BIP-8 error detection code (B1) based on the scrambled data of the complete STS-3c (STM-1) frame. The section BIP-8 code is based on a bit interleaved parity calculation using even parity. Details are provided in the references. The calculated BIP-8 code is compared with the BIP-8 code extracted from the B1 byte of the following frame. Differences indicate that a section level bit error has occurred. Up to 64000 (8 x 8000) bit errors can be detected per second. The Error Monitor Block collects these section level bit errors in a 16-bit saturating counter that can be read from the microprocessor interface. Circuitry is provided to latch this counter so that its value can be read while simultaneously resetting the internal counter to zero or one, if appropriate, so that a new period of collection can begin without loss of any events. It is intended that this counter be polled at least once per second so as not to miss bit error events. 10.3.5 Loss of Signal The Loss of Signal Block monitors the scrambled data of the receive stream for the absence of ones. When 20 3 s of all-zeros patterns are detected, a loss of signal (LOS) is declared. Loss of signal is cleared when two valid framing words are detected and, during the intervening time, no loss of signal condition is detected. The LOS signal is optionally reported on the RALRM output pin when enabled by the LOSEN Receive Alarm Control Register bit. 10.3.6 Loss of Frame The Loss of Frame Block monitors the in-frame and out-of-frame status of the Framer Block. A loss of frame (LOF) is declared when an out-of-frame (OOF) condition persists for 3 ms. The LOF is cleared when an in-frame condition persists for a period of 3 ms. To provide for intermittent out-of-frame (or in-frame) conditions, the 3 ms timer is not reset to zero until an in-frame (or out-of-frame) condition persists for 3 ms. As an option, the LOF and OOF signals are reported on the RALRM output pin when they are enabled by the LOFEB and OOFEN Receive Alarm Control Register bits. 10.4 Receive Line Overhead Processor (RLOP) The Receive Line Overhead Processor (RLOP) provides line level alarm and performance monitoring. It also extracts the line data communication channel from the line overhead and, if selected, provides it serially on output RLD.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
74
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.4.1 Line RDI Detect The Line RDI Detect Block detects the presence of Line Remote Defect Indication (LRDI) in the receive stream. Line RDI is declared when a 110 binary pattern is detected in bits 6, 7, and 8 of the K2 byte for three or five consecutive frames. Line RDI is removed when any pattern other than 110 is detected in bits 6, 7, and 8 of the K2 byte for three or five consecutive frames. As an option, the LRDI signal is reported on the RALRM output pin when it is enabled by the LRDIEN Receive Alarm Control Register bit. 10.4.2 Line AIS Detect The Line AIS Block detects the presence of a Line Alarm Indication Signal (LAIS) in the receive stream. Line AIS is declared when a 111 binary pattern is detected in bits 6, 7, and 8 of the K2 byte for three or five consecutive frames. Line AIS is removed when any pattern other than 111 is detected in bits 6, 7, and 8 of the K2 byte for three or five consecutive frames. As an option, the LAIS signal is reported on the RALRM output pin when it is enabled by the LAISEN Receive Alarm Control Register bit. 10.4.3 Data Link Extract Block The Data Link Extract Block extracts the line data communication channel (bytes D4 to D12) from the STS-3c (STM-1) stream. The extracted bytes are serialized and output on the RLD output at a nominal 576 kbit/s rate. Timing for downstream processing of the data communication channel is provided by the RLDCLK output. RLDCLK is derived from a 2.16 MHz clock that is gapped to yield an average frequency of 576 kHz. 10.4.4 Error Monitor Block The Error Monitor Block calculates the received line BIP-8 error detection codes based on the line-overhead-bytes and synchronous payload envelopes of the STS-3c (STM-1) stream. The line BIP-8 code is a bit interleaved parity calculation using even parity. Details are provided in the REFERENCES. The calculated BIP-8 codes are compared with the BIP-8 codes extracted from the following frame. Any differences indicate that a line layer bit error has occurred. As an option, the RLOP can be configured to count a maximum of only one BIP error per frame. This block also extracts the line FEBE code from the M1 byte. The FEBE code is contained in bits 2 to 8 of the M1 byte, and represents the number of line BIP-8 errors that were detected in the last frame by the far end. The FEBE code value
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
75
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
has 25 legal values (0 to 24) for an STS-3c (STM-1) stream. Illegal values are interpreted as zero errors. The Error Monitor Block accumulates B2 error events and FEBE events in two 20-bit saturating counters that can be read through the microprocessor interface. The contents of these counters may be transferred to internal holding registers by writing to any one of the counter addresses or by using the TIP Register bit feature. During a transfer, the counter value is latched and the counter is reset to zero (or one, if there is an outstanding event). Note, these counters should be polled at least once per second to avoid saturation. The B2 error events counters can be optionally configured to collect only "word" errors. A B2 word error is defined as the occurrence of one or more B2 bit error events during a frame. The B2 error counter is incremented by one for each frame in which a B2 word error occurs. As an option, the FEBE events counters can be configured to accumulate only "word" events. In STS-3c (STM-1) framing a FEBE word event is defined as the occurrence of one or more FEBE bit events during a frame. The FEBE event counter is incremented by one for each frame in which a FEBE event occurs. 10.5 The Receive APS, Synchronization Extractor and Bit Error Monitor (RASE) 10.5.1 Automatic Protection Switch Control The Automatic Protection Switch (APS) control block filters and captures the receive automatic protection switch channel bytes (K1 and K2) and allows them to be read through the RASE APS K1 Register and the RASE APS K2 Register. The bytes are filtered for three frames before being written to these registers. A protection switching byte failure alarm is declared when twelve successive frames have been received, where no three consecutive frames contain identical K1 bytes. The protection switching byte failure alarm is removed when three consecutive frames containing identical K1 bytes are detected. The detection of invalid APS codes is done in the software by polling the RASE APS K1 Register and the RASE APS K2 Register. 10.5.2 Bit Error Rate Monitor The Bit Error Monitor Block (BERM) calculates the received line BIP-24 error detection code (B2) based on the line overhead and synchronous payload envelope of the receive data stream. The line BIP-24 code is a bit interleaved parity calculation using even parity. Details are provided in the REFERENCES. The calculated BIP code is compared with the BIP-24 code extracted from the B2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
76
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
byte(s) of the following frame. Any differences indicate that a line layer bit error has occurred. Up to 192000 (24 BIP/frame x 8000 frames/second) bit errors can be detected per second for STS-3c (STM-1) rate. The BERM collects these line layer bit errors in a 20 bit saturating counter that can be read from the microprocessor interface. During a read, the counter value is latched and the counter is reset to zero (or one, if there is an outstanding event). Note, this counter should be polled at least once per second to avoid saturation which in turn may result in missed bit error events. The BERM block is able to simultaneously monitor for signal fail (SF) or signal degrade (SD) threshold crossing and provide alarms through software interrupts. The bit error rates associated with the SF or SD alarms are programmable over a range of 10-3 to 10-9. Details are provided in the OPERATION section of this document. In both declaring and clearing detection states, the accumulated BIP count is continuously compared against the threshold. This allows the presence of error bursts or error rates that significantly exceed the monitored BER to be quickly declared and allows meeting the ITU-T G.783 detection requirements at various error rates (where the detection time is a function of the actual BER, for a given monitored BER). 10.5.3 Synchronization Status Extraction The Synchronization Status Extraction (SSE) Block extracts the synchronization status (S1) byte from the line overhead. The SSE block can be configured to capture the S1 nibble after three or after eight frames with the same value (filtering turned on) or after any change in the value (filtering turned off). The S1 nibble can be read from the microprocessor interface. Optionally, the SSE can be configured to perform filtering based on the whole S1 byte. Although this mode of operation is not standard, it might become useful in the future. 10.6 Receive Path Overhead Processor (RPOP) The Receive Path Overhead Processor (RPOP) provides pointer interpretation, extraction of path overhead, extraction of the synchronous payload envelope, and path level alarm indication and performance monitoring. 10.6.1 Pointer Interpreter The Pointer Interpreter interprets the incoming pointer (H1, H2) as specified in the references. The pointer value is used to determine the location of the path
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
77
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
overhead (the J1 byte) in the incoming STS-3c (STM-1) stream. The algorithm can be modeled by a finite state machine. Within the pointer interpretation algorithm three states are defined as shown below: NORM_state (NORM) AIS_state (AIS) LOP_state (LOP) The transition between states will be consecutive events (indications), such as, three consecutive AIS indications to go from the NORM_state to the AIS_state. The kind and number of consecutive indications activating a transition is chosen such that the behavior is stable and insensitive to low BER. The only transition on a single event is the one from the AIS_state to the NORM_state after receiving a NDF enabled with a valid pointer value. Note: it is implied that, since the algorithm only contains transitions based on consecutive indications, for example, non-consecutively received invalid indications do not activate the transitions to the LOP_state. Figure 4: Pointer Interpretation State Diagram
3 x eq_new_point inc_ind / dec_ind NDF_enable
NORM
3x eq_new_point
8x inv_point
8x NDF_enable
3x eq_new_point
3x AIS_ind NDF_enable
3 x AIS_ind
LOP
8 x inv_point
AIS
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
78
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The following table defines the events (indications) shown in the state diagram. Table 1: Pointer Interpreter Event (Indications) Description Event (Indication) Description norm_point NDF_enable disabled NDF + ss + offset value equal to active offset enabled NDF + ss + offset value in range of 0 to 782 or enabled NDF + ss, if NDFPOR bit is set (Note that the current pointer is not updated by an enabled NDF if the pointer is out of range). H1 = 'hFF, H2 = 'hFF disabled NDF + ss + majority of I bits inverted + no majority of D bits inverted + previous NDF_enable, inc_ind or dec_ind more than 3 frames ago disabled NDF + ss + majority of D bits inverted + no majority of I bits inverted + previous NDF_enable, inc_ind or dec_ind more than 3 frames ago not any of above (i.e., not norm_point, and not NDF_enable, and not AIS_ind, and not inc_ind and not dec_ind) disabled_NDF + ss + offset value in range of 0 to 782 but not equal to active offset majority of I bits inverted + no majority of D bits inverted majority of D bits inverted + no majority of I bits inverted
AIS_ind inc_ind
dec_ind
inv_point
new_point inc_req dec_req Notes:
1. The active offset is defined as the accepted current phase of the SPE (VC) in the NORM_state and is undefined in the other states. 2. The enabled NDF is defined as the following bit patterns: 1001, 0001, 1101, 1011, 1000. 3. The disabled NDF is defined as the following bit patterns: 0110, 1110, 0010, 0100, 0111. 4. The remaining six NDF codes (0000, 0011, 0101, 1010, 1100, 1111) result in an inv_point indication. 5. The ss bits are unspecified in SONET and has bit pattern 10 in SDH
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
79
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
6. The use of ss bits in definition of indications may be optionally disabled. 7. The requirement for previous NDF_enable, inc_ind or dec_ind be more than 3 frames ago may be optionally disabled. 8. The new_point is also an inv_point. 9. The LOP is not declared if all the following conditions exist: * * * * The received pointer is out of range (>782), The received pointer is static, The received pointer can be interpreted, according to majority voting on the I and D bits, as a positive or negative justification indication, After making the requested justification, the received pointer continues to be interpretable as a pointer justification.
When the received pointer returns to an in-range value, the S/UNI/STAR will interpret it correctly. 10. LOP will exit at the third frame of a three frame sequence consisting of one frame with NDF enabled followed by two frames with NDF disabled, if all three pointers have the same legal value. The transitions indicated in the state diagram are defined in the following table. Table 2: Pointer Interpreter Transition Description Transition inc_ind/dec_ind 3 x eq_new_point NDF_enable 3 x AIS_ind 8 x inv_point 8 x NDF_enable Notes: 1. The transitions from NORM_state to NORM_state do not represent state changes but imply offset changes. Description offset adjustment (increment or decrement indication) three consecutive equal new_point indications single NDF_enable indication three consecutive AIS indications eight consecutive inv_point indications eight consecutive NDF_enable indications
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
80
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
2. 3 x new_point takes precedence over other events and if the IINVCNT bit is set resets the inv_point count. 3. All three offset values received in 3 x eq_new_point must be identical. 4. The "consecutive event counters" are reset to zero on a change of state except for consecutive NDF count. The Pointer Interpreter detects loss of pointer (LOP) in the incoming STS-3c (STM-1) stream. LOP is declared on entry to the LOP_state as a result of eight consecutive invalid pointers or eight consecutive NDF enabled indications. The alarm condition is reported in the receive alarm port and is optionally returned to the source node by signaling the corresponding Transmit Path Overhead Processor in the local S/UNI-STAR to insert a path RDI indication. The Pointer Interpreter detects path AIS in the incoming STS-3c (STM-1) stream. PAIS is declared on entry to the AIS_state after three consecutive AIS indications. The alarm condition is reported in the receive alarm port and is optionally returned to the source node by signaling the corresponding Transmit Path Overhead Processor in the local SONET/SDH equipment to insert a path RDI indication. Invalid pointer indications (inv_point), invalid NDF codes, new pointer indications (new_point), discontinuous change of pointer alignment, and illegal pointer changes are also detected and reported by the Pointer Interpreter block via register bits. An invalid NDF code is any NDF code that does not match the NDFenabled or NDF-disabled definitions. The third occurrence of equal new_point indications (3 x eq_new_point) is reported as a discontinuous change of pointer alignment event (DISCOPA) instead of a new pointer event and the active offset is updated with the receive pointer value. An illegal pointer change is defined as a inc_ind or dec_ind indication that occurs within three frames of the previous inc_ind, dec_ind or NDF_enable indications. Illegal pointer changes may be optionally disabled via register bits. The active offset value is used to extract the path overhead from the incoming stream and can be read from an internal register. 10.6.2 SPE Timing The SPE Timing Block provides SPE timing information to the Error Monitor and the Extract blocks. The block contains a free running timeslot counter that is initialized by a J1 byte identifier (which identifies the first byte of the SPE). Control signals are provided to the Error Monitor and the Extract blocks to
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
81
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
identify the Path Overhead bytes and to downstream circuitry to extract the ATM or POS payload. 10.6.3 Error Monitor The Error Monitor Block contains two 16-bit counters that are used to accumulate path BIP-8 errors (B3), and far end block errors (FEBEs). The contents of the two counters may be transferred to holding registers, and the counters reset under microprocessor control. Path BIP-8 errors are detected by comparing the path BIP-8 byte (B3) extracted from the current frame, to the path BIP-8 computed for the previous frame. FEBEs are detected by extracting the 4-bit FEBE field from the path status byte (G1). The legal range for the 4-bit field is between 0000 and 1000, representing zero to eight errors. Any other value is interpreted as zero errors. The Path RDI alarm is detected by extracting bit 5 of the path status byte. The PRDI signal is set high when bit 5 is set high for five/ten consecutive frames. PRDI is set low when bit 5 is low for five/ten consecutive frames. The Auxiliary RDI alarm is detected by extracting bit 6 of the path status byte and is indicated when bit 6 is set high for five or ten consecutive frames. The Auxiliary RDI alarm is removed when bit 6 is low for five/ten consecutive frames. The Enhanced RDI alarm is detected when the enhanced RDI code in bits 5, 6 & 7 of the path status byte indicates the same error codepoint for five or ten consecutive frames. The Enhanced RDI alarm is removed when the enhanced RDI code in bits 5, 6 & 7 of the path status byte indicates the same non error codepoint for five or ten consecutive frames. The ERDII maskable interrupt is set high when bits 5, 6 & 7 of the path status byte (G1) byte are set to a new codepoint for five or ten consecutive frames. The ERDIV[2:0] signal reflects the state of the filtered ERDI value (G1 byte bits 5, 6, & 7). 10.7 Receive ATM Cell Processor (RXCP) The Receive ATM Cell Processor (RXCP) performs ATM cell delineation, provides cell filtering based on idle or unassigned cell detection and HCS error detection, and performs ATM cell payload de-scrambling. The RXCP also provides a 4-cell deep receive FIFO. This FIFO is used to separate the STS-3c (STM-1) line timing from the higher layer ATM system timing.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
82
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.7.1 Cell Delineation Cell delineation is the process of framing to ATM cell boundaries using the header check sequence (HCS) field found in the cell header. The HCS is a CRC-8 calculation over the first four octets of the ATM cell header. When performing delineation, correct HCS calculations are assumed to indicate cell boundaries. Cells are assumed to be byte-aligned to the synchronous payload envelope. The cell delineation algorithm individually searches the 53 possible cell boundary candidates to determine the location of a valid cell boundary. The delineation process is as follows. While searching for the cell boundary location, the cell delineation circuit is in the HUNT state. When a correct HCS is found, the cell delineation state machine locks on the particular cell boundary that corresponds to the correct HCS and enters the PRESYNC state. The PRESYNC state validates the cell boundary location. If the cell boundary is invalid, an incorrect HCS will be received within the next DELTA cells, at which time a transition back to the HUNT state is executed. If no HCS errors are detected in this PRESYNC period, the SYNC state is entered. While in the SYNC state, synchronization is maintained until ALPHA-consecutive incorrect HCS patterns are detected. In such an event a transition is made back to the HUNT state. The state diagram of this delineation process is shown in Figure 5. Figure 5: Cell Delineation State Diagram
correct HCS (byte by byte)
HUNT
Incorrect HCS (cell by cell)
PRESYNC
ALPHA consecutive incorrect HCS's (cell by cell)
SYNC
DELTA consecutive correct HCS's (cell by cell)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
83
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The values of ALPHA and DELTA determine the robustness of the delineation process. ALPHA determines the robustness against false misalignments from bit errors. DELTA determines the robustness against false delineation in the synchronization process. ALPHA is chosen to be 7 and DELTA is chosen to be 6. These values result in an average time to delineation of 33.66 s for the STS-3c (STM-1) rate. 10.7.2 De-scrambler The self synchronous de-scrambler operates on the 48-byte cell payload only. The circuitry de-scrambles the information field using the x43 + 1 polynomial. The de-scrambler is disabled for the duration of the header and HCS fields and, as an option, may be disabled for the payload. 10.7.3 Cell Filter and HCS Verification Cells are filtered (or dropped) based on the HCS errors and/or a cell header pattern. Cell filtering is optional and is enabled through the RXCP Registers. Cells are passed to the receive FIFO while the cell delineation state machine is in the SYNC state as described in Section 10.7.1 Cell Delineation. When both filtering and HCS checking are enabled, the cells are dropped if any uncorrectable HCS errors are detected, or if the corrected header contents match the pattern contained in the RXCP Match Header Pattern and RXCP Match Header Mask Registers. Idle or unassigned cells are filtered by writing the appropriate cell header pattern into these registers. The idle or unassigned cells are assumed to contain the all-zeros pattern in the VCI and VPI fields. The RXCP Match Header Pattern and RXCP Match Header Mask Registers allow filtering control over the contents of the GFC, PTI, and CLP fields of the header. The HCS is a CRC-8 calculation over the first four octets of the ATM cell header. The RXCP block verifies the received HCS using the polynomial, x8 + x2 + x + 1. The coset polynomial, x6 + x4 + x2 + 1, is added (modulo 2) to the received HCS octet before comparison with the calculated result. While the cell delineation state machine is in the SYNC state (as described in Section 10.7.1 Cell Delineation), the HCS verification circuit implements the state machine shown in Figure 6.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
84
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 6: HCS Verification State Diagram
ATM DELINEATION SYNC STATE
Apparent Multi-Bit Error (Drop Cell) No Errors Detected (Pass Cell) CORRECTION MODE
ALPHA consecutive incorrect HCS's (To HUNT state)
Single-Bit Error (Correct Error and Pass Cell)
Errors Detected (Drop Cell)
DETECTION MODE
DELTA consecutive correct HCS's (From PRESYNC state)
No Errors Detected In M Cells (Pass Mth Cell) No Errors Detected (Pass Cell)
In normal operation, the HCS verification state machine remains in the 'Correction Mode' state. Incoming cells containing no HCS errors are passed to the receive FIFO. Incoming single-bit errors are corrected and the resulting cell is passed to the FIFO. Upon detection of a single-bit error or a multi-bit error, the state machine transitions to the 'Detection Mode' state. In this state, programmable HCS error filtering is provided. The detection of any HCS errors cause the corresponding cell to be dropped. The state machine transitions back to the 'Correction Mode' state when M cells are received (where M = 1, 2, 4, 8) with correct HCSs. The Mth cell is not discarded. 10.7.4 Performance Monitor The Performance Monitor consists of two 8-bit saturating HCS error event counters and a 19-bit saturating receive cell counter. One of the counters accumulates correctable HCS errors that are HCS single-bit errors detected and corrected while the HCS Verification state machine is in the 'Correction Mode' state. The second counter accumulates uncorrectable HCS errors that are HCS bit errors detected while the HCS Verification state machine is in the 'Detection
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
85
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Mode' state or HCS bit errors detected but not corrected while the state machine is in the 'Correction Mode' state. The 19-bit receive cell counter counts all cells written into the receive FIFO. Filtered cells are not counted. Each counter may be read through the microprocessor interface. Circuitry is provided to latch these counters so that their values can be read while simultaneously resetting the internal counters to zero or one, if appropriate, so that a new period of accumulation can begin without loss of any events. It is intended that the counter be polled at least once per second so as not to miss HCS error events. 10.8 Receive POS Frame Processor (RXFP) The Receive POS Frame Processor (RXFP) performs packet extraction and FCS error correction, performs packet payload de-scrambling, and provides performance monitoring functions. The RXFP also provides a 256-byte deep receive FIFO. This FIFO is used to separate the STS-3c (STM-1) line timing from the link layer system timing, and to handle timing differences caused by the removal of escape characters. 10.8.1 Overhead Removal The overhead removal consists of striping SONET/SDH overhead bytes from the data stream. Once overhead bytes are removed, the data stream consists of POS frame octets that can be fed directly to the de-scrambler or the POS Frame Delineation block. 10.8.2 De-scrambler When enabled, the self-synchronous de-scrambler operates on the POS Frame data, de-scrambling the data with the polynomial x43 + 1. De-scrambling is performed on the raw data stream, before any POS frame delineation or byte destuffing is performed. Data scrambling can provide for a more robust system preventing the injection of hostile patterns into the data stream. 10.8.3 POS Frame Delineation This block accepts data one byte at a time and arranges it as POS framed octets. Frame boundaries are found by searching for the Flag Character (0x7E). Flags are also used to fill inter-packet spacing. This block removes the Flag Sequence and passes the data to the Byte De-stuffing block.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
86
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The POS Frame Delineation is performed on the de-scrambled data and consists of arranging the POS framed octets. Frame boundaries are found by searching for the Flag Character (0x7E). Flags are also used to fill inter-packet spacing. This block removes the Flag Sequence and passes the data onto the Byte Destuffing block. The POS Frame format is shown on Figure 7. Figure 7: Packet Over SONET/SDH Frame Format
Flag Inform ation Packet (PPP or other) POS Fram e FCS Flag Flag
In the event of a FIFO overflow caused by the FIFO being full while a packet is being received, the packet is marked with an error so it can be discarded by the system. The following bytes associated with this now aborted frame are discarded. Reception of POS data resumes when a start-of-packet is encountered and the FIFO level is below the programmable Reception Initialization Level (RIL[7:0]). 10.8.4 Byte De-stuffing The byte de-stuffing algorithm searches for the control-escape character (0x7D). These characters are added for transparency in the transmit direction, as shown in Table 3, and must be removed to recover the user data. When the controlescape character is found, it is removed and the following data byte is XORed with 0x20. Only the Flag Sequence (0x7E) and the control-escape character itself are expected to have been escaped in the transmit direction, but this implementation does not preclude escaping other values as well. Table 3: Byte De-stuffing Original 7E (Flag Sequence) 7D (Control-Escape) Aborted Packet 10.8.5 FCS Check The FCS Generator performs a CRC-CCITT or CRC-32 calculation on the whole POS frame, after byte de-stuffing and data de-scrambling. A parallel Escaped 7D-5E 7D-5D 7D-7E
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
87
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
implementation of the CRC polynomial is used. The CRC algorithm for the frame checking sequence (FCS) field is either a CRC-CCITT or CRC-32 function. The CRC-CCITT is two bytes in size and has a generating polynomial g(X) = 1 + X5 + X12 + X16. The CRC-32 is four bytes in size and has a generating polynomial g(X) = 1 + X + X2 + X4 + X5 + X7 + X8 + X10 + X11 + X12 + X16 + X22 + X23 + X26 + X32. The first FCS bit transmitted is the coefficient of the highest term. The RXFP-50 implements a CRC decoder that uses a CRC encoder. The coder registers are preset to ones. Then, the packet data and CRC are fed in. The result should be a constant number provided in the HDLC documentation. A different value indicates an error. Packets with FCS errors are marked as such and should be discarded by the system. Figure 8: CRC Decoder
g1
g2
gn-1
Message
+
D0
+
D1
+
...
+
Dn-1
10.8.6 Performance Monitor The Performance Monitor consists of four 16-bit saturating error event counters and one 24-bit saturating received good packet counter. The first error event counters collects FCS errors. The second error event counter collects minimumlength violation packets and the third error event counter collects maximumlength violation packets. The fourth error event counter collects aborted packets. The 24-bit receive good packet counter counts all error-free packets. Each counter may be read through the microprocessor interface. Circuitry is provided to latch these counters so that their values can be read while simultaneously resetting the internal counters to zero or one, whichever is appropriate, so that a new period of accumulation can begin without losing any events. The counters are intended to be polled at least once per second so error events will not be missed. The RXFP-50 monitors the packets for both minimum and maximum length errors. When a packet size is smaller than MINPL[7:0], the packet is marked with an error but is still written into the FIFO. Misformed packets, that is packets that do not at least contain the FCS field plus one byte, are treated differently. If a
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 88
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
misformed packet is received and FCS stripping is enabled, the packet is discarded, not written in the FIFO, and is counted as a minimum packet size violation. If a misformed packet is received and FCS stripping is disabled, it is written into the FIFO since in this case the misformed packet criteria is reduced to one byte. Note it will still count as a minimum packet size violation. When the packet size exceeds MAXPL[15:0] the packet is marked with an error and the exceeding bytes are discarded. Packets greater than 64K bytes are not supported. When the MAXPL is set to 0xFFFF, a packet of length greater than 0xFFFF will generate an MINLI instead of a MAXLI. When the MAXPL value is less than 0xFFFF, the behaviour will be normal for any packet length less than, equal, or greater than 0xFFFF. PMCSierra recommends only setting the MAXPL to a value smaller or equal to 0xFFFE. 10.8.7 Receive FIFO The Receive FIFO block contains storage for 256 octets, along with management circuitry for reading and writing the FIFO. The receive FIFO provides separation of the physical layer timing from the system timing. Receive FIFO management functions include filling the receive FIFO, indicating when packets or bytes are available to be read from the receive FIFO, maintaining the receive FIFO read and write pointers, and detecting FIFO overrun and underrun conditions. Upon detection of an overrun, the FIFO aborts the current packet and discards the current incoming bytes until there is room in the FIFO. Once enough room is available, as defined by the RIL[7:0] Register, the RXFP-50 will wait for the next start-of-packet before writing any data into the FIFO. FIFO overruns are indicated through a maskable interrupt and a register bit, and are considered a system error. A FIFO underrun is caused when the system interface tries to read more data words while the FIFO is empty. This action will be detected and reported through the FUDRI interrupt, but it is not considered a system error. The system will continue to operate normally. In that situation, RVAL can be used by the Link Layer device to find out if valid or invalid data is provided on the System Interface. 10.9 Transmit Line Interface The Transmit Line Interface allows the S/UNI-STAR to directly interface with optical modules (ODLs) or other medium interfaces. This block performs clock
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 89
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
synthesis and parallel-to-serial conversion of the incoming and outgoing 155.52 Mbit/s data stream. 10.9.1 Clock Synthesis The transmit clock is synthesized from a 19.44 MHz reference. The transfer function yields a typical low pass corner of 2.0 MHz above which reference jitter is attenuated at 12 dB per octave. The design of the loop filter and PLL is optimized for minimum intrinsic jitter. With a jitter free 19.44 MHz reference, the intrinsic jitter is typically less than 0.01 UI RMS when measured using a high pass filter with a 12 kHz cutoff frequency. The REFCLK reference should be within 20 ppm to meet the SONET free-run accuracy requirements specified in GR-253-CORE. 10.9.2 Parallel-to-Serial Converter The Parallel-to-Serial Converter (PISO) converts the transmit byte serial stream to a bit serial stream. Every self-timed channel (a self-timed channel is one that uses the CSU output clock) shares a common line rate clock and byte clock, which can be output as TCLK. Only self-timed channels can be synchronized using the TFPI input. When a channel is loop-timed, TCLK, TFPI, and TFPI are no longer available and the receive signals must be used instead to extract timing information. 10.10 Transmit Section Overhead Processor (TSOP) The Transmit Section Overhead Processor (TSOP) provides frame pattern insertion (A1, A2), scrambling, section level alarm signal insertion, and section BIP-8 (B1) insertion. 10.10.1 Line AIS Insert
Line AIS insertion results in all bits of the SONET/SDH frame being set to one before scrambling except for the section overhead. The Line AIS Insert Block substitutes all-ones as described when enabled through an internal register (Register 0x14 TSOP) accessed through the microprocessor interface. Activation or deactivation of line AIS insertion is synchronized to frame boundaries. 10.10.2 Data Link Insert
The Data Link Insert Block inserts the section data communication channel (bytes D1, D2, and D3) into the STS-3c (STM-1) stream when enabled by an
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
90
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
internal register accessed by the common bus interface. The bytes to be inserted are serially input on signal TSD at a nominal 192 kbit/s rate. Timing for the upstream processing of the data communication channel is provided by the TSDCLK signal that is output by the Data Link Insert Block. TSDCLK is derived from a 216 kHz clock that is gapped to yield an average frequency of 192 kHz. TSD is sampled with timing aligned to TSDCLK 10.10.3 BIP-8 Insert
The BIP-8 Insert Block calculates and inserts the BIP-8 error detection code (B1) into the transmit stream. The BIP-8 calculation is based on the scrambled data of the complete STS-3c (STM-1) frame. The section BIP-8 code is based on a bit interleaved parity calculation using even parity. Details are provided in the references. The calculated BIP-8 code is then inserted into the B1 byte of the following frame before scrambling. BIP-8 errors may be continuously inserted under register control for diagnostic purposes. 10.10.4 Framing and Identity Insert
The Framing and Identity Insert Block inserts the framing bytes (A1, A2) and trace/growth bytes (J0/Z0) into the STS-3c (STM-1) frame. Framing bit errors may be continuously inserted under register control for diagnostic purposes. 10.10.5 Scrambler
The Scrambler Block uses a frame synchronous scrambler to process the transmit stream when enabled through an internal register accessed through the microprocessor interface. The generating polynomial is x7 + x6 + 1. Precise details of the scrambling operation are provided in the references. Note that the framing bytes and the identity bytes are not scrambled. All-zeros may be continuously inserted (after scrambling) under register control for diagnostic purposes. 10.11 Transmit Line Overhead Processor (TLOP) The Transmit Line Overhead Processor (TLOP) provides line level alarm signal insertion, and line BIP-24 insertion (B2).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
91
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.11.1
APS Insert
The APS Insert Block inserts the two automatic protection switch (APS) channel bytes in the Line Overhead (K1 and K2) into the transmit stream when enabled by an internal register. 10.11.2 Data Link Insert
The Data Link Insert Block inserts the line data communication channel (DCC) (bytes D4 to D12) into the STS-3c (STM-1) stream when enabled by an internal register. The D4 to D12 bytes are input serially using the TLD signal at a nominal 576 kbit/s rate. Timing for processing of the line DCC is provided by the TLDCLK output. TLDCLK is derived from a 2.16 MHz clock that is gapped to yield an average frequency of 576 kHz. 10.11.3 Line BIP Calculate
The Line BIP Calculate Block calculates the line BIP-24 error detection code (B2) based on the line overhead and synchronous payload envelope of the transmit stream. The line BIP-24 code is a bit interleaved parity calculation using even parity. Details are provided in the references. The calculated BIP-24 code is inserted into the B2 byte positions of the following frame. BIP-24 errors may be continuously inserted under register control for diagnostic purposes. 10.11.4 Line RDI Insert
The Line RDI Insert Block controls the insertion of line remote defect indication. Line RDI insertion is enabled using the TLRDI input, or register control. Line RDI is inserted by transmitting the code 110 (binary) in bit positions 6, 7, and 8 of the K2 byte contained in the transmit stream. 10.11.5 Line FEBE Insert
The Line FEBE Insert Block accumulates line BIP-24 errors (B2) detected by the Receive Line Overhead Processor and encodes far end block error indications in the transmit M1 byte. 10.12 Transmit Path Overhead Processor (TPOP) The Transmit Path Overhead Processor (TPOP) provides transport frame alignment generation, pointer generation (H1, H2), path overhead insertion, and the insertion of path level alarm signals.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
92
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.12.1
Pointer Generator
The Pointer Generator Block generates the outgoing payload pointer (H1, H2) as specified in the references. The concatenation indication (the NDF field set to 1001, I-bits and D-bits set to all-ones, and unused bits set to all-zeros) is inserted in the second and third pointer byte locations in the transmit stream. * (1) A "normal pointer value" locates the start of the SPE. Note: 0 "normal pointer value" 782, and the new data flag (NDF) field is set to 0110. Note that values greater than 782 may be inserted, using internal registers, to generate a loss of pointer alarm in downstream circuitry. (2) Arbitrary "pointer values" may be generated using internal registers. These new values may optionally be accompanied by a programmable new data flag. New data flags may also be generated independently using internal registers. (3) Positive pointer movements may be generated using a bit in an internal register. A positive pointer movement is generated by inverting the five I-bits of the pointer word. The SPE is not inserted during the positive stuff opportunity byte position, and the pointer value is incremented by one. Positive pointer movements may be inserted once per frame for diagnostic purposes. (4) Negative pointer movements may be generated using a bit in an internal register. A negative pointer movement is generated by inverting the five D-bits of the pointer word. The SPE is inserted during the negative stuff opportunity byte position, the H3 byte, and the pointer value is decremented by one. Negative pointer movements may be inserted once per frame for diagnostic purposes.
*
*
*
The pointer value is used to insert the path overhead into the transmit stream. The current pointer value may be read via internal registers. 10.12.2 BIP-8 Calculate
The BIP-8 Calculate Block performs a path bit interleaved parity calculation on the SPE of the transmit stream. Details are provided in the references. The resulting parity byte is inserted in the path BIP-8 (B3) byte position of the subsequent frame. BIP-8 errors may be continuously inserted under register control for diagnostic purposes.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
93
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.12.3
FEBE Calculate
The FEBE Calculate Block accumulates far end block errors on a per frame basis, and inserts the accumulated value (up to maximum value of eight) in the FEBE bit positions of the path status (G1) byte. The FEBE information is derived from path BIP-8 errors detected by the receive path overhead processor, RPOP. Far end block errors may be inserted under register control for diagnostic purposes. 10.13 Transmit ATM Cell Processor (TXCP) The Transmit ATM Cell Processor (TXCP) provides rate adaptation via idle or unassigned cell insertion, provides HCS generation and insertion, and performs ATM cell scrambling. The TXCP contains a 4-cell transmit FIFO. An idle or unassigned cell is transmitted if a complete ATM cell has not been written into the FIFO. 10.13.1 Idle or unassigned Cell Generator
The Idle or unassigned Cell Generator inserts idle or unassigned cells into the cell stream when enabled. Registers are provided to program the GFC, PTI, and CLP fields of the idle cell header and the idle cell payload. The idle cell HCS is automatically calculated and inserted. 10.13.2 Scrambler
The Scrambler scrambles the 48 octet information field. Scrambling is performed using a parallel implementation of the self synchronous scrambler (x43 + 1 polynomial) described in the references. The cell headers are transmitted unscrambled, and the scrambler may optionally be disabled. 10.13.3 HCS Generator
The HCS Generator performs a CRC-8 calculation over the first four header octets. A parallel implementation of the polynomial, x8+x2+x+1, is used. The coset polynomial, x6+x4+x2+1, is added (modulo 2) to the residue. The HCS Generator optionally inserts the result into the fifth octet of the header. 10.14 Transmit POS Frame Processor (TXFP) The Transmit POS Frame Processor (TXFP) provides rate adaptation by transmitting flag sequences (0x7E) between packets, provides FCS generation
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
94
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
and insertion, performs packet data scrambling, and provides performance monitoring functions. The TXFP contains a 256-byte transmit FIFO. This FIFO is used to separate the STS-3c (STM-1) line timing from the link layer system timing, and to handle timing differences caused by insertion of escape characters. 10.14.1 Transmit FIFO
The Transmit FIFO is responsible for holding packets provided through the Input Interface until they are transmitted. The transmit FIFO can accommodate a maximum of 256-bytes. There is no limit on the number of packets that can be stored, other than the FIFO depth limitation. Octets are written in with a single 16 bit data bus running off TFCLK and are read out with a single 8-bit data bus running off the SONET/SDH clock. Separate read and write clock domains separate the physical layer line timing (PICLK) from the system link layer timing (TFCLK). Internal read and write pointers track the insertion and removal of octets, and indicate the fill status of the Transmit FIFO. These status indications are used to detect underrun and overrun conditions, to abort packets, as appropriate, on both System and Line sides, to control flag insertion, and to generate the TPA outputs. The TXFP does not abort packets under an overrun condition. The packet will be sent and will appear as a good packet with a good FCS. Overruns should never occur in normal system operating conditions, thus this limitation should not affect the system performance. Overruns can be avoided by setting the high and low watermarks. The optimal setup depends on the system design. 10.14.2 POS Frame Generator
The POS Frame Generator runs off of the SONET/SDH sequencer to create the POS frames to be transmitted, whose format is shown in Figure 9: Packet Over SONET/SDH Frame Format. Flags are inserted whenever the Transmit FIFO is empty and there is no data to transmit. In normal operation, the block removes the packets from the Transmit FIFO and transmits them when there is enough data to be transmitted. Additionally, FCS generation, error insertion, byte stuffing, and scrambling can be optionally enabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
95
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 9: Packet Over SONET/SDH Frame Format
Flag Inform ation Packet (PPP or other) POS Fram e FCS Flag Flag
In the event of a FIFO underflow caused by the FIFO being empty while a packet is being transmitted, the packet is aborted by transmitting the Abort Sequence. The Abort Sequence consists of an Escape-Control character (03x7D) followed by the Flag Sequence (03x7E). Bytes associated with this aborted frame are still read from the FIFO but are discarded and replaced with the flag sequence in the outgoing data stream. Transmission of data resumes when a start-of-packet is encountered in the FIFO data stream. The POS Frame Generator also performs inter-packet gaping. This operation consists of inserting a programmable number of flag sequence characters between each POS frame transmission. This feature allows to control the system effective data transmission rate if required. 10.14.3 FCS Generator
The FCS Generator performs a CRC-CCITT or CRC-32 calculation on the whole POS frame, before byte stuffing and data scrambling. A parallel implementation of the CRC polynomial is used. The CRC algorithm for the frame checking sequence (FCS) field is either a CRC-CCITT or CRC-32 function. The CRCCCITT is two bytes in size and has a generating polynomial g(X) = 1 + X5 + X12 + X16. The CRC-32 is four bytes in size and has a generating polynomial g(X) = 1 + X + X2 + X4 + X5 + X7 + X8 + X10 + X11 + X12 + X16 + X22 + X23 + X26 + X32. The first FCS bit transmitted is the coefficient of the highest term. When transmitting a packet from the Transmit FIFO, the FCS Generator appends the result after the last data byte, before the closing flag. Note that the Frame Check Sequence is the one's complement of the CRC Register after calculation ends. FCS calculation and insertion can be disabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
96
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 10: CRC Generator
g1
g2
g n-1 Message
D0
D1
D2
D n-1
LSB
Parity Check Digits
MSB
An error insertion mechanism is provided for system diagnosis purposes. Error insertion is performed by inverting the resulting FCS value, before transmission. This should cause an FCS Error at the far end. 10.14.4 Byte Stuffing
The POS Frame generator provides transparency by performing byte stuffing. This operation is done after the FCS calculation. Two characters need to be escaped, the Flag Sequence (03x7E), and the escape character itself (03x7D). When a character is being escaped, it is XORed with 03x20 before transmission and is preceded by the control-escape (03x7D) character. Table 4: Byte Stuffing Original 7E (Flag Sequence) 7D (Control-Escape) Abort Sequence 10.14.5 Data Scrambling Escaped 7D-5E 7D-5D 7D-7E
The Scrambler will optionally scramble the whole packet data, including the FCS and the flags. Scrambling is performed after the POS frame is formed using a parallel implementation of the self synchronous scrambler polynomial, x43+1. On reset, the scrambler is set to all-ones to ensure scrambling on start-up. The scrambler may optionally be completely disabled. Data scrambling can provide for a more robust system preventing the injection of hostile patterns into the data stream.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
97
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.14.6
SONET/SDH Framer
The SONET/SDH Framer gaps the POS frames in order to insert the SONET/SDH framing and overhead bytes (Section/Line Overhead and Path Overhead.) The framer uses framing alignment information provided by the RPOP to perform its function. The TXFP does not set any SONET/SDH overhead byte. 10.15 SONET/SDH Section and Path Trace Buffers (SSTB and SPTB) The SONET/SDH Section Trace Buffer (SSTB) block and the SONET/SDH Path Trace Buffer (SPTB) block are identical. The blocks can handle both 64-byte CLLI messages in SONET and 16-byte E.164 messages in SDH. The generic SONET/SDH Trace Buffer (STB) block is described below. 10.15.1 Receive Trace Buffer (RTB)
The RTB consists of two parts: the Trace Message Receiver and the Overhead Byte Receiver. 10.15.1.1 Trace Message Receiver
The Trace Message Receiver (TMR) processes the trace message. It consists of three sub-processes: Framer, Persistency, and Compare. 10.15.1.1.1 Framer The TMR handles the incoming 16-byte message by synchronizing to the byte with the most significant bit set high, and places that byte in the first location in the capture page of the internal RAM. In the case of the 64-byte message, the TMR synchronizes to the trailing carriage return (03x0D), line feed (03x0A) sequence and places the next byte in the first location in the capture page of the internal RAM. The Framer block maintains an internal representation of the resulting 16-byte or 64-byte "frame" cycle. If the phase of the start of frame shifts, the framer adjusts accordingly and resets the persistency counter and increments the unstable counter. Frame synchronization may be disabled, in which case the RAM acts as a circular buffer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
98
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.15.1.1.2 Persistency The Persistency process checks for repeated reception of the same 16-byte or 64-byte trace message. An unstable counter is incremented for each message that differs from the previous received message. For example, a single corrupted message in a field of constant messages causes the unstable count to increment twice, once on receipt of the corrupted message, and again on the next (uncorrupted) message. A section/path trace message unstable alarm is declared when the count reaches eight. The persistency counter is reset to zero, the unstable alarm is removed, and the trace message is accepted when the same 16-byte or 64-byte message is received three or five times consecutively as determined by an internal register bit. The accepted message is passed to the Compare process for comparison with the expected message. 10.15.1.1.3 Compare A receive trace message mismatch alarm is declared if the accepted message. That is, the message that passed the persistency check does not match the expected message (previously downloaded to the receive expected page by the microprocessor.) The mismatch alarm is removed if the accepted message is allzero, or if the accepted message is identical to the expected message. 10.15.1.2 Overhead Byte Receiver
The Overhead Byte Receiver (OBR) processes the path signal label byte (C2). The OBR consists of two sub-processes: Persistency and Compare. 10.15.1.2.1 Persistency The Persistency process checks for the repeated reception of the same C2 byte. An unstable counter is incremented for each received C2 byte that differs from the byte received in the previous frame. For example, a single corrupted byte value in a sequence of constant values causes the unstable count to increment twice, once on receipt of the corrupted value, and again on the next (uncorrupted) value. A path signal label unstable alarm or a synchronization status unstable alarm is declared when either unstable counter reaches five. The unstable counter is reset to zero, the unstable alarm is removed, and the byte value is accepted when the same label is received in five consecutive frames. The accepted value is passed to the Compare process for comparison with the expected value.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
99
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
10.15.1.2.2 Compare A path signal label mismatch alarm or a synchronization status mismatch alarm is declared if the accepted C2 byte (i.e. the byte value that has passed the persistency check) does not match the expected C2 byte (previously downloaded by the microprocessor). The OBR mismatch mechanism follows the table below: Table 5: OBR Mismatch Mechanism Expect 00 00 00 01 01 01 XX XX XX XX Note: 1. XX, YY = anything except 00H or 01H (XX not equal YY). 10.15.2 Transmit Trace Buffer (TTB) Receive 00 01 XX 00 01 XX 00 01 XX YY Action Match Mismatch Mismatch Mismatch Match Match Mismatch Match Match Mismatch
The TTB sources the 16-byte or 64-byte trace identifier message. The TTB contains one page of transmit trace identifier message memory. Identifier message data bytes are written by the microprocessor into the message buffer and inserted in the transmit stream. When the microprocessor is updating the transmit page buffer, the TTB may be programmed to transmit null characters to prevent transmission of partial messages. 10.16 ATM UTOPIA and Packet over SONET/SDH POS-PHY System Interfaces The S/UNI-STAR system interface can be configured for ATM or POS mode. When configured for ATM applications, the system interface provides a Utopia level 2 compliant bus to transfer ATM cells between the ATM layer device and the S/UNI-STAR. When configures for POS applications, the system interface is POS-PHY Level 2 compliant and provides a packet or byte level transfer
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
100
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
interface that allows the transfer of data packets between the link layer device and the S/UNI-STAR. The link layer device can implement various protocols, including PPP. 10.16.1 Receive ATM Interface
The Receive ATM FIFO (RXCP) provides FIFO management at the S/UNI-STAR receive cell interface. The receive FIFO contains four cells. The FIFO provides the cell rate decoupling function between the transmission system physical layer and the ATM layer. In general, the management functions include filling the receive FIFO, indicating when the receive FIFO contains cells, maintaining the receive FIFO read and write pointers, and detecting FIFO overrun and underrun conditions. The FIFO interface is "UTOPIA Level 2" compliant and accepts a read clock (RFCLK) and read enable signal (RENB). The receive FIFO output bus (RDAT[15:0]) is tri-stated when RENB is logic one or if the PHY device address (RADR[2:0]) selected does not match this device's address. The interface indicates the start of a cell (RSOC) and the receive cell available status (RCA and DRCA) when data is read from the receive FIFO (using the rising edges of RFCLK). The RCA (and DRCA[x]) status changes from available to unavailable when the FIFO is either empty (RCALEVEL0=1) or near empty (RCALEVEL0 is logic zero). This interface also indicates FIFO overruns via a maskable interrupt and register bits. Read accesses, while RCA (or DRCA[x]) is a logic zero, will output invalid data. The FIFO is reset on FIFO overrun, causing up to four cells to be lost. 10.16.2 Receive POS Interface
The Receive POS FIFO (RXFP) provides FIFO management at the S/UNI-STAR receive packet interface. The receive FIFO contains 256-bytes. The FIFO provides the system rate decoupling function between the transmission system physical layer and the link layer, and to handle timing differences caused by the removal of escape characters. The interface is based on the POS-PHY Level 2 specification. The POS-PHY Interface is an extension to the UTOPIA 2 interface defined for the transfer of POS frames. Both the POS-PHY Byte-Level and Packet-Level transfer modes are supported. The RSOP signal identifies the start of a packet; the DRPA[x] signal notifies the system side that data is in the receive FIFO (when a programmable number of bytes in a single packet is received or when an end-of-packet is available); the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 101
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
RDATA[15:0] bus transfers the data from the FIFO across the system interface; the RADR[2:0] signals select the desired PHY device; the RPRTY signal determines the parity on the RDAT bus (selectable as odd or even parity); the RFCLK reads words from the FIFO interface; and the RENB initiates reads from the receive FIFO. Signal REOP (Receive End of Packet) identifies the end of a packet. Signal RMOD (Receive Mod) indicates whether one or two bytes are valid on the final word transfer (REOP is asserted). Signal RERR (Receive Error) indicates that an error in the received packet has occurred. (This has several causes, including an abort sequence and an FCS error.) The receive data valid signal, RVAL, plays a special role in this interface. The data signals are considered valid only when RVAL is asserted, which is when a data transfer is initiated, conditional to RPA being also asserted. Once the transfer is initiated, RVAL remains asserted until either the FIFO is empty or an end-of-packet is encountered. Once de-asserted, RVAL remains low until the current PHY is deselected and another or the same PHY is reselected. RVAL allows the link layer device to align data transfers with packet boundaries, making it easier to manage packet buffers. 10.16.2.1 Premature RPA Assertion
In normal operation, there are a few microseconds of delay between when a SONET frame arrives (with packet data) and when it is available on the system side interface (the POS-PHY interface RDAT[15:0]). This delay is the time that is required to extract packets from the SONET/SDH frame. When a packet with less than 22 bytes arrives (from the line side), the receive packet available signal (DRPA or PRPA) may assert prematurely. In this condition, RPA will assert between 1 to 11 RFCLK clock cycles before the data is available and will remain asserted for 1 to 11 RFCLK clock cycles. This is shown in Figure 11.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
102
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 11 : Pre-mature RPA assertion timing
RFCLK RADR RENB RVAL RSOP REOP RERR DRPA1
Previous Packet EOP Pre-mature RPA assertion after previous RPA deassertion Pre-mature RPA Width 1 to 11 FIFO Cycles Pre-mature RPA assertion Assertion of RENB due to RPA assertion No data 00 Assertion of RENB
Real RPA assertion
This condition is created because the FIFO outputs and receives two EOP bytes within four line side clock cycles. The EOP byte that generates the premature RPA is from the FIFO four line clock cycles after the RPA is asserted. Thus, a packet larger than a minimum length will have sufficient data to provide the POSPHY interface while the EOP byte is being processed. This minimum packet length is proportional to the ratio between the line side clock and the POS-PHY interface clock. For a line side at OC-3 (19.44MHz) and a POS-PHY interface at 50MHz, at least 22 bytes are required. For any packet greater than this minimum length, RVAL will stay asserted from the transfer initialization to the transfer of the EOP byte that generated the premature RPA. For any packet length smaller than the minimum length, the transfer may be stopped for lack of available data from the FIFO. In either case, the data will not be corrupted; however, the problem may reduce bandwidth on the receive POS-PHY interface. This condition cannot occur for a packet larger than the FIFO size as it would be impossible to get two EOP bytes in the FIFO within those four clock cycles. Furthermore, if the packet size is larger than the RPAHWM, the RPA will assert because of the FIFO level and the premature RPA issue will not happen. 10.16.3 Transmit ATM Interface
The ATM Transmit FIFO (TXCP) provides FIFO management at the S/UNI-STAR transmit cell interface. The transmit FIFO contains four cells. The FIFO depth may be programmed to four, three, two, or one cells. The FIFO provides the cell
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
103
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
rate decoupling function between the transmission system physical layer and the ATM layer. In general, the management functions include emptying cells from the transmit FIFO, indicating when the transmit FIFO is full, maintaining the transmit FIFO read and write pointers, and detecting a FIFO overrun condition. The FIFO interface is "UTOPIA Level 2" compliant and accepts a write clock (TFCLK), a write enable signal (TENB), the start of a cell (TSOC) indication, the parity bit (TPRTY), and the ATM device address (TADR[2:0]) when data is written to the transmit FIFO (using the rising edges of TFCLK). The interface provides the transmit cell available status (TCA and DTCA), which can transition from "available" to "unavailable" when the transmit FIFO is near full (when TCALEVEL0 is logic zero) or when the FIFO is full (when TCALEVEL0 is logic one) and can accept no more writes. To reduce FIFO latency, the FIFO depth at which TCA and DTCA[x] indicates "full" can be set to one, two, three or four cells by the FIFODP[1:0] bits of TXCP Configuration 2 Register. If the programmed depth is less than four, more than one cell may be written after TCA or DTCA[x] is asserted as the TXCP still allows four cells to be stored in its FIFO. This interface also indicates FIFO overruns through a maskable interrupt and register bit, but write accesses while TCA or DTCA[x] is logic zero are not processed. The TXCP automatically transmits idle cells until a full cell is available to be transmitted. 10.16.4 Transmit POS Interface
The Transmit POS FIFO (TXFP) provides FIFO management at the S/UNI-STAR transmit packet interface. The transmit FIFO contains 256 bytes. The FIFO provides the system rate decoupling function between the transmission system physical layer and the link layer, and handles timing differences caused by the insertion of escape characters. The interface is based on the POS-PHY Level 2 specification. The POS-PHY Interface is an extension to the UTOPIA 2 interface defined for the transfer of POS frames. Both the POS-PHY Byte-Level and Packet-Level transfer modes are supported. The TSOP signal identifies the start of a packet; the DTPA[x] signals notify the system side that the transmit FIFO is not full (the POS processor will not start transmitting a packet until a programmable number of bytes for a single packet or the entire packet is in the FIFO); the TDAT[15:0] bus transfers the data to the FIFO from the system interface; the TADR[2:0] bus polls to select the desired PHY device; the TPRTY signal determines the parity on the TDAT bus (selectable as odd or even parity); the TFCLK writes the words to the FIFO interface; and finally the TENB initiates writes to the transmit.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
104
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The TEOP signal (Transmit End of Packet) identifies the end of a packet. The TMOD signal (Transmit Mod) indicates whether one or two bytes are valid for the final word transfer (TEOP is asserted). The TERR signal (Transmit Error) errors a packet that has begun transmission (the packet will be aborted). 10.17 WAN Synchronization Controller (WANS) The WANS supports the hardware to implement a local clock reference compliant to SONET Stratum 3 clock specifications (GR-253-CORE & GR-1244-CORE) in wander transfer, long term, and holdover stability. The WANS is intended to be used in conjunction with an external processor, DAC, analog circuitry, and VCXO. The software running on the external processor is responsible for performing: digital loop filtering, temperature compensation, VCXO linearity compensation; determining the validity of the timing reference; and performing reference switchover if need be. A description of how to program and use the WANS feature is available in the S/UNI-TETRA reference design (PMC-980322). A description of the functionality supplied by the WANS block is given below. The WANS block contains circuitry to implement a digital phase comparison between the reference clock (RCLK) and the variable clock (VCOCLK). It also performs an averaging process of the value obtained. 10.17.1 Phase Comparison
The phase comparison between the reference clock (RCLK ) and the variable clock (or VCXO clock, VCOCLK) is implemented by sampling at a fixed interval, the Reference Period of Phase Counter output. Refer to Figure 12.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
105
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 12. Phase Comparator Block Diagram
RCLK REFERENCE PERIOD COUNTER VCO CLK RPHALFLG
R
PHASE CO UNTER
PHASE S AMPLE REGISTER
EN
REACQ UISIT ION CO NT RO L
SAMPLEN
RPHALFLG
PHSAMP[15:0]
Successive reading of the value obtained, referred to as phase sample (PHSAMP), can be used to calculate the phase relation between both clocks. Both the Reference Counter and the Phase Counter are programmable counters and are set to have equal cycle period. Therefore, if VCOCLK is locked to RCLK, successive readings of the phase sample would be equal. The phase sample value would increase or decrease depending if VOCLK is faster or slower that RCLK. The Reference Period is obtained by dividing RCLK. At each reference period, a signal enabling the sampling (SAMPLEN) of the Phase Counter is produced. This signal is resynchronized to VCOCLK to avoid any potential metastability problem that could result from the asynchronous nature of both clocks. 10.17.1.1 Phase Reacquisition Control
The Phase Reacquisition Control Circuit prevents using phase samples from both sides of the counter wrap-around-point when performing the phase sample averaging. The phase count is first divided into four quadrants, each equal to approximately a quarter of the phase count. Comparators are used to determine the quadrant that each phase sample is located in. The Phase Alignment Flag (RPHALFLG) is generated when a sample in the first quadrant is followed successfully by a sample in the last quadrant. Upon reception of this signal, the phase count is reset to align the phase count sampling point towards its middle count. This signal is also sent to the Phase
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
106
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Averager circuit. The generation of this signal is user controllable by setting the AUTOREAC bit of the WANS configuration register. 10.17.2 Phase Averager
To provide some noise immunity and improve the resolution of the phase detector algorithm of the WANS, the phase samples are averaged over a programmable number of samples. Refer to Figure 13. Figure 13. Phase Averager Block Diagram
PHSAMP[15:0]
SAMP LE CO UNT ER SAMPLEN
EN EO C
SAMP LEN
EN R
SA MPLE ACCUMULA TO R
SAMP LEN RP HALFLG
PHAS E A VERAGER CONT ROL
EN
PHASE W ORD RE GIST ER
RPHALG N
TIMFLG
PHAW ORD[30:0]
Although referred to as an averaging process, it is truly an accumulation process. It retains full resolution. For example, no division is performed on the accumulated value. The Phase Word includes an integer and a fractional part. The number of averaging samples sets the size of the fractional part. A programmable counter, the Sample Counter, is incremented at each SAMPLEN signal. This Sample Counter defines the Phase Averaging Period, equal to the Reference Period times the programmed number of phase samples. At the end of this period, the accumulated phase sample value is transferred to the Phase Word Register. The Phase Word (PHAWORD) is then accessible for read operations by an external processor. A timer flag (TIMFLG) is raised at the end of
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
107
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
the averaging period. The flag is used to generate an interrupt request to an outside processor. Because it indicates that the averaging process includes invalid sample values, the reception of the RPHALFLG signal prevents the Phase Word Register from updating at the end of the current Phase Averaging period. The RPHAFLG signal also sends the Reference Phase Alignment condition signal (RPHALGN) to the status register. The RPHALGN signal is reset at the end of the following valid Phase Averaging period. 10.18 JTAG Test Access Port The JTAG Test Access Port block provides JTAG support for boundary scan. The standard JTAG EXTEST, SAMPLE, BYPASS, IDCODE, and STCTEST instructions are supported. The S/UNI-STAR identification code is 053520CD hexadecimal.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
108
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
11 MICROPROCESSOR INTERFACE The microprocessor interface block provides normal and test mode registers, and the logic required to connect to the microprocessor interface. Normal mode registers are required for normal operation. Test mode registers are used to enhance the testability of the S/UNI-STAR. The register set is accessed as shown in Table 6. In the following section every register is documented and identified using the register number (REG #). Addresses that are not shown are not used and must be treated as Reserved. Table 6: Register Memory Map REG # Address A[10:0] 00 000 01 001 02 002 03 003 04 004 05 305 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 306 307 308 309 30A 30B 00C 00D 30E 30F 310 311 312 313 314 315 316 317 318 Description S/UNI-STAR Master Reset and Identity S/UNI-STAR Master Configuration S/UNI-STAR Master System Interface Configuration S/UNI-STAR Master Clock Monitor S/UNI-STAR Master Interrupt Status S/UNI-STAR Channel Reset and Performance Monitoring Update S/UNI-STAR Channel Configuration S/UNI-STAR Channel Control S/UNI-STAR Channel Control Extensions Reserved S/UNI-STAR Interrupt Status 1 S/UNI-STAR Interrupt Status 2 CSPI Control and Status (Clock Synthesis) Reserved CRSI Control and Status (Clock Recovery) Reserved RSOP Control/Interrupt Enable RSOP Status/Interrupt Status RSOP Section BIP-8 LSB RSOP Section BIP-8 MSB TSOP Control TSOP Diagnostic Reserved Reserved RLOP Control/Status
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
109
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REG # Address A[10:0] 19 319 1A 31A 1B 31B 1C 31C 1D 31D 1E 31E 1F 31F 20 320 21 321 22 322 23 323 24 324 25 325 26 326 27 327 28 328 29 329 2A 32A 2B 32B 2C 32C 2D 32D 2E 32E 2F 32F 30 330 30 330 31 331 31 331 32 332 33 333 33 333 34 334 35 335 36 336 37 337 38 338 39 339 3A 33A 3B 33B 3C 33C
Description RLOP Interrupt Enable/Status RLOP Line BIP-24 LSB RLOP Line BIP-24 RLOP Line BIP-24 MSB RLOP Line FEBE LSB RLOP Line FEBE RLOP Line FEBE MSB TLOP Control TLOP Diagnostic TLOP Transmit K1 TLOP Transmit K2 S/UNI-STAR Channel Transmit Synchronization Message (S1) S/UNI-STAR Channel Transmit J0/Z0 Reserved Reserved SSTB Control SSTB Status SSTB Indirect Address SSTB Indirect Data Reserved Reserved Reserved Reserved RPOP Status/Control (EXTD=0) RPOP Status/Control (EXTD=1) RPOP Interrupt Status (EXTD=0) RPOP Interrupt Status (EXTD=1) RPOP Pointer Interrupt Status RPOP Interrupt Enable (EXTD=0) RPOP Interrupt Enable (EXTD=1) RPOP Pointer Interrupt Enable RPOP Pointer LSB RPOP Pointer MSB and RDI Filter Control RPOP Path Signal Label RPOP Path BIP-8 LSB RPOP Path BIP-8 MSB RPOP Path FEBE LSB RPOP Path FEBE MSB RPOP Auxiliary RDI
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
110
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REG # Address A[10:0] 3D 33D 3E 33E 3F 33F 40 340 41 341 42 342 43 343 44 344 45 345 46 346 47 347 48 348 49 349 4A 34A 4B 34B 4C 34C 4D 34D 4E 34E 4F 34F 50 350 51 351 52 352 53 353 54 354 55 355 56 356 57 357 58 358 59 359 5A 35A 5B 35B 5C 35C 5D 35D 5E 35E 5F 35F 60 360 61 361 62 362 63 363
Description RPOP Path BIP-8 Configuration Reserved Reserved TPOP Control/Diagnostic TPOP Pointer Control Reserved TPOP Current Pointer LSB TPOP Current Pointer MSB TPOP Arbitrary Pointer LSB TPOP Arbitrary Pointer MSB TPOP Path Trace TPOP Path Signal Label TPOP Path Status Reserved Reserved Reserved Reserved Reserved Reserved SPTB Control SPTB Status SPTB Indirect Address SPTB Indirect Data SPTB Expected Path Signal Label SPTB Path Signal Label Status SPTB Reserved SPTB Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved RXCP Configuration 1 RXCP Configuration 2 RXCP FIFO/UTOPIA Control & Configuration RXCP Interrupt Enables and Counter Status
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
111
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REG # Address A[10:0] 64 364 65 365 66 366 67 367 68 368 69 369 6A 36A 6B 36B 6C 36C 6D 36D 6E 36E 6F 36F 70 370 71 371 72 372 73 373 74 374 75 375 76 376 77 377 78 378 79 379 7A 37A 7B 37B 7C 37C 7D 37D 7E 37E 7F 37F 80 380 81 381 82 382 83 383 84 384 85 385 86 386 87 387 88 388 89 389 8A 38A
Description RXCP Status/Interrupt Status RXCP LCD Count Threshold (MSB) RXCP LCD Count Threshold (LSB) RXCP Idle Cell Header Pattern RXCP Idle Cell Header Mask RXCP Corrected HCS Error Count RXCP Uncorrected HCS Error Count RXCP Received Cell Count LSB RXCP Received Cell Count RXCP Received Cell Count MSB RXCP Idle Cell Count LSB RXCP Idle Cell Count RXCP Idle Cell Count MSB Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved TXCP Configuration 1 TXCP Configuration 2 TXCP Transmit Cell Status TXCP Interrupt Enable/Status TXCP Idle Cell Header Control TXCP Idle Cell Payload Control TXCP Transmit Cell Counter LSB TXCP Transmit Cell Counter TXCP Transmit Cell Counter MSB Reserved Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
112
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REG # Address A[10:0] 8B 38B 8C 38C 8D 38D 8E 38E 8F 38F 90 390 91 391 92 392 93 393 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 394 395 396 397 398 399 39A 39B 39C 39D 39E 39F 3A0 3A1 3A2 3A3 3A4 3A5 3A6 3A7 3A8 3A9 3AA 3AB 3AC 3AD 3AE 3AF 3B0
Description Reserved Reserved Reserved Reserved Reserved S/UNI-STAR Channel Auto Line RDI Control S/UNI-STAR Channel Auto Path RDI Control S/UNI-STAR Channel Auto Enhanced Path RDI Control S/UNI-STAR Channel Receive RDI and Enhanced RDI Control Extensions S/UNI-STAR Channel Receive Line AIS Control S/UNI-STAR Channel Receive path AIS Control S/UNI-STAR Channel Receive Alarm Control #1 S/UNI-STAR Channel Receive Alarm Control #2 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved RXFP-50 Configuration RXFP-50 Configuration/Interrupt Enables RXFP-50 Interrupt Status RXFP-50 Minimum Packet Size RXFP-50 Maximum Packet Size (LSB) RXFP-50 Maximum Packet Size (MSB) RXFP-50 Receive Initiation Level RXFP-50 Receive Packet Available High Mark RXFP-50 Receive Byte Counter (LSB) RXFP-50 Receive Byte Counter RXFP-50 Receive Byte Counter RXFP-50 Receive Byte Counter (MSB) RXFP-50 Receive Frame Counter (LSB) RXFP-50 Receive Frame Counter RXFP-50 Receive Frame Counter (MSB) RXFP-50 Aborted Frame Count (LSB) RXFP-50 Aborted Frame Count (MSB)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
113
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REG # Address A[10:0] B1 3B1 B2 3B2 B3 3B3 B4 3B4 B5 3B5 B6 3B6 B7 3B7 B8 3B8 B9 3B9 BA 3BA BB 3BB BC 3BC BD 3BD BE 3BE BF 3BF C0 3C0 C1 3C1 C2 3C2 C3 3C3 C4 3C4 C5 3C5 C6 3C6 C7 3C7 C8 3C8 C9 3C9 CA 3CA CB 3CB CC 3CC CD 3CD CE 3CE CF 3CF D0 3D0 D1 3D1 D2 3D2 D3 3D3 D4 3D4 D5 3D5 D6 3D6 D7 3D7
Description RXFP-50 FCS Error Frame Count (LSB) RXFP-50 FCS Error Frame Count (LSB) RXFP-50 Min Length Frame Count (LSB) RXFP-50 Min Length Frame Count (MSB) RXFP-50 Max Length Frame Count (LSB) RXFP-50 Max Length Frame Count (MSB) Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved TXFP-50 Interrupt Enable/Status Configuration 1 TXFP-50 Configuration 2 TXFP-50 Control TXFP-50 Transmit Packet Available Low Water Mark TXFP-50 Transmit Packet Available High Water Mark TXFP-50 Transmit Byte Counter (LSB) TXFP-50 Transmit Byte Counter TXFP-50 Transmit Byte Counter TXFP-50 Transmit Byte Counter (MSB) TXFP-50 Transmit Frame Counter (LSB) TXFP-50 Transmit Frame Counter TXFP-50 Transmit Frame Counter (MSB) TXFP-50 Transmit User Aborted Frame Count (LSB) TXFP-50 Transmit User Aborted Frame Count (MSB) TXFP-50 Transmit Underrun Aborted Frame Count (LSB) TXFP-50 Transmit Underrun Aborted Frame Count (MSB) WANS Configuration Register WANS Interrupt & Status Register WANS Phase Word (LSB) WANS Phase Word WANS Phase Word WANS Phase Word (MSB) Reserved Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
114
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REG # Address A[10:0] D8 3D8 D9 3D9 DA 3DA DB 3DB DC 3DC DD 3DD DE 3DE DF 3DF E0 3E0 E1 3E1 E2 3E2 E3 3E3 E4 3E4 E5 3E5 E6 3E6 E7 3E7 E8 3E8 E9 3E9 EA 3EA EB 3EB EC 3EC ED 3ED EE 3EE EF 3EF F0 3F0 F1 3F1 F2 3F2 F3 3F3 F4 3F4 F5 3F5 F6 3F6 F7 3F7 F8 3F8 F9 3F9 FA 3FA FB 3FB FC 3FC FD 3FD FE 3FE
Description Reserved WANS Reference Period (LSB) WANS Reference Period (MSB) WANS Phase Counter Period (LSB) WANS Phase Counter Period (MSB) WANS Phase Average Period Reserved Reserved RASE Interrupt Enable RASE Interrupt Status RASE Configuration/Control RASE SF BERM Accumulation Period (LSB) RASE SF BERM Accumulation Period RASE SF BERM Accumulation Period (MSB) RASE SF BERM Saturation Threshold (LSB) RASE SF BERM Saturation Threshold (MSB) RASE SF BERM Declaring Threshold (LSB) RASE SF BERM Declaring Threshold (MSB) RASE SF BERM Clearing Threshold (LSB) RASE SF BERM Clearing Threshold (MSB) RASE SD BERM Accumulation Period (LSB) RASE SD BERM Accumulation Period RASE SD BERM Accumulation Period (MSB) RASE SD BERM Saturation Threshold (LSB) RASE SD BERM Saturation Threshold (MSB) RASE SD BERM Declaring Threshold (LSB) RASE SD BERM Declaring Threshold (MSB) RASE SD BERM Clearing Threshold (LSB) RASE SD BERM Clearing Threshold (MSB) RASE APS K1 RASE APS K2 RASE Synchronization Status S1 Reserved Reserved Reserved Reserved Reserved Reserved Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
115
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REG # Address Description A[10:0] FF 3FF Reserved 400 S/UNI-STAR Master Test Register 701 Reserved for Test 7FF Notes on Register Memory Map: 1. For all register accesses, CSB must be low. 2. Addresses that are not shown must be treated as Reserved. 3. A[10] is the test resister select (TRS) and should be set to logic zero for normal mode register access.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
116
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
12 NORMAL MODE REGISTER DESCRIPTION Normal mode registers are used to configure and monitor the operation of the S/UNI-STAR. Normal mode registers (as opposed to test mode registers) are selected when TRS (A[10]) is low. Notes on Normal Mode Register Bits: 1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence, unused register bits should be masked off by software when read. 2. Most configuration bits that can be written into can also be read back. This allows the processor controlling the S/UNI-STAR to determine the programming state of the block. Exceptions to this rule are indicated by the Type field in the register description. 3. Writable normal mode register bits are cleared to logic zero upon reset unless otherwise noted. 4. Writing into read-only normal mode register bit locations does not affect S/UNI-STAR operation unless otherwise noted. Performance monitoring counters registers are a common exception. 5. Certain register bits are reserved. These bits are associated with megacell functions that are unused in this application. To ensure that the S/UNI-STAR operates as intended, reserved register bits must be written with their default value as indicated by the register bit description.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
117
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x00: S/UNI-STAR Master Reset and Identity Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R R R R R R R Function RESET TYPE[3] TYPE[2] TYPE[1] TYPE[0] ID[2] ID[1] ID[0] Default 0 1 1 1 1 0 1 0
This register allows the revision of the S/UNI-STAR to be read by the software permitting a graceful migration to support newer feature-enhanced versions of the device. It also provides software reset capability. ID[2:0] The ID bits can be read to provide a binary S/UNI-STAR revision number. TYPE[3:0] The TYPE bits distinguish the S/UNI-STAR from the other members of the S/UNI family of devices. RESET The RESET bit allows the S/UNI-STAR to be reset under software control. Holding the S/UNI-STAR in a reset state places it into a low power, stand-by mode. If the RESET bit is a logic one, the entire S/UNI-STAR is held in reset. As this bit is not self-clearing, a logic zero must be written to bring the device out of reset. A hardware reset clears the RESET bit, thus negating the software reset. Otherwise, the effect of a software reset is equivalent to that of a hardware reset.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
118
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x01: S/UNI-STAR Master Configuration Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TXC_OE The differential line rate clock output enables (TXC_OE). TXC_OE enables the TXC+/- outputs. When TXC_OE is set to logic zero, TXC+/- is not active (high impedance.) When TXC_OE is set to logic one, TXC+/- provides a line rate clock output. PECLV The PECL receiver input voltage (PECLV) bit configures the PECL receiver level shifter. When PECLV is set to logic zero, the PECL receivers are configured to operate with a 3.3V input voltage. When PECLV is set to logic one, the PECL receivers are configured to operate with a 5.0V input voltage. Reserved The reserved bits must be programmed to their default value for proper operation. Type R/W R/W R/W R/W R/W R/W R/W R/W Function PECLV Reserved Reserved Reserved TXC_OE Reserved Reserved Reserved Default 0 0 0 0 0 0 1 1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
119
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x02: S/UNI-STAR Master System Interface Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ATM_POS The ATM_POS bit selects between the ATM and Packet over SONET/SDH modes of operation. When ATM_POS is set to logic zero, the device uses the ATM physical layer. When ATM_POS is set to logic one, the device uses the Packet over SONET/SDH physical layer. This register bit affects the SONET/SDH mapping as well as the pin definition on the System Interface (Utopia) bus. POS_PLVL The POS_PLVL bit selects between byte-level and packet-level transfer when the device is in POS mode (as selected by the ATM_POS bit). When POS_PLVL is set to logic zero, the device operates in the byte-level transfer mode. When POS_PLVL is set to logic one, the device operates in packetlevel transfer mode. Refer to the OPERATION section of this document for a description of these modes. PHY_EN The PHY_EN enables the System Interface (Utopia bus). When set to logic zero, all the output signals of the System Interface are held in high impedance with the exception of TPA and RPA, which can still be driven. When set to logic one, the System Interface is driven. To use the device, this register bit must be set to logic one. If the System Interface is shared by several PHY layer devices, they should all be configured with their own unique PHY_ADR[2:0] value (see next) before being enabled, otherwise conflicts could occur on the bus, which will damage the devices. Type R/W R/W R/W R/W R/W R/W R/W R/W Function PHY_ADR[2] PHY_ADR[1] PHY_ADR[0] PHY_EN Unused Reserved POS_PLVL ATM_POS Default 0 0 0 0 X 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
120
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PHY_ADR[2:0] The PHY_ADR[2:0] is the Device Identification Address (PHY_ADR[2:0]). The PHY_ADR[2:0] Register bits are the most-significant bits of the address space that this S/UNI-STAR occupies. When the PHY_ADR[2.0] inputs match the TADR or RADR inputs, then one of the four quadrants (as determined by the TADR[1.0] or RADR[1.0] inputs) in this S/UNI-STAR is selected for transmit or receive operations. Note that the null-PHY address 03x1F is the null-PHY address and cannot be assigned to any port on the S/UNI-STAR.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
121
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x03: S/UNI-STAR Master Clock Monitor Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R Function RCLK Reserved Reserved Reserved TCLKA RFCLKA TFCLKA REFCLKA Default X X X X X X X X
This register provides activity monitoring on S/UNI-STAR clocks. When a monitored clock signal makes a low-to-high transition, the corresponding register bit is set high. The bit will remain high until this register is read, at which point, all the bits in this register are cleared. A lack of transitions is indicated by the corresponding register bit reading low. This register should be read at periodic intervals to detect clock failures. REFCLKA The REFCLK active (REFCLKA) bit monitors for low-to-high transitions on the REFCLK reference clock input. REFCLKA is set high on a rising edge of REFCLK and is set low when this register is read. TFCLKA The TFCLK active (TFCLKA) bit monitors for low-to-high transitions on the TFCLK transmit FIFO clock input. TFCLKA is set high on a rising edge of TFCLK and is set low when this register is read. RFCLKA The RFCLK active (RFCLKA) bit monitors for low-to-high transitions on the RFCLK receive FIFO clock input. RFCLKA is set high on a rising edge of RFCLK and is set low when this register is read. TCLKA The TCLK active (TCLKA) bit monitors for low-to-high transitions on the TCLK output. TCLKA is set high on a rising edge of TCLK, and is set low when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
122
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
RCLKA RCLK active (RCLKA) bit monitors for low-to-high transitions on the RCLK output. RCLKA is set high on a rising edge of RCLK, and is set low when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
123
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x04: S/UNI-STAR Master Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R Type Function Unused Unused Unused Unused ACTIVE Unused Unused Unused Default X X X X X X X X
When the interrupt output INTB goes low, this register allows the source of an active interrupt to be identified down to the channel level. Further register accesses are required for the channel in question to determine the cause of an active interrupt and to acknowledge the interrupt source. ACTIVE The ACTIVE bit is high when an interrupt request is active from the channel. The Interrupt Status Register should be read to identify the source of the interrupt.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
124
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x305: S/UNI-STAR Channel Reset and Monitoring Update Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R Type R/W Function CHRESET Unused Unused Unused Unused Unused Unused TIP Default 0 X X X X X X X
This register provides software reset capability on a per channel basis. It also loads, by writing this register (without setting the CHRESET bit), all the error counters in the RSOP, RLOP, RPOPSPTB, SSTB, RXCP, TXCP, RXFP, and TXFP blocks. TIP The TIP bit is set to a logic one when any value with the CHRESET bit set to logic zero is written to this register. Such a write initiates an accumulation interval transfer and loads all the performance meter registers in the RSOP, RLOP, RPOP, SSTB, SPTB, RXCP, TXCP, RXFP, and TXFP blocks for the channel. TIP remains high while the transfer is in progress, and is set to a logic zero when the transfer is complete. TIP can be polled by a microprocessor to determine when the accumulation interval transfer is complete. CHRESET The CHRESET bit allows the channel to be reset under software control. If the CHRESET bit is a logic one, the entire channel is held in reset. This bit is not self-clearing. Therefore, a logic zero must be written to bring the channel out of reset. Holding the channel in a reset state places it into a low power, stand-by mode. A hardware reset clears the CHRESET bit, thus negating the software reset. Otherwise, the effect of a software reset is equivalent to that of a hardware reset.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
125
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x306: S/UNI-STAR Channel Configuration Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Z0INS The Z0INS bit controls the values inserted in the transmit Z0 bytes. When Z0INS is logic one, the value contained in the TSOP Transmit Z0 Register is inserted in the two Z0 bytes. When Z0INS is logic zero, the values 02H and 03H are inserted in Z0 byte of second and third STS-1 (STM-0/AU3) respectively. TSTBEN The TSTBEN bit controls whether the section trace message, stored in the SSTB block, is inserted into the transmit stream (for example, the J0 byte.) When TSTBEN is a logic one, the message stored in the SSTB is inserted into the transmit stream. When TSTBEN is a logic zero, the section trace message is supplied by the TSOP block, which forces it to the NULL character (0x00). TPTBEN The TPTBEN bit controls whether the path trace message stored in the SPTB block is inserted into the transmit stream (i.e. the J1 byte). When TPTBEN is a logic one, the message stored in the SPTB is inserted into the transmit stream. When TPTBEN is a logic zero, the path trace message is supplied by the TPOP block, which forces it to a programmable value. AUTOPRDI The AUTOPRDI bit determines whether STS path remote defect indication (RDI) is sent immediately when an incoming alarm is detected. When AUTOPRDI is set to logic one, STS path RDI is inserted immediately upon the Type R/W R/W R/W R/W R/W R/W R/W R/W Function AUTOPFEBE AUTOLFEBE AUTOLRDI AUTOPRDI TPTBEN TSTBEN Z0INS Reserved Default 1 1 1 1 0 0 0 1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
126
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
declaration of several alarms. Each alarm can individually be enabled and disabled using the S/UNI-STAR Channel Auto Path RDI Control Registers. AUTOLRDI The AUTOLRDI bit determines if line remote defect indication (RDI) is sent immediately when an incoming alarm is detected. When AUTOLRDI is set to logic one, line RDI is inserted immediately upon declaration of several alarms. Each alarm can individually be enabled and disabled using the S/UNI-STAR Channel Auto Line RDI Control Registers. AUTOPFEBE The AUTOPFEBE bit determines if the path far end block errors are when incoming path BIP error events are detected. When AUTOPFEBE is set to logic one, one path FEBE is inserted for each path BIP error event, respectively. When AUTOPFEBE is set to logic zero, incoming path BIP error events do not generate FEBE events. AUTOLFEBE The AUTOLFEBE bit determines if line far end block errors are sent when incoming line BIP error events are detected. When AUTOLFEBE is set to logic one, one line FEBE is inserted for each line BIP error event, respectively. When AUTOLFEBE is set to logic zero, incoming line BIP error events do not generate FEBE events.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
127
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x307: S/UNI-STAR Channel Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function TFPI_EN Reserved RXDINV Unused PDLE LLE SDLE LOOPT Default 0 0 0 X 0 0 0 0
This register controls the timing and high speed loop back features of the S/UNISTAR. LOOPT The LOOPT bit selects the source of timing for the transmit section of the channel. When LOOPT is a logic zero, the transmitter timing is derived from input REFCLK (Clock Synthesis Unit) is used. When LOOPT is a logic one, the transmitter timing is derived from the recovered clock (Clock Recovery Unit.) SDLE The SDLE bit enables the serial diagnostic loop back. When SDLE is a logic one, the transmit serial stream is connected to the receive stream. The SDLE and the LLE bits should not be set high simultaneously. LLE The LLE bit enables the S/UNI-STAR line loop back. When LLE is a logic one, the value on RXD+/- differential inputs is synchronously mapped to the TXD+/- differential outputs, after clock recovery. The SDLE and the LLE bits should not be set high simultaneously. PDLE The PDLE bit enables the parallel diagnostic loop back. When PDLE is a logic one, the transmit parallel stream is connected to the receive stream. The loop back point is between the TPOP and the RPOP blocks. Blocks upstream of the loop back point continue to operate normally. For example line AIS may
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
128
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
be inserted in the transmit stream upstream of the loop back point using the TSOP Control Register. RXDINV The RXDINV bit selects the active polarity of the RXD+/- signals. The default configuration selects RXD+ to be active high and RXD- to be active low. When RXDINV is set to logic one, RXD+ to be active low and RXD- to be active high. TFPI_EN The TFPI_EN bit controls the framing alignment in the transmit direction. When TFPI_EN is set to logic one, the transmit SONET/SDH framing is aligned to a master framing pulse counter, which can also be aligned to the TFPI device input. When TFPI_EN is set to logic zero the transmit framing alignment is arbitrary. External framing (TFPI_EN set to logic one) shall only be used when the channel is in self-timed mode. TFPI_EN should always be set to logic zero when the channel is loop-timed (LOOPT set to logic one) or in line loop back (LLE set to logic one).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
129
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x308: S/UNI-STAR Channel Control Extension Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W Type Function Unused Unused Unused Unused Unused Reserved Reserved ReservedReserve d Default X X X X X 0 0 0
This register controls the timing and high speed loop back features of the S/UNISTAR. Reserved The reserved bits must be programmed to their default value proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
130
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x30A: S/UNI-STAR Interrupt Status #1 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R R R R R Type Function Unused RASEI CRUI TXCPI RXCPI RPOPI RLOPI RSOPI Default X X X X X X X X
This register allows the source of an active interrupt to be identified down to the block level within a given channel. Further register accesses are required for the block in question to determine the cause of an active interrupt and to acknowledge the interrupt source. RSOPI The RSOPI bit is high when an interrupt request is active from the RSOP block. The RSOP interrupt sources are enabled in the RSOP Control/Interrupt Enable Register. RLOPI The RLOPI bit is high when an interrupt request is active from the RLOP block. The RLOP interrupt sources are enabled in the RLOP Interrupt Enable/Status Register. RPOPI The RPOPI bit is high when an interrupt request is active from the RPOP block. The RPOP interrupt sources are enabled in the RPOP Interrupt Enable Register. RXCPI The RXCPI bit is high when an interrupt request is active from the RXCP block. The RXCP interrupt sources are enabled in the RXCP Interrupt Enable/Status Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
131
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
TXCPI The TXCPI bit is high when an interrupt request is active from the TXCP block. The TXCP interrupt sources are enabled in the TXCP Interrupt Control/Status Register. CRUI The CRUI bit is high when an interrupt request is active from the Clock Recovery and SIPO block (CRSI, Clock Recovery Unit). The CRUI interrupt sources are enabled in the Clock Recovery Interrupt Control/Status Register. RASEI The RASEI bit is high when an interrupt request is active from the RASE block. The RASE interrupt sources are enabled in the RASE Interrupt Enable Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
132
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x30B: S/UNI-STAR Interrupt Status #2 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R R R Type Function Unused Unused Unused TXFPI RXFPI WANSI SSTBI SPTBI Default X X X X X X X X
This register allows the source of an active interrupt to be identified down to the block level. Further register accesses are required for the block in question to determine the cause of an active interrupt and to acknowledge the interrupt source. SPTBI The SPTBI bit is a logic one when an interrupt request is active from the SPTB block. The SPTB interrupt sources are enabled in the SPTB Control Register and the SPTB Path Signal Label Status Register. SSTBI The SSTBI bit is a logic one when an interrupt request is active from the SSTB block. The SSTB interrupt sources are enabled in the SSTB Control Register and the SSTB Synchronization Message Status Register. WANSI The WANSI bit is a logic one when an interrupt request is active from the WANS block. The WANS interrupt sources are enabled in the WANS Interrupt Enable/Status Register. RXFPI The RXFPI bit is high when an interrupt request is active from the RXFP block. The RXFP interrupt sources are enabled in the RXFP Interrupt Enable/Status Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
133
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
TXFPI The TXFPI bit is high when an interrupt request is active from the TXFP block. The TXFP interrupt sources are enabled in the TXFP Interrupt Control/Status Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
134
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x30C: CSPI (Clock Synthesis) Control and Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R Type R/W R/W R Function Reserved Reserved TROOLI Unused TROOLV Unused TROOLE Reserved Default 0 0 X X X X 0 0
This register controls the clock synthesis and reports the state of the transmit phase locked loop. TROOLE The TROOLE bit is an interrupt enable for the transmit reference out of lock status. When TROOLE is set to logic one, an interrupt is generated when the TROOLV bit changes state. TROOLV The transmit reference out of lock status indicates the clock synthesis phase locked loop is unable to lock to the reference on REFCLK. TROOLV is a logic one if the divided down synthesized clock frequency is not within 488 ppm of the REFCLK frequency. TROOLI The TROOLI bit is the transmit reference out of lock interrupt status bit. TROOLI is set high when the TROOLV bit of the S/UNI-STAR Clock Synthesis Control and Status Register changes state. TROOLV indicates the clock synthesis phase locked loop is unable to lock to the reference on REFCLK and is a logic one if the divided-down synthesized clock frequency is not within 488 ppm of the REFCLK frequency. TROOLI is cleared when this register is read. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
135
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x30D: CSPI (Clock Synthesis) Reserved Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved The reserved bits must be programmed to logic zero for proper operation. R/W R/W R/W R/W Type Function Unused Unused Unused Unused Reserved Reserved Reserved Reserved Default X X X X 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
136
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x30E: CRSI (Clock Recovery) Control and Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R R R R R/W R/W R/W Function Reserved RROOLI RDOOLI RROOLV RDOOLV RROOLE RDOOLE Reserved Default 0 X X X X 0 0 0
This register controls the clock recovery and reports the state of the receive phase locked loop. RDOOLE The RDOOLE bit is an interrupt enable for the receive data out of lock status. When RDOOLE is set to logic one, an interrupt is generated when the RDOOLV bit changes state. RROOLE The RROOLE bit is an interrupt enable for the reference out of lock status. When RROOLE is set to logic one, an interrupt is generated when the RROOLV bit changes state. RDOOLV The receive data out of lock status indicates the clock recovery phase locked loop is unable to lock to the incoming data stream. RDOOLV is a logic one if the divided down recovered clock frequency is not within 488 ppm of the REFCLK frequency or if no transitions have occurred on the RXD+/- inputs for more than 80 bit periods. RROOLV The receive reference out of lock status indicates the clock recovery phase locked loop is unable to lock to the receive reference (REFCLK). RROOLV should be polled after a power-up reset to determine when the CRU PLL is operational. When RROOLV is a logic one, the CRU is unable to lock to the receive reference. When RROOLV is a logic zero, the CRU is locked to the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
137
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
receive reference. The RROOLV bit may remain set at logic one for several hundred milliseconds after the removal of the power on reset as the CRU PLL locks to the receive reference clock. RDOOLI The RDOOLI bit is the receive data out of lock interrupt status bit. RDOOLI is set high when the RDOOLV bit of the S/UNI-STAR Clock Recovery Control and Status Register changes state. RDOOLI is cleared when this register is read. RROOLI The RROOLI bit is the receive reference out of lock interrupt status bit. RROOLI is set high when the RROOLV bit of the Clock Synthesis Control and Status Register changes state. RROOLI is cleared when this register is read. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
138
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x30F: CRSI (Clock Recovery) PLL Mode Select Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function Reserved Reserved PERFCTRL Reserved Reserved Reserved Reserved Reserved Default 0 0 0 0 0 0 0 0
PERFCTRL The Phase Lock Loop Performance Control (PERFCTRL) Register bit controls the frequency response of the CRU. When PERFCTRL is set to logic zero, the CRU performance is optimized for jitter transfer at the expense of jitter tolerance. When PERFCTRL is set to logic one, the CRU performance is optimized for jitter tolerance at the expense of jitter transfer. This bit should not be set to a logic one, when there is an external capacitor attached to the C+ and C- pins. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
139
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x310: RSOP Control/Interrupt Enable Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 OOFE The OOFE bit is an interrupt enable for the out of frame alarm. When OOFE is set to logic one, an interrupt is generated when the out of frame alarm changes state. LOFE The LOFE bit is an interrupt enable for the loss of frame alarm. When LOFE is set to logic one, an interrupt is generated when the loss of frame alarm changes state. LOSE The LOSE bit is an interrupt enable for the loss of signal alarm. When LOSE is set to logic one, an interrupt is generated when the loss of signal alarm changes state. BIPEE The BIPEE bit is an interrupt enable for the section BIP-8 errors. When BIPEE is set to logic one, an interrupt is generated when a section BIP-8 error (B1) is detected. ALGO2 The ALGO2 bit position selects the framing algorithm used to confirm and maintain the frame alignment. When a logic one is written to the ALGO2 bit position, the framer is allowed to use the second framing algorithm where only the first A1 framing byte and the first four bits of the last A2 framing byte (12 bits total) are examined. This algorithm examines only 12 bits of the Type R/W R/W W R/W R/W R/W R/W R/W Function BIPWORD DDS FOOF ALGO2 BIPEE LOSE LOFE OOFE Default 0 0 X 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
140
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
framing pattern regardless of the STS mode and all other framing bits are ignored. When a logic zero is written to the ALGO2 bit position, the framer uses the first framing algorithm, where all the A1 framing bytes and all the A2 framing bytes are examined. This algorithm examines all 48 bits of the STS-3c (STM-1/AU3/AU4) framing pattern. FOOF The FOOF bit controls the framing of the RSOP. When a logic one is written to FOOF, the RSOP is forced out of frame at the next frame boundary. The FOOF bit is a write-only bit and register reads may yield a logic one or a logic zero. DDS The DDS bit is set to logic one to disable the de-scrambling of the STS-3c (STM-1) stream. When DDS is a logic zero, de-scrambling is enabled. BIPWORD The BIPWORD bit position enables the accumulating of section block BIP errors. When a logic one is written to the BIPWORD bit position, one or more errors in the BIP-8 byte result in a single error accumulated in the B1 error counter. When a logic zero is written to the BIPWORD bit position, all errors in the B1 byte are accumulated in the B1 error counter. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
141
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x311: RSOP Status/Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 OOFV The OOFV bit is read to determine the out of frame state of the RSOP. When OOFV is high, the RSOP is out of frame. When OOFV is low, the RSOP is inframe. LOFV The LOFV bit is read to determine the loss of frame state of the RSOP. When LOFV is high, the RSOP has declared loss of frame. LOSV The LOSV bit is read to determine the loss of signal state of the RSOP. When LOSV is high, the RSOP has declared loss of signal. OOFI The OOFI bit is the out of frame interrupt status bit. OOFI is set high when a change in the out of frame state occurs. This bit is cleared when this register is read. LOFI The LOFI bit is the loss of frame interrupt status bit. LOFI is set high when a change in the loss of frame state occurs. This bit is cleared when this register is read. R R R R R R R Type Function Unused BIPEI LOSI LOFI OOFI LOSV LOFV OOFV Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
142
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LOSI The LOSI bit is the loss of signal interrupt status bit. LOSI is set high when a change in the loss of signal state occurs. This bit is cleared when this register is read. BIPEI The BIPEI bit is the section BIP-8 interrupt status bit. BIPEI is set high when a section layer (B1) bit error is detected. This bit is cleared when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
143
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x312: RSOP Section BIP-8 LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function SBE[7] SBE[6] SBE[5] SBE[4] SBE[3] SBE[2] SBE[1] SBE[0] Default X X X X X X X X
Register 0x313: RSOP Section BIP-8 MSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SBE[15:0] Bits SBE[15:0] represent the number of section BIP-8 errors (individual or block) that have been detected since the last time the error count was polled. The error count is polled by writing to either of the RSOP Section BIP-8 Register addresses. Such a write transfers the internally accumulated error count to the Section BIP-8 Registers within approximately 7 s and simultaneously resets the internal counter to begin a new cycle of error accumulation. This transfer and reset is carried out in a manner that makes sure that coincident events are not lost. The count can also be polled by writing to the Master Reset and Identity / Load Performance Meters Register (0x05). Writing to Register 03x05 Type R R R R R R R R Function SBE[15] SBE[14] SBE[13] SBE[12] SBE[11] SBE[10] SBE[9] SBE[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
144
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
simultaneously loads all the performance meter registers in the RSOP, RLOP, RPOP, SPTB, SSTB, RXCP, TXCP, RXFP, and TXFP blocks.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
145
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x314: TSOP Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LAIS The LAIS bit controls the insertion of line alarm indication signal (AIS). When LAIS is set to logic one, the TSOP inserts AIS into the transmit SONET/SDH stream. Activation or deactivation of line AIS insertion is synchronized to frame boundaries. Line AIS insertion results in all bits of the SONET/SDH frame being set to one prior to scrambling except for the section overhead. DS The DS bit is set to logic one to disable the scrambling of the STS-3c (STM-1) stream. When DS is a logic zero, scrambling is enabled. Reserved The reserved bits must be programmed to logic zero for proper operation. R/W R/W R/W R/W R/W R/W R/W Type Function Unused DS Reserved Reserved Reserved Reserved Reserved LAIS Default X 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
146
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x315: TSOP Diagnostic Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DFP The DFP bit controls the insertion of a single bit error continuously in the most significant bit (bit 1) of the A1 section overhead framing byte. When DFP is set to logic one, the A1 bytes are set to 03x76 instead of 03xF6. DBIP8 The DBIP8 bit controls the insertion of bit errors continuously in the section BIP-8 byte (B1). When DBIP8 is set to logic one, the B1 byte is inverted. DLOS The DLOS bit controls the insertion of all-zeros in the transmit stream. When DLOS is set to logic one, the transmit stream is forced to 0x00. R/W R/W R/W Type Function Unused Unused Unused Unused Unused DLOS DBIP8 DFP Default X X X X X 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
147
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x318: RLOP Control/Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LRDIV The LRDIV bit is read to determine the remote defect indication state of the RLOP. When LRDIV is high, the RLOP has declared line RDI. LAISV The LAISV bit is read to determine the line AIS state of the RLOP. When LAISV is high, the RLOP has declared line AIS. FEBEWORD The FEBEWORD bit controls the accumulation of FEBEs. When FEBEWORD is logic one, the FEBE event counter is incremented only once per frame, whenever one or more FEBE bits occur during that frame. When FEBEWORD is logic zero, the FEBE event counter is incremented for each and every FEBE bit that occurs during that frame (the counter can be incremented up to 24). BIPWORDO The BIPWORDO bit controls the indication of B2 errors reported to the TLOP block for insertion as FEBEs. When BIPWORDO is logic one, the BIP errors are indicated once per frame whenever one or more B2 bit errors occur during that frame. When BIPWORD0 is logic zero, BIP errors are indicated once for every B2 bit error that occurs during that frame. The accumulation of B2 error events functions independently and is controlled by the BIPWORD register bit. Type R/W R/W R/W R/W R/W R/W R R Function BIPWORD ALLONES AISDET LRDIDET BIPWORDO FEBEWORD LAISV LRDIV Default 0 0 0 0 0 0 X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
148
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LRDIDET The LRDIDET bit determines the Line LRDI detection algorithm. When LRDIDET is set to logic one, Line LRDI is declared when a 110 binary pattern is detected in bits 6, 7, and 8 of the K2 byte for three consecutive frames. When LRDIDET is set to logic zero, Line LRDI is declared when a 110 binary pattern is detected in bits 6, 7, and 8 of the K2 byte for five consecutive frames. AISDET The AISDET bit determines the Line AIS detection algorithm. When AISDET is set to logic one, Line AIS is declared when a 111 binary pattern is detected in bits 6, 7, and 8 of the K2 byte for three consecutive frames. When AISDET is set to logic zero, Line AIS is declared when a 111 binary pattern is detected in bits 6, 7, and 8 of the K2 byte for five consecutive frames. ALLONES The ALLONES bit controls automatically forcing the SONET frame passed to downstream blocks to all logic ones whenever LAIS is detected. When ALLONES is set to logic one, the SONET frame is forced to logic one immediately when the LAIS alarm is declared. When LAIS is removed, the received byte is immediately returned to carrying data. When ALLONES is set to logic zero, the received byte carries the data regardless of the state of LAIS. BIPWORD The BIPWORD bit controls the accumulation of B2 errors. When BIPWORD is logic one, the B2 error event counter is incremented only once per frame whenever one or more B2 bit errors occur during that frame. When BIPWORD is logic zero, the B2 error event counter is incremented for each B2 bit error that occurs during that frame. (The counter can be incremented up to 24 times per frame.) Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
149
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x319: RLOP Interrupt Enable/Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LRDII The LRDII bit is the line far end receive failure interrupt status bit. LRDII is set high when a change in the line RDI state occurs. This bit is cleared when this register is read. LAISI The LAISI bit is the line AIS interrupt status bit. LAISI is set high when a change in the line AIS state occurs. This bit is cleared when this register is read. BIPEI The BIPEI bit is the line BIP interrupt status bit. BIPEI is set high when a line layer (B2) bit error is detected. This bit is cleared when this register is read. FEBEI The FEBEI bit is the line far end block error interrupt status bit. FEBEI is set high when a line layer FEBE (M1) is detected. This bit is cleared when this register is read. LRDIE The LRDIE bit is an interrupt enable for the line remote defect indication alarm. When LRDIE is set to logic one, an interrupt is generated when line RDI changes state. Type R/W R/W R/W R/W R R R R Function FEBEE BIPEE LAISE LRDIE FEBEI BIPEI LAISI LRDII Default 0 0 0 0 X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
150
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LAISE The LAISE bit is an interrupt enable for line AIS. When LAISE is set to logic one, an interrupt is generated when line AIS changes state. BIPEE The BIPEE bit is an interrupt enable for the line BIP-24 errors. When BIPEE is set to logic one, an interrupt is generated when a line BIP-24 error (B2) is detected. FEBEE The FEBEE bit is an interrupt enable for the line far end block errors. When FEBEE is set to logic one, an interrupt is generated when FEBE (M1) is detected.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
151
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x31A: RLOP Line BIP-24 LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function LBE[7] LBE[6] LBE[5] LBE[4] LBE[3] LBE[2] LBE[1] LBE[0] Default X X X X X X X X
Register 0x31B: RLOP Line BIP-24 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function LBE[15] LBE[14] LBE[13] LBE[12] LBE[11] LBE[10] LBE[9] LBE[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
152
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x31C: RLOP Line BIP-24 MSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LBE[19:0] Bits LBE[19:0] represent the number of line BIP-24 errors (individual or block) that have been detected since the last time the error count was polled. The error count is polled by writing to any of the RLOP Line BIP Registers or Line FEBE Register addresses. Such a write transfers the internally accumulated error count to the Line BIP Registers within approximately 7 s and simultaneously resets the internal counter to begin a new cycle of error accumulation. The count can also be polled by writing to the Master Reset and Identity / Load Performance Meters Register (03x05). Writing to Register 03x05 simultaneously loads all the performance meter registers in the RSOP, RLOP, RPOP, SPTB, SSTB, RXCP, TXCP, RXFP, and TXFP blocks. R R R R Type Function Unused Unused Unused Unused LBE[19] LBE[18] LBE[17] LBE[16] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
153
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x31D: RLOP Line FEBE LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function LFE[7] LFE[6] LFE[5] LFE[4] LFE[3] LFE[2] LFE[1] LFE[0] Default X X X X X X X X
Register 0x31E: RLOP Line FEBE Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function LFE[15] LFE[14] LFE[13] LFE[12] LFE[11] LFE[10] LFE[9] LFE[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
154
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x31F: RLOP Line FEBE MSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LFE[19:0] Bits LFE[19:0] represent the number of line FEBE errors (individual or block) that have been detected since the last time the error count was polled. The error count is polled by writing to any of the RLOP Line BIP Registers or Line FEBE Register addresses. Such a write transfers the internally accumulated error count to the Line FEBE Registers within approximately 7 s and simultaneously resets the internal counter to begin a new cycle of error accumulation. The count can also be polled by writing to the Master Reset and Monitoring Update Register (03x05). Writing to Register 0x00 simultaneously loads all the performance meter registers in the RSOP, RLOP, RPOP, SPTB, SSTB, RXCP, TXCP, RXFP, and TXFP blocks. R R R R Type Function Unused Unused Unused Unused LFE[19] LFE[18] LFE[17] LFE[16] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
155
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x320: TLOP Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LRDI The LRDI bit controls the insertion of line far end receive failure (LRDI). When LRDI is set to logic one, the TLOP inserts line RDI into the transmit SONET/SDH stream. Line RDI is inserted by transmitting the code 110 in bit positions 6, 7, and 8 of the K2 byte of the transmit stream. APSREG The APSREG bit selects the source for the transmit APS channel. When APSREG is a logic zero, 0x0000 hexadecimal is inserted in the transmit APS channel. When APSREG is a logic one, the transmit APS channel is inserted from the TLOP Transmit K1 Register and the TLOP Transmit K2 Register. Reserved The reserved bits must be programmed to logic zero for proper operation. Type R/W R/W R/W R/W R/W R/W R/W R/W Function Reserved Reserved APSREG Reserved Reserved Reserved Reserved LRDI Default 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
156
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x321: TLOP Diagnostic Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DBIP The DBIP bit controls the insertion of bit errors continuously in the line BIP byte(s) (B2). When DBIP is set to logic one, the B2 byte(s) are inverted. R/W Type Function Unused Unused Unused Unused Unused Unused Unused DBIP Default X X X X X X X 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
157
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x322: TLOP Transmit K1 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 K1[7:0] The K1[7:0] bits contain the value inserted in the K1 byte when the APSREG bit in the TLOP Control Register is a logic one. K1[7] is the most significant bit, corresponding to the first bit (bit 1) transmitted. K1[0] is the least significant bit, corresponding to the last bit (bit 8) transmitted. The bits in this register are double buffered so that register writes do not need to be synchronized to SONET/SDH frame boundaries. The insertion of a new APS code value is initiated by a write to this register. The contents of this register, and the TLOP Transmit K2 Register are inserted in the transmit stream starting at the next frame boundary. Successive writes to this register must be spaced at least two frames (250 s) apart. Type R/W R/W R/W R/W R/W R/W R/W R/W Function K1[7] K1[6] K1[5] K1[4] K1[3] K1[2] K1[1] K1[0] Default 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
158
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x323: TLOP Transmit K2 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 K2[7:0] The K2[7:0] bits contain the value inserted in the K2 byte when the APSREG bit in the TLOP Control Register is a logic one. K2[7] is the most significant bit, corresponding to the first bit (bit 1) transmitted. K2[0] is the least significant bit, corresponding to the last bit (bit 8) transmitted. The bits in this register are double buffered so that register writes do not need to be synchronized to SONET/SDH frame boundaries. The insertion of a new APS code value is initiated by a write to the TLOP Transmit K1 Register. A coherent APS code value is ensured by writing the desired K2 APS code value to this register before writing the TLOP Transmit K1 Register. Type R/W R/W R/W R/W R/W R/W R/W R/W Function K2[7] K2[6] K2[5] K2[4] K2[3] K2[2] K2[1] K2[0] Default 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
159
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x324: S/UNI-STAR Channel Transmit Sync. Message (S1) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TS1[3:0] The value written to these bit positions is inserted in the first S1 byte position of the transmit stream. The S1 byte is used to carry synchronization status messages between line terminating network elements. TS1[3] is the most significant bit, corresponding to the first bit transmitted. TS1[0] is the least significant bit, corresponding to the last bit transmitted. Reserved The reserved bits must be programmed to logic zero for proper operation. Type R/W R/W R/W R/W R/W R/W R/W R/W Function Reserved Reserved Reserved Reserved TS1[3] TS1[2] TS1[2] TS1[2] Default 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
160
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x325: S/UNI-STAR Channel Transmit J0/Z0 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Z0[7:0] Z0[7:0] contains the value inserted in Z0 bytes for STS-1 (STM-0/AU3) #2 and #3 in the transmit STS-3 (STM-1/AU3) stream when the Z0INS bit is set to logic one. Z0[7] is the most significant bit corresponding to bit 1, the first bit transmitted. Z0[0] is the least significant bit, corresponding to bit 8, the last bit transmitted. Type R/W R/W R/W R/W R/W R/W R/W R/W Function Z0[7] Z0[6] Z0[5] Z0[4] Z0[3] Z0[2] Z0[1] Z0[0] Default 1 1 0 0 1 1 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
161
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x328: SSTB Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function ZEROEN RRAMACC RTIUIE RTIMIE PER5 TNULL NOSYNC LEN16 Default 0 0 0 0 0 1 0 0
This register controls the receive and transmit portions of the SSTB. LEN16 The section trace message length bit (LEN16) selects the length of the section trace message to be 16 bytes or 64 bytes. When LEN16 is a logic one, a 16 byte section trace message is selected. When LEN16 is a logic zero, a 64 byte section trace message is selected. NOSYNC The section trace message synchronization bit (NOSYNC) disables the writing of the section trace message into the trace buffer to be synchronized to the content of the message. When LEN16 is a logic one and NOSYNC is a logic zero, the receive section trace message byte and its most significant bit set will be written to the first location in the buffer. When LEN16 and NOSYNC are logic zero, the byte after the carriage return/linefeed (CR/LF) sequence will be written to the first location in the buffer. When NOSYNC is a logic one, synchronization is disabled, and the section trace message buffer behaves as a circular buffer. TNULL The transmit null bit (TNULL) controls how an all-zero section trace identifier message is inserted in the transmit stream. When TNULL is a logic one, the contents of the transmit buffer is ignored and all-zeros bytes are inserted. When TNULL is a logic zero, the contents of the transmit section trace buffer is sent to TSOP for insertion into the J0 transmit section overhead byte.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
162
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
TNULL should be set high before changing the contents of the trace buffer to avoid sending partial messages. PER5 The receive trace identifier persistence bit (PER5) controls the number of times a section trace identifier message must be received unchanged before being accepted. When PER5 is a logic one, a message is accepted when it is received unchanged five times consecutively. When PER5 is a logic zero, the message is accepted after three identical repetitions. RTIMIE The receive trace identifier mismatch bit (RTIMIE) controls the activation of the interrupt output when the comparison between accepted identifier message and the expected message changes state. When RTIMIE is a logic one, changes in match state activate the interrupt (INTB) output. RTIUIE The receive trace identifier unstable bit (RTIUIE) controls the activation of the interrupt output when the receive identifier message changes state. When RTIUIE is a logic one, changes in the received section trace identifier message stable/unstable state will activate the interrupt (INTB) output. RRAMACC The receive RAM access control bit (RRAMACC) directs read and write access between the receive and transmit section trace buffer. When RRAMACC is a logic one, microprocessor accesses are directed to the receive section trace buffer. When RRAMACC is a logic zero, microprocessor accesses are directed to the transmit section trace buffer. ZEROEN The zero enable bit (ZEROEN) enables TIM assertion and removal based on an all-zeros section trace message string. When ZEROEN is set high, allzeros section trace message strings are considered when entering and exiting TIM states. When ZEROEN is set low, all-zeros section trace message strings are ignored. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
163
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x329: SSTB Section Trace Identifier Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R R Type R Function BUSY Unused Unused Unused RTIUI RTIUV RTIMI RTIMV Default 0 X X X X X X X
This register reports the section trace identifier status of the SSTB. RTIMV The RTIMV bit reports the match/mismatch status of the identifier message framer. RTIMV is a logic one when the accepted identifier message differs from the expected message written by the microprocessor. RTIMV is a logic zero when the accepted message matches the expected message. RTIMI The RTIMI bit is a logic one when match/mismatch status of the trace identifier framer changes state. This bit is cleared when this register is read. RTIUV The RTIUV bit reports the stable/unstable status of the identifier message framer. RTIUV is a logic one when the current received section trace identifier message has not matched the previous message for eight consecutive messages. RTIUV is a logic zero when the current message becomes the accepted message as determined by the PER5 bit in the SSTB Control Register. RTIUI The RTIUI bit is a logic one when stable/unstable status of the trace identifier framer changes state. This bit is cleared when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
164
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
BUSY The BUSY bit reports whether a previously initiated indirect read or write to a message buffer is completed. BUSY is set to a logic one immediately upon writing to the SSTB Indirect Address Register, and stays high until the initiated access is completed (about 0.6 s). This register should be polled to determine when new data is available in the SSTB Indirect Data Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
165
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x32A: SSTB Indirect Address Register Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function RWB A[6] A[5] A[4] A[3] A[2] A[1] A[0] Default 0 0 0 0 0 0 0 0
This register supplies the address used to index into section trace identifier buffers. A[6:0] The indirect read address bits (A[6:0]) are used to address the section trace identifier buffers. When RRAMACC is set high, addresses 0 to 63 reference the captured message page while addresses 64 to 127 reference the expected message page of the receive section trace buffer. The captured message page contains the identifier bytes extracted from the receive stream. The expected message page contains the section trace message to which the captured message page is compared. When RRAMACC is set low, addresses 0 to 63 reference the transmit section trace buffer, which contains the section trace message inserted in the transmit stream. When RRAMACC is set low, addresses 64 to 127 are unused and must not be accessed. RWB The access control bit (RWB) selects between an indirect read or write access to the selected section trace buffer (receive or transmit as determined by the RRAMACC bit.) Writing to this register initiates an access to the selected section trace buffer. When RWB is a logic one, a read access is initiated. The addressed location's contents are placed in the SSTB Indirect Data Register. When RWB is a logic zero, a write access is initiated. The data in the SSTB Indirect Data Register is written to the addressed location in the selected buffer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
166
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x32B: SSTB Indirect Data Register Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] Default 0 0 0 0 0 0 0 0
This register contains the data read from the section trace message buffer after a read operation or the data to be written into the buffer before a write operation. D[7:0] The indirect data bits (D[7:0]) contains the data read from either the transmit or receive section trace buffer after an indirect read operation is completed. The data that is written to a buffer is set up in this register before initiating the indirect write operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
167
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
168
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
169
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x330 (EXTD=0): RPOP Status/Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R R R R R R R/W Function Reserved LOPCONV LOPV PAISCONV PAISV PRDIV NEWPTRI NEWPTRE Default 0 X X X X X X 0
NOTE: To allow additional register mapping, shadow registers have been added to registers 03x30, 03x31, and 03x33. These shadow registers are accessed the same way as the normal registers are. The EXTD (extend register) bit must be set in Register 03x36 to switch between the normal registers and the shadow registers. This register allows the status of path level alarms to be monitored. NEWPTRI The NEWPTRI bit is the receive new pointer interrupt status bit. NEWPTRI is a logic one when the pointer interpreter has validated a new pointer value (H1, H2). NEWPTRI is cleared when this register is read. NEWPTRE The NEWPTRE bit is the interrupt enable for the receive new pointer status. When NEWPTRE is a logic one, an interrupt is generated when the pointer interpreter validates a new pointer. PRDIV The PRDIV bit is read to determine the remote defect indication state. When PRDIV is a logic one, the S/UNI-STAR has declared path RDI. PAISV The PAISV bit is read to determine the path AIS state. When PAISV is a logic one, the S/UNI-STAR has declared path AIS.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
170
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PAISCONV The PAISCONV bit is read to determine the concatenation path AIS state. When PAISCONV is a logic one, the S/UNI-STAR has declared a concatenation path AIS. LOPV The PLOPV bit is read to determine the loss of pointer state. When PLOPV is a logic one, the S/UNI-STAR has declared LOP. LOPCONV The LOPCONV bit is read to determine the loss of pointer concatenation state. When LOPCONV is a logic one, the S/UNI-STAR has declared loss of pointer concatenation. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
171
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x330 (EXTD=1): RPOP Status/Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R Type R/W R/W R/W R/W Function Reserved IINVCNT PSL5 Reserved Unused ERDIV[2] ERDIV[1] ERDIV[0] Default 0 0 0 0 X X X X
NOTE: To allow additional register mapping, shadow registers have been added to Registers 03x30, 03x31, and 03x33. These shadow registers are accessed in the same way as the normal registers. The EXTD (extend register) bit must be set in Register 03x36 to switch between accessing the normal registers and the shadow registers. A Status Register will be at RPOP read address zero, if the extend register (EXTD) bit is set in Register 03x36. ERDIV[2:0] The ERDIV[2:0] bits reflect the current state of the detected enhanced RDI, (filtered G1 bits 5, 6, and 7). PSL5 The PSL5 bit controls the filtering of the path signal label byte (C2). When PSL5 is set high, the PSL is updated when the same value is received for five consecutive frames. When the PSL5 is set low, the PSL is updated when the same value is received for three consecutive frames. IINVCNT When a logic one is written to the IINVCNT (Intuitive Invalid Pointer Counter) bit, if in the LOP state 3 x new point resets the inv_point count. If this bit is set to zero, the inv_point count will not be reset if in the LOP state and 3 x new pointers are detected.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
172
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x331 (EXTD=0): RPOP Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R R R Type R Function PSLI Unused LOPI Unused PAISI PRDII BIPEI FEBEI Default X X X X X X X X
NOTE: To facilitate additional register mapping, shadow registers have been added to Registers 03x30, 03x31, and 03x33. These shadow registers are accessed in the same way as the normal registers. The EXTD (extend register) bit must be set in Register 03x36 to switch between accessing the normal registers and the shadow registers. This register allows identification and acknowledgment of path level alarm and error event interrupts. FEBEI The FEBEI bit is the path FEBE interrupt status bit. FEBEI is a logic one when a FEBE error is detected. This bit is cleared when this register is read. BIPEI The BIPEI bit is the path BIP-8 interrupt status bit. BIPEI is a logic one when a B3 error is detected. This bit is cleared when this register is read. PRDII The PRDII bit is the path remote defect indication interrupt status bit. PRDII is a logic one when a change in the path RDI state or the auxiliary path RDI state occurs. This bit is cleared when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
173
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PAISI The PAISI bit is the path alarm indication signal interrupt status bit. PAISI is a logic one when a change in the path AIS state occurs. This bit is cleared when this register is read. LOPI The LOPI bit is the loss of pointer interrupt status bit. LOPI is a logic one when a change in the LOP state occurs. This bit is cleared when this register is read. PSLI The PSLI bit is the change of path signal label interrupt status bit. PSLI is a logic one when a change is detected in the Path Signal Label Register. The current path signal label can be read from the RPOP Path Signal Label Register. This bit is cleared when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
174
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x331 (EXTD=1): RPOP Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R Type Function Unused Unused Unused Unused Unused Unused Unused ERDII Default X X X X X X X X
NOTE: To allow additional register mapping, shadow registers have been added to Registers 03x30, 03x31, and 03x33. These shadow registers are accessed in the same way as the normal registers. The EXTD (extend register) bit must be set in Register 03x36 to switch between the normal registers and the shadow registers This register allows identification and acknowledgment of path level alarm and error event interrupts. ERDII The ERDII bit is set to logic one when a change is detected in the received enhanced RDI state. ERDII is cleared when the RPOP Interrupt Status Register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
175
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x332: RPOP Pointer Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R R R R Type R Function ILLJREQI Unused DISCOPAI INVNDFI ILLPTRI NSEI PSEI NDFI Default X X X X X X X X
This register allows identification and acknowledgment of pointer event interrupts. NDFI The NDFI bit is the new data flag interrupt status bit. NDFI is set to a logic one when the NDF field is active in the received pointer (H1, H2). This bit is cleared when this register is read. PSEI The PSEI bit is the positive stuff event interrupt status bit. PSEI is a logic one when a positive stuff event is detected in the received pointer (H1, H2). This bit is cleared when this register is read. NSEI The NSEI bit is the negative stuff event interrupt status bit. NSEI is a logic one when a negative stuff event is detected in the received pointer (H1, H2). This bit is cleared when this register is read. ILLPTRI The ILLPTRI bit is the illegal pointer interrupt status bit. ILLPTRI is a logic one when an illegal pointer value is detected. This bit is cleared when this register is read. INVNDFI The INVNDFI bit is the illegal new data field value interrupt status bit. INVNDFI is a logic one when an illegal NDF field value is detected in the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
176
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
receive payload pointer. An illegal NDF field is any one of the following six values: 0x0, 0x3, 0x5, 0xA, 0xC, and 0xF. This bit is cleared when this register is read. DISCOPAI The DISCOPAI bit is the discontinuous change of pointer interrupt status bit. DISCOPAI is a logic one when a new pointer value is validated without an accompanying NDF indication. This bit is cleared when this register is read. ILLJREQI The ILLJREQI bit is the illegal justification request interrupt status bit. ILLJREQI is a logic one when the pointer interpreter detects an illegal pointer justification request event. This bit is cleared when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
177
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x333 (EXTD=0): RPOP Interrupt Enable Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function PSLE Reserved LOPE Reserved PAISE PRDIE BIPEE FEBEE Default 0 0 0 0 0 0 0 0
NOTE: To allow additional register mapping, shadow registers have been added to Registers 03x30, 03x31, and 03x33. These shadow registers are accessed in the same way as the normal registers. The EXTD (extend register) bit must be set in Register 03x36 to switch between the normal registers and the shadow registers This register allows interrupt generation to be enabled for path level alarm and error events. FEBEE The FEBEE bit is the interrupt enable for path FEBEs. When FEBEE is a logic one, an interrupt is generated when a path FEBE is detected. BIPEE The BIPEE bit is the interrupt enable for path BIP-8 errors. When BIPEE is a logic one, an interrupt is generated when a B3 error is detected. PRDIE The PRDIE bit is the interrupt enable for path RDI. When PRDIE is a logic one, an interrupt is generated when the path RDI state changes. PAISE The PAISE bit is the interrupt enable for path AIS. When PAISE is a logic one, an interrupt is generated when the path AIS state changes.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
178
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LOPE The LOPE bit is the interrupt enable for LOP. When LOPE is a logic one, an interrupt is generated when the LOP state changes. PSLE The PSLE bit is the interrupt enable for changes in the received path signal label. When PSLE is a logic one, an interrupt is generated when the received C2 byte changes. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
179
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x333 (EXTD=1): RPOP Interrupt Enable Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W Type Function Unused Unused Unused Unused Unused Unused Unused ERDIE Default X X X X X X X X
NOTE: To allow additional register mapping, shadow registers have been added to Registers 03x30, 03x31, and 03x33. These shadow registers are accessed in the same way as the normal registers. The EXTD (extend register) bit must be set in Register 03x36 to switch between the normal registers and the shadow registers This register allows the interrupt generation to be enabled for path level alarm and error events. ERDIE When EREDIE is a logic one, an interrupt is generated when a path Enhanced RDI is detected.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
180
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x334: RPOP Pointer Interrupt Enable Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function ILLJREQE Reserved DISCOPAE INVNDFE ILLPTRE NSEE PSEE NDFE Default 0 0 0 0 0 0 0 0
This register is used to enable pointer event interrupts. NDFE When a logic one is written to the NDFE interrupt enable bit position, a change in the active offset will activate the interrupt out, INTB if an enabled NDF (NDF_enabled indication was received. PSEE When a logic one is written to the PSEE interrupt enable bit position, a positive pointer adjustment event will activate the interrupt output, INTB. NSEE When a logic one is written to the NSEE interrupt enable bit position, a negative pointer adjustment event will activate the interrupt output, INTB. ILLPTRE When a logic one is written to the ILLPTRE interrupt enable bit position, an illegal pointer will activate the interrupt output, INTB. INVNDFE When a logic one is written to the INVNDFE interrupt enable bit position, an invalid NDF code will activate the interrupt output, INTB.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
181
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
DISCOPAE When a logic one is written to the DISCOPAE interrupt enable bit position, a change of pointer alignment event will activate the interrupt output, INTB. ILLJREQE When a logic one is written to the ILLJREQE interrupt enable bit position, an illegal pointer justification request will activate the interrupt output, INTB. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
182
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x335: RPOP Pointer LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PTR[7:0] The PTR[7:0] bits contain the eight LSBs of the current pointer value that is interpreted from the H1 and H2 bytes. The NDFI, NSEI, and PSEI bits of the RPOP Pointer Interrupt Status Register should be read before and after reading this register to ensure that the pointer value did not change during the register read. Type R R R R R R R R Function PTR[7] PTR[6] PTR[5] PTR[4] PTR[3] PTR[2] PTR[1] PTR[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
183
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x336: RPOP Pointer MSB and RDI Filter Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PTR[9:8] The PTR[9:8] bits contain the two MSBs of the current pointer value that is interpreted from the H1 and H2 bytes. The NDFI, NSEI, and PSEI bits of the RPOP Pointer Interrupt Status Register should be read before and after reading this register to ensure that the pointer value did not change during the register read. S0, S1 The S0 and S1 bits contain the two S bits received in the last H1 byte. These bits should be software de-bounced by reading this register at least twice. RDI10 The RDI10 bit controls the filtering of the remote defect indication and the auxiliary remote defect indication. When RDI10 is a logic one, the PRDI and APRDI status is updated when the same value is received in the corresponding bit of the G1 byte for ten consecutive frames. When RDI10 is a logic zero, the PRDI and APRDI status is updated when the same value is received for five consecutive frames. NDFPOR The NDFPOR (new data flag pointer outside range) bit allows an NDF counter enable, if the pointer value is outside the range (0-782). If this bit is set to logic one the definition for NDF counter enable is enabled NDF + ss. If this bit is set to logic zero the definition for NDF counter enable is enabled NDF + ss + offset in the range of 0 to 782. Note that this bit only allows the NDF counter R R R R Type R/W R/W R/W Function NDFPOR EXTD RDI10 Unused S1 S0 PTR[9] PTR[8] Default 0 0 0 X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
184
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
to count towards LOP when the pointer is out of range and no active offset change will occur. EXTD The EXTD bit extends the registers to allow additional mapping. If this bit is set to logic one, the register mapping for Registers 03x30, 03x31, and 03x33, are extended.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
185
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x337: RPOP Path Signal Label Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PSL[7:0] The PSL[7:0] bits contain the path signal label byte (C2). The value in this register is updated to a new path signal label value if the same new value is observed for three or five consecutive frames, depending on the status of the PSL5 bit. Type R R R R R R R R Function PSL[7] PSL[6] PSL[5] PSL[4] PSL[3] PSL[2] PSL[1] PSL[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
186
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x338: RPOP Path BIP-8 LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function PBE[7] PBE[6] PBE[5] PBE[4] PBE[3] PBE[2] PBE[1] PBE[0] Default X X X X X X X X
Register 0x339: RPOP Path BIP-8 MSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PBE[15:0] PBE[15:0] represents the number of B3 errors (individual or block) that have been detected since the last time the error count was polled. The error count is polled by writing to either of the RPOP Path BIP-8 Register addresses or to either of the RPOP Path FEBE Register addresses. Such a write transfers the internally accumulated error count to the Path BIP-8 Registers within a maximum of seven s and simultaneously resets the internal counter to begin a new cycle of error accumulation. This transfer and reset is carried out in a manner that ensures that coincident events are not lost. The count can also be polled by writing to the S/UNI-STAR Channel Reset and Monitoring Update Register (03x05). Type R R R R R R R R Function PBE[15] PBE[14] PBE[13] PBE[12] PBE[11] PBE[10] PBE[9] PBE[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
187
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x33A: RPOP Path FEBE LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function PFE[7] PFE[6] PFE[5] PFE[4] PFE[3] PFE[2] PFE[1] PFE[0] Default X X X X X X X X
Register 0x33B: RPOP Path FEBE MSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function PFE[15] PFE[14] PFE[13] PFE[12] PFE[11] PFE[10] PFE[9] PFE[8] Default X X X X X X X X
These registers allow path FEBEs to be accumulated. PFE[15:0] PFE[15:0] represent the number of path FEBE errors (G1) that have been detected since the last time the error count was polled. The error count is polled by writing to either of the RPOP Path BIP-8 Register addresses or to either of the RPOP Path FEBE Register addresses. Such a write transfers the internally accumulated error count to the Path FEBE Registers within a maximum of seven s and simultaneously resets the internal counter to begin a new cycle of error accumulation. This transfer and reset is carried out in a manner that ensures that coincident events are not lost.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
188
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The count can also be polled by writing to the S/UNI-STAR Channel Reset and Monitoring Update Register (03x05).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
189
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x33C: RPOP Auxiliary RDI Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 APRDIV The APRDIV bit is read to determine the auxiliary path RDI state. When APRDIV is a logic one, the S/UNI-STAR has declared auxiliary path RDI. APRDIE The APRDIE bit is the interrupt enable for auxiliary path RDI. When APRDIE is a logic one, an interrupt is generated when the auxiliary path RDI state changes. BLKFEBE When set to logic one, the block FEBE bit (BLKFEBE) causes path FEBE errors to be reported and accumulated on a block basis. A single path FEBE error is accumulated for a block if the received FEBE code for that block is between one and eight inclusive. When BLKFEBE is set low, path FEBE errors are accumulated on an error basis. Reserved The reserved bits must be programmed to logic zero for proper operation. R/W R/W R R/W R/W Type Function Unused Unused Reserved BLKFEBE Unused Reserved APRDIE APRDIV Default X X 0 0 X 0 0 X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
190
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x33D: RPOP Error Event Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SOS ENSS BLKBIP Reserved BLKBIPO Reserved Reserved Reserved Default 0 0 0 0 0 0 0 0
This register contains error event control bits. BLKBIPO When BLKBIPO is a logic one, path FEBE indications are generated on a block basis. A single FEBE is transmitted if one or more path B3 error indications are detected per frame. When BLKBIPO is a logic zero, the transmitted FEBE indicates the number of B3 errors detected (between zero and eight errors per frame.) BLKBIP When BLKBIP is a logic one, B3 errors are reported and accumulated on a block basis. A single B3 error is accumulated and reported to the TPOP if one or more B3 errors are detected per frame. When BLKBIP is a logic zero, each B3 error is accumulated and reported. ENSS The ENSS bit controls whether the SS bits in the payload pointer are included in the pointer interpreter state machine. When ENSS is a logic one, an incorrect SS bit pattern causes the pointer interpreter to enter the LOP (loss of pointer) state and prevents a new pointer indication. When ENSS is a logic zero, the SS bits are ignored by the pointer interpreter. SOS The SOS controls the spacing between consecutive pointer justification events in the receive stream. When SOS is a logic one, the definition of inc_ind and dec_ind indications includes the requirement that active offset
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
191
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
changes have occurred at least three frames ago. When SOS is a logic zero, pointer justification indications in the receive stream are followed without regard to the proximity of previous active offset changes. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
192
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
193
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x340: TPOP Control/Diagnostic Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W R/W R/W R/W Type Function Unused EPRDIEN EPRDISRC PERSIST Reserved Reserved DBIP8 PAIS Default X 0 0 0 0 0 0 0
This register allows insertion of path level alarms and diagnostic signals. PAIS The PAIS bit controls the insertion of STS path alarm indication signal. When a logic one is written to this bit position, the complete SPE, and the pointer bytes (H1, H2, and H3) are overwritten with the all-ones pattern. When a logic zero is written to this bit position, the pointer bytes and the SPE are processed normally. DBIP8 The DBIP8 bit controls the insertion of bit errors continuously in the B3 byte. When DBIP8 is a logic one, the B3 byte is inverted. PERSIST The path far end receive failure alarm persistence bit (PERSIST) controls the persistence of the RDI asserted into the transmit stream. When PERSIST is a logic one, the RDI code, inserted into the transmit stream as a result of consequential actions, is asserted for a minimum of 20 frames in nonenhanced RDI mode, or the last valid RDI code before an idle code is asserted for 20 frames in enhanced RDI mode. (Idle codes occur when bits 5, 6, and 7 are 000, 001, or 011.) When PERSIST is logic zero, the transmit RDI code immediately changes based on the received alarm conditions. EPRDISRC The enhanced path receive defect indication alarm source bit (EPRDISRC) controls the source of RDI input to be inserted onto the G1 byte. When
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
194
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
EPRDIEN is logic zero, the extended RDI bits of the G1 byte are not overwritten by the TPOP block, regardless of EPRDISRC. When EPRDIEN is logic one and EPRDISCR is logic zero, the extended RDI bits of the G1 byte, bits 6 and 7, are inserted according to the value in the G1[1:0] register bits (Register 03x49). When EPRDIEN is logic one and EPRDISCR is logic one, the value Register 03x49 G1[1:0] is ignored and the EPRDI bits in the G1 byte are set according to the setting of the Channel Auto Enhanced Path RDI Control Registers (03x92 and 03x93). EPRDIEN The enhanced path receive defect indication alarm enable bit (EPRDIEN) controls the use of 3-bit RDI mode. When EPRDIEN is set to logic zero, the basic path RDI scheme is used and only G1[5] is used to indicate PRDI. When EPRDIEN is set to logic one, the enhanced path RDI scheme is used and the three G1[7:5] bits are used to indicate PRDI. The actual three bit code will be controlled according to the EPRDISRC. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
195
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x341: TPOP Pointer Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function H1LOAD FTPTR SOS PLD NDF NSE PSE Reserved Default 0 0 0 0 0 0 0 0
This register allows control over the transmitted payload pointer for diagnostic purposes. PSE The PSE bit controls the insertion of positive pointer movements. A logic zero to logic one transition on this bit enables the insertion of a single positive pointer justification in the transmit stream. This register bit is automatically cleared when the pointer movement is inserted. NSE The NSE bit controls the insertion of negative pointer movements. A logic zero to logic one transition on this bit enables the insertion of a single negative pointer justification in the transmit stream. This register bit is automatically cleared when the pointer movement is inserted. NDF The NDF bit controls the insertion of new data flags in the inserted payload pointer. When a logic one is written to this bit position, the pattern contained in the NDF[3:0] bit positions in the TPOP Arbitrary Pointer MSB Register is inserted continuously in the payload pointer. When a logic zero is written to this bit position, the normal pattern (0110) is inserted in the payload pointer. PLD The PLD bit controls the loading of the pointer value contained in the TPOP Arbitrary Pointer Registers. Normally the TPOP Arbitrary Pointer Registers are written to set up the arbitrary new pointer value, the S-bit values, and the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
196
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
NDF pattern. A logic one is then written to this bit position to load the new pointer value. The new data flag bit positions are set to the programmed NDF pattern for the first frame; subsequent frames have the new data flag bit positions set to the normal pattern (0110) unless the NDF bit described above is set to a logic one. This bit is automatically cleared after the new payload pointer is loaded. Note that when loading an out-of-range pointer, that is, a pointer with a value greater than 782, the TPOP continues to operate with timing based on the last valid pointer value. The out-of-range pointer value is inserted in the transmit stream. Although a valid SPE will continue to be generated, it is unlikely to be extracted by downstream circuitry, which should be in a loss of pointer state. SOS The SOS bit controls the stuff opportunity spacing between consecutive SPE positive or negative stuff events. When SOS is a logic zero, stuff events may be generated every frame as controlled by the PSE and NSE register bits described above. When SOS is a logic one, stuff events may be generated at a maximum rate of once every four frames. FTPTR The force transient pointer bit (FTPTR) enables the insertion of the pointer value contained in the Arbitrary Pointer Registers into the transmit stream for diagnostic purposes. When FTPTR is a logic one, the APTR[9:0] bits of the Arbitrary Pointer Registers are inserted into the H1 and H2 bytes of the transmit stream. At least one corrupted pointer is guaranteed to be sent. When FTPTR is a logic zero, the pointer value in the Current Pointer Registers is inserted in the transmit stream. H1LOAD The H1 load bit (H1LOAD) controls the periodic updating of the payload pointer at the H1 byte. When H1LOAD is logic one, the payload pointer is updated with an adjusted arbitrary payload pointer at every occurrence of the H1 byte. This adjusted arbitrary payload pointer value is reset with the Arbitrary Pointer Register by writing to the PLD bit in the Pointer Control Register, and is adjusted whenever there are outgoing pointer justifications. When H1LOAD is logic zero, the payload pointer is only updated with the value in the Arbitrary Pointer Registers by writing to the PLD bit in the Pointer Control Register. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
197
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
198
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x343: TPOP Current Pointer LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CPTR[7:0] The CPTR[7:0] bits, along with the CPTR[9:8] bits in the TPOP Current Pointer MSB Register, reflect the value of the current payload pointer being inserted in the transmit stream. The value may be changed by loading a new pointer value using the TPOP Arbitrary Pointer LSB and MSB Registers, or by inserting positive and negative pointer movements using the PSE and NSE register bits. Type R R R R R R R R Function CPTR[7] CPTR[6] CPTR[5] CPTR[4] CPTR[3] CPTR[2] CPTR[1] CPTR[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
199
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x344: TPOP Current Pointer MSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CPTR[9:8] The CPTR[9:8] bits, along with the CPTR[7:0] bits in the TPOP Current Pointer LSB Register reflect the value of the current payload pointer being inserted in the transmit stream. The value may be changed by loading a new pointer value using the TPOP Arbitrary Pointer LSB and MSB Registers, or by inserting positive and negative pointer movements using the PSE and NSE register bits. PMC-Sierra recommends the CPTR[9:0] value be software de-bounced to ensure a correct value is received. R R Type Function Unused Unused Unused Unused Unused Unused CPTR[9] CPTR[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
200
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x345: TPOP Arbitrary Pointer LSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function APTR[7] APTR[6] APTR[5] APTR[4] APTR[3] APTR[2] APTR[1] APTR[0] Default 0 0 0 0 0 0 0 0
This register allows an arbitrary pointer to be inserted for diagnostic purposes. APTR[7:0] The APTR[7:0] bits, along with the APTR[9:8] bits in the TPOP Arbitrary Pointer MSB Register are used to set an arbitrary payload pointer value. The arbitrary pointer value is inserted in the transmit stream by writing a logic one to the PLD bit in the TPOP Pointer Control Register. If the FTPTR bit in the TPOP Pointer Control Register is a logic one, the current APTR[9:0] value is inserted into the payload pointer bytes (H1 and H2) in the transmit stream.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
201
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x346: TPOP Arbitrary Pointer MSB Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function NDF[3] NDF[2] NDF[1] NDF[0] S[1] S[0] APTR[9] APTR[8] Default 1 0 0 1 1 0 0 0
This register allows an arbitrary pointer to be inserted for diagnostic purposes. APTR[9:8] The APTR[9:8] bits, along with the APTR[7:0] bits in the TPOP Arbitrary Pointer LSB Register are used to set an arbitrary payload pointer value. The arbitrary pointer value is inserted in the transmit stream by writing a logic one to the PLD bit in the TPOP Pointer Control Register. If the FTPTR bit in the TPOP Pointer Control Register is a logic one, the current APTR[9:0] value is inserted into the payload pointer bytes (H1 and H2) in the transmit stream. S[1], S[0] The S[1:0] bits contain the value inserted in the S[1:0] bit positions (also referred to as the unused bits) in the payload pointer. S[1.0] equals "00" for SONET and "10" for SDH. NDF[3:0] The NDF[3:0] bits contain the value inserted in the NDF bit positions when an arbitrary new payload pointer value is inserted (using the PLD bit in the TPOP Pointer Control Register) or when new data flag generation is enabled using primary input NDF, or the NDF bit in the TPOP Pointer Control Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
202
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x347: TPOP Path Trace Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function J1[7] J1[6] J1[5] J1[4] J1[3] J1[2] J1[1] J1[0] Default 0 0 0 0 0 0 0 0
This register allows control over the path trace byte. J1[7:0] The J1[7:0] bits are inserted in the J1 byte position in the transmit stream when insertion from the SPTB is disabled.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
203
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x348: TPOP Path Signal Label Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function C2[7] C2[6] C2[5] C2[4] C2[3] C2[2] C2[1] C2[0] Default 0 0 0 0 0 0 0 1
This register allows control over the path signal label. C2[7:0] The C2[7:0] bits are inserted in the C2 byte position in the transmit stream. Upon reset the register defaults to 0x01, which signifies an equipped but not specific payload. This register should be programmed with the value 0x13H when in ATM mode. This register should be reprogrammed with the value 0xCF for non-scrambled data and 0x16H for scrambled data when in POS mode. Refer to the OPERATION section for more information on how to set the S/UNI-STAR in ATM or POS mode.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
204
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x349: TPOP Path Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function FEBE[3] FEBE[2] FEBE[1] FEBE[0] PRDI APRDI G1[1] G1[0] Default 0 0 0 0 0 0 0 0
This register allows control over the path status byte. G[1:0] The G1[1:0] bits are inserted in bits 1 and 2 of the path status byte G1. These bits are ignored when EPRDIEN and EPRDISRC are both logic one. Refer the description of EPRDIEN and EPRDISRC for more details on how G1 can be controlled. APRDI The APRDI bit controls the insertion of the auxiliary path remote defect indication. When APRDI is a logic one, the APRDI bit position in the path status byte is set high. When APRDI is a logic zero, the APRDI bit position in the path status byte is set low. PRDI The PRDI bit controls the insertion of the path remote defect indication. When a logic one is written to this bit position, the PRDI bit position in the path status byte is set high. When a logic zero is written to this bit position, the PRDI bit position in the path status byte is set low. This bit is ignored when EPRDIEN and EPRDISRC are both logic one and the EPRDI bits in the G1 byte are set according to the Channel Auto Enhanced Path RDI Control Registers (03x92 and 03x93). FEBE[3:0] The FEBE[3:0] bits are inserted in the FEBE bit positions in the path status byte. The value contained in FEBE[3:0] is cleared after being inserted in the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
205
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
path status byte. Any non-zero FEBE value overwrites the value that would normally have been inserted based on the number of receive B3 errors during the last frame. When reading this register, a non-zero value in these bit positions indicates that the insertion of this value is still pending.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
206
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
207
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
208
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
209
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
210
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
211
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
212
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x350: SPTB Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function ZEROEN RRAMACC RTIUIE RTIMIE PER5 TNULL NOSYNC LEN16 Default 0 0 0 0 0 1 0 0
This register controls the receive and transmit portions of the SPTB. LEN16 The LEN16 bit selects the length of the path trace message to be 16 bytes or 64 bytes. When LEN16 is a logic one, a 16 byte path trace message is selected. When LEN16 is a logic zero, a 64 byte path trace message is selected. NOSYNC The NOSYNC bit disables the writing of the path trace message into the trace buffer to be synchronized to the content of the message. When LEN16 is a logic one and NOSYNC is a logic zero, the receive path trace message byte along with its most significant bit set will be written to the first location in the buffer. When LEN16 and NOSYNC are logic zero, the byte after the carriage return/linefeed (CR/LF) sequence will be written to the first location in the buffer. When NOSYNC is a logic one, synchronization is disabled, and the path trace message buffer behaves as a circular buffer. TNULL The TNULL bit controls the insertion of an all-zero path trace identifier message in the transmit stream. When TNULL is a logic one, the contents of the transmit buffer are ignored and all-zero bytes are inserted. When TNULL is a logic zero, the contents of the transmit path trace buffer are sent to TSOP for insertion into the J1 transmit path overhead byte. TNULL should be set high before changing the contents of the trace buffer to avoid sending partial messages.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
213
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PER5 The PER5 bit controls the number of times a path trace identifier message must be received unchanged before being accepted. When PER5 is a logic one, a message is accepted when it is received unchanged five times consecutively. When PER5 is a logic zero, the message is accepted after three identical repetitions. RTIMIE The RTIMIE bit controls the activation of the interrupt output when the comparison between accepted identifier message and the expected message changes state. When RTIMIE is a logic one, changes in match state activates the interrupt (INTB) output. RTIUIE The RTIUIE bit controls the activation of the interrupt output when the receive identifier message changes state. When RTIUIE is a logic one, changes in the received path trace identifier message stable/unstable state will activate the interrupt (INTB) output. RRAMACC The RRAMACC bit directs read and write access to either the receive or transmit path trace buffer. When RRAMACC is a logic one, microprocessor accesses are directed to the receive path trace buffer. When RRAMACC is a logic zero, microprocessor accesses are directed to the transmit path trace buffer. ZEROEN The zero enable bit (ZEROEN) enables TIM assertion and removal based on an all-zeros path trace message string. When ZEROEN is set high, all-zeros path trace message strings are considered when entering and exiting TIM states. When ZEROEN is set low, all-zeros path trace message strings are ignored. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
214
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x351: SPTB Path Trace Identifier Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R R Type R Function BUSY Unused Unused Unused RTIUI RTIUV RTIMI RTIMV Default 0 X X X X X X X
This register reports the path trace identifier status of the SPTB. RTIMV The RTIMV bit reports the match/mismatch status of the identifier message framer. RTIMV is a logic one when the accepted identifier message differs from the expected message written by the microprocessor. RTIMV is a logic zero when the accepted message matches the expected message. RTIMI The RTIMI bit is a logic one when match/mismatch status of the trace identifier framer changes state. This bit is cleared when this register is read. RTIUV The RTIUV bit reports the stable/unstable status of the identifier message framer. RTIUV is a logic one when the current received path trace identifier message has not matched the previous message for eight consecutive messages. RTIUV is a logic zero when the current message becomes the accepted message as determined by the PER5 bit in the SPTB Control Register. RTIUI The RTIUI bit is a logic one when stable/unstable status of the trace identifier framer changes state. This bit is cleared when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
215
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
BUSY The BUSY bit reports whether a previously initiated indirect read or write to a message buffer has been completed. BUSY is set to a logic one immediately upon writing to the SPTB Indirect Address Register and stays high until the initiated access is completed (about 0.6 s). This register should be polled to determine when new data is available in the SPTB Indirect Data Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
216
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x352: SPTB Indirect Address Register Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function RWB A[6] A[5] A[4] A[3] A[2] A[1] A[0] Default 0 0 0 0 0 0 0 0
This register supplies the address used to index into path trace identifier buffers. A[6:0] The indirect read address bits (A[6:0]) are used to address the path trace identifier buffers. When RRAMACC is set high, addresses 0 to 63 reference the captured message page while addresses 64 to 127 reference the expected message page of the receive path trace buffer. The captured message page contains the identifier bytes extracted from the receive stream. The expected message page contains the path trace message to which the captured message page is compared. When RRAMACC is set low, addresses 0 to 63 reference the transmit path trace buffer, which contains the path trace message inserted in the transmit stream. RWB The access control bit (RWB) selects between an indirect read or write access to the selected path trace buffer (receive or transmit as determined by the RRAMACC bit.) Writing to this register initiates an access to the selected path trace buffer. When RWB is a logic one, a read access is initiated. The addressed location's contents are placed in the SPTB Indirect Data Register. When RWB is a logic zero, a write access is initiated. The data in the SPTB Indirect Data Register is written to the addressed location in the selected buffer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
217
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x353: SPTB Indirect Data Register Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] Default 0 0 0 0 0 0 0 0
This register contains the data read from the path trace message buffer after a read operation or the data to be written into the buffer before a write operation. D[7:0] The indirect data bits (D[7:0]) contains the data read from either the transmit or receive path trace buffer after an indirect read operation is completed. The data that is written to a buffer is set up in this register before initiating the indirect write operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
218
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x354: SPTB Expected Path Signal Label Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EPSL[7:0] The EPSL[7:0] bits contain the expected path signal label byte (C2). EPSL[7:0] is compared with the C2 byte extracted from the receive stream. A path signal label match or mismatch is declared based Table 7: Table 7: EPSL Path Signal Label Byte Action Expect 00 00 00 01 01 01 XX XX XX XX Receive 00 01 XX 00 01 XX 00 01 XX YY Action Declared Match Mismatch Mismatch Mismatch Match Match Mismatch Match Match Mismatch Type R/W R/W R/W R/W R/W R/W R/W R/W Function EPSL[7] EPSL[6] EPSL[5] EPSL[4] EPSL[3] EPSL[2] EPSL[1] EPSL[0] Default 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
219
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x355: SPTB Path Signal Label Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W Function RPSLUIE RPSLMIE Unused Unused RPSLUI RPSLUV RPSLMI RPSLMV Default 0 0 X X X X X X
R R R R
This register reports the path signal label status of the SPTB. RPSLMV The RPSLMV bit reports the match/mismatch status between the expected and the accepted path signal label. RPSLMV is a logic one when the accepted PSL mismatches with the expected PSL written by the microprocessor. RPSLMV is a logic zero when the accepted mismatches with the expected PSL. RPSLMI The RPSLMI bit is a logic one when the match/mismatch status between the accepted and the expected path signal label changes state. This bit is cleared when this register is read. RPSLUV The RPSLUV reports the stable/unstable status of the path signal label in the receive stream. RPSLUV is a logic one when the current received C2 byte differs from the previous C2 byte for five consecutive frames. RPSLUV is a logic zero when the same PSL code is received for five consecutive frames. RPSLUI The RPSLUI bit is a logic one when the stable/unstable status of the path signal label changes state. This bit is cleared when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
220
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
RPSLMIE The RPSLMIE bit is the interrupt enable for the path signal label match/mismatch status. When RPSLMIE is a logic one, changes in the match state generate an interrupt. RPSLUIE The RPSLUIE bit is the interrupt enable for the path signal label stable/unstable status. When RPSLUIE is a logic one, changes in the stable/unstable state generate an interrupt.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
221
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x360: RXCP_50 Configuration 1 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DISCOR The DISCOR bit controls the HCS error correction algorithm. When DISCOR is a logic zero, the error correction algorithm is enabled, and single-bit errors detected in the cell header are corrected. When DISCOR is a logic one, the error correction algorithm is disabled, and any error detected in the cell header is treated as an uncorrectable HCS error. HCSADD The HCSADD bit controls the addition of the co-set polynomial, x6+x4+x2+1, to the HCS octet prior to comparison. When HCSADD is a logic one, the polynomial is added, and the resulting HCS is compared. When HCSADD is a logic zero, the polynomial is not added, and the unmodified HCS is compared. DDSCR The DDSCR bit controls the de-scrambling of the cell payload with the polynomial x43 + 1. When DDSCR is set to logic one, cell payload descrambling is disabled. When DDSCR is set to logic zero, payload descrambling is enabled. R/W R/W R/W Type R/W R/W Function DDSCR Reserved Unused Unused Unused HCSADD Reserved DISCOR Default 0 0 X X X 1 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
222
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x361: RXCP_50 Configuration 2 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function CCDIS HCSPASS IDLEPASS Reserved Reserved Reserved HCSFTR[1] HCSFTR[0] Default 0 0 0 0 0 0 0 0
HCSFTR[1:0] The HCS filter bits, HCSFTR[1:0] indicate the number of consecutive errorfree cells required, while in detection mode, before reverting back to correction mode. HCSFTR[1:0] 00 01 10 11 Cell Acceptance Threshold One ATM cell with correct HCS before resumption of cell acceptance. This cell is accepted. Two ATM cells with correct HCS before resumption of cell acceptance. The last cell is accepted. Four ATM cells with correct HCS before resumption of cell acceptance. The last cell is accepted. Eight ATM cells with correct HCS before resumption of cell acceptance. The last cell is accepted.
IDLEPASS The IDLEPASS bit controls the function of the Idle Cell filter. When IDLEPASS is written with a logic zero, all cells that match the Idle Cell Header Pattern and Idle Cell Header Mask are filtered out. When IDLEPASS is a logic one, the Idle Cell Header Pattern and Mask Registers are ignored. The default state of this bit and the bits in the Idle Cell Header Mask and Idle Cell Header Pattern Registers enable the dropping of idle cells.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
223
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
HCSPASS The HCSPASS bit controls the dropping of cells based on the detection of an uncorrectable HCS error. When HCSPASS is a logic zero, cells containing an uncorrectable HCS error are dropped. When HCSPASS is a logic one, cells are passed to the receive FIFO regardless of errors detected in the HCS. Additionally, the HCS verification finite state machine never exits the correction mode. Regardless of the programming of this bit, cells are always dropped while the cell delineation state machine is in the 'HUNT' or 'PRESYNC' states unless the CCDIS bit in this register is set to logic one. CCDIS The CCDIS bit can be used to disable all cell filtering and cell delineation. All payload data read from the RXCP_50 is passed into its FIFO without the requirement of having to find cell delineation first. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
224
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x362: RXCP_50 FIFO/UTOPIA Control & Configuration Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FIFORST The FIFORST bit is used to reset the four-cell receive FIFO. When FIFORST is set to logic zero, the FIFO operates normally. When FIFORST is set to logic one, the FIFO is immediately emptied and ignores writes. The FIFO remains empty and continues to ignore writes until a logic zero is written to FIFORST. RCALEVEL0 The RCA (and DRCA[x]) level 0 bit, RCALEVEL0, determines what output RCA (and DRCA[x]) indicates when it transitions low. When RCALEVEL0 is set to logic one, a high-to-low transition on output DRCA[x] and RCA indicates that the receive FIFO is empty. DRCA[x] and RCA, if polled, will de-assert on the rising RFCLK edge after Payload word 24 is output. When RCALEVEL0 is set to logic zero, a high-to-low transition on output DRCA[x] and RCA, if polled, indicates that the receive FIFO is near empty. DRCA[x] and RCA, if polled, will de-assert on the rising RFCLK edge after the Payload word 19 is output. RCAINV The RCAINV bit inverts the polarity of the DRCA[x] and RCA output signal. When RCAINV is a logic one, the polarity of DRCA[x] and RCA is inverted (DRCA[x] and RCA at logic zero means there is a receive cell available to be read). When RCAINV is a logic zero, the polarity of RCA and DRCA[x] is not inverted. R/W Type R/W R/W R/W Function RXPTYP Unused RCAINV RCALEVEL0 Unused Unused Unused FIFORST Default 0 X 0 1 X X X 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
225
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
RXPTYP The RXPTYP bit selects even or odd parity for output RPRTY. When set to logic one, output RPRTY is the even parity bit for outputs RDAT[15:0]. When RXPTYP is set to logic zero, RPRTY is the odd parity bit for outputs RDAT[15:0].
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
226
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x363: RXCP_50 Interrupt Enables and Counter Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LCDE The LCDE bit enables the generation of an interrupt due to a change in the LCD state. When LCDE is set to logic one, the interrupt is enabled. FOVRE The FOVRE bit enables the generation of an interrupt due to a FIFO overrun error condition. When FOVRE is set to logic one, the interrupt is enabled. HCSE The HCSE bit enables the generation of an interrupt due to the detection of a corrected or an uncorrected HCS error. When HCSE is set to logic one, the interrupt is enabled. OOCDE The OOCDE bit enables the generation of an interrupt due to a change in cell delineation state. When OOCDE is set to logic one, the interrupt is enabled. XFERE The XFERE bit enables the generation of an interrupt when an accumulation interval is completed and new values are stored in the RXCP_50 Count Registers. When XFERE is set to logic one, the interrupt is enabled. OVR The OVR bit is the overrun status of the RXCP_50 Performance Monitoring Count Registers. A logic one in this bit position indicates that a previous transfer (indicated by XFERI being logic one) has not been acknowledged Type R R R/W R/W R/W R/W R/W Function XFERI OVR Unused XFERE OOCDE HCSE FOVRE LCDE Default X X X 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
227
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
before the next accumulation interval has occurred and that the contents of the RXCP_50 Count Registers have been overwritten. OVR is set to logic zero when this register is read. XFERI The XFERI bit indicates that a transfer of RXCP_50 Performance Monitoring Count data has occurred. A logic one in this bit position indicates that the RXCP_50 Count Registers have been updated. This update is initiated by writing to one of the RXCP_50 Count Register locations or to the S/UNI-STAR Identification, Master Reset, and Global Monitor Update Register. XFERI is set to logic zero when this register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
228
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x364: RXCP_50 Status/Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LCDI The LCDI bit is set high when there is a change in the loss of cell delineation (LCD) state. This bit is reset immediately after a read to this register. FOVRI The FOVRI bit is set to logic one when a FIFO overrun occurs. This bit is reset immediately after a read to this register. When the RXCP Interrupt Status Register is read, the FOVRI is cleared and will not assert again even if FIFO is still in overrun. A FIFO reset should be performed to allow the reassertion of the FOVRI interrupt. UHCSI The UHCSI bit is set high when an uncorrected HCS error is detected. This bit is reset immediately after a read to this register. CHCSI The CHCSI bit is set high when a corrected HCS error is detected. This bit is reset immediately after a read to this register. OOCDI The OOCDI bit is set high when the RXCP_50 enters or exits the SYNC state. The OOCDV bit indicates whether the RXCP_50 is in the SYNC state or not. The OOCDI bit is reset immediately after a read to this register. Type R R R R R R R Function OOCDV LCDV Unused OOCDI CHCSI UHCSI FOVRI LCDI Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
229
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LCDV The LCDV bit gives the Loss of Cell Delineation state. When LCD is logic one, an out of cell delineation (OCD) defect has persisted for the number of cells specified in the LCD Count Threshold Register. When LCD is logic zero, no OCD has persisted for the number of cells specified in the LCD Count Threshold Register. The cell time period can be varied by using the LCDC[7:0] Register bits in the RXCP_50 LCD Count Threshold Register. OOCDV The OOCDV bit indicates the cell delineation state. When OOCDV is high, the cell delineation state machine is in the 'HUNT' or 'PRESYNC' states and is hunting for the cell boundaries. When OOCDV is low, the cell delineation state machine is in the 'SYNC' state and cells are passed through the receive FIFO.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
230
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x365: RXCP_50 LCD Count Threshold (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W Type Function Unused Unused Unused Unused Unused LCDC[10] LCDC[9] LCDC[8] Default X X X X X 0 0 1
Register 0x366: RXCP_50 LCD Count Threshold (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function LCDC[7] LCDC[6] LCDC[5] LCDC[4] LCDC[3] LCDC[2] LCDC[1] LCDC[0] Default 0 1 1 0 1 0 0 0
LCDC[10:0] The LCDC[10:0] bits represent the number of consecutive cell periods the receive cell processor must be out of cell delineation before loss of cell delineation (LCD) is declared. Likewise, LCD is not de-asserted until the receive cell processor is in cell delineation for the number of cell periods specified by LCDC[10:0]. The default value of LCD[10:0] is 360, which translates to an average cell period of 2.83 s and a default LCD integration period of 1.02 ms.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
231
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x367: RXCP_50 Idle Cell Header Pattern Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CLP The CLP bit contains the pattern to match in the eighth bit of the fourth octet of the 53-octet cell, in conjunction with the Match Header Mask Register. The IDLEPASS bit in the RXCP_50 Configuration 2 Register must be set to logic zero to enable cells to be dropped matching this pattern. PTI[2:0] The PTI[2:0] bits contain the pattern to match in the fifth, sixth, and seventh bits of the fourth octet of the 53-octet cell, in conjunction with the Idle Cell Header Mask Register. The IDLEPASS bit in the Configuration 2 Register must be set to logic zero to enable cells to be dropped matching this pattern. GFC[3:0] The GFC[3:0] bits contain the pattern to match in the first, second, third, and fourth bits of the first octet of the 53-octet cell, in conjunction with the Idle Cell Header Mask Register. The IDLEPASS bit in the Configuration 2 Register must be set to logic zero to enable cells to be dropped matching this pattern. Note that an all-zeros pattern must be present in the VPI and VCI fields of the idle or unassigned cell. Type R/W R/W R/W R/W R/W R/W R/W R/W Function GFC[3] GFC[2] GFC[1] GFC[0] PTI[3] PTI[2] PTI[1] CLP Default 0 0 0 0 0 0 0 1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
232
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x368: RXCP_50 Idle Cell Header Mask Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 MCLP The CLP bit contains the mask pattern for the eighth bit of the fourth octet of the 53-octet cell. This mask is applied to the Idle Cell Header Pattern Register to select the bits included in the cell filter. A logic one in this bit position enables the MCLP bit in the pattern register to be compared. A logic zero causes the masking of the MCLP bit. MPTI[3:0] The MPTI[3:0] bits contain the mask pattern for the fifth, sixth, and seventh bits of the fourth octet of the 53-octet cell. This mask is applied to the Idle Cell Header Pattern Register to select the bits included in the cell filter. A logic one in any bit position enables the corresponding bit in the pattern register to be compared. A logic zero causes the masking of the corresponding bit. MGFC[3:0] The MGFC[3:0] bits contain the mask pattern for the first, second, third, and fourth bits of the first octet of the 53-octet cell. This mask is applied to the Idle Cell Header Pattern Register to select the bits included in the cell filter. A logic one in any bit position enables the corresponding bit in the pattern register to be compared. A logic zero causes the masking of the corresponding bit. Type R/W R/W R/W R/W R/W R/W R/W R/W Function MGFC[3] MGFC[2] MGFC[1] MGFC[0] MPTI[2] MPTI[1] MPTI[0] MCLP Default 1 1 1 1 1 1 1 1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
233
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x369: RXCP_50 Corrected HCS Error Count Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CHCS[7:0] The CHCS[7:0] bits indicate the number of corrected HCS error events that occurred during the last accumulation interval. The contents of these registers are valid a maximum of 40 RCLK periods after a transfer is triggered by a write to one of RXCP_50's performance monitor counters or to the S/UNISTAR Channel Reset and Monitoring Update Register. Type R R R R R R R R Function CHCS[7] CHCS[6] CHCS[5] CHCS[4] CHCS[3] CHCS[2] CHCS[1] CHCS[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
234
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x36A: RXCP_50 Uncorrected HCS Error Count Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 UHCS[7:0] The UHCS[7:0] bits indicate the number of uncorrectable HCS error events that occurred during the last accumulation interval. The contents of these registers are valid a maximum of 40 RCLK periods after a transfer is triggered by a write to one of RXCP_50's performance monitor counters or to the S/UNI-STAR Channel Reset and Monitoring Update Register. Type R R R R R R R R Function UHCS[7] UHCS[6] UHCS[5] UHCS[4] UHCS[3] UHCS[2] UHCS[1] UHCS[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
235
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x36B: RXCP_50 Receive Cell Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RCELL[7] RCELL[6] RCELL[5] RCELL[4] RCELL[3] RCELL[2] RCELL[1] RCELL[0] Default X X X X X X X X
Register 0x36C: RXCP_50 Receive Cell Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RCELL[15] RCELL[14] RCELL[13] RCELL[12] RCELL[11] RCELL[10] RCELL[9] RCELL[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
236
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x36D: RXCP_50 Receive Cell Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R Type Function Unused Unused Unused Unused Unused RCELL[18] RCELL[17] RCELL[16] Default X X X X X X X X
RCELL[18:0] The RCELL[18:0] bits indicate the number of cells received and written into the receive FIFO during the last accumulation interval. Cells received and filtered due to HCS errors or idle cell matches are not counted. The counter should be polled every second to avoid saturation. The contents of these registers are valid a maximum of 67 RCLK periods after a transfer is triggered by a write to one of RXCP_50's performance monitor counters or to the S/UNI-STAR Channel Reset and Monitoring Update Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
237
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x36E: RXCP_50 Idle Cell Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function ICELL[7] ICELL[6] ICELL[5] ICELL[4] ICELL[3] ICELL[2] ICELL[1] ICELL[0] Default X X X X X X X X
Register 0x36F: RXCP_50 Idle Cell Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function ICELL[15] ICELL[14] ICELL[13] ICELL[12] ICELL[11] ICELL[10] ICELL[9] ICELL[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
238
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x370: RXCP_50 Idle Cell Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ICELL[18:0] The ICELL[18:0] bits indicate the number of idle cells received during the last accumulation interval. The counter should be polled every second to avoid saturation. The contents of these registers are valid a maximum of 67 RCLK periods after a transfer is triggered by a write to one of RXCP_50's performance monitor counters or to the S/UNI-STAR's Channel Reset and Monitoring Update Register. R R R Type Function Unused Unused Unused Unused Unused ICELL[18] ICELL[17] ICELL[16] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
239
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x380: TXCP_50 Configuration 1 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FIFORST The FIFORST bit is used to reset the 4-cell transmit FIFO. When FIFORST is set to logic zero, the FIFO operates normally. When FIFORST is set to logic one, the FIFO is immediately emptied and begins ignoring writes. The FIFO remains empty and continues to ignore writes until a logic zero is written to FIFORST. Null/unassigned cells are transmitted until a subsequent cell is written to the FIFO. DSCR The DSCR bit controls the scrambling of the cell payload. When DSCR is a logic one, cell payload scrambling is disabled. When DSCR is a logic zero, payload scrambling is enabled. HCSADD The HCSADD bit controls the addition of the co-set polynomial, x6+x4+x2+1, to the HCS octet prior to insertion in the synchronous payload envelope. When HCSADD is a logic one, the polynomial is added, and the resulting HCS is inserted. When HCSADD is a logic zero, the polynomial is not added, and the unmodified HCS is inserted. HCSADD takes effect unconditionally regardless of whether a null/unassigned cell is being transmitted or whether the HCS octet was read from the FIFO. HCSB The active low HCSB bit enables the internal generation and insertion of the HCS octet into the transmit cell stream. When HCSB is logic zero, the HCS is Type R/W R/W R/W R/W R/W R/W R/W R/W Function TPTYP TCALEVEL0 Reserved Reserved HCSB HCSADD DSCR FIFORST Default 0 0 0 0 0 1 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
240
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
generated and inserted internally. If HCSB is logic one, then no HCS octet is inserted in the transmit data stream. TCALEVEL0 The active high TCA (and DTCA[x]) level 0 bit, TCALEVEL0 determines what output TCA (and DTCA[x]) indicates when it transitions low. When TCALEVEL0 is set to logic one, output TCA (and DTCA[x]) indicates that the transmit FIFO is full and will de-assert after word 24 of the current cell transfer. The FIFO can accept no more writes. When TCALEVEL0 is set to logic zero, output TCA (and DTCA[x]) indicates that the transmit FIFO is near full and will de-assert after word 19 of the current cell transfer. TPTYP The TPTYP bit selects even or odd parity for input TPRTY. When set to logic one, input TPRTY is the even parity bit for the TDAT input bus. When set to logic zero, input TPRTY is the odd parity bit for the TDAT input bus. Reserved The reserved bits must be programmed to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
241
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x381: TXCP_50 Configuration 2 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W R/W Type Function Unused Unused Unused TCAINV FIFODP[1] FIFODP[0] DHCS HCSCTLEB Default X X X 0 0 0 0 0
HCSCTLEB The active low HCS control enable, HCSCTLEB bit enables the XORing of the HCS control byte with the generated HCS. When set to logic zero, the HCS control byte provided in the third word of the 27 word data structure is XORed with the generated HCS. When set to logic one, XORing is disabled and the HCS control byte is ignored. DHCS The DHCS bit controls the insertion of HCS errors for diagnostic purposes. When DHCS is set to logic one, the HCS octet is inverted prior to insertion in the synchronous payload envelope. DHCS takes effect unconditionally regardless of whether a null or unassigned cell is being transmitted or whether the HCS octet was read from the FIFO. DHCS occurs after any error insertion caused by the control byte in the 27-word data structure. FIFODP[1:0] The FIFODP[1:0] bits determine the transmit FIFO cell depth at which TCA and DTCA[x] de-assert. FIFO depth control may be important in systems where the cell latency through the TXCP_50 must be minimized. When the FIFO is filled to the specified depth, the transmit cell available signal, TCA (and DTCA[x]) is asserted. Note that regardless of what the fill level FIFODP[1:0] is set to, the transmit cell processor can store four complete cells. The selectable FIFO cell depths are shown below:
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
242
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
FIFODP[1] 0 0 1 1
FIFODP[0] 0 1 0 1
FIFO DEPTH 4 cells 3 cells 2 cells 1 cell
TCAINV The TCAINV bit inverts the polarity of the TCA (and DTCA[x]) output signal. When TCAINV is a logic one, the polarity of TCA (and DTCA[x]) is inverted. (TCA (and DTCA[x]) at logic zero means there is transmit cell space available to be written to.) When TCAINV is a logic zero, the polarity of TCA (and DTCA[x]) is not inverted.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
243
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x382: TXCP_50 Cell Count Status/Configuration Options Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 H4INSB The active low H4 insert enable, H4INSB, determines the contents of the H4 byte in the outgoing path overhead. If H4INSB is set to logic one, the H4 byte is set to the value of 00 hexadecimal. If H4INSB is set to logic zero, the H4 byte is set to the cell indicator offset value. OVR The OVR bit is the overrun status of the Transmit Cell Count Registers. A logic one in this bit position indicates that a previous transfer (indicated by XFERI being logic one) has not been acknowledged before the next accumulation interval has occurred and that the contents of the Transmit Cell Count Registers have been overwritten. OVR is set to logic zero when this register is read. XFERI The XFERI bit indicates that a transfer of Transmit Cell Count data has occurred. A logic one in this bit position indicates that the Transmit Cell Count Registers have been updated. This update is initiated by writing to one of the Transmit Cell Count Register locations or to the S/UNI-STAR Identification, Master Reset, and Global Monitor Update Register. XFERI is set to logic zero when this register is read. XFERE The XFERE bit enables the generation of an interrupt when an accumulation interval is completed and new values are stored in the Transmit Cell Count Registers. When XFERE is set to logic one, the interrupt is enabled. Reserved
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 244
Type R/W R R R/W R/W R/W R/W
Function XFERE XFERI OVR Unused Reserved H4INSB Reserved Reserved
Default 0 X X X 1 0 0 0
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
These bits should be set to their default values for proper operation
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
245
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x383: TXCP_50 Interrupt Enable/Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TSOCI The TSOCI bit is set high when the TSOC input is sampled high during any position other than the first word of the selected data structure. The write address counter is reset to the first word of the data structure when TSOC is sampled high. This bit is reset immediately after a read to this register. FOVRI The FOVRI bit is set high when an attempt is made to write into the FIFO when it is already full. This bit is reset immediately after a read to this register. TPRTYI The TPRTYI bit indicates if a parity error was detected on the TDAT input bus. When logic one, the TPRTYI bit indicates a parity error over the active TDAT bus. This bit is cleared when this register is read. Odd or even parity is selected using the TPTYPE bit. TSOCE The TSOCE bit enables an interrupt to be generated when the TSOC input is sampled high during any position other than the first word of the selected data structure. When TSOCE is set to logic one, the interrupt is enabled. FOVRE The FOVRE bit enables an interrupt to be generated because an attempt to write the FIFO occurs when it is already full. When FOVRE is set to logic one, the interrupt is enabled. R R R Type R/W R/W R/W Function TPRTYE FOVRE TSOCE Unused Unused TPRTYI FOVRI TSOCI Default 0 0 0 X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
246
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
TPRTYE The TPRTYE bit enables transmit parity interrupts. When set to logic one, parity errors are indicated on INT and TPRTYI. When set to logic zero, parity errors are indicated using bit TPRTYI but are not indicated on output INT.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
247
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x384: TXCP_50 Idle Cell Header Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CLP The CLP bit contains the eighth bit position of the fourth octet of the idle or unassigned cell pattern. Cell rate decoupling is done by transmitting idle cells when the TXCP_50 detects that no outstanding cells exist in the transmit FIFO. PTI[3:0] The PTI[3:0] bits contains the fifth, sixth, and seventh bit positions of the fourth octet of the idle or unassigned cell pattern. Idle cells are sent when the TXCP_50 detects that no outstanding cells exist in the transmit FIFO. GFC[3:0] The GFC[3:0] bits contain the first, second, third, and fourth bit positions of the first octet of the idle or unassigned cell pattern. Idle or unassigned cells are sent when the TXCP_50 detects that no outstanding cells exist in the transmit FIFO. The all-zeros pattern is sent in the VCI and VPI fields of the idle cell. Type R/W R/W R/W R/W R/W R/W R/W R/W Function GFC[3] GFC[2] GFC[1] GFC[0] PTI[2] PTI[1] PTI[0] CLP Default 0 0 0 0 0 0 0 1
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
248
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x385: TXCP_50 Idle Cell Payload Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function PAYLD[7] PAYLD[6] PAYLD[5] PAYLD[4] PAYLD[3] PAYLD[2] PAYLD[1] PAYLD[0] Default 0 1 1 0 1 0 1 0
PAYLD[7:0] The PAYLD[7:0] bits contain the pattern inserted in the idle cell payload. Idle cells are inserted when the TXCP_50 detects that the transmit FIFO contains no outstanding cells. PAYLD[7] is the most significant bit and is the first bit transmitted. PAYLD[0] is the least significant bit.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
249
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x386: TXCP_50 Transmit Cell Count (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TCELL[7] TCELL[6] TCELL[5] TCELL[4] TCELL[3] TCELL[2] TCELL[1] TCELL[0] Default X X X X X X X X
Register 0x387: TXCP_50 Transmit Cell Count Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TCELL[15] TCELL[14] TCELL[13] TCELL[12] TCELL[11] TCELL[10] TCELL[9] TCELL[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
250
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x388: TXCP_50 Transmit Cell Count (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R R R Type Function Unused Unused Unused Unused Unused TCELL[18] TCELL[17] TCELL[16] Default X X X X X X X X
TCELL[18:0] The TCELL[18:0] bits indicate the number of cells read from the transmit FIFO and inserted into the transmission stream during the last accumulation interval. Idle cells inserted into the transmission stream are not counted. A write to any one of the TXCP_50 Transmit Cell Counter Registers or to the S/UNI-STAR Channel Reset and Monitoring Update Register (Register 03x05) loads the registers with the current counter value and resets the internal 19 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to the Transmit Cell Counter Registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid after a maximum of 5 ms after a transfer is triggered by a write to a TXCP_50 Transmit Cell Count Register or the S/UNI-STAR Channel Reset and Monitoring Update Register (Register 0x05).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
251
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x390: S/UNI-STAR Channel Auto Line RDI Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W Function SDLRDI SFLRDI LOFLRDI LOSLRDI RTIMLRDI RTIULRDI LAISLRDI Unused Default 0 0 1 1 0 0 1 X
This register controls the auto assertion of line RDI in the local TLOP. Since the S/UNI-STAR provides STS-3c (STM-1/AU4) mappings, this register controls the assertion of line RDI for the entire SONET/SDH stream. LAISLRDI The Line Alarm Indication Signal LRDI (LAISLRDI) controls the insertion of a Line RDI in the transmit data stream when this alarm condition is detected. When LAISLRDI is set to logic one, the transmit line RDI will be inserted. When LAISLRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOLRDI Register bit is also set to logic one. RTIULRDI The Receive Trace Identifier Unstable LRDI (RTIULRDI) controls the insertion of a Line RDI in the transmit when this alarm condition is detected. When RTIULRDI is set to logic one, the transmit line RDI will be inserted. When RTIULRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOLRDI Register bit is also set to logic one. RTIMLRDI The Receive Trace Identifier Mismatch LRDI (RTIMLRDI) controls the insertion of a Line RDI in the transmit data when this alarm condition is detected. When RTIMLRDI is set to logic one, the transmit line RDI will be inserted. When RTIMLRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOLRDI Register bit is also set to logic one.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
252
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LOSLRDI The Loss of Signal LRDI (LOSLRDI) controls the insertion of a Line RDI in the transmit data stream when this alarm condition is detected. When LOSLRDI is set to logic one, the transmit line RDI will be inserted. When LOSLRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOLRDI Register bit is also set to logic one. LOFLRDI The Loss of Frame LRDI (LOFLRDI) controls the insertion of a Line RDI in the transmit data stream when this alarm condition is detected. When LOFLRDI is set to logic one, the transmit line RDI will be inserted. When LOFLRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOLRDI Register bit is also set to logic one. SFLRDI The Signal Fail BER LRDI (SFLRDI) controls the insertion of a Line RDI in the transmit data stream when this alarm condition is detected. When SFLRDI is set to logic one, the transmit line RDI will be inserted. When SFLRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOLRDI Register bit is also set to logic one. SDLRDI The Signal Degrade BER LRDI (SDLRDI) controls the insertion of a Line RDI in the transmit data stream when this alarm condition is detected. When SDLRDI is set to logic one, the transmit line RDI will be inserted. When SDLRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOLRDI Register bit is also set to logic one.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
253
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x391: S/UNI-STAR Channel Auto Path RDI Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function LCDPRDI ALRMPRDI PAISPRDI PSLMPRDI LOPPRDI LOPCONPRDI PTIUPRDI RTIMPRDI Default 0 0 1 1 1 1 1 1
This register controls the auto assertion of path RDI (G1 bit 5) in the local TPOP. Since the S/UNI-STAR provides STS-3c (STM-1/AU4) mappings, this register controls the assertion of path RDI for the entire SONET/SDH stream. See also the S/UNI-STAR Channel Auto Enhanced Path RDI Register. RTIMPRDI The Receive Trace Identifier Mismatch PRDI (RTIMPRDI) controls the insertion of a Path RDI in the transmit data stream when this alarm condition is detected. When RTIMPRDI is set to logic one, the transmit line RDI will be inserted. When RTIMPRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOPRDI Register bit is also set to logic one. PTIUPRDI The Path Trace Identifier Unstable PRDI (PTIUPRDI) controls the insertion of a Path RDI in the transmit data stream when this alarm condition is detected. When PTIUPRDI is set to logic one, the transmit line RDI will be inserted. When PTIUPRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOPRDI Register bit is also set to logic one. LOPCONPRDI The Loss of Pointer Concatenation Indication PRDI (LOPCONPRDI) controls the insertion of a Path RDI in the transmit data stream when this alarm condition is detected. When LOPCONPRDI is set to logic one, the transmit line RDI will be inserted. When LOPCONPRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOPRDI Register bit is also set to logic one.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
254
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LOPPRDI The Loss of Pointer PRDI (LOPPRDI) controls the insertion of a Path RDI in the transmit data stream when this alarm condition is detected. When LOPPRDI is set to logic one, the transmit line RDI will be inserted. When LOPPRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOPRDI Register bit is also set to logic one. PSLMPRDI The Path Signal Label Mismatch PRDI (PSLMPRDI) controls the insertion of a Path RDI in the transmit data stream when this alarm condition is detected. When PSLMPRDI is set to logic one, the transmit line RDI will be inserted. When PSLMPRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOPRDI Register bit is also set to logic one. PAISPRDI The Path Alarm Indication Signal PRDI (PAISPRDI) controls the insertion of a Path RDI in the transmit data stream when this alarm condition is detected. When PAISPRDI is set to logic one, the transmit line RDI will be inserted. When PAISPRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOPRDI Register bit is also set to logic one. ALRMPRDI The Line Alarm Indication Signal PRDI (ALRMPRDI) controls the insertion of a Path RDI in the transmit data stream when one of the following alarm conditions is detected: Loss of Signal (LOS), Loss of Frame (LOF), and Line Alarm Indication Signal (LAIS). When ALRMPRDI is set to logic one, the transmit line RDI will be inserted. When ALRMPRDI is set to logic zero, no action is taken. This register bit has effect only if the AUTOPRDI Register bit is also set to logic one. LCDPRDI The Loss of ATM Cell Delineation Signal PRDI (LCDPRDI) controls the insertion of Path RDI in the transmit data stream when this alarm condition is detected. When LCDPRDI is set to logic one, the transmit line RDI will be inserted. When LCDPRDI is set to logic zero, no action is taken. This register bit is used only if the AUTOPRDI Register bit is also set to logic one.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
255
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x392: S/UNI-STAR Channel Auto Enhanced Path RDI Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function LCDEPRDI ALMEPRDI PAISEPRDI PSLMEPRDI LOPEPRDI LOPCONEPRDI TIUEPRDI TIMEPRDI Default 0 0 0 1 0 0 0 1
This register and the S/UNI-STAR Channel Auto Path RDI Control Register controls the auto assertion of enhanced path RDI (G1 bits 5,6,7) in the local TPOP. Since the S/UNI-STAR provides a STS-3c (STM-1) mapping, this register with its companion register, controls auto enhanced path RDI assertion on the entire transmit stream. TIMEPRDI When set high, the TIMEPRDI bit enables enhanced path RDI assertion when path trace message mismatch (TIM) events are detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 bytes is set high while bit 7 of the G1 byte is set low. When TIMEPRDI is set low, trace identifier mismatch events have no effect on path RDI. In addition, this bit has no effect when EPRDI_EN is set low. TIUEPRDI When set high, the TIUEPRDI bit enables enhanced path RDI assertion when path trace message unstable events are detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 byte is set high while bit 7 of the G1 byte is set low. When TIUEPRDI is set low, trace identifier unstable events have no effect on path RDI. In addition, this bit has no effect when EPRDI_EN is set low. LOPCONEPRDI When set high, the LOPCONEPRDI bit enables enhanced path RDI assertion when loss of pointer concatenation (LOPCON) events are detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 byte is set
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
256
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
low while bit 7 of the G1 byte is set high. LOPCONEPRDI has precedence over PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI. When LOPCONEPRDI is set low, reporting of enhanced RDI is according to PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI and the associated alarm states. LOPEPRDI When set high, the LOPEPRDI bit enables enhanced path RDI assertion when loss of pointer (LOP) events are detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 byte is set low while bit 7 of the G1 byte is set high. LOPEPRDI has precedence over PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI. When LOPEPRDI is set low, reporting of enhanced RDI is according to PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI and the associated alarm states. PSLMEPRDI When set high, the PSLMEPRDI bit enables enhanced path RDI assertion when path signal label mismatch (PSLM) events are detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 byte is set high while bit 7 of the G1 byte is set low. When PSLMEPRDI is set low, path signal label mismatch events have no effect on path RDI. In addition, this bit has no effect when EPRDI_EN is set low. PAISEPRDI When set high, the PAISEPRDI bit enables enhanced path RDI assertion when the path alarm indication signal state (PAIS) is detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 byte is set low while bit 7 of the G1 byte is set high. PAISEPRDI has precedence over PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI. When PAISEPRDI is set low, reporting of enhanced RDI is according to PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI and the associated alarm states. ALMEPRDI When set high, the ALMEPRDI bit enables enhanced path RDI assertion when loss of signal (LOS), loss of frame (LOF) or line alarm indication signal (LAIS) events are detected in the receive stream. If enabled, when these events occurs, bit 6 of the G1 byte is set low while bit 7 of the G1 byte is set
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
257
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
high. ALMEPRDI has precedence over PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI. When ALMEPRDI is set low, reporting of enhanced RDI is according to PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI and the associated alarm states. LCDEPRDI When set high, the LCDEPRDI bit enables enhanced path RDI assertion when loss of cell delineation (LCD) events are detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 byte is set high while bit 7 of the G1 byte is set low. When LCDEPRDI is set low, loss of ATM cell delineation has no effect on path RDI. In addition, this bit has no effect when EPRDI_EN is set low.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
258
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x393: S/UNI-STAR Channel Receive RDI and Enhanced RDI Control Extensions Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 W R/W R/W Type R/W R/W Function PAISCONPRDI PAISCONEPRDI Unused Unused Unused EPRDI_EN UNEQPRDI UNEQEPRDI Default 0 0 X X X 0 1 1
This register along with the S/UNI-STAR Channel Path RDI Control Register controls the auto assertion of path RDI on the TPOP transmit stream. This register along with the S/UNI-STAR Channel Enhanced Path RDI Control Register controls the auto assertion of enhanced path RDI on the TPOP transmit stream. Since the S/UNI-STAR provides STS-3c (STM-1) mapping, this register controls the entire SONET/SDH stream. UNEQEPRDI When set high, the UNEQEPRDI bit enables enhanced path RDI assertion when the path signal label in the receive stream indicates unequipped status. If enabled, when the event occurs, bit 6 of the G1 byte is set high while bit 7 of the G1 byte is set low. When UNEQEPRDI is set low, path signal label unequipped status has no effect on enhanced path RDI. UNEQPRDI When set high, the UNEQPRDI bit enables path RDI assertion when the path signal label in the receive stream indicates unequipped status. When UNEQPRDI is set low, the path signal label unequipped status has no effect on path RDI. EPRDI_EN The EPRDI_EN bit enables the automatic insertion of enhanced RDI in the local transmitter. When EPRDI_EN is a logic one, auto insertion is enabled
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
259
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
using the event enable bits in this register. When EPRDI_EN is a logic zero, enhanced path RDI is not automatically inserted in the transmit stream. PAISCONEPRDI When set high, the PAISCONEPRDI bit enables enhanced path RDI assertion when path AIS concatenation (PAISCON) events are detected in the receive stream. If enabled, when the event occurs, bit 6 of the G1 byte is set low while bit 7 of the G1 byte is set high. PAISCONEPRDI has precedence over PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI. When PAISCONEPRDI is set low, reporting of enhanced RDI is according to PSLMERDI, TIUEPRDI, TIMEPRDI, and UNEQERDI and the associated alarm states. PAISCONPRDI When set high, the PAISCONPRDI bit enables path RDI assertion when path AIS concatenation (PAISCON) events are detected in the receive stream. When PAISCONPRDI is set low, path AIS concatenation events have no effect on path RDI.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
260
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x394: S/UNI-STAR Channel Receive Line AIS Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DCCAIS The DCCAIS bit enables the insertion of all-ones in the section DCC (RSD) and the line DCC (RLD) on certain alarm conditions. When DCCAIS is a logic one, all-ones are inserted in RSD when LOS or LOF is declared and all-ones are inserted in RLD when LOS, LOF, or LAIS is declared. When DCCAIS is logic zero, RSD and RLD are not altered. RTIUINS The RTIUINS bit enables the insertion of line AIS in the receive direction when section trace unstable is declared. If RTIUINS is a logic one, line AIS is inserted into the SONET/SDH frame when the current received section trace identifier message has not matched the previous message for eight consecutive messages. Line AIS is terminated when the current message becomes the accepted message. RTIMINS The RTIMINS bit enables the insertion of line AIS in the receive direction when section trace mismatch is declared. If RTIMINS is a logic one, line AIS is inserted into the SONET/SDH frame when the accepted identifier message differs from the expected message. Line AIS is terminated when the accepted message matches the expected message. LOSINS The LOSINS bit enables the insertion of line AIS in the receive direction when loss of signal (LOS) is declared. If LOSINS is a logic one, line AIS is inserted into the SONET/SDH frame when LOS is declared. Line AIS is terminated when LOS is removed.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 261
Type R/W R/W R/W R/W R/W R/W R/W
Function SDINS SFINS LOFINS LOSINS RTIMINS RTIUINS Unused DCCAIS
Default 0 0 1 1 0 0 X 0
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
LOFINS The LOFINS bit enables the insertion of line AIS in the receive direction when loss of frame (LOF) is declared. If LOSINS is a logic one, line AIS is inserted into the SONET/SDH frame when LOS is declared. Line AIS is terminated when LOS is removed. SFINS The SFINS bit enables the insertion of line AIS in the receive direction when signal fail (SF) is declared. If SFINS is a logic one, line AIS is inserted into the SONET/SDH frame when SF is declared. Line AIS is terminated when SF is removed. SDINS The SDINS bit enables the insertion of line AIS in the receive direction when signal degrade (SD) is declared. If SDINS is a logic one, line AIS is inserted into the SONET/SDH frame when SD is declared. Line AIS is terminated when SD is removed.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
262
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x395: S/UNI-STAR Channel Receive path AIS Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function PAISCONPAIS LOPCONPAIS PSLUPAIS PSLMPAIS LOPPAIS PAISPAIS TIUPAIS TIMPAIS Default 1 1 1 1 1 1 1 1
This register controls the auto assertion of path AIS on the receive side of the system interface. In ATM mode, path AIS forces a loss of cell delineation. In POS mode, path AIS forces the insertion of data flags (7E) in the data stream. TIMPAIS When set high, the TIMPAIS bit enables path AIS insertion on the receive side of the system interface when path trace message mismatch (TIM) events are detected in the receive stream. When TIMPAIS is set low, trace identifier mismatch events will not assert path AIS. TIUPAIS When set high, the TIUPAIS bit enables path AIS insertion when path trace message unstable events are detected in the receive stream. When TIUPAIS is set low, trace identifier unstable events will not assert path AIS. PAISPAIS When set high, the PAISPAIS bit enables path AIS insertion when path AIS events are detected in the receive stream. When PAISPAIS is set low, path AIS events will not assert path AIS. LOPPAIS When set high, the LOPPAIS bit enables path AIS insertion when loss of pointer (LOP) events are detected in the receive stream. When LOPPAIS is set low, loss of pointer events will not assert path AIS.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
263
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PSLMPAIS When set high, the PSLMPAIS bit enables path AIS insertion when path signal label mismatch (PSLM) events are detected in the receive stream. When PSLMPAIS is set low, path signal label mismatch events will not assert path AIS. PSLUPAIS When set high, the PSLUPAIS bit enables path AIS insertion when path signal label unstable (PSLU) events are detected in the receive stream. When PSLUPAIS is set low, path signal label unstable events will not assert path AIS. LOPCONPAIS When set high, the LOPCONPAIS bit enables path AIS insertion when loss of pointer concatenation (LOPCON) events are detected in the receive stream. When LOPCONPAIS is set low, loss of pointer concatenation events will not assert path AIS. PAISCONPAIS When set high, the PAISCONPAIS bit enables path AIS insertion when path AIS concatenation (PAISCON) events are detected in the receive stream. When PAISCONPAIS is set low, path AIS concatenation events will not assert path AIS.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
264
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x396: S/UNI-STAR Channel Receive Alarm Control #1 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W R/W R/W R/W Type Function Unused PTIMEN PSLMEN PERDIEN PRDIEN PAISEN LCDEN LOPEN Default X 0 0 0 0 0 0 0
Register 0x397: S/UNI-STAR Channel Receive Alarm Control #2 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W R/W R/W R/W Type Function Unused SFBEREN SDBEREN LRDIEN LAISEN OOFEN LOFEN LOSEN Default X 0 0 0 0 0 0 0
LOSEN, LOFEN, OOFEN, LAISEN, LRDIEN, SDBEREN, SFBEREN, LOPEN, LCDEN, PAISEN, PRDIEN, PERDIEN, PSLMEN, PTIMEN The above enable bits allow the corresponding alarm indications to be reported (OR'ed) into the RALRM output. When the enable bit is high, the corresponding alarm indication is combined with other alarm indications and output on RALRM. When the enable bit is low, the corresponding alarm indication does not affect the RALRM output.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
265
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Alarm LOS LOF OOF LAIS LRDI SDBER SFBER LOP LCD PAIS PRDI PERDI PSLM PTIM
Description Loss of signal Loss of frame Out of Frame Line Alarm Indication Signal Line Remote Defect Indication Signal Degrade Bit Error Rate Signal Fail Bit Error Rate Loss of Pointer Loss of cell delineation Path Alarm Indication Signal Path Remote Defect Indication Path Enhanced Remote Defect Indication Path Signal Label Mismatch Path Trace Identifier Mismatch
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
266
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A0: RXFP Configuration Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FIFORST The FIFORST bit is used to reset the 256-byte receive FIFO. When FIFORST is set to logic zero, the FIFO operates normally. When FIFORST is set to logic one, the FIFO is immediately emptied and begins ignoring writes. The FIFO remains empty and continues to ignore writes until a logic zero is written to FIFORST. DDSCR The DDSCR bit controls the de-scrambling of the frame payload with the polynomial x43 + 1. When DDSCR is set to logic zero, frame payload descrambling is disabled. When DDSCR is set to logic one, payload descrambling is enabled. RXPTYP The RXPTYP bit selects even or odd parity for output RPRTY. When set to logic one, output RPRTY is the even parity bit for outputs RDAT[15:0]. When RXPTYP is set to logic zero, RPRTY is the odd parity bit for outputs RDAT[15:0]. FCSSEL[1:0] The Frame Control Sequence select (FCSSEL[1:0]) bits control the FCS calculation according to the table below. The FCS is calculated over the whole packet data, after byte de-stuffing and de-scrambling. FCSSEL[1:0] FCS Operation Type R/W R/W R/W R/W R/W R/W R/W R/W Function RXOTYP FCSPASS RPAINV FCSSEL[1] FCSSEL[0] RXPTYP DDSCR FIFORST Default 0 0 0 1 0 0 1 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
267
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
FCSSEL[1:0] 00 01 10 11 RPAINV
FCS Operation No FCS calculated CRC-CCITT (2 bytes) CRC-32 (4 bytes) Reserved
The RPAINV bit inverts the polarity of the RPA output signal. When RPAINV is a logic one, the polarity of RPA is inverted. (RPA at logic zero means there is data available to be read.) When RPAINV is a logic zero, the polarity of RPA is not inverted. FCSPASS The FCSPASS determines if the FCS field will be passed through the system interface or stripped. When FCSPASS is set to logic one, the POS frame FCS field is written into the FIFO as part of the packet, and can thus be read through the system interface. When FCSPASS is set to logic zero, the FCS field is stripped from the POS frame. RXOTYP The RXOTYP determines if the RXOFF input to the RXFP (this signal is driven according to Register 03x95 so the Rx datastream is killed under a drop path AIS condition) will stop a packet by simply inserting HDLC flag characters or will insert an abort sequence followed by flags. When RXOTYP is set to logic zero, the abort sequence is inserted generating a user abort error. When the RXOTYP is set to logic one, the frame processor performs a simple flag insertion so the packet will be flagged as a FCS error.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
268
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A1: RXFP Configuration/Interrupt Enables Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FOVRE The FOVRE bit enables the generation of an interrupt when FIFO overrun error condition is detected. When FOVRE is set to logic one, the interrupt is enabled. FCSE The FCSE bit enables the generation of an interrupt when an FCS error is detected. When FCSE is set to logic one, the interrupt is enabled. ABRTE The Abort Packet Enable bit enables the generation an interrupt when an aborted packet is received. When ABRTE is set to logic one, the interrupt is enabled. MAXLE The Maximum Length Packet Enable bit enables the generation of an interrupt when a packet is received exceeding the programmable maximum packet length. When MAXLE is set to logic one, the interrupt is enabled. MINLE The Minimum Length Packet Enable bit enables the generation of an interrupt when a packet is received that is smaller than the programmable minimum packet length. When MINLE is set to logic one, the interrupt is enabled. R/W R/W R/W R/W R/W R/W Type Function Unused Unused MINLE MAXLE ABRTE FCSE FOVRE Reserved Default X X 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
269
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A2: RXFP Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FOVRI The FOVRI bit indicates an interrupt when a FIFO overrun error condition is detected. This interrupt can be masked using FOVRE. FCSI The FCSI bit indicates an interrupt when an FCS error is detected. This interrupt can be masked using FCSE. ABRTI The ABRTI bit indicates bit enables the generation of an interrupt when an aborted packet is received. This interrupt can be masked using ABRTE. MAXLI The MAXLI bit indicates an interrupt when a packet is received exceeding the programmable maximum packet length. This interrupt can be masked using MAXLE. MINLI The MINLI bit indicates an interrupt when a packet is received that is smaller than the programmable minimum packet length. This interrupt can be masked using MINLE. R R R R R Type Function Unused Unused MINLI MAXLI ABRTI FCSI FOVRI Unused Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
270
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A3: RXFP Minimum Packet Length Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function MINPL[7] MINPL[6] MINPL[5] MINPL[4] MINPL[3] MINPL[2] MINPL[1] MINPL[0] Default 0 0 0 0 0 1 0 0
MINPL[7:0] The Minimum Packet Length (MINPL[7:0]) bits are used to set the minimum packet length. Packets smaller than this length are marked with an error. The packet length used here is defined as the number of bytes encapsulated into the POS frame, excluding the FCS and stuffing bytes. The value 0x0000 should not be used.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
271
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A4: RXFP Maximum Packet Length (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function MAXPL[7] MAXPL[6] MAXPL[5] MAXPL[4] MAXPL[3] MAXPL[2] MAXPL[1] MAXPL[0] Default 0 0 0 0 0 0 0 0
Register 0x3A5: RXFP Maximum Packet Length (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function MAXPL[15] MAXPL[14] MAXPL[13] MAXPL[12] MAXPL[11] MAXPL[10] MAXPL[9] MAXPL[8] Default 0 0 0 0 0 1 1 0
MAXPL[15:0] The Maximum Packet Length (MAXPL[15:0]) bits are used to set the maximum packet length. Packets larger than this length are marked with an error by asserting RERR with REOP. These packets will increment the RXFP Receive Byte Counter and the MAXLI interrupt will be set. The packet length used here is defined as the number of bytes encapsulated into the POS frame excluding byte stuffing and the FCS. The maximum packet length supported by the RXFP is 65534 (0xFFFE) The values 0x0000, 0x0001, and 0xFFFF shall not be used.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
272
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A6: RXFP Receive Initiation Level Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RIL[7:0] The Reception Initiation Level (RIL[3:0]) bits are used to set the minimum number of bytes that must be available in the FIFO before received packets can be written into it. RIL[R:0] is only used after a FIFO overrun is detected and FIFO writes have been suspended. The FIFO will wait until the number of used bytes is smaller than the RIL. This avoids restarting the reception of data too quickly after an overrun condition. If the system does not cause any FIFO overrun, then this register will not be used. RIL[3:0] breaks the FIFO in 16 sections; for example a value of 0x4 corresponds to a FIFO level of 64 bytes. The value of RIL must not be too large in order to prevent repetitive FIFO overruns. The default reception initiation level is 192 octets. Table 8: Receive Initiation Level Values RIL[3:0] 0000 0001 0010 0011 0100 0101 0110 0111 FIFO Fill Level 0 16 32 48 64 80 96 112 RIL[3:0] 1000 1001 1010 1011 1100 1101 1110 1111 FIFO Fill Level 128 144 160 176 192 208 224 240 Type R/W R/W R/W R/W R/W R/W R/W R/W Function Reserved Reserved Reserved Reserved RIL[3] RIL[2] RIL[1] RIL[0] Default 1 0 0 0 1 1 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
273
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A7: RXFP Receive Packet Available High Water Mark Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function RPAHWM[7] RPAHWM[6] RPAHWM[5] RPAHWM[4] RPAHWM[3] RPAHWM[2] RPAHWM[1] RPAHWM[0] Default 0 1 0 0 0 0 0 0
RPAHWM[7:0] The Receive FIFO High Water Mark (RPAHWM[7:0]) bits are used to generate the RPA outputs. RPAs are set to logic one when the number of bytes stored in the FIFO exceed RPAHWM[7:0] or when there is at least one end-of-packet in the FIFO. The maximum RPAHWM usable value is 0xF0.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
274
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3A8: RXFP Receive Byte Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RBYTE [7] RBYTE [6] RBYTE [5] RBYTE [4] RBYTE [3] RBYTE [2] RBYTE [1] RBYTE [0] Default X X X X X X X X
Register 0x3A9: RXFP Receive Byte Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RBYTE [15] RBYTE [14] RBYTE [13] RBYTE [12] RBYTE [11] RBYTE [10] RBYTE [9] RBYTE [8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
275
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3AA: RXFP Receive Byte Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RBYTE [23] RBYTE [22] RBYTE [21] RBYTE [20] RBYTE [19] RBYTE [18] RBYTE [17] RBYTE [16] Default X X X X X X X X
Register 0x3AB: RXFP Receive Byte Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RBYTE [31] RBYTE [30] RBYTE [29] RBYTE [28] RBYTE [27] RBYTE [26] RBYTE [25] RBYTE [24] Default X X X X X X X X
RBYTE[31:0] The RBYTE[31:0] bits indicate the number of received bytes written into the receive FIFO during the last accumulation interval. This counter does not count any byte from errored and aborted frames. A write to any one of the RXFP-50 Receive Byte Counter Registers loads the registers with the current counter value and resets the internal 24 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to the Receive Byte Counter Registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid for three RCLK cycles after a transfer is triggered by a write to any of the RXFP-50 Receive Frame Count Registers. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 03x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
276
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3AC: RXFP Receive Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RFRAME [7] RFRAME [6] RFRAME [5] RFRAME [4] RFRAME [3] RFRAME [2] RFRAME [1] RFRAME [0] Default X X X X X X X X
Register 0x3AD: RXFP Receive Frame Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RFRAME [15] RFRAME [14] RFRAME [13] RFRAME [12] RFRAME [11] RFRAME [10] RFRAME [9] RFRAME [8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
277
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3AE: RXFP Receive Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RFRAME [23] RFRAME [22] RFRAME [21] RFRAME [20] RFRAME [19] RFRAME [18] RFRAME [17] RFRAME [16] Default X X X X X X X X
RFRAME[23:0] The RFRAME[23:0] bits indicate the number of successfully received POS frames written into the receive FIFO after they are extracted from the SONET/SDH stream during the last accumulation interval. This counter does not count any errored and aborted frames. A write to any one of the RXFP-50 Receive Frame Counter Registers loads the registers with the current counter value and resets the internal 24 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to the Receive Frame Counter Registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid for three RCLK cycles after a transfer is triggered by a write to any of the RXFP-50 Receive Frame Count Registers. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 0x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
278
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3AF: RXFP Receive Aborted Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RABRF [7] RABRF [6] RABRF [5] RABRF [4] RABRF [3] RABRF [2] RABRF [1] RABRF [0] Default X X X X X X X X
Register 0x3B0: RXFP Receive Aborted Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RABRF [15] RABRF [14] RABRF [13] RABRF [12] RABRF [11] RABRF [10] RABRF [9] RABRF [8] Default X X X X X X X X
RABRF[15:0] The RABRF[15:0] bits indicate the number of aborted POS frames received and written into the receive FIFO during the last accumulation interval. This count only includes frames terminated with an abort flag. Frames that have a receive error such as length error, FIFO overrun error and FCS error are not included in this count. A write to any one of the RXFP-50 Receive Aborted Frame Counter Registers loads the registers with the current counter value and resets the internal 16 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to these registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three RCLK cycles after a transfer is triggered. Using the
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
279
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
TIP feature by writing to the Channel Reset and Monitoring Register (Register 03x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
280
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3B1: RXFP Receive FCS Error Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RFCSEF[7] RFCSEF[6] RFCSEF[5] RFCSEF[4] RFCSEF[3] RFCSEF[2] RFCSEF[1] RFCSEF[0] Default X X X X X X X X
Register 0x3B2: RXFP Receive FCS Error Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RFCSEF [15] RFCSEF [14] RFCSEF [13] RFCSEF [12] RFCSEF [11] RFCSEF [10] RFCSEF [9] RFCSEF [8] Default X X X X X X X X
RFCSEF[15:0] The RFCSEF[15:0] bits indicate the number of POS frames received with an FCS error and written into the receive FIFO during the last accumulation interval. A write to any one of the RXFP-50 Receive FCS Error Frame Counter Registers loads the registers with the current counter value and resets the internal 16 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to these registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three RCLK cycles after a transfer is triggered. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 03x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
281
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3B3: RXFP Receive Minimum Length Error Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RMINLF [7] RMINLF [6] RMINLF [5] RMINLF [4] RMINLF [3] RMINLF [2] RMINLF [1] RMINLF [0] Default X X X X X X X X
Register 0x3B4: RXFP Receive Minimum Length Error Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RMINLF [15] RMINLF [14] RMINLF [13] RMINLF [12] RMINLF [11] RMINLF [10] RMINLF [9] RMINLF [8] Default X X X X X X X X
RMINLF[15:0] The RMINLF[15:0] bits indicate the number of minimum packet length POS frames received and written into the receive FIFO during the last accumulation interval. A write to any one of the RXFP-50 Minimum Length Error Frame Counter Registers loads the registers with the current counter value and resets the internal 16 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to these registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three RCLK cycles after a transfer is
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
282
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
triggered. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 03x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
283
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3B5: RXFP Receive Maximum Length Error Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RMAXLF [7] RMAXLF [6] RMAXLF [5] RMAXLF [4] RMAXLF [3] RMAXLF [2] RMAXLF [1] RMAXLF [0] Default X X X X X X X X
Register 0x3B6: RXFP Receive Maximum Length Error Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function RMAXLF [15] RMAXLF [14] RMAXLF [13] RMAXLF [12] RMAXLF [11] RMAXLF [10] RMAXLF [9] RMAXLF [8] Default X X X X X X X X
RMAXLF[15:0] The RMAXLF[15:0] bits indicate the number of POS frames exceeding the maximum packet length that were received and written into the receive FIFO during the last accumulation interval. A write to any one of the RXFP-50 Receive Maximum Length Error Frame Counter Registers loads the registers with the current counter value and resets the internal 16 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to these registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three RCLK cycles after a
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
284
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
transfer is triggered. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 03x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
285
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C0: TXFP Interrupt Enable/Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TPRTYI The TPRTYI bit indicates if a parity error was detected on the TDAT system interface bus. When logic one, the TPRTYI bit indicates a parity error over the TDAT_S bus. This bit is cleared when this register is read. Odd or even parity is selected using the TPTYPE bit. TPRTYE The TPRTYE bit enables transmit parity interrupts. When set to logic one, parity errors are indicated on INT and TPRTYI. When set to logic zero, parity errors are indicated using bit TPRTYI but are not indicated on output INTB. FOVRI The FOVRI bit is set high when an attempt is made to write into the FIFO when it has already been filled-up. This is considered a system error. This bit is reset immediately after a read to this register. Overruns on the TXFP FIFO do not necessarily produce an aborted packet, just a stunted packet that has no indication of error FOVRE The FOVRE bit enables the generation of an interrupt due to an attempt to write the FIFO when it is already full. When FOVRE is set to logic one, the interrupt is enabled and cause FOVRI and the output INT to be asserted. When set to logic zero, FOVRI will be asserted but not INTB. Type R/W R R/W R R/W R R/W R Function Reserved FIFO_ERR FUDRE FUDRI FOVRE FOVRI TPRTYE TPRTYI Default 0 X 0 X 0 X 0 X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
286
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
FUDRI The FUDRI bit is set high when the FIFO underruns while reading packet data from the FIFO. This bit is reset immediately after a read to this register. FUDRE The FUDRE bit enables the generation of an interrupt due to a FIFO underrun. When FUDRE is set to logic one, the interrupt is enabled and causes FUDRI and the output INTB to be asserted. When set to logic zero, FUDRI will be asserted but not INTB. FIFO_ERR This bit is set to one when an ERROR is detected on the read side of the FIFO. This error can be caused by an abnormal sequence of SOP and EOP. This can normally be caused by a previous FIFO overrun or underrun condition. This bit is reset immediately after a read to this register. Reserved Reserved bits should be set to logic zero for proper operation.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
287
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C1: TXFP Configuration Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 FIFORST The FIFORST bit is used to reset the 256-byte transmit FIFO. When FIFORST is set to logic zero, the FIFO operates normally. When FIFORST is set to logic one, the FIFO is emptied of all octets (including the current packet being transmitted) and ignores writes. The FIFO remains empty and continues to ignore writes until a logic zero is written to FIFORST. Flags are transmitted until a subsequent packet is written to the FIFO. DSCR The DSCR bit controls the scrambling of the POS frames. When DSCR is a logic one, scrambling is enabled. When DSCR is a logic zero, payload scrambling is disabled. TPTYP The TPTYP bit selects even or odd parity for input TPRTY. When set to logic one, the TPRTY input must report even parity bit for the TDAT system interface bus. When set to logic zero, input TPRTY must report odd parity bit for the TDAT system interface bus. FCSSEL[1:0] The Frame Control Sequence select (FCSSEL[1:0]) bits control the FCS calculation according to the table below. The FCS is calculated over the whole packet data before byte stuffing and scrambling. Type R/W R/W R/W R/W R/W R/W R/W R/W Function XOFF TPAINV FCSERR FCSSEL[1] FCSSEL[0] TPTYP DSCR FIFORST Default 0 0 0 1 0 0 1 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
288
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
FCSSEL[1:0] 00 01 10 11 FCSERR
FCS Operation No FCS inserted CRC-CCITT (2 bytes) CRC-32 (4 bytes) Reserved
The FCSERR bit controls the insertion of FCS errors for diagnostic purposes. When FCSERR is set to logic one, if FCS insertion is enabled, the FCS octets are inverted prior to insertion in the POS frame. When FCSERR is set to logic zero, the FCS is inserted normally. TPAINV The TPAINV bit inverts the polarity of the TPA output signals. When TPAINV is a logic one, the polarity of TPA is inverted When TPAINV is a logic zero, TPA operates normally. XOFF The XOFF serves as a transmission enable bit. When XOFF is set to logic zero, POS frames are transmitted normally. When XOFF is set to logic one, the current frame being transmitted is completed and then POS frame transmission is suspended. When XOFF is asserted the FIFO still accepts data and can overflow. XOFF is provided to allow system debugging rather than flow control, which is better achieved using inter-packet gapping.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
289
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C2: TXFP Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TIL[3:0] The Transmit Initiation Level (TIL[3:0]) bits are used to determine when to initiate a POS frame transmission. After completing transmission of a packet, data transmission starts only when either there is a complete packet or the number of bytes stored in the FIFO exceeds the value of TIL[3:0] times 16. TIL[3:0] breaks the FIFO in 16 sections; for example a value of 0x4 correspond to a FIFO level of 64 bytes. The value of TIL must not be too small in order to prevent FIFO underruns when transmitting large packets. TIL must be set lower than the TPALWM for proper operation. Table 9: Transmit Initiation Level Values TIL[3:0] 0000 0001 0010 0011 0100 0101 0110 0111 IPGAP[3:0] The Inter Packet Gaping (IPGAP[3:0]) bits are used to program the number of Flag Sequence characters inserted between each POS Frame. The programmed value is encoded as indicated in Table 10. FIFO Fill Level 0 16 32 48 64 80 96 112 TIL[3:0] 1000 1001 1010 1011 1100 1101 1110 1111 FIFO Fill Level 128 144 160 176 192 208 224 240 Type R/W R/W R/W R/W R/W R/W R/W R/W Function IPGAP[3] IPGAP[2] IPGAP[1] IPGAP[0] TIL[3] TIL[2] TIL[1] TIL[0] Default 0 0 1 0 0 1 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
290
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Note: In the case of a one byte packet when the FCS insertion is disabled, the TXFP might not insert the correct number of inter packet flags. Although this is not a functional problem, PMC-Sierra recommends not sending one byte packets. Table 10: Inter Packet Gaping Values IPGAP[3:0] 0000 0001 0010 0011 0100 0101 0110 0111 Number of Flag 1 2 4 8 16 32 64 128 IPGAP[3:0] 1000 1001 1010 1011 1100 1101 1110 1111 Number of Flag 256 512 1024 2048 4096 8192 16384 32768
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
291
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C3: TXFP Transmit Packet Available Low Water Mark Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function TPALWM[7] TPALWM[6] TPALWM[5] TPALWM[4] TPALWM[3] TPALWM[2] TPALWM[1] TPALWM[0] Default 0 1 0 0 0 0 0 0
TPALWM[7:0] The Transmit FIFO Low Water Mark (TPALWM[7:0]) bits are used to generate the TPA outputs. TPA is set to logic one when the number of bytes stored in the FIFO is lower than TPALWM[7:0]. Together with TPAHWM[7:0], TPALWM[7:0] provides a hysteresis in the setting of TPA. For proper FIFO operation TPALWM[7:0] must be set to a value greater than zero (0x00 is not a valid value) and it must be smaller than 0xEA and smaller than TPAHWM[7:0].
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
292
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C4: TXFP Transmit Packet Available High Water Mark Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function TPAHWM [7] TPAHWM [6] TPAHWM [5] TPAHWM [4] TPAHWM [3] TPAHWM [2] TPAHWM [1] TPAHWM [0] Default 1 1 1 1 1 0 0 0
TPAHWM[7:0] The Transmit FIFO High Water Mark (TPAHWM[7:0]) bits are used to generate the TPA outputs. TPA is set to logic zero when the number of bytes stored in the FIFO exceeds TPAHWM[7:0]. Overruns on the TXFP FIFO can falsely assert. This occurs more frequently with watermarks greater that 0xF8. The TPAHWM value should be set lower than 0xF8 to avoid the problem. This value must be even smaller if the link layer device that interfaces with the S/UNI STAR samples the TPA value. Thus, a TPAHWM smaller than 0xF2 must be used for a five clock cycle latency between the TPA de-assertion and the de-selection of the channel. For proper operation, the following relation must be verified: (TILPROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
293
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C5: TXFP Transmit Byte Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TBYTE [7] TBYTE [6] TBYTE [5] TBYTE [4] TBYTE [3] TBYTE [2] TBYTE [1] TBYTE [0] Default X X X X X X X X
Register 0x3C6: TXFP Transmit Byte Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TBYTE [15] TBYTE [14] TBYTE [13] TBYTE [12] TBYTE [11] TBYTE [10] TBYTE [9] TBYTE [8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
294
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C7: TXFP Transmit Byte Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TBYTE [23] TBYTE [22] TBYTE [21] TBYTE [20] TBYTE [19] TBYTE [18] TBYTE [17] TBYTE [16] Default X X X X X X X X
Register 0x3C8: TXFP Transmit Byte Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TBYTE [31] TBYTE [30] TBYTE [29] TBYTE [28] TBYTE [27] TBYTE [26] TBYTE [25] TBYTE [24] Default X X X X X X X X
TBYTE[31:0] The TBYTE[31:0] bits indicate the number of bytes read from the transmit FIFO and transmitted during the last accumulation interval. This counter does not count bytes within aborted frames. A write to any one of the TXFP-50 Transmit Byte Counter Registers loads the registers with the current counter value and resets the internal 32 bit counter to 1 or 0. The counter reset value is dependent on if there was a count event during the transfer of the count to the Transmit Byte Counter Registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three TCLK cycles after a transfer is triggered by a write to any of the TXFP-50 Transmit Byte Count Registers. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 0x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
295
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The TXFP does not increment the Byte Counter (0xC5 to 0xC8) for packets at or larger than 64k. If sending these packets, the Byte Counter will remain zeroed and never saturate.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
296
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3C9: TXFP Transmit Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TFRAME [7] TFRAME [6] TFRAME [5] TFRAME [4] TFRAME [3] TFRAME [2] TFRAME [1] TFRAME [0] Default X X X X X X X X
Register 0x3CA: TXFP Transmit Frame Counter Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TFRAME [15] TFRAME [14] TFRAME [13] TFRAME [12] TFRAME [11] TFRAME [10] TFRAME [9] TFRAME [8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
297
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3CB: TXFP Transmit Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TFRAME [23] TFRAME [22] TFRAME [21] TFRAME [20] TFRAME [19] TFRAME [18] TFRAME [17] TFRAME [16] Default X X X X X X X X
TFRAME[23:0] The TFRAME[23:0] bits indicate the number of POS frames read from the transmit FIFO and inserted into the transmission stream during the last accumulation interval. This counter does not count aborted frames. A write to any one of the TXFP-50 Transmit Frame Counter Registers loads the registers with the current counter value and resets the internal 24 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to the Transmit Frame Counter Registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three TCLK cycles after a transfer is triggered by a write to any of the TXFP-50 Transmit Frame Count Registers. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 0x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
298
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3CC: TXFP Transmit User Aborted Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TUSRABF[7] TUSRABF[6] TUSRABF[5] TUSRABF[4] TUSRABF[3] TUSRABF[2] TUSRABF[1] TUSRABF[0] Default X X X X X X X X
Register 0x3CD: TXFP Transmit User Aborted Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TUSRABF[15] TUSRABF[14] TUSRABF[13] TUSRABF[12] TUSRABF[11] TUSRABF[10] TUSRABF[9] TUSRABF[8] Default X X X X X X X X
TUSRABF[15:0] The TUSRABF[15:0] bits indicate the number of user aborted POS frames read from the transmit FIFO and inserted into the transmission stream during the last accumulation interval. The user can abort frames by asserting TERR. A write to any one of the TXFP-50 Transmit User Aborted Frame Counter Registers loads the registers with the current counter value and resets the internal 16 bit counter to one or zero. The counter reset value is dependent on if there was a count event during the transfer of the count to these registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three TCLK cycles after a transfer is triggered. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 0x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
299
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3CE: TXFP Transmit FIFO Error Aborted Frame Counter (LSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TFERABF[7] TFERABF[6] TFERABF[5] TFERABF[4] TFERABF[3] TFERABF[2] TFERABF[1] TFERABF[0] Default X X X X X X X X
Register 0x3CF: TXFP Transmit FIFO Error Aborted Frame Counter (MSB) Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function TFERABF[15] TFERABF[14] TFERABF[13] TFERABF[12] TFERABF[11] TFERABF[10] TFERABF[9] TFERABF[8] Default X X X X X X X X
TFERABF[15:0] The TFERABF[15:0] bits indicate the number of FIFO error aborted POS frames read from the transmit FIFO and inserted into the transmission stream during the last accumulation interval. FIFO errors are caused when the FIFO runs empty and the last byte read was not an end-of-packet or also when the FIFO overruns and corrupts the EOP and SOP sequence. This is considered a system error and should not occur when the system works normally. This counter, along with the Transmit User Aborted counter, should account for all aborted packets being sent on the line. A write to any one of the TXFP-50 Transmit FIFO Error Aborted Frame Counter Registers loads the registers with the current counter value and resets the internal 16 bit counter to one or zero. The counter reset value is
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
300
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
dependent on if there was a count event during the transfer of the count to these registers. The counter should be polled every second to avoid saturating. The contents of these registers are valid three TCLK cycles after a transfer is triggered. Using the TIP feature by writing to the Channel Reset and Monitoring Register (Register 0x05) will also update the counters.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
301
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3D0: WANS Configuration Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Reserved Unused Unused Unused FORCEREAC AUTOREAC INTEN PHACOMPEN Default 0 X X X 0 0 0 0
PHACOMPEN The Phase Comparison Enable (PHACOMPEN) bit is used to enable the phase comparison process. Setting this bit to a logic one will enable the phase comparison process. When set to logic zero, the phase and reference period counters are kept in reset state, further disabling the WANS process. INTEN The Interrupt Enable (INTEN) bit controls the generation of the interrupt signal. When set to logic one, this bit allows the generation of an interrupt signal at the beginning of the phase detector averaging period. Setting this bit to logic zero disable the generation of the interrupts. AUTOREAC The Auto Reacquisition Mode Select (AUTOREAC) bit can be used to set the WANS to automatic phase reacquisition mode. When operating in this mode, the WANS will automatically align the phase sampling point toward the middle of the phase counter period upon detection of two consecutive phase samples located on each side of the phase counter wrap around value. The Phase Word Register will keep its previous value. FORCEREAC The Force Phase Reacquisition (FORCEREAC) bit can be used to force a phase reacquisition of the phase detector. A logic zero-to-logic one transition on this bit triggers a phase reacquisition sequence of the phase detector. Setting this bit to logic zero allows the phase detector to operate normally.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
302
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3D1: WANS Interrupt & Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TIMI The Timer Interrupt (TIMI) bit indicates a Timer Interrupt condition. This bit will be raised at the beginning of the phase detector averaging period. In addition of indicating the interrupt status, this bit can also be polled to implement synchronization of read access to the WANS Output Register. This interrupt can be masked using the INTEN bit of the configuration register. A read access to the Interrupt and Status Register resets the value of this bit. RPHALGN The Reference Phase Alignment (RPHALNG) bit indicates a reference phase alignment event. In normal operating mode, this bit remains logic zero. When a reference phase alignment occurs, this bit is set to logic one, indicating that the phase averaging process was aborted and that the value of the Phase Word Register is frozen to the previous valid value. This bit is reset to logic zero after the completion of a valid phase averaging cycle. R R Type Function Unused Unused Unused Unused Unused Unused RPHALGN TIMI Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
303
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3D2: WANS Phase Word [7:0] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function PHAWORD[7] PHAWORD[6] PHAWORD[5] PHAWORD[4] PHAWORD[3] PHAWORD[2] PHAWORD[1] PHAWORD[0] Default X X X X X X X X
Register 0x3D3: WANS Phase Word [15:8] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function PHAWORD[15] PHAWORD[14] PHAWORD[13] PHAWORD[12] PHAWORD[11] PHAWORD[10] PHAWORD[9] PHAWORD[8] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
304
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3D4: WANS Phase Word [23:16] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function PHAWORD[23] PHAWORD[22] PHAWORD[21] PHAWORD[20] PHAWORD[19] PHAWORD[18] PHAWORD[17] PHAWORD[16] Default X X X X X X X X
Register 0x3D5: WANS Phase Word [30:24] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R R R R R R R R Function Unused PHAWORD[30] PHAWORD[29] PHAWORD[28] PHAWORD[27] PHAWORD[26] PHAWORD[25] PHAWORD[24] X X X X X X X Default
PHAWORD[30:0] The Phase Word (PHAWORD[30:0]) bits are the output bus of the phase detector. This bus outputs the result of the phase count averaging function. Depending on the number of samples included in the averaging, from 0 to 15 of the LSB(s) of the PHAWORD bus may represent the fractional part of the average value while the 16 following bits hold the integer part. This value can be used to externally apply the PLL filtering function and bypass the digital loop filter block in the software.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
305
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3D9: WANS Reference Period [7:0] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function REFPER[7] REFPER[6] REFPER[5] REFPER[4] REFPER[3] REFPER[2] REFPER[1] REFPER[0] Default 0 0 0 0 0 0 0 0
Register 0x3DA: WANS Reference Period [15:8] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function REFPER[15] REFPER[14] REFPER[13] REFPER[12] REFPER[11] REFPER[10] REFPER[9] REFPER[8] Default 0 0 0 0 0 0 0 0
REFPER[15:0] The Reference Period REFPER[15:0] bits are used to program the timing reference period of the phase detector. These bits are used to set the end of count of the reference period counter. The reference period counter is reset on the next clock cycle following the detection of its end of count. The reference period counter counts (Nref) is equal to the REFPER value plus one.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
306
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3DB: WANS Phase Counter Period[7:0] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function PHCNTPER[7] PHCNTPER[6] PHCNTPER[5] PHCNTPER[4] PHCNTPER[3] PHCNTPER[2] PHCNTPER[1] PHCNTPER[0] Default 0 0 0 0 0 0 0 0
Register 0x3DC: WANS Phase Counter Period[15:8] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function PHCNTPER[15] PHCNTPER[14] PHCNTPER[13] PHCNTPER[12] PHCNTPER[11] PHCNTPER[10] PHCNTPER[9] PHCNTPER[8] Default 0 0 0 0 0 0 0 0
PHCNTPER[15:0] The Phase Counter Period (PHCNTPER15:0]) bits are used to program the phase counter period of the phase detector. These bits are used to set the end of count of the phase counter. The phase counter is reset on the next clock cycle following the detection of its end of count. The phase counter count (Nphcnt) is equal to the PHCNTPER value plus one. For the system to operate properly, Nphcnt needs to be greater than 1023.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
307
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3DD: WANS Phase Average Period [3:0] Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Unused Unused Unused Unused AVGPER[3] AVGPER[2] AVGPER[1] AVGPER[0] Default X X X X 0 0 0 0
AVGPER[3:0] The Phase Average Period (AVDPER[3.0]) bits are used to set the number of consecutive valid Phase Samples accumulated together to form the Phase Word. The number of samples is expressed as a power of 2, for example: NAVG = 2exp(AVGPER) To avoid abnormal behavior of the WANS, the AVGPER value should be programmed into the WANS prior to enabling the phase comparison process (setting the PHACOMPEN bit to logic one).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
308
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3E0: RASE Interrupt Enable Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SDBERE The SDBERE bit is the interrupt enable for the signal degrade threshold alarm. When SDBERE is a logic one, an interrupt is generated when the SD alarm is declared or removed. SFBERE The SFBERE bit is the interrupt enable for the signal fail threshold alarm. When SFBERE is a logic one, an interrupt is generated when the SF alarm is declared or removed. Z1/S1E The Z1/S1 interrupt enable is an interrupt mask for changes in the received synchronization status. When Z1/S1E is a logic one, an interrupt is generated when a new synchronization status message is extracted into the Receive Z1/S1 Register. COAPSE The COAPS interrupt enable is an interrupt mask for changes in the received APS code. When COAPSE is a logic one, an interrupt is generated when a new K1/K2 code value is extracted into the RASE Receive K1 and RASE Receive K2 Registers. PSBFE The PSBF interrupt enable is an interrupt mask for protection switch byte failure alarms. When PSBFE is a logic one, an interrupt is generated when PSBF is declared or removed. Type R/W R/W R/W R/W R/W R/W R/W R/W Function PSBFE COAPSE Z1/S1E SFBERE SDBERE Unused Unused Unused Default 0 0 0 0 0 X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
309
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3E1: RASE Interrupt Status Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PSBFV The PSBFV bit indicates the protection switching byte failure alarm state. The alarm is declared (PSBFV is set high) when twelve successive frames have been received without three consecutive frames containing identical K1 bytes. The alarm is removed (PSBFV is set low) when three consecutive frames containing identical K1 bytes have been received. SDBERV The SDBERV bit indicates the signal degrade threshold crossing alarm state. The alarm is declared (SDBERV is set high) when the bit error rate exceeds the threshold programmed in the RASE SD Declaring Threshold Registers. The alarm is removed (SDBERV is set low) when the bit error rate is below the threshold programmed in the RASE SD Clearing Threshold Registers. SFBERV The SFBERV bit indicates the signal failure threshold crossing alarm state. The alarm is declared (SFBERV is set high) when the bit error rate exceeds the threshold programmed in the RASE SF Declaring Threshold Registers. The alarm is removed (SFBERV is set low) when the bit error rate is below the threshold programmed in the RASE SF Clearing Threshold Registers. SDBERI The SDBERI bit is set high when the signal degrade threshold crossing alarm is declared or removed. This bit is cleared when the RASE Interrupt Status Register is read. Type R R R R R R R R Function PSBFI COAPSI Z1/S1I SFBERI SDBERI SFBERV SDBERV PSBFV Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
310
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
SFBERI The SFBERI bit is set high when the signal failure threshold crossing alarm is declared or removed. This bit is cleared when the RASE Interrupt Status Register is read. Z1/S1I The Z1/S1I bit is set high when a new synchronization status message is extracted into the RASE Receive Z1/S1 Register. This bit is cleared when the RASE Interrupt Status Register is read. COAPSI The COAPSI bit is set high when a new APS code value is extracted into the RASE Receive K1 and RASE Receive K2 Registers. This bit is cleared when the RASE Interrupt Status Register is read. PSBFI The PSBFI bit is set high when the protection switching byte failure alarm is declared or removed. This bit is cleared when the RASE Interrupt Status Register is read.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
311
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3E2: RASE Configuration/Control Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 S1_BYTE The S1_BYTE Register bit selects if S1 is treated as a nibble or a complete byte. When S1_BYTE is logic zero, only the S1 nibble is used for filtering. When S1_BYTE is logic one, the whole byte is used for filtering. In both cases the whole S1 byte is extracted. SDCMODE The SDCMODE alarm bit selects the RASE window size to use for clearing the SD alarm. When SDCMODE is a logic zero the RASE clears the SD alarm using the same window size used for declaration. When SDCMODE is a logic one the RASE clears the SD alarm using a window size that is eight times longer than the alarm declaration window size. The declaration window size is determined by the RASE SD Accumulation Period Registers. SDSMODE The SDSMODE bit selects the RASE saturation mode. When SDSMODE is a logic zero the RASE limits the number of B2 errors accumulated in one frame period to the RASE SD Saturation Threshold Register value. When SDSMODE is a logic one the RASE limits the number of B2 errors accumulated in one window subtotal accumulation period to the RASE SD Saturation Threshold Register value. Note that the number of frames in a window subtotal accumulation period is determined by the RASE SD Accumulation Period Register value. SDBERTEN The SDBERTEN bit selects automatic monitoring of line bit error rate threshold events by the RASE. When SDBERTEN is a logic one, the RASE
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 312
Type R/W R/W R/W R/W R/W R/W R/W R/W
Function Z1/S1_CAP SFBERTEN SFSMODE SFCMODE SDBERTEN SDSMODE SDCMODE S1_BYTE
Default 0 0 0 0 0 0 0 0
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
continuously monitors line BIP errors over a period defined in the RASE configuration registers. When SDBERTEN is a logic zero, the RASE BIP accumulation logic is disabled, and the RASE logic is reset to the declaration monitoring state. All RASE accumulation period and threshold registers should be set up before SDBERTEN is written. SFCMODE The SFCMODE alarm bit selects the RASE window size to use for clearing the SF alarm. When SFCMODE is a logic zero the RASE clears the SF alarm using the same window size used for declaration. When SFCMODE is a logic one, the RASE clears the SF alarm using a window size that is eight times longer than the alarm declaration window size. The declaration window size is determined by the RASE SF Accumulation Period Registers. SFSMODE The SFSMODE bit selects the RASE saturation mode. When SFSMODE is a logic zero the RASE limits the number of B2 errors accumulated in one frame period to the RASE SF Saturation Threshold Register value. When SFSMODE is a logic one, the RASE limits the number of B2 errors accumulated in one window subtotal accumulation period to the RASE SF Saturation Threshold Register value. Note that the number of frames in a window subtotal accumulation period is determined by the RASE SF Accumulation Period Register value. SFBERTEN The SFBERTEN bit enables automatic monitoring of line bit error rate threshold events by the RASE. When SFBERTEN is a logic one, the RASE continuously monitors line BIP errors over a period defined in the RASE configuration registers. When SFBERTEN is a logic zero, the RASE BIP accumulation logic is disabled, and the RASE logic is reset to the declaration monitoring state. All RASE accumulation period and threshold registers should be set up before SFBERTEN is written. Z1/S1_CAP The Z1/S1_CAP bit enables the Z1/S1 Capture algorithm. When Z1/S1_CAP is a logic one, the Z1/S1 clock synchronization status message nibble must have the same value for eight consecutive frames before writing the new value into the RASE Receive Z1/S1 Register. When Z1/S1_CAP is logic zero, the Z1/S1 nibble value is written directly into the RASE Receive Z1/S1 Register.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
313
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3E3: RASE SF Accumulation Period Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SFSAP[7] SFSAP[6] SFSAP[5] SFSAP[4] SFSAP[3] SFSAP[2] SFSAP[1] SFSAP[0] Default 0 0 0 0 0 0 0 0
Register 0x3E4: RASE SF Accumulation Period Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SFSAP[15] SFSAP[14] SFSAP[13] SFSAP[12] SFSAP[11] SFSAP[10] SFSAP[9] SFSAP[8] Default 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
314
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3E5: RASE SF Accumulation Period Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SFSAP[23] SFSAP[22] SFSAP[21] SFSAP[20] SFSAP[19] SFSAP[18] SFSAP[17] SFSAP[16] Default 0 0 0 0 0 0 0 0
SFSAP[23:0] The SFSAP[23:0] bits represent the number of 8 KHz frames used to accumulate the B2 error subtotal. The total evaluation window amount to declare the SF alarm is broken into eight subtotals, so this register value represents 1/8 of the total sliding window size. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
315
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3E6: RASE SF Saturation Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SFSTH[7] SFSTH[6] SFSTH[5] SFSTH[4] SFSTH[3] SFSTH[2] SFSTH[1] SFSTH[0] Default 0 0 0 0 0 0 0 0
Register 0x3E7: RASE SF Saturation Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Unused Unused Unused Unused SFSTH[11] SFSTH[10] SFSTH[9] SFSTH[8] Default X X X X 0 0 0 0
SFSTH[11:0] The SFSTH[11:0] value represents the allowable number of B2 errors that can be accumulated during an evaluation window before an SF threshold event is declared. Setting this threshold to 03xFFF disables the saturation functionality. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
316
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3E8: RASE SF Declaring Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SFDTH[7] SFDTH[6] SFDTH[5] SFDTH[4] SFDTH[3] SFDTH[2] SFDTH[1] SFDTH[0] Default 0 0 0 0 0 0 0 0
Register 0x3E9: RASE SF Declaring Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Unused Unused Unused Unused SFDTH[11] SFDTH[10] SFDTH[9] SFDTH[8] Default X X X X 0 0 0 0
SFDTH[11:0] The SFDTH[11:0] value determines the threshold for the declaration of the SF alarm. The SF alarm is declared when the number of B2 errors accumulated during an evaluation window is greater than or equal to the SFDTH[11:0] value. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
317
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3EA: RASE SF Clearing Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SFCTH[7] SFCTH[6] SFCTH[5] SFCTH[4] SFCTH[3] SFCTH[2] SFCTH[1] SFCTH[0] Default 0 0 0 0 0 0 0 0
Register 0x3EB: RASE SF Clearing Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Unused Unused Unused Unused SFCTH[11] SFCTH[10] SFCTH[9] SFCTH[8] Default X X X X 0 0 0 0
SFCTH[11:0] The SFCTH[11:0] value determines the threshold for the removal of the SF alarm. The SF alarm is removed when the number of B2 errors accumulated during an evaluation window is less than the SFCTH[11:0] value. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
318
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3EC: RASE SD Accumulation Period Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SDSAP[7] SDSAP[6] SDSAP[5] SDSAP[4] SDSAP[3] SDSAP[2] SDSAP[1] SDSAP[0] Default 0 0 0 0 0 0 0 0
Register 0x3ED: RASE SD Accumulation Period Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SDSAP[15] SDSAP[14] SDSAP[13] SDSAP[12] SDSAP[11] SDSAP[10] SDSAP[9] SDSAP[8] Default 0 0 0 0 0 0 0 0
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
319
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3EE: RASE SD Accumulation Period Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SDSAP[23] SDSAP[22] SDSAP[21] SDSAP[20] SDSAP[19] SDSAP[18] SDSAP[17] SDSAP[16] Default 0 0 0 0 0 0 0 0
SDSAP[23:0] The SDSAP[23:0] bits represent the number of 8 KHz frames used to accumulate the B2 error subtotal. The total evaluation window amount to declare the SD alarm is broken into eight subtotals, so this register value represents 1/8 of the total sliding window size. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
320
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3EF: RASE SD Saturation Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SDSTH[7] SDSTH[6] SDSTH[5] SDSTH[4] SDSTH[3] SDSTH[2] SDSTH[1] SDSTH[0] Default 0 0 0 0 0 0 0 0
Register 0x3F0: RASE SD Saturation Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Unused Unused Unused Unused SDSTH[11] SDSTH[10] SDSTH[9] SDSTH[8] Default X X X X 0 0 0 0
SDSTH[11:0] The SDSTH[11:0] value represents the allowable number of B2 errors that can be accumulated during an evaluation window before an SD threshold event is declared. Setting this threshold to 03xFFF disables the saturation functionality. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
321
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3F1: RASE SD Declaring Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SDDTH[7] SDDTH[6] SDDTH[5] SDDTH[4] SDDTH[3] SDDTH[2] SDDTH[1] SDDTH[0] Default 0 0 0 0 0 0 0 0
Register 0x3F2: RASE SD Declaring Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Unused Unused Unused Unused SDDTH[11] SDDTH[10] SDDTH[9] SDDTH[8] Default X X X X 0 0 0 0
SDDTH[11:0] The SDDTH[11:0] value determines the threshold for the declaration of the SD alarm. The SD alarm is declared when the number of B2 errors accumulated during an evaluation window is greater than or equal to the SDDTH[11:0] value. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
322
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3F3: RASE SD Clearing Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Type R/W R/W R/W R/W R/W R/W R/W R/W Function SDCTH[7] SDCTH[6] SDCTH[5] SDCTH[4] SDCTH[3] SDCTH[2] SDCTH[1] SDCTH[0] Default 0 0 0 0 0 0 0 0
Register 0x3F4: RASE SD Clearing Threshold Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R/W R/W R/W R/W Type Function Unused Unused Unused Unused SDCTH[11] SDCTH[10] SDCTH[9] SDCTH[8] Default X X X X 0 0 0 0
SDCTH[11:0] The SDCTH[11:0] value determines the threshold for the removal of the SD alarm. The SD alarm is removed when the number of B2 errors accumulated during an evaluation window is less than the SDCTH[11:0] value. Refer to the OPERATION section of this document for the recommended settings.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
323
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3F5: RASE Receive K1 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 K1[7:0] The K1[7:0] bits contain the current K1 code value. The contents of this register are updated when a new K1 code value (different from the current K1 code value) is received for three consecutive frames. An interrupt may be generated when a new code value is received (using the COAPSE bit in the RASE Interrupt Enable Register.) K1[7] is the most significant bit corresponding to bit 1, the first bit received. K1[0] is the least significant bit, corresponding to bit 8, the last bit received. Type R R R R R R R R Function K1[7] K1[6] K1[5] K1[4] K1[3] K1[2] K1[1] K1[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
324
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3F6: RASE Receive K2 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 K2[7:0] The K2[7:0] bits contain the current K2 code value. The contents of this register are updated when a new K2 code value (different from the current K2 code value) is received for three consecutive frames. An interrupt may be generated when a new code value is received (using the COAPSE bit in the RASE Interrupt Enable Register.) K2[7] is the most significant bit corresponding to bit 1, the first bit received. K2[0] is the least significant bit, corresponding to bit 8, the last bit received. Type R R R R R R R R Function K2[7] K2[6] K2[5] K2[4] K2[3] K2[2] K2[1] K2[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
325
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x3F7: RASE Receive Z1/S1 Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Z1/S1[3:0] The lower nibble of the first Z1/S1 byte contained in the receive stream is extracted into this register. The Z1/S1 byte is used to carry synchronization status messages between line terminating network elements. Z1/S1[3] is the most significant bit corresponding to bit 5, the first bit received. Z1/S1[0] is the least significant bit, corresponding to bit 8, the last bit received. An interrupt may be generated when a byte value is received that differs from the value extracted in the previous frame (using the Z1/S1E bit in the RASE Interrupt Enable Register.) In addition, debouncing can be performed where the register is not loaded until eight of the same consecutive nibbles are received. Debouncing is controlled using the Z1/S1_CAP bit in the RASE Configuration/Control Register. Z1/S1[7:4] The upper nibble of the first Z1/S1 byte contained in the receive stream is extracted into this register. No interrupt is asserted on the change of this nibble. In addition, when the Z1/S1_CAP bit in the RASE Configuration/Control Register selects debouncing, the upper nibble is only updated when eight of the same consecutive lower nibbles are received. Type R R R R R R R R Function Z1/S1 7] Z1/S1[6] Z1/S1[5] Z1/S1[4] Z1/S1[3] Z1/S1[2] Z1/S1[1] Z1/S1[0] Default X X X X X X X X
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
326
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
13 TEST FEATURES DESCRIPTION Simultaneously asserting (low) the CSB, RDB, and WRB inputs causes all the digital output pins and the data bus to be held in a high-impedance state. This test feature may be used for board testing. Test mode registers are used to apply test vectors during production testing of the S/UNI-STAR. Test mode registers (as opposed to normal mode registers) are selected when TRS (A[10]) is high. Test mode registers may also be used for board testing. When all of the TSBs within the S/UNI-STAR are placed in test mode zero, device inputs may be read and device outputs may be forced via the microprocessor interface (refer to the section "Test Mode 0" for details.) In addition, the S/UNI-STAR supports a standard IEEE 1149.1 five-signal JTAG boundary scan test port for use in board testing. All digital device inputs may be read and all digital device outputs may be forced by the JTAG test port. Table 11: Test Mode Register Memory Map Address 0x000-0x3FF 0x400 0x401-0x7FF 13.1 Master Test Register Notes on Test Mode Register Bits: 1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence, unused register bits should be masked off by software when read. 2. Writable test mode register bits are not initialized upon reset unless otherwise noted. Register Normal Mode Registers Master Test Register Reserved For Test
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
327
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x400: Master Test Bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 W W W W R/W W R/W Type Function Unused Reserved PMCATST PMCTST DBCTRL IOTST HIZDATA HIZIO Default X X X X 0 0 0 0
This register is used to enable the S/UNI-STAR test features. All bits, except PMCTST, PMCATST, and BYPASS are reset to zero by a reset of the S/UNI-STAR using either the RSTB input or the Master Reset Register. PMCTST and BYPASS are reset when CSB is logic one. PMCATST is reset when both CSB is high and RSTB is low. PMCTST, PMCATST, and BYPASS can also be reset by writing a logic zero to the corresponding register bit. HIZIO, HIZDATA The HIZIO and HIZDATA bits control the tri-state modes of the S/UNI-STAR . While the HIZIO bit is a logic one, all output pins of the S/UNI-STAR, except the data bus and output TDO, are held in tri-state. The microprocessor interface is still active. While the HIZDATA bit is a logic one, the data bus is also held in a high-impedance state which inhibits microprocessor read cycles. The HIZDATA bit is overridden by the DBCTRL bit. IOTST The IOTST bit is used to allow normal microprocessor access to the test registers and control the test mode in each TSB block in the S/UNI-STAR for board level testing. When IOTST is a logic one, all blocks are held in test mode and the microprocessor may write to a block's test mode zero registers to manipulate the outputs of the block and, consequentially, the device outputs (refer to the "Test Mode 0 Details" in the "Test Features" section).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
328
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
DBCTRL The DBCTRL bit is used to pass control of the data bus drivers to the CSB pin. When the DBCTRL bit is set to logic one and either IOTST or PMCTST are logic one, the CSB pin controls the output enable for the data bus. While the DBCTRL bit is set, holding the CSB pin high causes the S/UNI-STAR to drive the data bus and holding the CSB pin low tri-states the data bus. The DBCTRL bit overrides the HIZDATA bit. The DBCTRL bit is used to measure the drive capability of the data bus driver pads. PMCTST The PMCTST bit is used to configure the S/UNI-STAR for PMC-Sierra's manufacturing tests. When PMCTST is set to logic one, the S/UNI-STAR microprocessor port becomes the test access port used to run the PMC "canned" manufacturing test vectors. The PMCTST bit is logically "OR'ed" with the IOTST bit, and can be cleared by setting CSB to logic one or by writing logic zero to the bit. PMCATST The PMCATST bit is used to configure the analog portion of the S/UNI-STAR for PMC-Sierra's manufacturing tests. Reserved The reserved bit must be programmed to logic one for proper operation. 13.2 JTAG Test Port The S/UNI-STAR JTAG Test Access Port (TAP) allows access to the TAP controller and the four TAP Registers: instruction, bypass, device identification, and boundary scan. Using the TAP, device input logic levels can be read, device outputs can be forced, the device can be identified, and the device scan path can be bypassed. For more details on the JTAG port, please refer to the OPERATION section of this document. Table 12: Instruction Register (Length - 3 bits) Instructions EXTEST IDCODE SAMPLE Selected Register Boundary Scan Identification Boundary Scan Instruction Codes, IR[2:0] 000 001 010
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
329
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Instructions BYPASS BYPASS STCTEST BYPASS BYPASS
Selected Register Bypass Bypass Boundary Scan Bypass Bypass
Instruction Codes, IR[2:0] 011 100 101 110 111
Table 13: Identification Register Length Version number Part Number Manufacturer's identification code Device identification 32 bits 0H 5352H 0CDH 053520CDH
Table 14: Boundary Scan Register (Length - 155 bits) PIN/ENABLE N/C N/C N/C RALRM RDAT[0] RDAT[1] RDAT[2] RDAT[3] RDAT[4] RDAT[5] RDAT[6] REG. BIT 154 153 152 151 150 149 148 147 146 145 144 T T T T T T T T T T T CELL TYPE 1 0 1 1 0 0 1 1 0 0 0 ID CONTROL HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
330
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE RDAT[7] RDAT[8] RDAT[9] RDAT[10] RDAT[11] RDAT[12] RDAT[13] RDAT[14] RDAT[15] RPRTY Vdd Vdd RADR[0] RADR[1] RADR[2] RFCLK RENB RVAL REOP RERR RSOC_RSOP N/C N/C N/C DTCA_DTPA RCA_PRPA N/C N/C
REG. BIT 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 T T T T T T T T T T I I I I I I I T T T T T T T T T T T
CELL TYPE 0 1 0 0 0 1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0
ID
CONTROL RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB
RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB RCA_PRPA_OEB HIZ_OEB HIZ_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
331
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE N/C DRCA_DRPA TCA_PTPA TFCLK TENB TSOC_TSOP TPRTY Vdd Vdd TADR[0] TADR[1] TADR[2] TMOD TDAT[0] TDAT[1] TDAT[2] TDAT[3] TDAT[4] TDAT[5] TDAT[6] TDAT[7] TDAT[8] TDAT[9] TDAT[10] TDAT[11] TDAT[12] TDAT[13] TDAT[14]
REG. BIT 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 T T T I I I I I I I I I I I I I I I I I I I I I I I I I
CELL TYPE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID
CONTROL HIZ_OEB HIZ_OEB TCA_PTPA_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
332
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE TDAT[15] STPA STPA_OEB TEOP TERR PHY_OEN D_OEB[0] D[0] D_OEB[1] D[1] D_OEB[2] D[2] D_OEB[3] D[3] D_OEB[4] D[4] D_OEB[5] D[5] D_OEB[6] D[6] D_OEB[7] D[7] A[0] A[1] A[2] A[3] A[4] A[5]
REG. BIT 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 I T E I I I E B E B E B E B E B E B E B E B I I I I I I
CELL TYPE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID
CONTROL
STPA_OEB
D_OEB[0] D_OEB[1] D_OEB[2] D_OEB[3] D_OEB[4] D_OEB[5] D_OEB[6] D_OEB[7]
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
333
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE A[6] A[7] A[8] A[9] A[10] CSB ALE RDB WRB RSTB INTB HIZ_OEB
REG. BIT 59 58 57 56 55 54 53 52 51 50 49 48 I I I I I I I I I I O E E E E I I I I I I I I I I T
CELL TYPE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID
CONTROL
RX_UTOPIA_O 47 EB TCA_PTPA_OE 46 B RCA_PRPA_OE 45 B TFPI REFCLK Vss Vss Vss TSD Vss Vss Vss TLD N/C 44 43 42 41 40 39 38 37 36 35 34
HIZ_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
334
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE N/C N/C TSDCLK N/C N/C N/C TLDCLK TFPO TCLK N/C N/C N/C RFPO N/C N/C N/C RCLK N/C N/C N/C RLD N/C N/C N/C RSD N/C N/C N/C
REG. BIT 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 T T T T T T T T T T T T T T T T T T T T T T T T T T T T
CELL TYPE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID
CONTROL HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
335
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE RLDCLK N/C N/C N/C RSDCLK RMOD NOTES:
REG. BIT 5 4 3 2 1 0 T T T T T T
CELL TYPE 0 0 0 0 0 0
ID
CONTROL HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB RX_UTOPIA_OEB
1. N/C specifies a BSC that is present but not bonded out to a package pin. 2. Vdd and Vss specify BSCs that are connected to device pins which are permanently tied to Vdd and Vss respectively. 3. D_OENB[7:0] is the active low output enable for D[7:0]. 4. RX_UTOPIA_OEB is the active low output enable for RSOC/RSOP, RDAT[15:0], RXPRTY, RMOD, RERR, RVAL. 5. TCA_PTPA_OEB is the active low output enable for TCA/PTPA. 6. RCA_PRPA_OEB is the active low output enable for RCA/PRPA. 7. STPA_OEB is the active low output enable for STPA. 8. When set high, INTB will be set to high impedance. 9. HIZ_OEB is the active low output enable for all OUT_CELL types except those listed above. 10. A[7] is the first bit of the boundary scan chain.
13.2.1 Boundary Scan Cells In the following diagrams, CLOCK-DR is equal to TCK when the current controller state is SHIFT-DR or CAPTURE-DR, and unchanging otherwise. The multiplexer in the center of the diagram selects one of four inputs, depending on
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
336
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
the status of select lines G1 and G2. The ID Code bit is as listed in the Boundary Scan Register, located above in Table 13. Figure 14: Input Observation Cell (IN_CELL)
IDCODE Scan Chain Out INPUT to internal logic
Input Pad
G1 G2 SHIFT-DR
I.D. Code bit CLOCK-DR
12 1 2 MUX 12 12
Scan Chain In
D C
Figure 15: Output Cell (OUT_CELL)
Scan Chain Out EXTEST Output or Enable from system logic IDOODE SHIFT-DR
G1 1 G1 G2 1 1 1 1 2 2 MUX 2 2 1
OUTPUT or Enable
MUX
D C
D C
I.D. code bit CLOCK-DR UPDATE-DR
Scan Chain In
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
337
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 16: Bidirectional Cell (IO_CELL)
Scan Chain Out
EXTEST OUTPUT from internal logic IDCODE SHIFT-DR INPUT from pin I.D. code bit CLOCK-DR UPDATE-DR Scan Chain In
G1 1 G1 G2 12 1 2 MUX 12 12 1
INPUT to internal logic
MUX
OUTPUT to pin
D C
D C
Figure 17: Layout of Output Enable and Bidirectional Cells Scan Chain Out OUTPUT ENABLE from internal logic (0 = drive) INPUT to internal logic OUTPUT from internal logic
OUT_CELL
IO_CELL
I/O PAD
Scan Chain In
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
338
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14 OPERATION 14.1 SONET/SDH Frame Mappings and Overhead Byte Usage 14.1.1 ATM Mapping The S/UNI-STAR processes the ATM cell mapping for STS-3c (STM-1) as shown below in Figure 18. The S/UNI-STAR processes the transport and path overhead required to support ATM UNIs and NNIs. Additionally, the S/UNI-STAR supports the APS bytes and the data communication channels and fully controls and observes the transport and path overhead bytes through register access. In Figure 18, the STS-3c (STM-1) mapping is shown. In this mapping, no stuff columns are included in the SPE. The entire SPE is used for ATM cells. Figure 18: ATM Mapping into the STS-3c (STM-1) SPE
270 bytes 9 bytes
Sec tio n Overh ead (R egen. Sec tio n) Pointer
261 bytes
J1 B3 C2 G1
ATM Cell
Line Overh ead (M u ltiplex Sec tio n)
ATM Cell
H4
9 bytes
ATM Cell
ATM Cell
STS -3c Transport O v erhead STM -1 Section O v erhead
A1 A1 A1 A2 A2 A2 B1 D1 D2 D3 J0 Z0 Z0
H1 H1 H1 H2 H2 H2 H3 H3 H3 B2 B2 B2 K1 D4 D7 D10 S1 D5 D8 D11 K2 D6 D9 D12 M1 E2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
339
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.1.2 Packet over SONET/SDH Mapping The S/UNI-STAR processes the Packet over SONET mapping for STS-3c (STM-1) as shown below in Figure 19. The S/UNI-STAR processes the transport and path overhead required to support Packet over SONET/SDH applications. Additionally, the S/UNI-STAR supports the APS bytes and the data communication channels and fully controls and observes the transport and path overhead bytes through register access. In Figure 19, the STS-3c (STM-1) mapping is shown. In this mapping, the entire SPE is used for POS Frames. Figure 19: POS Mapping into the STS-3c (STM-1) SPE
270 by tes 9 byte s
Section O verhead (Regen. Section) Pointer
261 by tes
J1 B3 C2 G1
PO S Fram e
PO S Fram e
Line O verhead (M ultip lex Section) H4
9 byte s
PO S Fram e
ST S-3c Transp ort O ve rhead ST M -1 Section Ov erhead
A1 A1 A 1 A 2 A2 A2 B1 D1 D2 D3 J0 Z0 Z0
H1 H1 H 1 H 2 H 2 H 2 H 3 H 3 H3 B2 B2 B 2 K 1 D4 D7 D10 S1 D5 D8 D 11 K2 D6 D9 D 12 M 1 E2
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
340
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.1.3 Transport and Path Overhead Bytes Under normal operating conditions, the S/UNI-STAR processes a subset of the complete transport overhead that is present in an STS-3c (STM-1) stream. The byte positions processed by the S/UNI-STAR are indicated in Figure 20. Figure 20: STS-3c (STM-1) Overhead
A1 B1 D1 H1 B2 D4 D7 D 10 S1 H1 B2 H1 B2 D2 H2 K1 D5 D8 D 11 M1 H2 H2 D3 H3 K2 D6 D9 D 12 H4 H3 H3 A1 A1 A2 A2 A2 J0 Z0 Z0 J1 B3 C2 G1
TRANSPORT OVERHEAD SOH
PATH OVERHEAD POH
Transport Overhead Bytes A1, A2: J0 Z0: B1: The frame alignment bytes (A1, A2) locate the SONET/SDH frame in the STS-3c (STM-1) serial stream. The J0 byte is currently defined as the STS-3c (STM-1) section trace byte for SONET/SDH. J0 byte is not scrambled by the frame synchronous scrambler. The Z0 bytes are currently defined as the STS-3c (STM-1) section growth bytes for SONET/SDH. Z0 bytes are not scrambled by the frame synchronous scrambler. The section bit interleaved parity byte provides a section error monitoring function.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
341
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
D1 - D3: H1, H2: H3:
B2: K1, K2:
D4 - D12: S1:
M1:
The section data communications channel provides a 192 Kbit/s data communications channel for network element-to-network element communications. The pointer value bytes locate the path overhead column in the SONET/SDH frame. The pointer action bytes contain synchronous payload envelope data when a negative stuff event occurs. The all-zeros pattern is inserted in the transmit direction. This byte is ignored in the receive direction unless a negative stuff event is detected. The line bit interleaved parity bytes provide a line error monitoring function. The K1 and K2 bytes provide the automatic protection switching channel. The K2 byte is also used to identify line layer maintenance signals. Line RDI is indicated when bits 6, 7, and 8 of the K2 byte are set to the pattern '110'. Line AIS is indicated when bits 6, 7, and 8 of the K2 byte are set to the pattern '111'. The line data communications channel provides a 576 Kbit/s data communications channel for network element to network element communications. The S1 byte provides the synchronization status byte. Bits 5 through 8 of the synchronization status byte identifies the synchronization source of the STS-3c (STM-1) signal. Bits 1 through 4 are currently undefined. The M1 byte is located in the third STS-1 locations of a STS-3c (STM-1) and provides a line far end block error function for remote performance monitoring.
Path Overhead Bytes J1: The Path Trace byte is used to repetitively transmit a 64-byte CLLI message (for SONET networks), or a 16-byte E.164 address (for SDH networks). When not used, this byte should be set to transmit continuous null characters. Null is defined as the ASCII code, 0x00. The path bit interleaved parity byte provides a path error monitoring function. The path signal label indicator identifies the equipped payload type. For ATM payloads, the identification code is 0x13: For Packet over SONET/SDH (including X43 + 1 payload scrambling), the identification code is 0x16. The path status byte provides a path FEBE function, and a path remote defect indication function. Three bits are allocated for remote defect indications: bit 5 (the path RDI bit), bit 6 (the
B3: C2:
G1:
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
342
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
auxiliary path RDI bit), and bit 7 (the enhanced RDI bit). Taken together these bits provide a eight state path RDI code that can be used to categorize path defect indications. H4: The multiframe indicator byte is a payload specific byte, and is not used for ATM payloads. This byte is forced to 0x00 in the transmit direction, and is ignored in the receive direction.
14.2 ATM Cell Data Structure ATM cells may be passed to/from the S/UNI-STAR using a twenty-seven word, 16-bit Utopia level 2 compliant data structure. This data structure is shown in Figure 21. Figure 21: 16-bit Wide, 27 Word ATM Cell Structure Bit 15 Word 1 Word 2 Word 3 Word 4 Word 5 Word 6 H1 H3 H5 PAYLOAD1 PAYLOAD3 PAYLOAD5 Bit 8 Bit 7 H2 H4
HCS STATUS/CONTROL
Bit 0
PAYLOAD2 PAYLOAD4 PAYLOAD6
Word 27
PAYLOAD47
PAYLOAD48
Bit 15 of each word is the most significant bit, which corresponds to the first bit transmitted or received. The header check sequence octet (HCS) is passed through this structure. The start of cell indication input and output (TSOC and
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
343
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
RSOC) are coincident with Word 1 (containing the first two header octets). Word 3 of this structure contains the HCS octet in bits 15 to 8. In the receive direction, the lower 8 bits of Word 3 contain the HCS status octet. An all-zeros pattern in these 8 bits indicates that the associated header is error free. An all-ones pattern indicates that the header contains an uncorrectable error. (If the HCSPASS bit in the RXCP Control Register is set to logic zero, the all-ones pattern will never be passed in this structure.) An alternating ones and zeros pattern (0xAA) indicates that the header contained a correctable error. In this case, the header passed through the structure is the "corrected" header. In the transmit direction, the HCS bit in the TXCP Control Register determines whether the HCS is calculated internally or is inserted directly from the upper 8 bits of Word 3. The lower 8 bits of Word 3 contain the HCS control octet. The HCS control octet is an error mask that allows the insertion of one or more errors in the HCS octet. A logic one in a given bit position inverts the corresponding HCS bit position. (For example, a logic one in bit 7 inverts the most significant bit of the HCS). 14.3 Packet over SONET/SDH Data Structure Packets may be written into the TXFP FIFO and read from the RXFP FIFO using one defined data structure. Octets are written in the same order they are to be transmitted or in the order they were received on the SONET/SDH line. Within an octet, the MSB (bit 7) is the first bit to be transmitted. All words are composed of two octets, except the last word of a packet, which can have one or two bytes. If the TXFP does not insert the FCS field, these bytes will be included at the end of the packet. If the RXFP does not strip the FCS field, then these bytes will be included at the end of the packet.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
344
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 22: Packet Data Structure
Bit 15 W ord 1 W ord 2 Byte 1 Byte 3 Bit 8 Bit 7 Byte 2 Byte 4 Bit 0
W ord 7 W ord 8
Byte 13 Byte 15
Byte 14 XX A 15 byte packet
14.4 Bit Error Rate Monitor The S/UN-STAR provides two BERM blocks. One can be dedicated to monitor at the Signal Degrade (SD) error rate and the other dedicated to monitor at the Signal Fail (SF) error rate. The Bit Error Rate Monitor (BERM) block counts and monitors line BIP errors over programmable periods of time (window size). It can monitor to declare an alarm or to clear it, if the alarm is already set. A different threshold and accumulation period must be used to declare or clear the alarm, whether or not those two operations are not performed at the same BER. Table 15 lists the recommended content of the BERM Registers for different error rates (BER). Both BERMs in the TSB are equivalent and are programmed similarly. In a normal application they will be set to monitor different BER. When the SF/SD CMODE bit is one, PMC-Sierra recommends that clearing monitoring is performed using a window size that is eight times longer than the declaration window size. When the SF/SD CMODE bit is zero, PMC-Sierra recommends that clearing monitoring is performed using a window size equal to the declaration window size. In all cases the clearing threshold is calculated for a BER that is 10 times lower than the declaration BER, as required in the references. Table 15 indicates the declare BER and evaluation period only. The Saturation threshold is not listed in the Table 15, and should be programmed with the value 0xFFF by default, deactivating saturation. Saturation capabilities are provided to allow the user to address issues associated with error bursts.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 345
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Table 15: Recommended BERM settings declare BER 10-3 10-4 10-5 10-6 10-7 10-8 10-9 Eval Per (s) SF/SD SF/SD SMODE CMODE 0.008 0.013 0.100 1.000 10.000 83.000 667.000 0 0 0 0 0 0 0 0 1 1 1 1 1 1 SF/SD SAP 0x000008 0x00000D 0x000064 0x0003E8 0x002710 0x014438 0x0A2D78 SF/SD DTH 0x245 0x0A3 0x084 0x085 0x085 0x06D 0x055 SF/SD CTH 0x083 0x0B4 0x08E 0x08E 0x08E 0x077 0x061
Note that Table 15 was designed using the Telcordia GR-253 specification. Please refer to the SONET/SDH/SDH Bit error Threshold Monitoring application note PMC-1950820 for more details and the recommended programming meeting the ITU G.783 specification. 14.5 Clocking Options The S/UNI-STAR supports several clocking modes. Figure 23 is an abstraction of the clocking topology.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
346
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 23: Conceptual Clocking Structure
Conceptual Clocking Structure
REF CLK Internal Tx Clock Source Clock Synthesizer
C
A B
/8 Internal Rx Clock Source
TCLK
Mode A Source tim ed Mode B Internally Loop tim ed
RXD+/-
Clock Recov ery
/8
RC LK
W AN Synchronization
Mode C Externally Loop tim ed
CBI to M icrocontroller
Mode A is provided for all public user network interfaces (UNIs) and for private UNIs and private network node interfaces (NNIs) that are not synchronized to the recovered clock. The transmit clock in a public UNI must conform to the SONET Network Element (NE) requirements specified in Telcordia GR-253-CORE. These requirements include jitter generation, short term clock stability, phase transients during synchronization failure, and, possibly, holdover. The 19.44 MHz clock source is typically a VCO (or a temperature compensated VCXO) locked to a primary reference source for public UNI applications. The accuracy of this clock source should be within 20 ppm of 19.44 MHz to comply with the SONET/SDH network element free-run accuracy requirements. The S/UNI-STAR WANS block allows effective implementation of the system timing reference. The transmit clock in a private UNI or a private NNI may be locked to an external reference or may be free-run. The simplest use requires an oscillator free-running at 19.44 MHz. Mode A is selected by clearing the LOOPT bit of the Channel Control Register. REFCLK is multiplied by eight to become the 155.52 MHz MHz transmit clock.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 347
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
REFCLK must be jitter free. The source REFCLK is also internally used as the clock recovery reference. Mode B is provided for private UNIs and private NNIs that require synchronization to the recovered clock. Mode B is selected by setting the LOOPT bit of the Master Control Register. Normally, the transmit clock is locked to the receive data. In the event of a loss of signal condition, the transmit clock is synthesized from REFCLK. Mode C is the external loop timing mode, which makes use of the WAN Synchronization block capabilities. This mode is activated when LOOPT is set to logic zero. The timing loop is activated at the system level, through a microprocessor, an external VCXO and back into the REFCLK input. This mode allows Telcordia wander transfer and holdover stability requirements to be met. 14.6 Loop back Operation The S/UNI-STAR supports three loop back functions: line loop back, parallel diagnostic loop back, and serial diagnostic loop back. Each channel's loop back modes operate independently. The loop back modes are activated by the PDLE, LLE, and SDLE bits contained in the S/UNI-STAR Channel Control Register. The line loop back, connects the high speed receive data and clock to the high speed transmit data and clock, and can be used for line side investigations (including clock recovery and clock synthesis). Refer to
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
348
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 24. While in this mode, the entire receive path is operating normally and cells can be received through the FIFO interface. The serial diagnostic loop back, connects the high speed transmit data and clock to the high speed receive data and clock. Refer to Figure 25. While in this mode, the entire transmit path is operating normally and data is transmitted on the TXD+/- outputs. The parallel diagnostic loop back, connects the byte wide transmit data and clock to the byte wide receive data and clock. Refer to Figure 26. While in this mode, the entire transmit path is operating normally and data is transmitted on the TXD+/- outputs.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
349
DATASHEET
PMC-1990421
PRODUCTION S/UNI-STAR
TRSTB
TDO TDI
TLDCLK
TSDCLK
TFPO TFPI TLD TSD
JTAG Test Access Port STPA TMOD TERR TEOP DTCA/DTPA TDAT[15.0] TPRTY TSOC/TSOP TCA/PTPA TADR[2.0] TENB TFCLK PHY_OEN RFLCK RENB RADR[2.0] RCA/PRPA RSOC/RSOP RPRTY RDAT[15.0] DRCA/DRP REOP RERR RMOD RVAL Microprocessor Interface Tx ATM Cell Processor Tx POS Frame Processor
TCLK TCK TMS
ISSUE 3
TXC +
Section DCC Insert
Line DCC Insert
TXC Tx Line Interface Tx Section O/H Processor Tx Line O/H Processor Tx Path O/H Processor
TXD +
Figure 24: Line Loop back Mode (LL)
TXD -
ATBO-3 WAN Synchronization Section Trace Buffer Rx POS Frame Processor RX ATM Cell Processor Path Trace Buffer
REFCLK
Utopia / POS-PHY System Interface
RXD + RXD SD Rx Line Interface Rx Section O/H Processor Rx Line O/H Processor Rx Path O/H Processor Rx APS. Sync. BERM Section DCC Extract Line DCC Extract
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
RLD INTB RSTB RDB WRB CSB ALE A[10.0] D[7.0] RSD
CP CN
SATURN USER NETWORK INTERFACE (STAR)
350
RCLK RFPO RALRM RLDCLK RSDCLK
PM5352 S/UNI-STAR
DATASHEET
PMC-1990421
PRODUCTION S/UNI-STAR
TDO TDI
TLDCLK
TSDCLK
TRSTB
TFPO TFPI TLD TSD
JTAG Test Access Port STPA TMOD TERR TEOP DTCA/DTPA TDAT[15.0] TPRTY TSOC/TSOP TCA/PTPA TADR[2.0] TENB TFCLK PHY_OEN RFLCK RENB RADR[2.0] RCA/PRPA RSOC/RSOP RPRTY RDAT[15.0] DRCA/DRP REOP RERR RMOD RVAL Microprocessor Interface Tx ATM Cell Processor Tx POS Frame Processor
TCLK TCK TMS
ISSUE 3
TXC +
Section DCC Insert
Line DCC Insert
TXC Tx Line Interface Tx Section O/H Processor Tx Line O/H Processor Tx Path O/H Processor
TXD +
TXD -
ATBO-3 WAN Synchronization Section Trace Buffer Rx POS Frame Processor RX ATM Cell Processor Path Trace Buffer
REFCLK
Utopia / POS-PHY System Interface
Figure 25: Serial Diagnostic Loop back Mode (SDL)
RXD + RXD SD Rx Line Interface Rx Section O/H Processor Rx Line O/H Processor Rx Path O/H Processor Rx APS. Sync. BERM Section DCC Extract Line DCC Extract
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
RLD INTB RSTB RDB WRB CSB ALE A[10.0] D[7.0] RSD
CP CN
SATURN USER NETWORK INTERFACE (STAR)
351
RCLK RFPO RALRM RLDCLK RSDCLK
PM5352 S/UNI-STAR
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
352
DATASHEET
PMC-1990421
PRODUCTION S/UNI-STAR
TDO TDI
TLDCLK
TSDCLK
TRSTB
TFPO TFPI TLD TSD
JTAG Test Access Port STPA TMOD TERR TEOP DTCA/DTPA TDAT[15.0] TPRTY TSOC/TSOP TCA/PTPA TADR[2.0] TENB TFCLK PHY_OEN RFLCK RENB RADR[2.0] RCA/PRPA RSOC/RSOP RPRTY RDAT[15.0] DRCA/DRP REOP RERR RMOD RVAL Microprocessor Interface Tx ATM Cell Processor Tx POS Frame Processor
TCLK TCK TMS
ISSUE 3
TXC +
Section DCC Insert
Line DCC Insert
TXC Tx Line Interface Tx Section O/H Processor Tx Line O/H Processor Tx Path O/H Processor
TXD +
TXD -
ATBO-3 WAN Synchronization Section Trace Buffer Rx POS Frame Processor RX ATM Cell Processor Path Trace Buffer
REFCLK
Utopia / POS-PHY System Interface
RXD + RXD SD Rx Line Interface Rx Section O/H Processor Rx Line O/H Processor Rx Path O/H Processor Rx APS. Sync. BERM Section DCC Extract Line DCC Extract
Figure 26: Parallel Diagnostic Loop back Mode (PDL)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
RLD INTB RSTB RDB WRB CSB ALE A[10.0] D[7.0] RSD
CP CN
SATURN USER NETWORK INTERFACE (STAR)
353
RCLK RFPO RALRM RLDCLK RSDCLK
PM5352 S/UNI-STAR
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.7 JTAG Support The S/UNI-STAR supports the IEEE Boundary Scan Specification as described in the IEEE 1149.1 standards. The Test Access Port (TAP) consists of the five standard pins, TRSTB, TCK, TMS, TDI, and TDO used to control the TAP controller and the boundary scan registers. The TRSTB input is the active-low reset signal used to reset the TAP controller. TCK is the test clock used to sample data on input, TDI and to output data on output, TDO. The TMS input is used to direct the TAP controller through its states. The basic boundary scan architecture is shown below in Figure 27. Figure 27: Boundary Scan Architecture
TDI
Boundary Scan Register Device Identification Register Bypass Register
Instruction Register and Decode
Mux DFF
TDO
TMS
Test Access Port Controller
Control Select Tri-state Enable
TRSTB TCK
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
354
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The boundary scan architecture consists of a TAP controller, an instruction register with instruction decode, a bypass register, a device identification register, and a boundary scan register. The TAP controller interprets the TMS input and generates control signals to load the instruction and data registers. The instruction register with instruction decode block is used to select the test to be executed and/or the register to be accessed. The bypass register offers a singlebit delay from primary input, TDI to primary output, TDO. The device identification register contains the device identification code. The boundary scan register allows testing of board inter-connectivity. The boundary scan register consists of a shift register place in series with device inputs and outputs. Using the boundary scan register, all digital inputs can be sampled and shifted out on primary output, TDO. In addition, patterns can be shifted in on primary input, TDI and forced onto all digital outputs. 14.7.1 TAP Controller The TAP controller is a synchronous finite state machine clocked by the rising edge of primary input, TCK. All state transitions are controlled using primary input, TMS. The finite state machine is illustrated in Figure 28.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
355
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 28: TAP Controller Finite State Machine
TRSTB=0 Test-Logic-Reset 1 0 1 Run-Test-Idle 0 1 Capture-DR 0 Shift-DR 1 Exit1-DR 0 Pause-DR 1 0 Exit2-DR 1 Update-DR 1 0 0 0 0 1 Select-DR-Scan 0 1 Capture-IR 0 Shift-IR 1 Exit1-IR 0 Pause-IR 1 Exit2-IR 1 Update-IR 1 0 0 0 1 1 Select-IR-Scan 0 1
All transitions dependent on input TMS
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
356
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.7.1.1
States
Test-Logic-Reset The test logic reset state disables the TAP logic when the device is in normal mode operation. The state is entered asynchronously by asserting input, TRSTB. The state is entered synchronously regardless of the current TAP controller state by forcing input, TMS high for 5 TCK clock cycles. While in this state, the instruction register is set to the IDCODE instruction. Run-Test-Idle The run test/idle state executes tests. Capture-DR The capture data register state loads parallel data into the test data registers selected by the current instruction. If the selected register does not allow parallel loads or no loading is required by the current instruction, the test register maintains its value. Loading occurs on the rising edge of TCK. Shift-DR The shift data register state shifts the selected test data registers by one stage. Shifting is from MSB to LSB and occurs on the rising edge of TCK. Update-DR The update data register state loads a test register's parallel output latch. In general, the output latches are used to control the device. For example, for the EXTEST instruction, the boundary scan test register's parallel output latches are used to control the device's outputs. The parallel output latches are updated on the falling edge of TCK. Capture-IR The capture instruction register state loads the instruction register with a fixed instruction. The load occurs on the rising edge of TCK.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
357
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Shift-IR The shift instruction register state shifts both the instruction register and the selected test data registers by one stage. Shifting is from MSB to LSB and occurs on the rising edge of TCK. Update-IR The update instruction register state loads a new instruction into the instruction register. The new instruction must be scanned in using the Shift-IR state. The load occurs on the falling edge of TCK. The Pause-DR and Pause-IR states are provided to momentarily pause the test data and/or instruction registers. Boundary Scan Instructions The following is an description of the standard instructions. Each instruction selects an serial test data register path between input, TDI and output, TDO. 14.7.1.2 Instructions
BYPASS The bypass instruction shifts data from input, TDI to output, TDO with one TCK clock period delay. The instruction is used to bypass the device. EXTEST The external test instruction tests the S/UNI-STAR's interconnection to other devices. When the current instruction is the EXTEST instruction, the boundary scan register is placed between input, TDI and output, TDO. To sample the primary device inputs, load the boundary scan register using the Capture-DR state. The sampled values can then be viewed by shifting the boundary scan register using the Shift-DR state. To control the primary device outputs, load the patterns shifted in through input, TDI into the boundary scan register using the Update-DR state. SAMPLE The sample instruction samples all the device inputs and outputs. For this instruction, the boundary scan register is placed between TDI and TDO. To
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
358
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
sample the primary device inputs and outputs, load the boundary scan register using the Capture-DR state. The sampled values can then be viewed by shifting the boundary scan register using the Shift-DR state. IDCODE The identification instruction connects the identification register between TDI and TDO. The device's identification code can then be shifted out using the Shift-DR state. STCTEST The single transport chain instruction tests the TAP controller and the boundary scan register during production test. When this instruction is the current instruction, the boundary scan register is connected between TDI and TDO. During the Capture-DR state, the device identification code is loaded into the boundary scan register. The code can then be shifted out output, TDO using the Shift-DR state. 14.8 Board Design Recommendations The noise environment and signal integrity are often the limiting factors in system performance. To ensure proper operation, follow the board design guidelines below: 1. Use a single plane for both digital and analog grounds. 2. Provide +3.3 volt analogue and digital supply with filtering between the power supply rail and the analogue power pins ( see Figure 29: WAN Mode Analog Power PIN Passive-Filtering with 3.3V Supply, Figure 30: WAN Mode Analog Power Filters with 3.3V Supply (1 and Figure 31: LAN Mode Analog Power Filters with 3.3V Supply (2 ). 3. Make sure simple RC filtering is used, taking care to ensure the IR drop in the resistance does not lower the supply voltage below the recommended operating voltage. Ferrite beads are not advisable in digital switching circuits because inductive spiking (di/dt noise) is introduced into the power rail. 4. Use separate high-frequency decoupling capacitors as these are recommended for each analog power (TAVD, RAVD, and QAVD) pin as close to the package pin as possible. Separate decoupling is required to prevent the transmitter from coupling noise into the receiver and to prevent transients from coupling into some reference circuitry.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
359
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
5. Route the high speed serial streams (TXD+/- and RXD+/-) with controlled impedance circuit board traces and must be terminated with a matched load. This must be done. Normal TTL-type design rules are not recommended and will reduce the performance of the device. 14.9 Analog Power Supply Filtering The noise environment and signal integrity are often the limiting factors of the system performance. The analog circuitry is particularly susceptible to noise. PMC-Sierra recommends using the analog power filtering schemes shown in Figure 29, Figure 30, and Figure 31.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
360
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 29: WAN Mode Analog Power PIN Passive-Filtering with 3.3V Supply
0.1uF 3.2 by 2.5 mm
0.1uF 3.2 by 2.5 mm 27 ohm TAVD1_A 0.1uF 3.2 by 2.5 mm
0.1uF 3.2 by 2.5 mm
47uF 7.3 by 4.3 mm 0.1uF 3.2 by 2.5 mm
27 ohm
0.1uF 3.2 by 2.5 mm RAVD-4B
0.1uF 3.2 by 2.5 mm 0.1uF 3.2 by 2.5 mm 0.1uF 3.2 by 2.5 mm
STAR 31 by 31 mm
47uF 7.3 by 47uF 7.3 by
0.1uF 3.2 by 2.5 mm
27 ohm
47uF 7.3 by
TAVD1_B 47uF 7.3 by 0.1uF 3.2 by 2.5 mm 2.7 ohm
0.1uF 3.2 by 2.5 mm
0.1uF 3.2 by 2.5 mm
RAVD_4C
0.1uF 3.2 by 2.5 mm
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
361
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 30: WAN Mode Analog Power Filters with 3.3V Supply (1)
27 W 3.3V + 47uF + 47uF 0.1uF RAVD4_C 3.3V + 47uF 0.1uF 27 W
RAVD4-B
27 W 3.3V + 4.7uF 0.1uF 3.3V TAVD1_A 100 W QAVD1 QAVD2
0.1uF
W 2.7
3.3V + 47uF 0.1uF TAVD1_B
NOTES 1) Use 0.1uF on all other analog and digital power pins 2) Place 0.1uF as close to the power pin as possible 3) 47uF and resistors do not have to be close to the power pins 4) This configuration should be used when jitter transfer is required (i.e. PERFCTRL = 0 in register 0x30F)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
362
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 31: LAN Mode Analog Power Filters with 3.3V Supply (2)
27W 3.3V + 4.7uF 0.1uF TAVD1_A
2.7 W 3.3V + 47uF 0.1uF TAVD1_B
100 W 3.3V + 0.1uF QAVD1 QAVD2
NOTES
1) Use 0.1uF on all other analog and digital power pins
2) Place 0.1uF as close to the power pin as possible 3) 47uF and resistors do not have to be close to the power pins 4) This configuration should be used when the jitter transfer is NOT required (i.e. PERFCTRL = 1 in register 0x30F)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
363
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.10 Power Supplies Sequencing Due to the ESD protection structures in the pads, caution must be taken when powering a device up or down. ESD protection devices behave as diodes between power supply pins and from I/O pins to power supply pins. Under extreme conditions it is possible to blow these ESD protection devices or trigger latch up. The recommended power supply sequencing follows: 1. To prevent damage to the ESD protection on the device inputs the maximum DC input current specification must be respected. Either ensure that the VDD power is applied before input pins are driven or increase the source impedance of the driver so that the maximum driver short circuit current is less than the maximum DC input current specification (20 mA). 2. Supply QAVD power either after VDD or simultaneously with VDD to prevent current flow through the ESD protection devices that exist between QAVD and VDD power supplies. To prevent forward biasing the ESD protection diode between QAVD supplies and VDD, the differential voltage measured between these power supplies must be less than 0.5 volt. This recommended differential voltage is to include peak-to-peak noise on the VDD power supply as digital noise will otherwise be coupled into the analog circuitry. Use an off chip three terminal voltage regulator supplied by a quiet high voltage supply to limit the current. 3. Supply BIAS voltage either before VDD or simultaneously with VDD to prevent current flow through the ESD protection devices that exist between BIAS and VDD power supplies. 4. Apply analog power supplies (AVD, includes RAVDs, TAVDs but not QAVD) after QAVD. These can be applied at the same time as QAVD providing the 100ohm resistor in series with QAVD (shown in Figure 29 and Figure 30) is in place. Ensure the AVD supplies are current limited to the maximum latchup current specification (100 mA). To prevent forward biasing the ESD protection diode between AVD supplies and QAVD the differential voltage measured between these power supplies must be less than 0.5 volt. This recommended differential voltage is to include peak-to-peak noise on the QAVD and AVD power supplies as digital noise will otherwise be coupled into the analog circuitry. Use an off chip three terminal voltage regulator supplied by a quiet high voltage supply to limit the current. If the VDD power supply is relatively quiet, VDD can be filtered using a ferrite bead and a high frequency decoupling capacitor to supply AVD. The relative power sequencing of the multiple AVD power supplies is not important.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
364
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
5. Power down the device in the reverse sequence. Use the above current limiting technique for the analog power supplies. Small offsets in VDD / AVD discharge times will not damage the device. Figure 32 illustrates a power sequencing circuit to avoid latch-up or damage to 3.3V devices that are 5V tolerant. This circuit will ensure Vbias is greater than Vdd and protect against designs that require the 3.3V power supply appearing before the 5V supply. The Schottky diode shown on Figure 32 is optional. Figure 32: Power Sequencing Circuit
5V
1KW 0.1m F
Vbias Schottky Diode Vdd
3.3V
14.11 Interfacing to ECL or PECL Devices
Although the TXD+/- and TXC+/- outputs are TTL compatible, only a few passive components are required to convert the signals to ECL (or PECL) logic levels. Figure 33 illustrates the recommended configuration. The capacitors AC couple the outputs so that the ECL inputs are free to swing around the ECL bias voltage (VBB). The combination of the RS, RS1, and Z0 resistors divide the voltage down to a nominally 800mV swing. The Z0 resistors also terminate the signals. The RXD+/- inputs to the S/UNI-STAR are DC coupled as shown. The device has a true PECL receiver so only termination resistors are required. Ceramic coupling capacitors are recommended.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
365
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 33: Interfacing to ECL or PECL
Optics PMD RD+
Rd
S/UNI-STAR RxD+ 2*Zo
Rd
Gnd
Zo Zo
RS1 0.1 uF
RDGnd
RxD-
TD+
Zo Zo
VDD
0.01uF or 0.1 uF
Zo
RS1 VDD
R1
TxD+
TD-
0.1uF
Zo
TxD-
Vdd * R2/(R1+R2) = Vbb
R2 Gnd
SD
Rd
Gnd
SD
RS1
0.1 uF
Zo
PECL Differential Clock Out VDD
0.01uF or 0.1 uF
TxC+
Zo Zo
VDD R1
RS1
0.1uF
Zo
TxC-
Vdd * R2/(R1+R2) = Vbb
R2 Gnd
Notes: Vpp is minimum input swing required by the optical PMD device. Vbb is the switching threshold of the PMD device (typically Vdd - 1.3 volts) Vpp is Voh - Vol (typically 800 mVolts) Vpp = (Zo/((RS1+Rs)+Z0) * Vdd - Vdd (S/UNI-STAR's analog transmit power) 3.3V - Zo (trace impedance) typically 50W - Rs (TxD source impedance) typically 15-20W - RS1 : ~ 158W For interfacing to 5.0V ODL, R1 : 237W , R2 : 698W Rd : 330W For interfacing to 3.3V ODL, R1 : 220W, R2: 330W Rd : 150W
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
366
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.12 Clock Recovery Loop Filter In order to meet jitter transfer requirements for WAN applications, the CRU requires an external 220nF X7R 10% ceramic loop capacitor. This capacitor is placed across pins C- and C+ in close proximity to the chip pins. The external loop filter capacitor is used as a floating capacitor, which means that neither of C- and C+ is grounded. Figure 34 is an abstraction of the clock recovery phase lock loop illustrating the connections to external components. Figure 34: Clock Recovery External Components
Differential Loop Filter RXD+/ REFCLK Phase Detector Charge Pump VCO Recovered Clock
On-Chip Circuitry Off-Chip Circuitry CC+
220nF
14.13 Setting the S/UNI-STAR in ATM Mode While the S/UNI-STAR defaults to the Asynchronous Transfer Mode (ATM) operation, PMC-Sierra recommends that the following initialization sequence is used. 1. Reset the device by asserting the RSTB pin or setting the RESET bit in the Master Reset and ID Register (Register 00).
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
367
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
2. Set the S/UNI-STAR in ATM mode by setting the ATM_POS bit in the Master System Interface Control Register (Register 02) to logic zero. It is also recommended to set the TPOP Path Signal Label (Register 0x48 ) to 0x13, which indicates an ATM payload. 3. For every channel, reset all the Rx and Tx ATM FIFOs by setting the FIFORST Register bit in the TXCP and RXCP blocks. Keep this bit set for at least 1 ms, then set the bit back to its inactive logic zero value. 4. For every channel, reset the performance monitoring counters in all the blocks (at a minimum, reset the performance monitoring counters in the TXCP and RXCP blocks). The easiest way to do this is to use the TIP Register bit. 5. Set HCSCTLEB bit in register 0x381 to zero to disable the HCS error insertion. 6. It is suggested to set the H4INSB bit in Register TXCP_50 Cell Count Status/Configuration Options (Register 0x382) to logic one. In most applications, where cell delineation is accomplished using the HCS byte, it is more appropriate to set the H4 bytes to 0x00 rather then the cell offset. 14.14 Setting the S/UNI-STAR in POS Mode The S/UNI-STAR defaults to the Asynchronous Transfer Mode (ATM) operation. PMC-Sierra recommends following the sequence of operation below to prepare the device for the Packet over SONET/SDH (POS) operation. 1. 2. Reset the device by asserting the RSTB pin or setting the RESET bit in the Master Reset and ID Register (Register 00). Set the S/UNI-STAR in POS mode by setting to logic one the ATM_POS bit in the Master System Interface Control Register (Register 02). It is also recommended to set the TPOP Path Signal Label (Register 0x348 ) to 0x16, which indicates a scrambled POS payload, or 0xCF, which indicates a nonscrambled POS payload, whatever is appropriate. For every channel, reset all the Rx and Tx POS FIFOs by setting the FIFORST Register bit in the TXFP and RXFP blocks. Keep this bit set for at least 1 ms, then set the bit back to its inactive logic zero value. For every channel, reset the performance monitoring counters in TXFP and RXFP blocks, and preferably in all the blocks. The easiest way to do this is to use the TIP Register bit.
3.
4.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
368
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
14.15 Setting the S/UNI-STAR for SONET or SDH Applications The SONET and SDH standards for optical networking are very similar, with only minor differences in overhead processing. The main difference between the SONET and SDH standards lies in the handling of some of the overhead bytes. The bit error rate (BER) monitoring requirements are also slightly different between Telcordia GR-253-CORE (SONET) and ITU.707 (SDH). The application note, PMC-950820, explains in detail the different parameters for the RASE block. Other details, like framing, and data payload mappings are equivalent in SONET and SDH. By default, the S/UNI STAR powers up in SONET mode. However, it can be configured to operate in SDH mode. The list below shows the various register settings to configure the STAR for either SONET or SDH mode Table 16: Settings for SONET or SDH Applications Configuration Bit Z0INS1 ENSS (0x33D)2 LEN16 (Path, 0x328)3 LEN16 (Section, 0x350)3 S[1:0] (0x346)4 Notes: 1. SONET requires Z0 bytes to be set to the number corresponding to the STS-1 column number. SDH consider those bits as reserved. 2. SDH specification requires the detection of SS bits to be "10" 3. SONET uses a 64-byte message/SDH uses a 16-byte message 4. SS is undefined for SONET but must be set to "10" for SDH 14.16 Using the S/UNI-STAR with a 5 Volt ODL The S/UNI-STAR defaults to a 3.3V PECL optical data link (ODL) module interface. It can also be used with a 5V ODL. This is accomplished by setting the PECLV bit, located in the Master Configuration Register (Register 0x01), to logic one. SONET 0 0 0 0 00 SDH X 1 1 1 10
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
369
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
15 FUNCTIONAL TIMING All functional timing diagrams assume that polarity control is not being applied to input and output data and clock lines (i.e. polarity control bits in the S/UNI-STAR Registers are set to their default states). 15.1 ATM Utopia Level 2 System Interface Figure 35: Multi-PHY Polling and Addressing Transmit Cell Interface
TFCLK TCA TENB TADR[4:0] TSOC TDAT[15:0] TPRTY
W (n-7) W (n-6) W (n-5) W (n-4) W (n-3) W (n-2) W (n-1) W (n) X X W1 W2 W3 W4 A 1Fh B 1Fh C 1Fh X B 1Fh A 1Fh C X
CA(A)
CA(B)
CA(C)
CA(B)
CA(A)
Figure 35 is an example of the multi-PHY polling and selection sequence supported by the S/UNI-STAR. "A", "B", and "C" represent any arbitrary address values of PHY devices that may be occupied by the S/UNI-STAR. The ATM Layer device is not restricted in its polling order. The PHY associated with address "A" indicates it cannot accept a cell, while PHY "B" indicates it is willing to accept a cell. As a result, the ATM Layer places address "B" on TADR[2:0] the cycle before TENB is asserted to select PHY "B" as the next cell destination. In this example, the PHY "C" status is ignored. The ATM Layer device is not constrained to select the latest PHY polled. As soon as the cell transfer is started, the polling process may be restarted.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
370
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
During multi-PHY operation, several PHY layer devices share the TCA signal. As a result, these signals must be tri-stated in all PHY devices that have not been selected for polling by the ATM Layer. The value of TADR[2:0] selects the PHY being polled for the TCA signal and all devices not corresponding to this address must tri-state its TCA output. This multi-PHY operation is directly supported by the S/UNI-STAR. Figure 36: Multi-PHY Polling and Addressing Receive Cell Interface
RFCLK RCA RENB RADR[4:0] RSO C RDAT[15:0] W (n-7) RPRTY
W (n-6) W (n-5) W (n-4) W (n-3) W (n-2) W (n-1) W (n) W1 W2 W3 A 1Fh B 1Fh C 1Fh X B 1Fh D 1Fh E X
CA(A)
CA(B)
CA(C)
CA(B)
CA(D)
Figure 36 shows an example of the multi-PHY polling and selection sequence supported by the S/UNI-STAR. "A", "B", "C", "D", and "E" represent any arbitrary address values that may be occupied by the S/UNI-STAR. The ATM Layer device is not restricted in its polling order. The PHY associated with address "A" indicates it does not have a cell available, but PHY "B" indicates that it does. As a result, the ATM Layer places address "B" on RADR[2:0] the cycle before RENB is asserted to select PHY "B" as the next cell source. In this example, PHY "C's" status is ignored. The ATM Layer device is not constrained to select the latest PHY polled. As soon as the cell transfer is started, the polling process may be restarted. During multi-PHY operation, several PHY layer devices share the RDAT[15:0], RSOC, RPRTY, and RCA signals. As a result, these signals must be tri-stated in all PHY devices that have not been selected for reading or polling by the ATM
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
371
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Layer. The selection of which PHY layer device is being read is made by the value on RADR[2:0], the cycle before RENB is asserted, and affects the RDAT[15:0], RSOC, and RPRTY signals. The value of RADR[2:0] selects the PHY being polled for the RCA signal and all devices not corresponding to this address must tri-state its RCA output. These multi-PHY operations are directly supported by the S/UNI-STAR. 15.2 Packet over SONET/SDH (POS) System Interface The Packet over SONET/SDH (POS) System Interface is compatible with the POS-PHY Level 2 specification (see References). The S/UNI-STAR supports both the byte level and packet level transfer modes of POS-PHY. The Packet over SONET/SDH System interface supports two modes of operation. The system interface can perform a byte-level transfer and a packet-level transfer, as selected by the Master Configuration Register POS_PLVL bit The byte-level transfer mode, illustrated below, should be suitable for most applications. While in this mode, direct status indication is provided and the PHY address is examined every cycle to determine which PHY is being selected. There is no selection phase and no polling. Packet level transfer operates the same way Utopia level 2 does, with PHY polling and PHY selection. The POS Transmit Synchronous FIFO Timing Diagram, shown in Figure 37, illustrates the operation of the system side transmit FIFO interface. Assertion of the transmit packet available output, TPA, indicates that there is space available in the transmit FIFO. De-assertion of TPA occurs when the FIFO is filled to the depth indicated by the Register TPAHWM[7:0]. The exact octet that triggers the de-assertion of TPA depends on the particular timing relationship between the internal SONET/SDH clock and TFCLK, and for that reason is not precise. However the TXFP is always conservative, so when DTPA is de-asserted, it is guaranteed that no more than TPAHWM[7:0] bytes in the FIFO exist. If DTPA is asserted and the upstream is ready to write a byte, the upstream device should assert TENB. At anytime, if the upstream does not have a byte to write, it must de-assert TENB. In addition, the register bit TPAINV can be used to invert the meaning of DTPA. TSOP must be high during the first word of the packet and must be present (reasserted) for each packet. TEOP must be high during the last packet word. During a packet transfer every word must be composed of two bytes and TMOD shall be high. It is only for the last packet word that TMOD is used to determine if this word is composed of one or two bytes. It is legal to assert TSOP and TEOP at the same time. This happens when a 1-byte or a 2-byte packet is transferred. When TSOP is asserted and the previous word transfer was not marked with TEOP, the Input Interface realigns itself to the new timing, and the previous packet is marked to be aborted.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE 372
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
The byte-level transfer mode is intended to simplify the bus protocol and improve throughput by avoiding the PHY selection cycles required in packet-level transfer mode. Skipping the PHY selection cycle will work reliably only if the POS-PHY bus is a point to point bus; that is connecting a single Link Layer device to a single PHY Layer device. This is a typical application for the S/UNI-STAR as it uses most of the bandwidth on a Utopia Level 2 interface. As an alternative, the system integrator can build the Link Layer device such that it forces the Null PHY address for one cycle whenever TADR[2:0] or RADR[2:0] changes, inserting a single dead cycle during which the bus is tri-stated although more complex, packet-level transfer may offer a solution when multiple PHY's are implemented within several integrated circuits. Furthermore, the packet-level transfer configuration scales with fewer pins than byte-level transfer as the number of PHY increases. Figure 37: Transmit POS System Interface Timing
TFC LK
TS O P
TE O P
TM O D
TER R
TP A
TE NB
PKT 1 B1 B2 PK T 1 PK T 1 PKT 1 B7 B5 B3 B8 B6 B4 PK T 1 PKT 1 PKT 1 B41 B 39 B 37 B42 B 40 B 38 PK T 1 PKT 1 B 45 B 43 XX B 44 PK T 2 B1 B2
TDA T[15:0]
TP R TY
The POS Receive Synchronous FIFO Timing Diagram, refer to Figure 38, illustrates the operation of the system side receive interface. The RXFP either indicates that the FIFO level is above the high water mark or that the end of a packet is available by asserting the receive packet available output, DRPA. When a channel is selected, RVAL qualifies the data coming from the receive POS-PHY
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
373
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
interface. The RVAL signal will de-assert after the transmission of a REOP flag or when the FIFO empty. Once the RVAL signal de-asserts, it can not re-assert before the channel is de-selected. The DRPA signal may assert and de-assert meanwhile in conformity with the FIFO level, the water mark, and the presence of end-of-packet in the FIFO. RSOP is high during the first word of the packet. REOP is high during the last packet word. During a packet transfer every word must be composed of two bytes. It is only for the last packet word that RMOD is used to determine if this last word is composed of one or two bytes. It is legal to assert RSOP and REOP at the same time. This happens when a 1-byte or a 2-byte packet is transferred. Packets that were subject to an error (aborted, length violation, FIFO overrun, etc) will be marked by RERR high during the last word transfer.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
374
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 38: Receive POS System Interface
RFCLK
RENB DRPA[x]
RVAL
RSOP REOP RERR RMOD
RDAT[15:0]
W1
W2
W3
WN-5 W N-4 W N-3 WN-2 W N-1 W N
RXPRTY
P1
P2
P3
PN-5 PN-4 PN-3 PN-2 PN-1
PN
More information can be found on the POS-PHY bus interface by referring to the POS-PHY Level 2 specification. 15.3 Section and Line Data Communication Channels The Transport Overhead Data Link Clock and Data Extraction timing diagram, refer to Figure 39, shows the relationship between the RSD and RLD serial data outputs and their associated clocks, RSDCLK and RLDCLK. RSDCLK is a 216 kHz, 50% duty cycle clock that is gapped to produce a 192 kHz nominal rate.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
375
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
RLDCLK is a 2.16 MHz, 67%(high)/33%(low) duty cycle clock that is gapped to produce a 576 kHz nominal rate. RSD (RLD) is updated on the falling RSDCLK (RLDCLK) edge. The D1-D3, and D4-D12 bytes shifted out of the S/UNI-STAR in the frame shown are extracted from the corresponding receive line overhead channels in the previous frame. Figure 39: Transport Overhead Data Link Clock and Data Extraction
125 s
RSDCLK RSD B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 approx. 2 MHz DLCLK bursts RLDCLK RLD
RLDCLK RLD B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8
The Transport Overhead Data Link Clock and Data Insertion timing diagram, Figure 40, shows the relationship between the TSD and TLD serial data inputs, and their associated clocks, TSDCLK and TLDCLK respectively. TSDCLK is a 216 kHz, 50% duty cycle clock that is gapped to produce a 192 kHz nominal rate. TLDCLK is a 2.16 MHz, 67%(high)/33%(low) duty cycle clock that is gapped to produce a 576 kHz nominal rate. TSD (TLD) is sampled on the rising TSDCLK (TLDCLK) edge. The D1-D3, and D4-D12 bytes shifted into the S/UNI-STAR in the frame shown are inserted in the corresponding transport overhead channels in the following frame.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
376
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 40: Transport Overhead Data Link Clock and Data Insertion
125 s
TSDCLK TSD B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8
TLDCLK TLD
approx. 2 MHz DLCLK bursts
TLDCLK TLD B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
377
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
16 ABSOLUTE MAXIMUM RATINGS Maximum rating are the worst case limits that the device can withstand without sustaining permanent damage. They are not indicative of normal mode operation conditions. Table 17: Absolute Maximum Ratings Ambient Temperature under Bias Storage Temperature Supply Voltage Bias Voltage (VBIAS) Voltage on Any Pin Static Discharge Voltage Latch-Up Current DC Input Current Lead Temperature Absolute Maximum Junction Temperature -40C to +85C -40C to +125C -0.3V to +4.6V (VDD - .3) to +5.5V -0.3V to VBIAS+0.3V 1000 V 100 mA 20 mA +230C +150C
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
378
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
17 D.C. CHARACTERISTICS TA = -40C to +85C, VDD = 3.3V 10%, VDD < BIAS < 5.5V (Typical Conditions: TA = 25C, VDD = 3.3V, VBIAS = 5V) The following table is the typical and maximum current consumption of the PM5352 S/UNI-STAR while in ATM mode and POS mode (with and without use of the TXC clock pin.) Table 18: D.C Characteristics Symbol VDD BIAS VIL Parameter Power Supply 5V Tolerant Bias Input Low Voltage (TTL Only) Input Low Voltage (PECL Only) Input High Voltage (TTL Only) Input High Voltage (PECL Only) Output or Bidirectional Low Voltage Output or Bidirectional High Voltage Reset Input High Voltage 2.4 Min 2.97 VDD 0 Typ 3.3 5.0 Max 3.63 5.5 0.8 Units Volts Volts Volts Guaranteed Input Low voltage. Guaranteed Input Low voltage. Guaranteed Input High voltage. Guaranteed Input High voltage. Guaranteed output Low voltage at VDD=2.97V and IOL=maximum rated for pad. Note 4. Guaranteed output High voltage at VDD=2.97V and IOH=maximum rated current for pad. Note 4. Applies to RSTB and TRSTB only. Conditions
VPIL
AVD - 1.8 2.0
AVD - 1.6
Volts
VIH
Volts
VPIH
AVD
-1.0
AVD -0.8 0.4
Volts
VOL
Volts
VOH
Volts
VT+
2.0
Volts
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
379
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Symbol VTVTH
Parameter Reset Input Low Voltage Reset Input Hysteresis Voltage Input Low Current Input High Current Input Low Current Input High Current Input Low Current Input High Current Input Capacitance Output Capacitance Bi-directional Capacitance
Min
Typ
Max 0.8
Units Volts Volts
Conditions Applies to RSTB and TRSTB only. Applies to RSTB and TRSTB only. VIL = GND. Notes 1 and 3. VIH = VDD. Notes 1 and 3. VIL = GND. Notes 2 and 3. VIH = VDD. Notes 2 and 3. PECL inputs only. Note 3 PECL inputs only. Note 3 tA=25C, f = 1 MHz tA=25C, f = 1 MHz tA=25C, f = 1 MHz TYPICAL
215mA 235mA 245mA 265mA
0.4
IILPU IIHPU IIL IIH IIL PECL IIH PECL CIN COUT CIO
-100 -10 -10 -10 -10 -100
-50 0 0 0 0 0 5 5 5
-4 +10 +10 +10 +100 +10
A A A A A A pF pF pF
PARAMETER
IDDOP in ATM mode (with TXC disabled) IDDOP in ATM mode (with TXC enabled) IDDOP in POS mode (with TXC disabled) IDDOP in POS mode (with TXC enabled)
UNIT
mA mA mA mA
UPPER LIMIT SPEC
280 310
330
360
Notes on D.C. Characteristics: 1. Input pin or bi-directional pin with internal pull-up resistor.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
380
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
2. 3. 4.
Input pin or bi-directional pin without internal pull-up resistor Negative currents flow into the device (sinking), positive currents flow out of the device (sourcing). Refer to the footnotes at the bottom of the PIN DESCRIPTION table for the DC current rating of each device output.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
381
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
18 MICROPROCESSOR INTERFACE TIMING CHARACTERISTICS (TC = -40C to +85C, VDD = 3.3V 10%) Table 19: Microprocessor Interface Read Access (Figure 41) Symbol tSAR tHAR tSALR tHALR tVL tSLR tHLR tPRD tZRD tZINTH Parameter Address to Valid Read Set-up Time Address to Valid Read Hold Time Address to Latch Set-up Time Address to Latch Hold Time Valid Latch Pulse Width Latch to Read Set-up Latch to Read Hold Valid Read to Valid Data Propagation Delay Valid Read Negated to Output Tri-state Valid Read Negated to Output Tri-state Min 10 5 10 10 5 0 5 70 20 50 Max Units ns ns ns ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
382
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 41: Microprocessor Interface Read Timing tSAR A[10:0] tS ALR tV L ALE tS LR (CSB+RDB) tZ INTH INTB tHLR tHALR
Valid
Address
tHAR
tPRD D[7:0]
tZ RD
Valid Data
Notes on Microprocessor Interface Read Timing: 1. Output propagation delay time is the time in nanoseconds from the 1.4 Volt point of the reference signal to the 1.4 Volt point of the output. 2. Maximum output propagation delays are measured with a 100 pF load on the Microprocessor Interface data bus, (D[7:0]). 3. A valid read cycle is defined as a logical OR of the CSB and the RDB signals. 4. In non-multiplexed address/data bus architectures, ALE should be held high so parameters tSALR, tHALR, tVL, tSLR, and tHLR are not applicable.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
383
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
5. Parameter tHAR is not applicable if address latching is used. 6. When a set-up time is specified between an input and a clock, the set-up time is the time in nanoseconds from the 1.4 Volt point of the input to the 1.4 Volt point of the clock. 7. When a hold time is specified between an input and a clock, the hold time is the time in nanoseconds from the 1.4 Volt point of the input to the 1.4 Volt point of the clock. Table 20: Microprocessor Interface Write Access (Figure 42) Symbol tSAW tSDW tSALW tHALW tVL tSLW tHLW tHDW tHAW tVWR Parameter Address to Valid Write Set-up Time Data to Valid Write Set-up Time Address to Latch Set-up Time Address to Latch Hold Time Valid Latch Pulse Width Latch to Write Set-up Latch to Write Hold Data to Valid Write Hold Time Address to Valid Write Hold Time Valid Write Pulse Width Min 10 20 10 10 5 0 5 5 5 40 Max Units ns ns ns ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
384
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 42: Microprocessor Interface Write Timing
A[10:0] tS ALW tV L ALE tSAW (CSB+WRB)
Valid Address
tH ALW tS LW tHLW
tVWR
tH AW
tS DW D[7:0]
tH DW
Valid Data
Notes on Microprocessor Interface Write Timing: 1. A valid write cycle is defined as a logical OR of the CSB and the WRB signals. 2. In non-multiplexed address/data bus architectures, ALE should be held high so parameters tSALW , tHALW , tVL, tSLW , and tHLW are not applicable. 3. Parameter tHAW is not applicable if address latching is used. 4. When a set-up time is specified between an input and a clock, the set-up time is the time in nanoseconds from the 1.4 Volt point of the input to the 1.4 Volt point of the clock. 5. When a hold time is specified between an input and a clock, the hold time is the time in nanoseconds from the 1.4 Volt point of the input to the 1.4 Volt point of the clock.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
385
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
19 A.C. TIMING CHARACTERISTICS (TC = -40C to +85C, VDD = 3.3V 10%) 19.1 System Reset Timing Table 21: RSTB Timing (Figure 43) Symbol Description Min Max Units
tVRSTB
RSTB Pulse Width
100
ns
Figure 43: RSTB Timing Diagram
tV RSTB RSTB
19.2 Reference Timing Line Side Reference Clock Symbol Description Min Max Units
REFCLK Nominal Frequency REFCLK Duty Cycle REFCLK Frequency Tolerance
19.44 30 -50
19.44 70 +50
MHz % ppm
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
386
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
19.3 ATM System Interface Timing Table 22: Transmit ATM System Interface Timing (Figure 44) Symbol Description Min Max Units
fTFCLK DTFCLK tSTENB tHTENB tSTADR tHTADR tSTDAT tHTDAT tSTPRTY tHTPRTY tSTSOC tHTSOC tPDTCA tPTCA tZTCA tZBTCA
TFCLK Frequency TFCLK Duty Cycle TENB Set-up time to TFCLK TENB Hold time to TFCLK TADR[2:0] Set-up time to TFCLK TADR[2:0] Hold time to TFCLK TDAT[15:0] Set-up time to TFCLK TDAT[15:0] Hold time to TFCLK TPRTY Set-up time to TFCLK TPRTY Hold time to TFCLK TSOC Set-up time to TFCLK TSOC Hold time to TFCLK TFCLK High to DTCA Valid TFCLK High to TCA Valid TFCLK High to TCA Tri-state TFCLK High to TCA Driven 40 3 0 3 0 3 0 3 0 3 0 1 1 1 0
50 60
MHz % ns ns ns ns ns ns ns ns ns ns
12 12 10
ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
387
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 44: Transmit ATM System Interface Timing Diagram
TFCLK tS TENB tH
TFCLK
TFCLK
tS
TFCLK
tH
TFCLK
TDAT[15:0] tS tH
TFCLK
TFCLK
TPRTY tS tH
TFCLK
TFCLK
TSO C tP DTCA,
TCA
DTCA[x]/TCA tZ TC A TCA tZB TCA TCA
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
388
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Table 23: Receive ATM System Interface Timing (Figure 45) Symbol Description Min Max Units
fRFCLK DRFCLK tSRENB tHRENB tSRADR tHRADR tPRDAT tZRDAT tZBRDAT tPRSOC tZRSOC tZBRSOC tPRPRTY tZRPRTY tZBRPRTY tPRCA tZRCA tZBRCA tPDRCA
RFCLK Frequency RFCLK Duty Cycle RENB Set-up time to RFCLK RENB Hold time to RFCLK RADR[2:0] Set-up time to RFCLK RADR[2:0] Hold time to RFCLK RFCLK High to RDAT Valid RFCLK High to RDAT Tri-state RFCLK High to RDAT Driven RFCLK High to RSOC Valid RFCLK High to RSOC Tri-state RFCLK High to RSOC Driven RFCLK High to RPRTY Valid RFCLK High to RPRTY Tri-state RFCLK High to RPRTY Driven RFCLK High to RCA Valid RFCLK High to RCA Tri-state RFCLK High to RCA Driven RFCLK High to DRCA Valid 40 3 0 3 0 1 1 0 1 1 0 1 1 0 1 1 0 1
50 60
MHz % ns ns ns ns
12 12 12 12 12 12 12 12 12
ns ns ns ns ns ns ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
389
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 45: Receive ATM System Interface Timing Diagram
RFCLK tS RADR
RENB
tH RADR
RENB
RADR[4:0] RENB tP RDAT, RSO C,
RPRTY
RDAT[15:0] RXPRT Y RSO C tZ RDAT, RSO C, RDAT[15:0] RXPRT Y RSO C
RPRTY
tZB RDAT, RSO C, RDAT[15:0] RXPRTY RSOC
RPRTY
tP DRCA DRCA[4:1]
tP RCA RCA tZ RCA RCA tZB RCA
RCA
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
390
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
19.4 POS System Interface Timing Table 24: Transmit POS System Interface Timing (Figure 46) Symbol Description Min Max Units
fTFCLK DTFCLK tSTENB tHTENB tSTADR tHTADR tSTDAT tHTDAT tSTPRTY tHTPRTY tSTSOP tHTSOP tSTEOP tHTEOP tSTMOD tHTMOD tSTERR tHTERR tPDTPA tPPTPA tZPTPA tZBPTPA tPSTPA tZSTPA tZBSTPA
TFCLK Frequency TFCLK Duty Cycle TENB Set-up time to TFCLK TENB Hold time to TFCLK TADR[2.0] Set-up time to TFCLK TADR[2:0] Hold time to TFCLK TDAT[15:0] Set-up time to TFCLK TDAT[15:0] Hold time to TFCLK TPRTY Set-up time to TFCLK TPRTY Hold time to TFCLK TSOP Set-up time to TFCLK TSOP Hold time to TFCLK TEOP Set-up time to TFCLK TEOP Hold time to TFCLK TMOD Set-up time to TFCLK TMOD Hold time to TFCLK TERR Set-up time to TFCLK TERR Hold time to TFCLK TFCLK High to DTPA Valid TFCLK High to PTPA Valid TFCLK High to PTPA Tri-state TFCLK High to PTPA Driven TFCLK High to STPA Valid TFCLK High to STPA Tri-state TFCLK High to STPA Driven 40 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 1 1 1 0 1 1 0
50 60
MHz % ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
12 12 10 12 10
ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
391
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 46: Transmit POS System Interface Timing
TFCLK
tS TADR TADR[4:0] TENB TDAT[15:0] TPRTY TSOP TEOP TMOD TERR
TENB TDAT TPRTY TSOP TEOP TMOD TERR
tHTADR
TENB TDAT TPRTY TSOP TEOP TMOD TERR
tP DTPA,
PT PA, ST PA
DTPA[x] PTPA STPA
tZ PT PA,
ST P A
PTPA STPA tZB PT PA,
ST P A
PTPA STPA
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
392
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Table 25: Receive POS System Interface Timing (Figure 47) Symbol Description Min Max Units
fRFCLK DRFCLK tSRENB tHRENB tSRADR tHRADR tPRDAT tZRDAT tZBRDAT tPRPRTY tZRPRTY tZBRPRTY tPRSOP tZRSOP tZBRSOP tPREOP tZREOP tZBREOP tPRMOD tZRMOD tZBRMOD tPRERR tZRERR tZBRERR tPRVAL tZRVAL tZBPVAL
RFCLK Frequency RFCLK Duty Cycle RENB Set-up time to RFCLK RENB Hold time to RFCLK RADR[2:0] Set-up time to RFCLK RADR[2:0] Hold time to RFCLK RFCLK High to RDAT Valid RFCLK High to RDAT Tri-state RFCLK High to RDAT Driven RFCLK High to RPRTY Valid RFCLK High to RPRTY Tri-state RFCLK High to RPRTY Driven RFCLK High to RSOP Valid RFCLK High to RSOPTri-state RFCLK High to RSOP Driven RFCLK High to REOP Valid RFCLK High to REOPTri-state RFCLK High to REOP Driven RFCLK High to RMOD Valid RFCLK High to RMODTri-state RFCLK High to RMOD Driven RFCLK High to RERR Valid RFCLK High to RERR Tri-state RFCLK High to RERR Driven RFCLK High to RVAL Valid RFCLK High to RVAL Tri-state RFCLK High to RVAL Driven 40 3 0 3 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0
50 60
MHz % ns ns ns ns
12 12 12 12 12 12 12 12 12 12 12 12 12 12
ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
393
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
tPRPA tZRPA tZBRPA tPDRPA
RFCLK High to PRPA Valid RFCLK High to PRPA Tri-state RFCLK High to PRPA Driven RFCLK High to DRPA Valid
1 1 0 1
12 12 12
ns ns ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
394
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 47: Receive POS System Interface Timing
RFCLK tS RADR
RENB
tH RADR
RENB
RADR[4:0] RENB
tP RDAT, RSOP,
RPRTY, REOP, RMO D, R ERR , RVAL
tZ RDAT[15:0] RXPRT Y RSOP REOP RMOD RERR RVAL
RDAT, RSO P, RPR TY, REOP, RMO D, RERR , RVAL
tZB
RDAT, RSOP, RPRTY, REOP, RMO D, R ERR , RVAL
tP DR PA DRPA[4:1] tP PRPA PRPA tZ PR PA PRPA tZB PRPA
PRPA
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
395
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
19.5 Line and Section DCC Timing Table 26: Section DCC Timing (Figure 48) Symbol Description Min Max Units
tSTSD tHTSD tPRSD
TSD Set-up Time to TSDCLK TSD Hold Time to TSDCLK RSDCLK Low to RSD Valid
25 25 -15 5
ns ns ns
Figure 48: Section DCC Timing Diagram
TSD CLK tS tH
TS D
TSD
TSD
RSDCLK tP RSD RSD
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
396
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Table 27: Line DCC Timing (Figure 49) Symbol Description Min Max Units
tSTLD tHTLD tPRLD
TLD Set-up Time to TLDCLK TLD Hold Time to TLDCLK RLDCLK Low to RLD Valid
25 25 -15 5
ns ns ns
Figure 49: Line DCC Timing Diagram
TLDC LK tS tH
TLD
TLD
TLD
RLDCLK tP RLD RLD
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
397
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
19.6 Transmit and Receive Frame Pulses Table 28: Transmit and Receive Frame Pulse Timing (Figure 50) Symbol Description Min Max Units
tSTFPI tHTFPI tPTFPO tPRFPO
TFPI Set-up Time to TCLK High TFPI Hold Time to TCLK High TCLK High to TFPO Valid RCLK1-4 High to RFPO1-4 Valid
15 0 0 0 10 10
ns ns ns ns
Figure 50: Transmit and Receive Frame Pulses
TC LK tS tH
TFPI
TFP I
TFPI
tP TFPO TFPO
RCLK1-4 tP RFPO RFPO1-4
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
398
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
19.7 Transmit Line Timing in Sincle Ended TXD/TXC Mode Table 29: Line Side Transmit Timing (TXC_OE=1 Only) (Figure 51) Symbol tPTXD Description TXC+/- Falling to TXD+/- Valid Min -2 Max 2 Units ns
Figure 51: Line Side Transmit Timing Diagram (TXC_OE=1)
TXC+/tP TXD+/-
TXD
19.8 JTAG Test Port Timing Table 30: JTAG Port Interface (Figure 52) Symbol Description Min Max Units
TCK Frequency TCK Duty Cycle tSTMS tHTMS tSTDI tHTDI tPTDO tVTRSTB TMS Set-up time to TCK TMS Hold time to TCK TDI Set-up time to TCK TDI Hold time to TCK TCK Low to TDO Valid TRSTB Pulse Width 40 50 50 50 50 2 100
1 60
MHz % ns ns ns ns
50
ns ns
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
399
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 52: JTAG Port Interface Timing
TCK tS TMS TMS tS TDI TDI tH TDI tH TMS
TCK tP TDO TDO
tV TRSTB TRSTB
Notes on Input Timing: 1. When a set-up time is specified between an input and a clock, the set-up time is the time in nanoseconds from the 1.4 Volt point of the input to the 1.4 Volt point of the clock.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
400
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
2. When a hold time is specified between an input and a clock, the hold time is the time in nanoseconds from the 1.4 Volt point of the clock to the 1.4 Volt point of the input. Notes on Output Timing: 1. Output propagation delay time is the time in nanoseconds from the 1.4 Volt point of the reference signal to the 1.4 Volt point of the output. 2. Maximum output propagation delays are measured with a 50 pF load on the outputs with the exception of the RDAT[15:0], RPRTY, RSOC/RSOP, REOP, RMOD, RERR, RCA/PRPA, DRCA/DRPA, TCA/PTPA, STPA, DTCA/DTPA for which propagation delays are measured with a 30 pF load. 3. Output propagation delay time for TXD+/- relative to TXC+/- is based on a differential voltage for which the signal transition time is defined at the moment at which the positive and negative voltages are equal.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
401
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
20 ORDERING AND THERMAL INFORMATION Table 31: Ordering Information PART NO. PM5352-BI DESCRIPTION 304-pin Ball Grid Array (SBGA)
Table 32: Thermal Information PART NO. PM5352-BI Ambient TEMPERATURE -40C to 85C Theta Ja 22 C/W Theta Jc 1 C/W
30 25 20 15 10 5 0 Conv 100 200 300 400 500 Dense Board JEDEC Board
The junction temperature (Tj) is less than 105C for a ambient temperature (Ta) of 60C and a 300LFM of airflow. The device must operate at Ta=70C with 100LFM and must not be damaged with Ta=70C and no airflow. This assumes a dense board and a ThetaJA of 16. Loaded power at 3.63V POS mode, with TXC pins enable, mean = 2.83W
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
402
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Loaded power at 3.63V POS mode, with TXC pins enable, mean + 2 sigma = 2.89W The junction temperature = 105C. Therefore, the package is approved for use without enhanced cooling.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
403
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
21 MECHANICAL INFORMATION Figure 53:- Mechanical Drawing 304 Pin Super Ball Grid Array (SBGA)
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
404
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
22 OPERATIONS 22.1 Device initialization
The S/UNI-STAR needs to be initialized to reduce power consumption. The following sequence should be executed to ensure proper power consumption prior to operation of the device. 1 2 3 4 5 6 Write Register 0x00F with 0x0F Write Register 0x10F with 0x0F Write Register 0x001 with 0x33 Write Register 0x205 with 0x80 Write Register 0x007 with 0x01 Write Register 0x107 with 0X01
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
405
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
23 TEST FEATURES DESCRIPTION
Simultaneously asserting (low) the CSB, RDB, and WRB inputs causes all digital output pins and the data bus to be held in a high-impedance state. This test feature may be used for board testing. Test mode registers are used to apply test vectors during production testing of the S/UNI-STAR. Test mode registers (as opposed to normal mode registers) are selected when TRS (A[10]) is high. Test mode registers may also be used for board testing. When all of the TSBs within the S/UNI-STAR are placed in test mode zero, device inputs may be read and device outputs may be forced via the microprocessor interface (refer to the section "Test Mode 0" for details). The S/UNI-STAR also supports a standard IEEE 1149.1 five-signal JTAG boundary scan test port for use in board testing. All digital device inputs may be read and all digital device outputs may be forced via the JTAG test port.
Table 33: Test Mode Register Memory Map Address 0x000-0x3FF 0x400 0x401-0x7FF 23.1 Master Test Register Register Normal Mode Registers Master Test Register Reserved For Test
Notes on Test Mode Register Bits: 1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence, unused register bits should be masked off by software when read. 2. Writable test mode register bits are not initialized upon reset unless otherwise noted.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
406
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Register 0x400: Master Test Bit Type Function Default
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 W W W W R/W W R/W
Unused Reserved PMCATST PMCTST DBCTRL IOTST HIZDATA HIZIO
X X X X 0 0 0 0
This register is used to enable S/UNI-STAR test features. All bits, except PMCTST, PMCATST, and BYPASS are reset to zero by a reset of the S/UNISTAR using either the RSTB input or the Master Reset Register. PMCTST and BYPASS are reset when CSB is logic one. PMCATST is reset when both CSB is high and RSTB is low. PMCTST, PMCATST, and BYPASS can also be reset by writing a logic zero to the corresponding register bit. HIZIO, HIZDATA: The HIZIO and HIZDATA bits control the tri-state modes of the S/UNI-STAR . While the HIZIO bit is a logic one, all output pins of the S/UNI-STAR except the data bus and output TDO are held tri-state. The microprocessor interface is still active. While the HIZDATA bit is a logic one, the data bus is also held in a high-impedance state which inhibits microprocessor read cycles. The HIZDATA bit is overridden by the DBCTRL bit. IOTST: The IOTST bit is used to allow normal microprocessor access to the test registers and control the test mode in each TSB block in the S/UNI-STAR for board level testing. When IOTST is a logic one, all blocks are held in test mode and the microprocessor may write to a block's test mode zero registers to manipulate the outputs of the block and consequentially the device outputs. Refer to the "Test Mode 0 Details" in the "Test Features" section. DBCTRL: The DBCTRL bit is used to pass control of the data bus drivers to the CSB pin. When the DBCTRL bit is set to logic one and either IOTST or PMCTST
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
407
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
are logic one, the CSB pin controls the output enable for the data bus. While the DBCTRL bit is set, holding the CSB pin high causes the S/UNI-STAR to drive the data bus and holding the CSB pin low tri-states the data bus. The DBCTRL bit overrides the HIZDATA bit. The DBCTRL bit is used to measure the drive capability of the data bus driver pads. PMCTST: The PMCTST bit is used to configure the S/UNI-STAR for PMC-Sierra's manufacturing tests. When PMCTST is set to logic one, the S/UNI-STAR microprocessor port becomes the test access port used to run the PMC "canned" manufacturing test vectors. The PMCTST bit is logically "OR'ed" with the IOTST bit, and can be cleared by setting CSB to logic one or by writing logic zero to the bit. PMCATST: The PMCATST bit is used to configure the analog portion of the S/UNI-STAR for PMC-Sierra's manufacturing tests. Reserved: The reserved bit must be programmed to logic one for proper operation.
23.2 JTAG Test Port
The S/UNI-STAR JTAG Test Access Port (TAP) allows access to the TAP controller and the four TAP Registers: instruction, bypass, device identification and boundary scan. Using the TAP, device input logic levels can be read, device outputs can be forced, the device can be identified and the device scan path can be bypassed. For more details on the JTAG port, please refer to the OPERATION section.
Table 34: Instruction Register (Length - 3 bits) Instructions Selected Register Instruction Codes, IR[2:0]
EXTEST IDCODE SAMPLE BYPASS BYPASS
Boundary Scan Identification Boundary Scan Bypass Bypass
000 001 010 011 100
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
408
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Instructions
Selected Register
Instruction Codes, IR[2:0]
STCTEST BYPASS BYPASS
Boundary Scan Bypass Bypass
101 110 111
Table 35: Identification Register
Length Version number Part Number Manufacturer's identification code Device identification
32 bits 0H 5352H 0CDH 053520CDH
Table 36: Boundary Scan Register (Length - 155 bits) PIN/ENABLE REG. BIT CELL TYPE ID CONTROL
N/C N/C N/C RALRM RDAT[0] RDAT[1] RDAT[2] RDAT[3] RDAT[4] RDAT[5] RDAT[6] RDAT[7] RDAT[8]
154 153 152 151 150 149 148 147 146 145 144 143 142
T T T T T T T T T T T T T
1 0 1 1 0 0 1 1 0 0 0 0 1
HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
409
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE
REG. BIT
CELL TYPE
ID
CONTROL
RDAT[9] RDAT[10] RDAT[11] RDAT[12] RDAT[13] RDAT[14] RDAT[15] RPRTY Vdd Vdd RADR[0] RADR[1] RADR[2] RFCLK RENB RVAL REOP RERR RSOC_RSOP N/C N/C N/C DTCA_DTPA RCA_PRPA N/C N/C N/C DRCA_DRPA
141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114
T T T T T T T T I I I I I I I T T T T T T T T T T T T T
0 0 0 1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB
RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB RX_UTOPIA_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB RCA_PRPA_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
410
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE
REG. BIT
CELL TYPE
ID
CONTROL
TCA_PTPA TFCLK TENB TSOC_TSOP TPRTY Vdd Vdd TADR[0] TADR[1] TADR[2] TMOD TDAT[0] TDAT[1] TDAT[2] TDAT[3] TDAT[4] TDAT[5] TDAT[6] TDAT[7] TDAT[8] TDAT[9] TDAT[10] TDAT[11] TDAT[12] TDAT[13] TDAT[14] TDAT[15] STPA
113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86
T I I I I I I I I I I I I I I I I I I I I I I I I I I T
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TCA_PTPA_OEB
STPA_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
411
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE
REG. BIT
CELL TYPE
ID
CONTROL
STPA_OEB TEOP TERR PHY_OEN D_OEB[0] D[0] D_OEB[1] D[1] D_OEB[2] D[2] D_OEB[3] D[3] D_OEB[4] D[4] D_OEB[5] D[5] D_OEB[6] D[6] D_OEB[7] D[7] A[0] A[1] A[2] A[3] A[4] A[5] A[6] A[7]
85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58
E I I I E B E B E B E B E B E B E B E B I I I I I I I I
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 D_OEB[7] D_OEB[6] D_OEB[5] D_OEB[4] D_OEB[3] D_OEB[2] D_OEB[1] D_OEB[0]
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
412
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE
REG. BIT
CELL TYPE
ID
CONTROL
A[8] A[9] A[10] CSB ALE RDB WRB RSTB INTB HIZ_OEB
57 56 55 54 53 52 51 50 49 48
I I I I I I I I O E E E E I I I I I I I I I I T T T
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 HIZ_OEB HIZ_OEB HIZ_OEB
RX_UTOPIA_O 47 EB TCA_PTPA_OE 46 B RCA_PRPA_OE 45 B TFPI REFCLK Vss Vss Vss TSD Vss Vss Vss TLD N/C N/C N/C 44 43 42 41 40 39 38 37 36 35 34 33 32
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
413
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE
REG. BIT
CELL TYPE
ID
CONTROL
TSDCLK N/C N/C N/C TLDCLK TFPO TCLK N/C N/C N/C RFPO N/C N/C N/C RCLK N/C N/C N/C RLD N/C N/C N/C RSD N/C N/C N/C RLDCLK N/C
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4
T T T T T T T T T T T T T T T T T T T T T T T T T T T T
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB HIZ_OEB
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
414
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
PIN/ENABLE
REG. BIT
CELL TYPE
ID
CONTROL
N/C N/C RSDCLK RMOD Notes:
3 2 1 0
T T T T
0 0 0 0
HIZ_OEB HIZ_OEB HIZ_OEB RX_UTOPIA_OEB
1. N/C specifies a BSC that is present but not bonded out to a package pin. 2. Vdd and Vss specify BSCs that are connected to device pins which are permanently tied to Vdd and Vss respectively. 3. D_OENB[7:0] is the active low output enable for D[7:0]. 4. RX_UTOPIA_OEB is the active low output enable for RSOC/RSOP, RDAT[15:0], RXPRTY, RMOD, RERR, RVAL. 5. TCA_PTPA_OEB is the active low output enable for TCA/PTPA. 6. RCA_PRPA_OEB is the active low output enable for RCA/PRPA. 7. STPA_OEB is the active low output enable for STPA. 8. When set high, INTB will be set to high impedance. 9. HIZ_OEB is the active low output enable for all OUT_CELL types except those listed above. 10. A[7] is the first bit of the boundary scan chain.
23.2.1 Boundary Scan Cells
In the following diagrams, CLOCK-DR is equal to TCK when the current controller state is SHIFT-DR or CAPTURE-DR, and unchanging otherwise. The multiplexer in the center of the diagram selects one of four inputs, depending on the status of select lines G1 and G2. The ID Code bit is as listed in the Boundary Scan Register table located above.
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
415
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 54: Input Observation Cell (IN_CELL)
IDCODE Scan Chain Out INPUT to internal logic
Input Pad
G1 G2 SHIFT-DR
I.D. Code bit CLOCK-DR
12 1 2 MUX 12 12
Scan Chain In
D C
Figure 55: Output Cell (OUT_CELL)
Scan Chain Out EXTEST Output or Enable from system logic IDOODE SHIFT-DR
G1 1 G1 G2 1 1 1 1 2 2 MUX 2 2 1
OUTPUT or Enable
MUX
D C
D C
I.D. code bit CLOCK-DR UPDATE-DR
Scan Chain In
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
416
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
Figure 56: Bidirectional Cell (IO_CELL)
Scan Chain Out
EXTEST OUTPUT from internal logic IDCODE SHIFT-DR INPUT from pin I.D. code bit CLOCK-DR UPDATE-DR Scan Chain In
G1 1 G1 G2 12 1 2 MUX 12 12 1
INPUT to internal logic
MUX
OUTPUT to pin
D C
D C
Figure 57: Layout of Output Enable and Bidirectional Cells
Scan Chain Out OUTPUT ENABLE from internal logic (0 = drive) INPUT to internal logic OUTPUT from internal logic
OUT_CELL
IO_CELL
I/O PAD
Scan Chain In
PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS' INTERNAL USE
417
PRODUCTION S/UNI-STAR DATASHEET PMC-1990421 ISSUE 3
PM5352 S/UNI-STAR
SATURN USER NETWORK INTERFACE (STAR)
CONTACTING PMC-SIERRA, INC.
PMC-Sierra, Inc. 105-8555 Baxter Place Burnaby, BC Canada V5A 4V7 Tel: Fax: (604) 415-6000 (604) 415-6200 document@pmc-sierra.com info@pmc-sierra.com apps@pmc-sierra.com http://www.pmc-sierra.com
Document Information: Corporate Information: Application Information: Web Site:
None of the information contained in this document constitutes an express or implied warranty by PMC-Sierra, Inc. as to the sufficiency, fitness or suitability for a particular purpose of any such information or the fitness, or suitability for a particular purpose, merchantability, performance, compatibility with other parts or systems, of any of the products of PMC-Sierra, Inc., or any portion thereof, referred to in this document. PMC-Sierra, Inc. expressly disclaims all representations and warranties of any kind regarding the contents or use of the information, including, but not limited to, express and implied warranties of accuracy, completeness, merchantability, fitness for a particular use, or non-infringement. In no event will PMC-Sierra, Inc. be liable for any direct, indirect, special, incidental or consequential damages, including, but not limited to, lost profits, lost business or lost data resulting from any use of or reliance upon the information, whether or not PMC-Sierra, Inc. has been advised of the possibility of such damage. (c) 2002 PMC-Sierra, Inc. PMC-1990421 (R3) ref PMC-1900213 (R10) Issue date: January 2002


▲Up To Search▲   

 
Price & Availability of 1990421

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X