Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
SMSC LAN9311i manuale d’uso - BKManuals

SMSC LAN9311i manuale d’uso

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso SMSC LAN9311i. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica SMSC LAN9311i o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso SMSC LAN9311i descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso SMSC LAN9311i dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo SMSC LAN9311i
- nome del fabbricante e anno di fabbricazione SMSC LAN9311i
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature SMSC LAN9311i
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio SMSC LAN9311i non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti SMSC LAN9311i e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio SMSC in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche SMSC LAN9311i, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo SMSC LAN9311i, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso SMSC LAN9311i. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

    SMSC LAN931 1/LAN931 1i DA T ASHEET Revision 1.4 (08-19- 08) Datasheet PRODUCT FEA TURES LAN931 1/LAN931 1i T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Highlight s  High performance and full featu red 2 port switch with VLAN, QoS packet prio ritizati on, Rate L imiting, IGMP Snooping and manage ment functions  E[...]

  • Pagina 2

    ORDER NUMBERS: LAN931 1-NU FOR 128-PIN, VTQFP LEAD-FREE ROHS COMPLIANT P ACKAGE (0 TO 70 ° C TEMP RANGE) LAN931 1-NZW FOR 128-PIN, XVTQFP LE AD-FR EE ROHS COMPLIANT P ACKAGE (0 TO 70 ° C TEMP RA NGE) LAN931 1i-NZW FOR 128-PIN, XVTQFP LEAD-FR EE ROHS COMPLIANT P ACKAGE (-40 TO 85 ° C TEMP RANGE) T wo Port 10/100 Managed Ethernet Switch with 16-Bi[...]

  • Pagina 3

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 3 Revision 1.4 (08-19-08) DA T ASHEET T able of Content s Chapter 1 Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.1 General Terms . . . . . . . . . . . . . [...]

  • Pagina 4

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 4 SMSC LAN931 1/LAN931 1i DA T ASHEET 5.2.7 General Purpose Timer Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.2.8 Software Interrupt . . . . . . . . . . . . . . . . . . . .[...]

  • Pagina 5

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 5 Revision 1.4 (08-19-08) DA T ASHEET 7.2.1.6 100M Phase Lock Loop (PLL) .................... .. ................ .. ................ ................ .. ................ .... ................ .......... ............. ........... ...........[...]

  • Pagina 6

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 6 SMSC LAN931 1/LAN931 1i DA T ASHEET 8.6 HBI Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Chapter 9 Host MAC . . . . . . . . . . . . . . . . .[...]

  • Pagina 7

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 7 Revision 1.4 (08-19-08) DA T ASHEET 10.2.3.7 WRITE (W rite Locat ion) ............ ........... ............. .......... .............. .......... .......... .............. ............... ............. ........... .......... ............. [...]

  • Pagina 8

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 8 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.3 GPIO/LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 14.2.3.1 General P urpose I/O Configuration Registe[...]

  • Pagina 9

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 9 Revision 1.4 (08-19-08) DA T ASHEET 14.3.10 Host MAC VLAN2 Tag Regist er (H MAC_VLAN2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 14.3.11 Host MAC Wake-up Frame Filter Re gister (HMAC_WUFF) . . . . . . . . . [...]

  • Pagina 10

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 10 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.8 Switch Engine VLAN Command Regist er (SWE_VLAN_CMD)................ . ............... . ................. .............. .. ... ................. .......... ........... ......... 377 14.5.3.9 S[...]

  • Pagina 11

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 1 1 Revision 1.4 (0 8-19-08) DA T ASHEET 15.5.7 RX Data FIFO Direct PIO Burst Read Cycle Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451 15.5.8 PIO Write Cycle Timing . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Pagina 12

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 12 SMSC LAN931 1/LAN931 1i DA T ASHEET List of Figures Figure 2 .1 Internal L AN9311/LAN9 311i Block D iagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 2.2 System Block Diagram . . . . . . . . . . . [...]

  • Pagina 13

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 13 Revision 1.4 (08-19-08) DA T ASHEET Figure 14.1 LAN93 11/LAN9311i Base Register Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Figure 15.1 Output Equivalent Test Load . . . . . . . . . . . . . . . . . . . .[...]

  • Pagina 14

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 14 SMSC LAN931 1/LAN931 1i DA T ASHEET List of T ables Table 1.1 Buffer Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Table 1.2 Register Bit Ty pes . . . [...]

  • Pagina 15

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 15 Revision 1.4 (08-19-08) DA T ASHEET Table 14.3 Switch Fabric CS R to SWITCH_CSR_DIRECT_D ATA Address Range Map . . . . . . . . . . . . 241 Table 14.4 Virtual PHY MII Serially Adressable Register Index . . . . . . . . . . . . . . . . . . .[...]

  • Pagina 16

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 16 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 1 Preface 1.1 General T erms 100BT 100BASE-T (100Mbps Fast Ethernet, IEEE 802.3u) ADC Analog-to-Digital Converter ALR Address Logic Resolution BL W Baseline W ander BM Buffer Manager - Part of t[...]

  • Pagina 17

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 17 Revision 1.4 (08-19-08) DA T ASHEET MII Media Independent Interface MIIM Media Independent Interface Mana gement MIL MAC Interface Layer MLD Multicast Listening Discovery ML T -3 Multi-Level Transmission Encoding (3-Levels). A tri-level e[...]

  • Pagina 18

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 18 SMSC LAN931 1/LAN931 1i DA T ASHEET 1.2 Buffer T ypes T able 1 .1 describes the pin buffer type notation used in Chapter 3, "Pin Description and Configu ration," on page 2 6 and throughout this document. Ta b l e 1 . 1 B u f f e[...]

  • Pagina 19

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 19 Revision 1.4 (08-19-08) DA T ASHEET 1.3 Register Nomenclature T able 1 .2 describes the register bit attribute notation used throughout this document. Many of these register bit notations can be co mbined. Some ex amples of this are shown[...]

  • Pagina 20

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 20 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 2 Introduction 2.1 General Description The LAN931 1/LAN931 1i is a full featured, 2 port 10/100 managed Ethernet switch designed for embedded applications wh ere performance, flexibility , ease [...]

  • Pagina 21

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 21 SMSC LAN931 1/LAN931 1i DA T ASHEET 2.2 Block Diagram Figure 2.1 Internal LAN931 1/LAN931 1i Bloc k Diagram To optiona l EEPROM EEPROM Controller I 2 C (master) Microwir e (master) EEPROM Loader Register Access MUX System Regist ers (CSRs[...]

  • Pagina 22

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 22 SMSC LAN931 1/LAN931 1i DA T ASHEET 2.2.1 System Clocks/R eset/PME Controller A clock module contained within t he LAN931 1/LAN931 1i generates a ll the system clocks required by the device. This module interfaces dire ctly with the ex te[...]

  • Pagina 23

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 23 Revision 1.4 (08-19-08) DA T ASHEET  General Purpos e Timer  Software (general purpose) A dedicated programmable IRQ interrupt output pi n is provided for external indicatio n of any LAN931 1/LAN931 1i interrupts. T he IRQ pin is co[...]

  • Pagina 24

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 24 SMSC LAN931 1/LAN931 1i DA T ASHEET  System CSRs Access  Interrupt Support 2.2.6 Host MAC The Host MAC incorporates the essential protocol requirements for operati ng an Ethern et/IEEE 802.3- compliant node and provides an in te rfa[...]

  • Pagina 25

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 25 Revision 1.4 (08-19-08) DA T ASHEET 2.2.9 GPIO/LED Controller The LAN931 1/LAN931 1i provides 12 con figurable general-pu rpose input/outpu t pins which are controlled via this module. These pins can be i ndividually configured vi a th e [...]

  • Pagina 26

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 26 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 3 Pin Description and Configuration 3.1 Pin Diagrams 3.1.1 128-VTQFP Pin Diagram Figure 3.1 LAN931 1 128 -VTQFP Pin Assignments (TOP VIEW) SMSC LAN9311 128-VTQFP TOP VIEW 97 VSS EECLK/EE_SCL/ EE[...]

  • Pagina 27

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 27 Revision 1.4 (08-19-08) DA T ASHEET 3.1.2 128-XVTQFP Pin Diagram Figure 3.2 LAN931 1/LAN93 1 1i 128-XVTQFP Pin As signments (T OP VIEW) VSS NOTE: EXPOSED PAD ON BOTTOM OF PACKAGE MUST BE CONNECTED TO GROUND SMSC LAN9311/LAN9311i 128-XVTQF[...]

  • Pagina 28

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 28 SMSC LAN931 1/LAN931 1i DA T ASHEET 3.2 Pin Descriptions This section contains the descriptions of the LAN 931 1/LAN931 1i pins. The pin description s have been broken into functional groups as follows:  LAN Port 1 Pins  LAN Port 2 [...]

  • Pagina 29

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 29 Revision 1.4 (08-19-08) DA T ASHEET Note 3.1 The pin names for the twisted pair pins apply to a normal connecti on. If HP Auto-MDIX is enabled and a reverse connection is detected or manually selected, the RX and TX pins will be swapped i[...]

  • Pagina 30

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 30 SMSC LAN931 1/LAN931 1i DA T ASHEET 122,125 +3.3V Port 2 Analog Power Supply VDD33A2 P +3.3V Port 2 Analog Power Supply Refer to the LAN 931 1 /LAN931 1i applicatio n note for additional conne ction informatio n. 120 +3.3V Master Bias Pow[...]

  • Pagina 31

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 31 Revision 1.4 (08-19-08) DA T ASHEET Note: Refer to Chapter 8, "Host Bus Interface (HBI)," on p age 99 for additional info rmation regarding the use of these signals. 60 Data FIFO Direct Access Select FIFO_SEL IS Data FIFO Direct[...]

  • Pagina 32

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 32 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 3.3 The IS buffer type is valid only during the time specified in Section 15.5 .2, "Reset and Configuration S t rap T iming," on page 446 . Note 3.4 Configuration strap values are latched[...]

  • Pagina 33

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 33 Revision 1.4 (08-19-08) DA T ASHEET Note: For more information on conf iguration straps, refer to Section 4.2.4, "Configuration S traps," on page 40 . Additional strap pins, which share functi onality with the EEPROM pins, are d[...]

  • Pagina 34

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 34 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 3.7 The input buffers are enabled when configured as GPIO inputs only . 75 T est 1 TEST1 AI T est 1 : This pin must be tied to VDD33I O for proper operation. 108 T est 2 TEST2 AI T est 2 : This pin[...]

  • Pagina 35

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 35 Revision 1.4 (08-19-08) DA T ASHEET Note 3.8 Plus external pad for 128-XVTQFP package only 18,48,80, 97,1 12,1 13, 128 Note 3.8 Common Ground VSS P Common Grou nd T able 3.10 No-Connect Pins PIN NAME SYMBOL BUFFER TYPE DESCRIPTION 1,2, 4-[...]

  • Pagina 36

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 36 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 4 Clocking, Reset s, and Power Management 4.1 Clocks The LAN931 1/LAN931 1i includes a cl ock module which provides generation of all system clocks as required by the various sub-module s of the[...]

  • Pagina 37

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 37 Revision 1.4 (08-19-08) DA T ASHEET Note 4.1 In the case of a soft reset, the EEPROM L oader is run, but loads only the MAC address into the Host MAC. No other values are loaded by the EEPROM Lo ader in this case. 4.2.1 Chip-Level Reset s[...]

  • Pagina 38

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 38 SMSC LAN931 1/LAN931 1i DA T ASHEET A POR reset typically t akes approximately 23mS, plus additional time (91uS for I 2 C, 28uS for Microwire) per byte of da ta loaded from the EEPROM via the EEPR OM Loader . A full EEPROM load (64KB for [...]

  • Pagina 39

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 39 Revision 1.4 (08-19-08) DA T ASHEET 4.2.2.2 Sof t Reset (SRST) A soft reset is performed by setting the SRST bit of the Hardware Configuration Register (HW_CFG) . A soft reset will reset the HBI, Host MAC, and S ystem CSRs below ad dress [...]

  • Pagina 40

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 40 SMSC LAN931 1/LAN931 1i DA T ASHEET Note: When using the Reset bit to re set the Port 1 PHY , register bits designated as NASR are not reset. Refer to Section 7.2.10, "PHY Resets," on page 95 for additional information on Port 1[...]

  • Pagina 41

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 41 Revision 1.4 (08-19-08) DA T ASHEET T abl e 4.2 Sof t-Strap Configuration Strap Definitions STRAP NAME DESCRIPTION PIN / DEFAULT VALUE LED_en_strap[7 :0] LED Enable Strap s: Con figures the default value for the LED_EN bit s in the LED Co[...]

  • Pagina 42

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 42 SMSC LAN931 1/LAN931 1i DA T ASHEET speed_strap_1 Port 1 Speed Select Strap: Configures the defa ult value for the S peed Select LSB (PHY_SPEED_SEL_LSB) bit in the PHY_BASIC_CTRL_1 register (See Section 14.4.2.1 ). When configured low, 10[...]

  • Pagina 43

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 43 Revision 1.4 (08-19-08) DA T ASHEET manual_FC_strap_1 Port 1 Manual Flow Control Enable Strap: Configures the default val ue of the Port 1 Full-Duplex Manual Flow Control Select (MANUAL_FC_1) bit in the Port 1 Manual Flow Control Register[...]

  • Pagina 44

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 44 SMSC LAN931 1/LAN931 1i DA T ASHEET speed_strap_2 Port 2 Speed Select Strap: Configures the defa ult value for the S peed Select LSB (PHY_SPEED_SEL_LSB) bit in the PHY_BASIC_CTRL_2 register (See Section 14.4.2.1 ). When configured low, 10[...]

  • Pagina 45

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 45 Revision 1.4 (08-19-08) DA T ASHEET 4.2.4.2 Hard-Str aps Hard-straps are latched upon Power-On Reset (POR) or pin rese t (nRST) only . Unlike soft-straps, hard-straps always have an associated pin and cannot be overridden by the EEPROM Lo[...]

  • Pagina 46

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 46 SMSC LAN931 1/LAN931 1i DA T ASHEET 4.3 Power Management The LAN931 1/LAN931 1 i Port 1 and Port 2 PHYs an d the Host MAC support several powe r management and wakeup fea tures. The LAN931 1/LAN931 1i can be programmed to issu e an extern[...]

  • Pagina 47

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 47 Revision 1.4 (08-19-08) DA T ASHEET 4.3.1 Port 1 & 2 PHY Power Management The Port 1 & 2 PHYs provide independent gene ral power-down and e nergy-detect power-down modes which reduce PHY power consumption. Genera l power-down mode[...]

  • Pagina 48

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 48 SMSC LAN931 1/LAN931 1i DA T ASHEET The Port 1 & 2 PHY energy-detect events are capable of asserting the PME output by additionally setting the PME_EN an d ED_EN2 (Port 2 PHY) or ED _EN1 (Port 1 PHY) bit s of the Power Management Cont[...]

  • Pagina 49

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 49 Revision 1.4 (08-19-08) DA T ASHEET Chapter 5 System Interrupt s 5.1 Functional Overview This chapter describes the sy stem interrupt structure of the LAN931 1/L AN931 1i. The LAN931 1/LAN9 31 1i provides a multi- ti er programmable inter[...]

  • Pagina 50

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 50 SMSC LAN931 1/LAN931 1i DA T ASHEET Figure 5.1 Functional Inte rrupt Register Hierarch y INT_CFG INT_STS INT_EN Top Level Interrupt Registers (System CSRs) 1588_INT_STS_EN 1588 Time Stamp Interrupt Register Bit 29 (1588_EVNT) of INT_STS r[...]

  • Pagina 51

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 51 Revision 1.4 (08-19-08) DA T ASHEET The following sections detail each category of interrupts and their related registers. Refer to Chapter 14, "Register Descriptions," on page 167 for bit-level definition s of all interrupt reg[...]

  • Pagina 52

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 52 SMSC LAN931 1/LAN931 1i DA T ASHEET 5.2.3 Ethernet PHY Interrupts The Port 1 and Port 2 PHYs each provi de a set of identical i nterrupt sources. The top-leve l PHY_INT1 (bit 26) and PHY_INT2 (bit 27) of the Interrupt S tatus Register (IN[...]

  • Pagina 53

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 53 Revision 1.4 (08-19-08) DA T ASHEET  TX S tatus FIFO Overflow  Receive W atchdog Time-Out  Receiver Error  T ransmitter Error  TX Data FIFO Underrun  TX Data FIFO Overrun  TX Data FIFO Available  TX S tatus FIFO Fu[...]

  • Pagina 54

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 54 SMSC LAN931 1/LAN931 1i DA T ASHEET 5.2.8 Sof tware Interrupt A general purpose software interrupt is provid ed in the top level Interrupt S tatus Register (INT_STS) and In terrupt Enable Register (INT_EN) . The SW_INT interrupt (bit 31) [...]

  • Pagina 55

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 55 Revision 1.4 (08-19-08) DA T ASHEET Chapter 6 Switch Fabric 6.1 Functional Overview At the core of the LAN931 1/LAN931 1i is the high performance, hi gh efficiency 3 port Ethernet switch fabric. The switch fabric contains a 3 port VLAN la[...]

  • Pagina 56

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 56 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.2.1 Switch Fabric CSR Writes T o perfor m a write to an ind ividual switch fabric re gister , th e desired data must first be written into the Switch Fabric CSR Interface Data Register (SWITCH_ CSR_DA[...]

  • Pagina 57

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 57 Revision 1.4 (08-19-08) DA T ASHEET 6.2.2 Switch Fabric CSR Reads T o perform a read of an individual s witch fabric register , the read cycl e must be initiated by performing a single write to the Switch Fabric CSR Interface Co mmand Reg[...]

  • Pagina 58

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 58 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.2.3 Flow Control Enable Logic Each switch fabric port (0,1,2) is provided wit h two flow control enable inputs per po rt, one for transmission and one for re ception. Flow control on transmission allo[...]

  • Pagina 59

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 59 Revision 1.4 (08-19-08) DA T ASHEET register . When Auto-neg otiation is enabled and the MANUAL _FC_x bit is cleared, the switch port fl ow control enables during fu ll-duplex are determin ed by Auto-negotiation. Note: The flow control va[...]

  • Pagina 60

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 60 SMSC LAN931 1/LAN931 1i DA T ASHEET Per Ta b l e 6 . 1 , the following cases are possible:  Case 1 - Auto-negoti ation is still in progress. Since t he re sult is not yet established, flow control is disabled.  Case 2 - Auto-negotia[...]

  • Pagina 61

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 61 Revision 1.4 (08-19-08) DA T ASHEET "Flow Control Enable Logic," on page 58 . Pause frames are consumed by the MAC and not sent to the switch engine. Non-pause control fram es are optionally fi ltered or forw arded. When the rec[...]

  • Pagina 62

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 62 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.3.2 T ransmit MAC The transmit MAC generate s an Etherne t MAC frame from TX FIFO data. This includes generating the preamble and SFD, calculating and appending the frame checksum value, optionally pa[...]

  • Pagina 63

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 63 Revision 1.4 (08-19-08) DA T ASHEET  T otal multicast packet s ( Section 14.5.2.37, on page 360 )  T otal packets with a late collision ( Section 14.5 .2.38, on page 361 )  T otal packets with excessive collisions ( Section 14.5.[...]

  • Pagina 64

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 64 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.4.1.1 Learning/Aging/Migration The ALR adds new MAC addresses u pon ingress along with the associated receive po rt. If the source MAC ad dress already exist s, the entry is refreshed . This action se[...]

  • Pagina 65

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 65 Revision 1.4 (08-19-08) DA T ASHEET The following procedure sh ould be followed in order to add, d elete, and modify the ALR entri es: 1. Write the Switch Engine ALR Write Data 0 Registe r (SWE_ALR_WR_DA T_0) and Switch Engine ALR Write D[...]

  • Pagina 66

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 66 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.4.2 Forwarding Rules Upon ingress, packets are filtered or forwarded based on the follow ing rules:  If the destination port equal s the source por t (local traffic), the packet is filtered.  If[...]

  • Pagina 67

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 67 Revision 1.4 (08-19-08) DA T ASHEET 6.4.3 T ransmit Priori ty Queue Selection The transmit priority queu e may be selected from five option s. As shown in Fi gure 6.4 , the priority may be based on:  the static value for the destinatio[...]

  • Pagina 68

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 68 SMSC LAN931 1/LAN931 1i DA T ASHEET The transmit queue priority is based on the pa cket type and device configuration as shown in Figure 6.5 . Refer to Section 14 .5.3.16, "Switch Engine Global Ingress Conf iguration Register (SWE_GL[...]

  • Pagina 69

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 69 Revision 1.4 (08-19-08) DA T ASHEET 6.4.3.1 Port Default Priority As detailed in Figure 6.5 , the default priority is based on the in gr ess ports priority bits in its port VID value. The PVID table is read and written by using the Switch[...]

  • Pagina 70

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 70 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.4.4 VLAN Support The switch e ngine supports 16 acti ve VLANs out of a p ossible 4096. The VLAN table contains the 16 active VLAN entries, each consisti ng of the VID, the port memb ersh ip, and un-ta[...]

  • Pagina 71

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 71 Revision 1.4 (08-19-08) DA T ASHEET 6.4.6 Ingress Flow Metering and Coloring The LAN931 1/LAN931 1i supports hardware ing ress rate l imiting by metering packet streams and marking packet s as either Green, Y ellow, or Red according to th[...]

  • Pagina 72

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 72 SMSC LAN931 1/LAN931 1i DA T ASHEET After each p acket is received, th e bucket is decremented. If the Co mmitted Burst bucket has sufficient tokens, it is debit ed and the packet is colored Green. If the Committed Burst bucket lacks suff[...]

  • Pagina 73

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 73 Revision 1.4 (08-19-08) DA T ASHEET The ingress flow calculation is based on the packe t type and the devi ce configuration as shown in Figure 6.8 . Figure 6.7 Switch Engine Ingr ess Flow Priority Se lection Figure 6.8 Switch Engine Ingre[...]

  • Pagina 74

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 74 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.4.7 Broadcast Storm Control In addition to ingress rate limiti ng, the LAN931 1/ LAN9 31 1i supports hardware broadcast storm control on a per port basis. This feature is enabled via the Switch Engine[...]

  • Pagina 75

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 75 Revision 1.4 (08-19-08) DA T ASHEET Normally , packets are never transmitted back to the receiving port. For IGMP/MLD sno oping, this may optionally be ena bled via the Switch Engin e Global Ingress Configuration R egister (SWE_GLOBAL_ING[...]

  • Pagina 76

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 76 SMSC LAN931 1/LAN931 1i DA T ASHEET Note: When specifying Po rt 0 as the destination port, t he VID will be set to 0. A VID o f 0 is normally considered a priority tagged packet. Such a packet will be filtered if Admit Only VLAN is set on[...]

  • Pagina 77

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 77 Revision 1.4 (08-19-08) DA T ASHEET 6.5 Buffer Manager (BM) The buf fer manager (BM) provides control of the fr ee buf fer space, the multipl e priority transmit queues, transmission scheduling, and packet dropping. VLAN tag insertion and[...]

  • Pagina 78

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 78 SMSC LAN931 1/LAN931 1i DA T ASHEET 6.5.4 T ransmit Priori ty Queue Servicing When a transmit queue is non-empty , it is serviced and the packet is read from the buffer RAM and sent to the transmit MAC. If ther e are multiple queues that [...]

  • Pagina 79

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 79 Revision 1.4 (08-19-08) DA T ASHEET 6.5.6 Adding, Removing, and Changing VLAN T ags Based on the port configuration and the received pa cket formation, a VLAN tag can be added to , removed from, or modified in a packet. There are four rec[...]

  • Pagina 80

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 80 SMSC LAN931 1/LAN931 1i DA T ASHEET Hybrid tagging is summarized in Figure 6.9 . The default VLAN ID and priority of each port may be configured via the followin g registers:  Buffer Manager Port 0 Default VLAN ID and Priority Register[...]

  • Pagina 81

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 81 Revision 1.4 (08-19-08) DA T ASHEET 6.5.7 Counters A counter is maintained per port that contains the number of packets dropped due to buffer space limit s and ingress rate limit disca rding (Red and random Y ellow dropping). These counte[...]

  • Pagina 82

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 82 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 7 Ethernet PHYs 7.1 Functional Overview The LAN931 1/LAN931 1i contains three PHYs: Port 1 PHY , Port 2 PHY and a Virtual PHY . The Port 1 & 2 PHYs are iden tical in functionality and e ach [...]

  • Pagina 83

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 83 Revision 1.4 (08-19-08) DA T ASHEET 7.2 Port 1 & 2 PHYs Functionally , each PHY can b e divided into the fo llowing secti ons:  100BASE-TX Transmit and 100BASE-TX Receive  10BASE-T T ransmit and 10BASE-T Receive  PHY Auto-neg[...]

  • Pagina 84

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 84 SMSC LAN931 1/LAN931 1i DA T ASHEET 7.2.1 100BASE-TX T ransmit The 100BASE-TX transmit data p ath is shown in Figure 7.2 . Shaded blocks are those which are internal to the PHY . Each ma jor block is explained in the following sections. 7[...]

  • Pagina 85

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 85 Revision 1.4 (08-19-08) DA T ASHEET T able 7.2 4B/5B Code T able CODE GROUP SYM RECEIVER INTERPRET A TION TRANSMIT TER INTERPRET A TION 1111 0 0 0 0 0 0 0 D ATA 0 0 0 0 0 D ATA 01001 1 1 0 001 1 0001 10100 2 2 0 010 2 0010 10101 3 3 001 1[...]

  • Pagina 86

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 86 SMSC LAN931 1/LAN931 1i DA T ASHEET 7.2.1.3 Scrambler and PISO Repeated data patterns (especially the IDLE code-group) can have power spectral den sities with large narrow-band peaks. Scramblin g the data helps eliminate these peaks an d [...]

  • Pagina 87

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 87 Revision 1.4 (08-19-08) DA T ASHEET 7.2.2 100BASE-TX Receive The 100BASE-TX rece ive data path is shown in Figure 7.3 . Shaded blocks are th ose whi ch are intern al to the PHY . Each major bloc k is explained in th e following section s.[...]

  • Pagina 88

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 88 SMSC LAN931 1/LAN931 1i DA T ASHEET 7.2.2.3 NRZI and ML T -3 Decoding The DSP generates t he ML T -3 reco vered levels that are fed to th e ML T -3 converter. The ML T -3 is then converted to an NRZI da ta stream. 7.2.2.4 Descrambler and [...]

  • Pagina 89

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 89 Revision 1.4 (08-19-08) DA T ASHEET 7.2.3 10BASE-T T r ansmit Data to be transmitted comes fr om the switch fabric MAC. The 10BASE-T tr ansmitter receives 4-bit nibbles from the internal MII at a rate of 2.5MHz and converts them to a 10Mb[...]

  • Pagina 90

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 90 SMSC LAN931 1/LAN931 1i DA T ASHEET (PHY_SPECIAL_CONTROL_ST A T_IND_x) . The 10M PLL locks onto the received Manchester signal and generates the rece ived 20MHz clock from it. Using this clock, t he Manchester encoded data is extracted an[...]

  • Pagina 91

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 91 Revision 1.4 (08-19-08) DA T ASHEET  10M PLL (analog)  10M TX Driver (analog) Auto-negotiation is started by the occurrence of any of the fo llowing events:  Power-On Reset (POR)  Hardware re set (nRST)  PHY Software reset [...]

  • Pagina 92

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 92 SMSC LAN931 1/LAN931 1i DA T ASHEET 7.2.5.1 PHY Pause Flow Control The Port 1 & 2 PHYs are capable of generating and receiving pause flow control frame s per the IEEE 802.3 specification. The PHYs advertise d pause flow control abilit[...]

  • Pagina 93

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 93 Revision 1.4 (08-19-08) DA T ASHEET 7.2.5.5 Half Vs. Full-Duplex Half-duplex o peration relies on the CSMA/CD (Carrier Sense Mul tiple Access / Collision Det ect) protocol to handle network t raf fic and collisions . In this mode, the car[...]

  • Pagina 94

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 94 SMSC LAN931 1/LAN931 1i DA T ASHEET For a transmissi on, the switch fabri c MAC drives the tr ansmit data onto the internal MII TXD bus and asserts TXEN to indicate va lid data. The data is in t he form of 4 -bit wide data at a rate of 25[...]

  • Pagina 95

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 95 Revision 1.4 (08-19-08) DA T ASHEET Note: The power-down modes of each PHY ( Port 1 PHY and Port 2 PHY) are controlled independently . Note: The PHY power-down mod es do not reload or reset th e PHY registers. 7.2.9.1 PHY General Power-Do[...]

  • Pagina 96

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 96 SMSC LAN931 1/LAN931 1i DA T ASHEET 7.2.10.2 PHY Software Reset via PHY_BASIC_CTRL_x The PHY can also be reset by s etting bit 15 (P HY_RST) of th e Port x PHY Basic Control Register (PHY_BASIC_CONTROL_x) . This bit is self clearing and w[...]

  • Pagina 97

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 97 Revision 1.4 (08-19-08) DA T ASHEET The emulated auto-ne gotiation process is much simpler than the rea l process and can be categorized into three step s: 1. Bit 5 (Auto-Negotiation Complete) is set in the Virtual PHY Basic S tatus Regis[...]

  • Pagina 98

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 98 SMSC LAN931 1/LAN931 1i DA T ASHEET (VPHY_BASIC_CTRL) . The speed and duplex bits in the Virtual PHY Basic Control Register (VPHY_BASIC_CTRL) should be ignored when auto-negotiatio n is enabled. 7.3.1.3 Virtual PHY Paus e Flow Control The[...]

  • Pagina 99

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 99 Revision 1.4 (08-19-08) DA T ASHEET Chapter 8 Host Bus Interface (HBI) 8.1 Functional Overview The Host Bus In terface (HBI) module provid es a high-speed asynchronous SRAM-like slave interface that facilit ates communication betw een the[...]

  • Pagina 100

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 100 SMSC LAN931 1/LAN931 1i DA T ASHEET 8.3.1 16-Bit Bus Writes The host is required t o perform two contiguous 16-b it writes to complete a single DWORD transfer . The DWORD must not cross a DWORD address boun dary (A[2] and higher cannot c[...]

  • Pagina 101

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 101 Revision 1.4 (08-19-08) DA T ASHEET . . Figure 8.1 Little Endian Byte Ordering Figure 8.2 Big Endian Byte Ordering 16-BIT LITT LE ENDIAN (END_SEL = 0) 0 1 2 3 0 1 2 3 0 7 8 15 0 7 8 15 16 23 31 24 A[1] = 0 A[1] = 1 MSB LSB HOST DATA BUS [...]

  • Pagina 102

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 102 SMSC LAN931 1/LAN931 1i DA T ASHEET 8.5 Host Interface Ti ming This section details the characteri stics and special restrictions of the various supported host cycles. For detailed timing specific ations on supported PIO read/writ e oper[...]

  • Pagina 103

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 103 Revision 1.4 (08-19-08) DA T ASHEET T able 8.1 Read Af ter Write Ti ming Rules REGISTER NAME MINIMUM W AIT TIME FOR READ FOLL OWING ANY WRITE CYCLE (IN NS) NUMBER OF BYTE_TEST READS (ASSUMING T CYC OF 45NS) RX Data FIFO 00 RX S tatus FIF[...]

  • Pagina 104

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 104 SMSC LAN931 1/LAN931 1i DA T ASHEET 1588_SEQ_ID_SRC_UUID_HI_TX_CAPTURE_1 00 1588_SRC_UUID_LO_TX_CAPTURE_1 00 1588_CLOCK_HI_RX_CAPTURE_2 00 1588_CLOCK_LO_RX_CAPTURE_2 00 1588_SEQ_ID_SRC_UUID_HI_RX_CAPTURE_2 00 1588_SRC_UUID_LO_RX_CAPTURE_[...]

  • Pagina 105

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 105 Revision 1.4 (08-19-08) DA T ASHEET 1588_CONFIG 45 1 1588_INT_STS_EN 45 1 MANUAL_FC_1 45 1 MANUAL_FC_2 45 1 MANUAL_FC_MII 45 1 SWITCH_CSR_DA T A 45 1 SWITCH_CSR_CMD 45 1 E2P_CMD 45 1 E2P_DA T A 45 1 LED_CFG 45 1 VPHY_BASIC_CTRL 45 1 VPHY[...]

  • Pagina 106

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 106 SMSC LAN931 1/LAN931 1i DA T ASHEET 8.5.3 Special Restrictions on Back-to-Back Read Cycles There are also re strictions on specifi c back-to-ba ck host read operations. These restrictio ns concern reading specific registers after read in[...]

  • Pagina 107

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 107 Revision 1.4 (08-19-08) DA T ASHEET 8.5.4 PIO Reads PIO reads can be used to access Syst em CSR’s or RX Data and RX/TX St atus FIFOs. PI O reads can be performed using Chip Select (nCS) or Read Enable (nRD ). A PIO Read cycle begins wh[...]

  • Pagina 108

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 108 SMSC LAN931 1/LAN931 1i DA T ASHEET 8.5.5 PIO Burst Reads In this mode, performance is improved by allowi ng up to 16 WO RD read cycles back-to-back. PIO burst reads can be performed using C hip Select (nCS) or Read Enable (nR D). A PIO [...]

  • Pagina 109

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 109 Revision 1.4 (08-19-08) DA T ASHEET 8.5.6 RX Data FIFO Direct PIO Reads In this mode on ly A[2:1] are d ecoded, and any read of the L AN931 1 /LAN931 1i will read t he RX Data FIFO. This mode is enabled when FIFO_SEL is driven high duri [...]

  • Pagina 110

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 1 10 SMSC LAN931 1/LAN931 1i DA T ASHEET 8.5.7 RX Data FIFO Direct PIO Burst Reads In this mode only A[2:1] are decoded, and any burst read of t he LAN931 1/ LAN931 1i will read the RX Data FIFO. This mode is enabled when F IF O _SEL is driv[...]

  • Pagina 111

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 1 1 1 Revision 1.4 (0 8-19-08) DA T ASHEET 8.5.8 PIO Writes PIO writes are used for all L AN931 1 /LAN931 1i write cycles. PIO writes ca n be performed usin g Chip Select (nCS) or Write Enable (nWR). A PIO writ e cycle begins when both nCS a[...]

  • Pagina 112

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 1 12 SMSC LAN931 1/LAN931 1i DA T ASHEET 8.5.9 TX Dat a FIFO Direct PIO Writes In this mode only A[2:1] are decoded, and any write to the LAN931 1/LAN931 1i will write the TX Data FIFO. This mode i s enabled when FI FO_SEL is dr iven hi gh d[...]

  • Pagina 113

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 1 13 Revision 1.4 (08-19-08) DA T ASHEET Chapter 9 Host MAC 9.1 Functional Overview The Host MAC incorporates the essential protocol requirements for operating an Ethernet/IEEE 802.3- compliant node and provid es an in terface between th e H[...]

  • Pagina 114

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 1 14 SMSC LAN931 1/LAN931 1i DA T ASHEET 9.2 Flow Control The Host MAC supports full-duplex flow control using t he pause operation and control frame . Half- duplex flow control using back pressure i s also supported. The Host MAC flow contr[...]

  • Pagina 115

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 1 15 Revision 1.4 (08-19-08) DA T ASHEET should be uniq ue. If both are set to t he same value, VLAN 1 is given higher p recedence and the maximum legal frame length is set to 1522. 9.4 Address Filtering The Etherne t address fields of an Et[...]

  • Pagina 116

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 1 16 SMSC LAN931 1/LAN931 1i DA T ASHEET 9.4.1 Perfect Filtering This filtering mode passes only incomi ng frames wh ose de stination address fi eld exactly match es the value programmed into the Host MAC Address High Register (HMAC_ADDRH) a[...]

  • Pagina 117

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 1 17 Revision 1.4 (08-19-08) DA T ASHEET 9.4.4 Inverse Filtering In inverse filtering, the Host MAC packet filter a ccepts incoming frames (f rom switch Port 0) with a destination address n ot matching the perfect address (i.e ., the value p[...]

  • Pagina 118

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 1 18 SMSC LAN931 1/LAN931 1i DA T ASHEET The Filter i Byte Mask defines which incoming frame byte s Filter i will examine to determine wh ether or not this is a wake-up frame. Ta b l e 9 . 3 , describes the byte mask’s bit fields. The Filt[...]

  • Pagina 119

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 1 19 Revision 1.4 (08-19-08) DA T ASHEET The Filter i Offset register defin es the offset in the frame’s destinati on address field from which the frames are examined by Filt er i. Ta b l e 9 . 5 describes the Filte r i Offset bit fields. [...]

  • Pagina 120

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 120 SMSC LAN931 1/LAN931 1i DA T ASHEET Destination Address Source Ad dress ……………FF FF FF FF FF FF 00 1 1 22 33 44 55 00 1 1 22 33 44 55 00 1 1 22 33 44 55 00 1 1 22 33 44 55 00 1 1 22 33 44 55 00 1 1 22 33 44 55 00 1 1 22 33 44 55[...]

  • Pagina 121

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 121 Revision 1.4 (08-19-08) DA T ASHEET Note: By convention, the right nibb le of the left most byte of the Ethe rnet address (in this example, the 2 of the 12h) is t he most significa nt nibble and is tra nsmitted/received first. For more i[...]

  • Pagina 122

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 122 SMSC LAN931 1/LAN931 1i DA T ASHEET operation s, the MIL op erates in store-and- forward mode and will queue a n entire fra me before beginning transmi ssion. As space in the TX MIL FIFO fre es, data is moved into it from the TX Data FIF[...]

  • Pagina 123

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 123 Revision 1.4 (08-19-08) DA T ASHEET 9.8 TX Dat a Path Operation Data is queue d for transmission by writing it into the TX Data FIFO. Each pa cket to be transmitted may be divided a mong multiple buf fers. Each buffer st arts with a two [...]

  • Pagina 124

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 124 SMSC LAN931 1/LAN931 1i DA T ASHEET The LAN931 1/LAN931 1i can b e programmed to stri p p a dding from the end of a transmit packet in the event that the end of the p acket does not align wit h the host burst boundary . This feature is n[...]

  • Pagina 125

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 125 Revision 1.4 (08-19-08) DA T ASHEET 9.8.1 TX Buffer Format TX buf fers exist in the host’s memory in a give n format. The host w rites a TX comma nd word into the TX data buffer before moving the Ethernet packet data. The TX command A [...]

  • Pagina 126

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 126 SMSC LAN931 1/LAN931 1i DA T ASHEET Both TX command ‘A ’ and TX command ‘B’ are r equired for each buffer in a given packet. TX command ‘B’ must be identical f or every buffer in a given packet. If the TX command ‘B’ word[...]

  • Pagina 127

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 127 Revision 1.4 (08-19-08) DA T ASHEET 9.8.2.2 TX Command ‘B’ 9.8.3 TX Dat a Format The TX data section begins at the third DWORD in t he TX buffer (after TX command ‘A ’ and TX command ‘B’). The location of the first byt e of v[...]

  • Pagina 128

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 128 SMSC LAN931 1/LAN931 1i DA T ASHEET DWORDs (2,036 byte s total). An y transmit pa cket that is so high ly fragmented th at it takes mo re space than this must be un-fragmented (by copying to a driv er-supplied buffer) before the transmit[...]

  • Pagina 129

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 129 Revision 1.4 (08-19-08) DA T ASHEET 9.8.5 Calculating Actual TX Data FIFO Usage The following rule s are used to calculate the actu al TX Data FIFO space consumed by a TX Packet:  TX command 'A' is store d in the TX Data FIF[...]

  • Pagina 130

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 130 SMSC LAN931 1/LAN931 1i DA T ASHEET Figure 9.5 illustrates the TX command stru cture for this example, and al so shows how data is p assed to the TX Data FIFO. Figure 9.5 TX Example 1 TX Command 'A' 0 31 TX Command 'B&apos[...]

  • Pagina 131

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 131 Revision 1.4 (08-19-08) DA T ASHEET 9.8.6.2 TX Example 2 In this example, a single 183-Byte Ethernet packet will be tr ansmitted. This packet is in a single buffer as follows:  2-Byte “Data S tart Offset”  183-Bytes of payload [...]

  • Pagina 132

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 132 SMSC LAN931 1/LAN931 1i DA T ASHEET 9.8.7 T ransmitter Errors If the Transmitter Error (TXE) fla g is asserted for a ny reason, the tra nsmitter will con tinue operation. TX Error (TXE) will be asserte d under the followi ng conditions: [...]

  • Pagina 133

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 133 Revision 1.4 (08-19-08) DA T ASHEET 9.9 RX Dat a Path Operation When an Ethernet Packe t is received, the Host MAC In terface Layer (MIL) f irst begins to transfer the RX data. This data is loaded in to the RX Data FIFO. The RX Data FIFO[...]

  • Pagina 134

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 134 SMSC LAN931 1/LAN931 1i DA T ASHEET Figure 9.7 Host Recei ve Routine Us ing Interrupt s Figure 9.8 Host Receive Routine Using Polling Not Last Pac ket Idle Read RX Status DWORD init Read RX Packet Last Packet RX Interrupt Not Last Pac ke[...]

  • Pagina 135

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 135 Revision 1.4 (08-19-08) DA T ASHEET 9.9.1.1 Receive Dat a FIFO Fast Forward The RX data p ath implements an automati c data discard function. Using the RX Da ta FIFO Fast Forward bit (RX_FFWD) in the Receive Datapath Control Register (RX[...]

  • Pagina 136

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 136 SMSC LAN931 1/LAN931 1i DA T ASHEET 9.9.3 RX St atus Format Note: Though the Host MAC is communicating locally with t he switch fabric MAC, the events described in the RX St atus word may still occur . BITS DESCRIPTION 31 Reserved. This [...]

  • Pagina 137

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 137 Revision 1.4 (08-19-08) DA T ASHEET 9.9.4 Stopping and S tarting the Receiver T o stop the recei ver , the host must clear th e RXEN bit in the Host MAC Control Register (HMAC_CR ) . When the receiver is halted, the RXSTOP _INT will be p[...]

  • Pagina 138

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 138 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 10 Serial Management 10.1 Functional Overview This chapter details the LAN931 1/ LAN931 1i seria l management funct ionality of the I 2 C/Microwire EEPROM Controller and the supporting EEPROM L[...]

  • Pagina 139

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 139 Revision 1.4 (08-19-08) DA T ASHEET 10.2.1 EEPROM Controller Operation I 2 C and Microwire master EEPROM opera tions are performed using the EEPROM Command Register (E2P_CMD) and EEPROM Data Register (E2P_DA T A) . In Microwire EEPROM mo[...]

  • Pagina 140

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 140 SMSC LAN931 1/LAN931 1i DA T ASHEET Figure 10.1 illustrates the process required to perform an EEPROM read or w rite operation. 10.2.2 I 2 C EEPROM The I 2 C master implements a low level serial in terface (start and stop condition gener[...]

  • Pagina 141

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 141 Revision 1.4 (08-19-08) DA T ASHEET controller drives all the address bits as requeste d regardless of the actual size of the EEPROM. The supported size ranges for I 2 C op eration are shown in T able 10.2 . Note 10.1 Bit s in the contro[...]

  • Pagina 142

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 142 SMSC LAN931 1/LAN931 1i DA T ASHEET Figure 10.2 displays the various bus states of a typi cal I 2 C cycle. 10.2.2.2 I 2 C EEPROM Device Addressing The I 2 C EEPROM is addressed fo r a read or write op eration by first sendi ng a control [...]

  • Pagina 143

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 143 Revision 1.4 (08-19-08) DA T ASHEET 10.2.2.3 I 2 C EEPROM Byte Read Following the device addressing, a da ta byte may be read from th e EEPROM by outputting a start condition and control byte with a control code of 1010b, chip/block sele[...]

  • Pagina 144

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 144 SMSC LAN931 1/LAN931 1i DA T ASHEET Sequential reads are use d by the EEPROM Loader . Refer to Section 10.2.4, "EEPROM Loader" for additional info rmation. For a register level description of a read opera tion, refer to Section[...]

  • Pagina 145

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 145 Revision 1.4 (08-19-08) DA T ASHEET 10.2.3 Microwire EEPROM Based on the configurat ion strap eeprom_type_ strap, various sized Microwire EEPROMs are supported. The varying size ranges are suppor ted by additional bits in the address fie[...]

  • Pagina 146

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 146 SMSC LAN931 1/LAN931 1i DA T ASHEET 10.2.3.2 ERASE (Erase Location) If erase/write operations are en abled in the EEPROM, th is command will erase the location selected by the EPC_ADDRESS field of the EEPROM Command Register (E2P_CMD) . [...]

  • Pagina 147

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 147 Revision 1.4 (08-19-08) DA T ASHEET 10.2.3.3 ERAL (Erase All) If erase/write operat ions are enabled in the EEPROM, thi s comm and will initiate a bulk erase of the entire EEPROM. The EPC_T IMEOUT bit of the EEPROM Command Register (E2P_[...]

  • Pagina 148

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 148 SMSC LAN931 1/LAN931 1i DA T ASHEET 10.2.3.5 EWEN (Erase/W rite Enable) This command enables the EEPROM for erase and write operations . The EEPROM will allow erase and write operations until the EWDS command is sent, or until power is c[...]

  • Pagina 149

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 149 Revision 1.4 (08-19-08) DA T ASHEET 10.2.3.7 WRITE (W rite Location) If erase/write operations are en abled in the EEPROM, this command will cause the contents of the EEPROM Data Register (E2P_DA T A) to be written to t he EEPROM locatio[...]

  • Pagina 150

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 150 SMSC LAN931 1/LAN931 1i DA T ASHEET 10.2.4 EEPROM Loader The EEPROM Loader i nterfaces to the I 2 C/Microwire EEPROM controller , the PHYs, and to the system CSRs (via the Register Access MUX). Only system CSRs at addresses 100h and abov[...]

  • Pagina 151

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 151 Revision 1.4 (08-19-08) DA T ASHEET Figure 10.14 EEPROM Loader Flow Diagram Byte 0 = A5 h N DIG ITAL _RST , nRST, PO R, RELO AD N Y EPC _ BUS Y = 1 Read B yte 0 Read By tes 1-6 Write B y tes 1-6 i nto Host MAC and s witch M AC Address R [...]

  • Pagina 152

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 152 SMSC LAN931 1/LAN931 1i DA T ASHEET 10.2.4.2 EEPROM V alid Flag Following the release of nRST , POR, DIGIT AL_ RST , or a RELOAD co mmand, the EEPROM Loader start s by reading the first byte of data from the EEPR OM. If the value of A5h [...]

  • Pagina 153

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 153 Revision 1.4 (08-19-08) DA T ASHEET The Port x PHY Auto-N egotiation Adve rtisement Register (PHY_AN_ADV_ x) is written with the new defaults as detailed in Section 14.4.2.5, "Port x PHY Au to-Negotiation Advertisement Reg ister (PH[...]

  • Pagina 154

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 154 SMSC LAN931 1/LAN931 1i DA T ASHEET 8-bits number_of_bursts repeat (number_of_bursts) 16-bit s {starting_a ddress[9:2] / coun t[7:0]} repeat (count) 8-bits data[31:24], 8-bits data[23:16], 8-bits data[15:8], 8-bits data[7:0] Note: The st[...]

  • Pagina 155

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 155 Revision 1.4 (08-19-08) DA T ASHEET Chapter 1 1 IEEE 1588 Hardware Time S t amp Unit 1 1.1 Functional Overview The LAN931 1/LAN931 1i provides hardware support for th e IEEE 1588 Precision T ime Protocol (PTP), allowing clock sync hroniz[...]

  • Pagina 156

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 156 SMSC LAN931 1/LAN931 1i DA T ASHEET 1 1.1.2 Block Diagram The LAN931 1/LAN931 1i IEEE 1588 implement ation is illustrated i n Figure 1 1.1 , and con sists o f the following major function blocks:  IEEE 1588 T ime S tamp These three id[...]

  • Pagina 157

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 157 Revision 1.4 (08-19-08) DA T ASHEET 1 1.2 IEEE 1588 T ime S t amp The LAN931 1/LAN931 1i contains three identical IEEE 1588 T ime S tamp blocks as sh own in Figure 1 1.1 . These blocks are responsible for capturing the source UUID, seque[...]

  • Pagina 158

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 158 SMSC LAN931 1/LAN931 1i DA T ASHEET Clock synchronization and hardware processing between the net work data and the time stamp capture hardware causes the time stamp point to be slight ly delayed . The host soft ware can account for th i[...]

  • Pagina 159

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 159 Revision 1.4 (08-19-08) DA T ASHEET 1 1.2.2 PTP Message Detection In order to p rovide the most flexibility , loose packe t type matching is used by the LAN931 1/LAN931 1i. This assumes that for all packet s received with a valid FCS, on[...]

  • Pagina 160

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 160 SMSC LAN931 1/LAN931 1i DA T ASHEET 1 1.3 IEEE 1588 Clock The 64-bit IEEE 1588 clock is the time source for all IEEE 1588 related functions of the LAN931 1/LAN931 1i. It is readable and writable by the host vi a the 1588 Clock High-DWORD[...]

  • Pagina 161

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 161 Revision 1.4 (08-19-08) DA T ASHEET 1 1.4 IEEE 1588 Clock/Event s The IEEE 1588 Clock/Events block is re sponsible for ge nerating and controllin g all IEEE 1588 clock related events. A 64-bit comp arator is included in this block wh ich[...]

  • Pagina 162

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 162 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 12 General Purpose T imer & Free-Running Clock This chapter details the LAN931 1/LAN931 1i General Purpose T imer (GPT) and the Free-R unning Clock. 12.1 General Purpose T imer The LAN931 1[...]

  • Pagina 163

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 163 Revision 1.4 (08-19-08) DA T ASHEET Chapter 13 GPIO/LED Controller 13.1 Functional Overview The GPIO/LED Controller provides 12 configurabl e general pu rpose input/outpu t pins, GPIO[1 1:0]. These pins can b e individually con fi gured [...]

  • Pagina 164

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 164 SMSC LAN931 1/LAN931 1i DA T ASHEET 13.2.1 GPIO IEEE 1588 Timest amping T wo of the GPIO pins, GPIO[9:8], have the option to be used for IEEE 1588 time stamp functions. This allows a time stamp capt ure to be trigge red when the GPIO is [...]

  • Pagina 165

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 165 Revision 1.4 (08-19-08) DA T ASHEET GPIO_INT_POL[9:8] bits also determin e the polarity of the clock events as described in Section 13.2. 1.2 . 13.2.2.2 IEEE 1588 GPIO Interrupt s In addition to the standard GPIO interrupts in the Genera[...]

  • Pagina 166

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 166 SMSC LAN931 1/LAN931 1i DA T ASHEET The various LED indica tion functio ns shown in T able 13.1 are describe d below:  TX Port 0 - The signal is pulsed low for 80mS to indicate activity from the switch fabric to the Host MAC. This sig[...]

  • Pagina 167

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 167 Revision 1.4 (08-19-08) DA T ASHEET Chapter 14 Register Descriptions This section describes the various LAN931 1/LAN931 1i control and status registers (CSR’s). These registers are broken into 5 categories. The following sections detai[...]

  • Pagina 168

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 168 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.1 TX/RX FIFO Port s The LAN931 1/LAN931 1i contains four h ost-accessible FIFO’s: TX S tatus, RX S tatus, TX Data, and RX Data. These FIFO’s store the incoming and o utgoing address an d data in[...]

  • Pagina 169

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 169 Revision 1.4 (08-19-08) DA T ASHEET 14.2 System Contro l and S t atus Registers The System CSR’s are directly addressable memo ry mapped registers with a base address of fset range of 050h to 2DCh. These regist ers are addressa ble by [...]

  • Pagina 170

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 170 SMSC LAN931 1/LAN931 1i DA T ASHEET 09Ch FREE_RUN Free Running Counter Register , Section 14.2.9.7 0A0h RX_DROP Host MAC RX Dropped Frames Counter Register , Section 14.2.2.6 0A4h MAC_CSR_CMD Host MAC CSR Interface Command Register , Sec[...]

  • Pagina 171

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 171 Revision 1.4 (08-19-08) DA T ASHEET 13Ch 1588_SRC_UUID_ LO_TX_CAPTURE_2 Port 2 1588 Source UUID Low-DWORD Transmit Capture Register , Section 14.2.5.8 140h 1588_CLOCK_HI_ RX_CAPTURE_MII Port 0 1588 Clock High-DWORD Receive Captur e Regis[...]

  • Pagina 172

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 172 SMSC LAN931 1/LAN931 1i DA T ASHEET 1A0h MANUAL_FC_1 Port 1 Manual Flow Control Reg ister , Section 14.2.6.1 1A4h MANUAL_FC_2 Port 2 Manual Flow Control Reg ister , Section 14.2.6.2 1A8h MANUAL_FC_MII Port 0 Flow Control Register, Sectio[...]

  • Pagina 173

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 173 Revision 1.4 (08-19-08) DA T ASHEET 14.2.1 Interrupt s This section details the interrupt related System CSR’s. These registers control, config ure, and monit or the IRQ interrupt output pin and the various LAN931 1/ LAN931 1i interrup[...]

  • Pagina 174

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 174 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.1 Register bits designated as NASR ar e not reset when eithe r the SRST bit in the Hardware Configuration Regist er (HW_CFG) register or the DI GIT A L_RST bit in the Reset Co ntrol Register (R[...]

  • Pagina 175

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 175 Revision 1.4 (08-19-08) DA T ASHEET 14.2.1.2 Interrupt St atus Register (IN T_STS) This register contains the current status of the generated interrupts. A value of 1 indicat es the corresponding interru pt conditions have been met, whil[...]

  • Pagina 176

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 176 SMSC LAN931 1/LAN931 1i DA T ASHEET 19 GP Timer (GPT_INT) This interrupt is issued when t he General Purpose T imer Count Regi ster (GPT_CNT) wrap s past zero to FFFFh. R/WC 0b 18 RESERVED RO - 17 Power Management Inte rrupt Even t (PME_[...]

  • Pagina 177

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 177 Revision 1.4 (08-19-08) DA T ASHEET 4 RX St atus FIFO Full Interrupt (RSFF) This interrupt is genera ted when the RX S tatus FIFO is full. R/WC 0b 3 RX St atus FIFO Level Interrupt (RSFL) This interrupt is genera ted when the RX S tatus [...]

  • Pagina 178

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 178 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.1.3 Interrupt Enable Regi ster (INT_EN) This register contains the interrupt enables fo r the IRQ output pin. Writing 1 to any of the bits enables the corresponding interrupt as a source for IRQ. [...]

  • Pagina 179

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 179 Revision 1.4 (08-19-08) DA T ASHEET 5 RESERVED - This bit must be wri tten with 0b for proper operation. R/W 0b 4 RX St atus FIFO Full Interrupt Enable (RSFF _EN) R/W 0b 3 RX St atus FIFO Level Interrupt Enable (R SFL_EN) R/W 0b 2:0 RESE[...]

  • Pagina 180

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 180 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.1.4 FIFO Level Interr upt Regi ster (FIFO_ INT) This read/write registe r configures the limits wh e re the RX/TX Data and S tatus FI FO’s will generate system interrupts. Offset: 068 h Size: 32[...]

  • Pagina 181

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 181 Revision 1.4 (08-19-08) DA T ASHEET 14.2.2 Host MAC & FIFO’ s This section details the Host MAC and TX/RX FIFO related System CSR’s. These Host Bus Interface accessibl e registers allow for the configu ration of the TX/RX FIF O?[...]

  • Pagina 182

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 182 SMSC LAN931 1/LAN931 1i DA T ASHEET 14:13 RESERVED RO - 12:8 RX Data Of fset (RXDOFF) This field controls th e of fset value, in bytes, that is added to t he beginning of an RX data packet. The start of the valid data will be shifted by [...]

  • Pagina 183

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 183 Revision 1.4 (08-19-08) DA T ASHEET 14.2.2.2 T ransmit Configurat ion Register (T X_CFG) This register controls the Host MAC transmit functions. Offset: 070 h Size: 32 bits BIT S DESCRIPTION T YPE DEFAULT 31:16 RESERVED RO - 15 Force TX [...]

  • Pagina 184

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 184 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.2.3 Receive Dat apath Control Register (RX_DP_CTRL) This register is used to discard unwanted receive fr ames. Offset: 078 h Size: 32 bits BIT S DESCRIPTION T YPE DEFAULT 31 RX Data FIFO Fast Forw[...]

  • Pagina 185

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 185 Revision 1.4 (08-19-08) DA T ASHEET 14.2.2.4 RX FIFO Information Register (RX_F IFO_INF) This register contains the indicat ion of used space in the RX F IFO’s. Offset: 07C h Size: 32 bit s BIT S DESCRIPTION T YPE DEFAULT 31:24 RESERVE[...]

  • Pagina 186

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 186 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.2.5 TX FIFO Information Register (TX_FIFO_INF) This register contains th e indication of free space in the TX Data FIFO and the used space in the TX S tatus FIFO. Offset: 080 h Size: 32 bits BIT S[...]

  • Pagina 187

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 187 Revision 1.4 (08-19-08) DA T ASHEET 14.2.2.6 Host MAC RX Dropped Frames Counter Register (RX_DROP) This register indi cates the numb er of receive fr ames that have been dropped by the Host MAC. Offs et: 0A0h Size: 32 bit s BIT S DESCRIP[...]

  • Pagina 188

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 188 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.2.7 Host MAC CSR Interface Command Register (MAC_CSR_CMD) This read-write registe r is used to control the read and write operatio ns to/from the Host MAC. This register in used in conjunction w i[...]

  • Pagina 189

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 189 Revision 1.4 (08-19-08) DA T ASHEET 14.2.2.8 Host MAC CSR Interface Dat a Regi ster (MAC_CSR_DA T A) This read-w rite register i s used in conjun ction with the Host MAC CSR Interfa ce Command Regi ster (MAC_CSR_CMD) to indirectly acce s[...]

  • Pagina 190

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 190 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.2.9 Host MAC Automatic Flow Cont rol Configuration Registe r (AFC_CFG) This read/write register con figures the mechanism that control s the automatic and software-initiat ed transmission of pause[...]

  • Pagina 191

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 191 Revision 1.4 (08-19-08) DA T ASHEET 3 Flow Control on Multicast Frame (FCMUL T) When this bit is se t, the Host MAC wi ll assert back pres sure when the AFC level is reached and a multicast frame is received. T his field ha s no fun ctio[...]

  • Pagina 192

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 192 SMSC LAN931 1/LAN931 1i DA T ASHEET 9h 300uS 302.2uS Ah 350uS 3 52.2uS Bh 400uS 4 02.2uS Ch 450uS 452.2uS Dh 500uS 502.2uS Eh 550uS 5 52.2uS Fh 600uS 602.2uS T able 14.2 Backpressur e Dur ati on Bit Mapping (continued) BACKPRESSURE DURAT[...]

  • Pagina 193

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 193 Revision 1.4 (08-19-08) DA T ASHEET 14.2.3 GPIO/LED This section details the Ge neral Purpose I/O (GPIO) a nd LED related System CSR’s. 14.2.3.1 General Purpose I/O Configuration Register (GPIO_CFG) This read/write re gister configures[...]

  • Pagina 194

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 194 SMSC LAN931 1/LAN931 1i DA T ASHEET 11 : 0 GPIO Buffer T ype 1 1-0 (GPIOBUF[1 1:0]) This field sets the buffer types of th e 12 GPIO pins. 0: Correspondi ng GPIO pin con figured as a n open-drain dri ver 1: Correspondi ng GPIO pin config[...]

  • Pagina 195

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 195 Revision 1.4 (08-19-08) DA T ASHEET 14.2.3.2 General Purpose I/O Da t a & Directio n Register (GP IO_DA T A_DIR) This read/write regist er configures the di rection of the 12 GPIO pins and con tains the GPIO input a nd output da ta b[...]

  • Pagina 196

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 196 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.3.3 General Purpose I/O Interrupt St atus and Enable Register (GPIO_INT_STS_ EN) This read/w rite register cont ains the GPIO interrupt st atus bits. Writing a 1 to any of the interrupt status bit[...]

  • Pagina 197

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 197 Revision 1.4 (08-19-08) DA T ASHEET 14.2.3.4 LED Configuration Register (LED_CFG) This read/write regist er configures the GPIO[7: 0] pins as LED[7:0] pi ns and sets their functionality . Note 14.2 The default value of th is field is det[...]

  • Pagina 198

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 198 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.4 EEPROM This section details the EEPROM re l ated System CSR’ s. These regist ers should only be us ed if an EEPROM has been connected to the LAN931 1/LAN931 1i. Refer to chapter Section 10.2, [...]

  • Pagina 199

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 199 Revision 1.4 (08-19-08) DA T ASHEET 30:28 EEPROM Controller Co mmand (EPC_COMMAND) This field is used to issue comm ands to the EEPROM controller . The EEPROM controller will execute a command when the EPC_BUSY b it is set. A new command[...]

  • Pagina 200

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 200 SMSC LAN931 1/LAN931 1i DA T ASHEET 18 EEPROM Loader Address Over flow (LOADER_OVERFLOW) This bit indicates that the EEPROM Load er tried to read p a st the end of the EEPROM address space. This indi cates misconfigured EEPROM data. This[...]

  • Pagina 201

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 201 Revision 1.4 (08-19-08) DA T ASHEET 14.2.4.2 EEPROM Data Register (E2P_DA T A) This read/write register is used in conjun ction with the EEPROM Command Register (E2P_CMD) to perform read and write operat ions with the serial EEPR OM. Off[...]

  • Pagina 202

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 202 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5 IEEE 1588 This section details the I EEE 1588 timestamp related regi sters. Each port of the LAN931 1/L AN931 1i has a 1588 timestamp block with 8 re lated registers, 4 for transmit capt ure and[...]

  • Pagina 203

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 203 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.2 Port x 15 88 Clock Low-DWORD Receive Ca pture Register (1588_CLOCK_LO_ RX_CAPTURE_x) Note: The selection between Sync or Delay_Req packets is based on the corresponding master/slave bit in the[...]

  • Pagina 204

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 204 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.3 Port x 1588 Sequence ID, Source UUI D High-WOR D Receive Capture Register (1588_SEQ_ID_SRC_UUID_ HI_RX_CAPTURE_x) Note: The selection between Sync or Delay_Req packets is based on the correspo[...]

  • Pagina 205

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 205 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.4 Port x 1588 Source UUID L ow-DWORD Receive Capture Register (1588_SRC_UUID_LO_RX_CAPTURE_x ) Note: The selection between Sync or Delay_Req packets is based on the corresponding master/slave bi[...]

  • Pagina 206

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 206 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.5 Port x 1588 Clock High-DWORD T ransmit Capture Registe r (1588_CLOCK_HI_TX_CAPTU RE_x) Note: The selection between Sync or Delay_Req packets is based on the corresponding master/slave bit in t[...]

  • Pagina 207

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 207 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.6 Port x 1 588 Clock Low-DWORD T ransmit Cap ture Register (1588_CLOCK_LO_TX_CAPTURE_x) Note: The selection between Sync or Delay_Req packets is based on the corresponding master/slave bit in th[...]

  • Pagina 208

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 208 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.7 Port x 1588 Sequence ID, Source UUI D High-WOR D T ransmit Capture R egister (1588_SEQ_ID_SRC_UUID_ HI_TX_CAPTURE_x) Note: The selection between Sync or Delay_Req packets is based on the corre[...]

  • Pagina 209

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 209 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.8 Port x 1588 Source UUID Low-DWORD T ransmit Capture Register (1588_SRC_UUID_LO_TX_CAPTURE_x) Note: The selection between Sync or Delay_Req packets is based on the corresponding master/slave bi[...]

  • Pagina 210

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 210 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.9 GPIO 8 15 88 Clock High-DWORD Cap tur e Register (15 88_CLOCK_HI_CAPTURE_GPIO_8) This read only register combined with the GPIO 8 15 88 Clock Low-DWORD Capture Register (1588_CLOCK_LO_CAPTURE_[...]

  • Pagina 211

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 21 1 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.10 GPIO 8 1588 Clock Low-DWORD Captur e Register (1588_CLOC K_LO_CAPTURE_GPIO_8) This read only register combin ed with the GPIO 8 1588 Clo ck High-DWORD Capture Register (1588_CLOCK_HI_CAPTURE[...]

  • Pagina 212

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 212 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.1 1 GPIO 9 1588 Clock High-DW ORD Captur e Reg ister (1588_CLOCK_HI_CAPTURE_ GPIO_9) This read only register combined with the GPIO 9 15 88 Clock Low-DWORD Capture Register (1588_CLOCK_LO_CAPTUR[...]

  • Pagina 213

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 213 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.12 GPIO 9 1588 Clock Low-DWORD Captur e Register (1588_CLOC K_LO_CAPTURE_GPIO_9) This read only register combin ed with the GPIO 9 1588 Clo ck High-DWORD Capture Register (1588_CLOCK_HI_CAPTURE_[...]

  • Pagina 214

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 214 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.1 3 1 588 Clock High-DWORD Register (1 588_CLOCK_HI) This read/write regi ster combined with 1588 Clock Low-DWORD Reg ister (158 8_CLOCK_LO) form t he 64-bit 1588 Clock value. The 1588 Clock val[...]

  • Pagina 215

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 215 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.1 4 1 588 Clock Low -DWORD Register (1588_CLOCK_LO) This read/write regi ster combined with 1588 Clock High-DWORD Re gister (1588_CLOCK_HI) form the 64-bit 1588 Clock value. The 1588 Clock value[...]

  • Pagina 216

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 216 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.15 1588 Clock Addend Register (1588_CLOCK_ADDE ND) This read/write register is resp onsible for ad justing the 64-b it 1588 Clock frequency . Refer to Chapter 1 1, "IEEE 1588 Hardware Time [...]

  • Pagina 217

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 217 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.16 1588 Clock T arget High-DWO RD Regist er (158 8_CLOCK_T ARGET_HI) This read/write register comb ined with 1588 Clock T arget Low-D WORD Regist er (1588_CLOCK_T ARGET_LO) form the 64-bit 1 588[...]

  • Pagina 218

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 218 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.17 1588 Clock T arget Low-DWORD Register (1588_ CLOCK_T ARGET_LO) This read/write register combined with 1588 Clock T arget High-DWORD Register (1588_CLOCK_T ARGET_HI) form the 64-bit 1588 Clock[...]

  • Pagina 219

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 219 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.18 1588 Clock T arget Reload Hig h-DWO RD Register (15 88_CL OCK_T ARGET_RELOAD_HI) This read/write regi ster combined with 1588 Clock T arget Reload/Add Low-DWO RD Register (1588_CLOCK_T ARG ET[...]

  • Pagina 220

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 220 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.19 1588 Clock T arget Reload/Add Low- DWORD R egister (1588_CLOCK_T ARGET_RELOAD_ LO) This read/write register combined with 1588 Clock T arget Reload High-DWORD Register (1588_CLOCK_T ARGET_REL[...]

  • Pagina 221

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 221 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.20 1588 Auxilia ry MAC Addres s High-WORD Re gister ( 1588_AUX_MAC _HI) This read/write register combin ed with the 1588 Auxiliar y MAC Addres s Low-DWORD Re gister (1588_AUX_MAC_L O) forms the [...]

  • Pagina 222

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 222 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.5.21 1588 Auxiliary MAC Address Low-DWORD Register (1588_AUX_MAC_L O) This read/write regist er combined with the 1588 Auxiliary MAC Address High -WORD Regist er (1588_AUX_MAC_HI) forms the 48-bit[...]

  • Pagina 223

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 223 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.22 1588 Configuration Regis ter (1588_CONFIG) This read/write regist er is responsible fo r the configurat ion of the 1588 timestamps for all ports. Offset: 194 h Size: 32 bits BIT S DESCRIPTION[...]

  • Pagina 224

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 224 SMSC LAN931 1/LAN931 1i DA T ASHEET 22 Primary MAC Address Enable Por t 1 (MAC_PRI_EN_1) This bit enables/disab les the primary MAC address on Port 1 . 0: Disables primary MAC addres s on Port 1 1: Enables MAC address 01:00:5E:00 :01:81 [...]

  • Pagina 225

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 225 Revision 1.4 (08-19-08) DA T ASHEET 13 Alternate MAC Address 1 Enab le Port 0(Host MA C) (MAC_AL T1 _EN_MII) This bit enables/ disables the alternate MAC address 1 on Port 0 . 0: Disables alternate MAC a ddress on Port 0 1: Enables MAC a[...]

  • Pagina 226

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 226 SMSC LAN931 1/LAN931 1i DA T ASHEET 5 Lock Enable GPIO 8 (LOCK_GPIO _8) This bit enable s/disables the GPI O 8 lock. This lock prevents a 1588 capt ure from overwriting the Cl ock value if the 1588_GPIO8 int errupt in the 1588 Interrupt [...]

  • Pagina 227

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 227 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.2 3 1 588 Interrupt S tatu s and Enable Register (1588_INT_ STS_EN) This read/write register con tains the IEEE 1588 interrupt status and enable bits. Writing a 1 to any of the interrupt status [...]

  • Pagina 228

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 228 SMSC LAN931 1/LAN931 1i DA T ASHEET 3 1588 Port 0(Host MAC) TX Interr upt (1588_MII_TX_INT) This interrupt indicat es th at a packet from the Host MAC to the switch fabric matches the conf igured PTP packet and the 1588 clock was capture[...]

  • Pagina 229

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 229 Revision 1.4 (08-19-08) DA T ASHEET 14.2.5.24 1588 Command Register (1588_CMD) This register is used to issue 158 8 commands. Using t he clock snapshot bit allo ws the host to properly read the current IEEE 1588 clock values from the 158[...]

  • Pagina 230

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 230 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.6 Switch Fabric This section details the memo ry mapped System CSR’s which are related to the Switch Fabric. T he flow control of a ll three ports of the switch fabri c can be configured via the[...]

  • Pagina 231

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 231 Revision 1.4 (08-19-08) DA T ASHEET Note 14.4 The default value of th is field is determine d by the BP_ E N_st rap_1 configurat ion strap. The strap values are loaded during reset and ca n be re-written by the EEPROM Loader . Once the E[...]

  • Pagina 232

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 232 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.6.2 Port 2 Manual Flow Control Register (MANUAL_FC_2) This read/writ e register allo ws for the manual config uration of the switch Port 2 f low control. This register also provides re ad back of [...]

  • Pagina 233

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 233 Revision 1.4 (08-19-08) DA T ASHEET Note 14.8 The default value of th is field is determine d by the BP_ E N_st rap_2 configurat ion strap. The strap values are loaded during reset and ca n be re-written by the EEPROM Loader . Once the E[...]

  • Pagina 234

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 234 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.6.3 Port 0(Host MAC ) Manual F l ow Control Regi ster (MANUAL_FC_MII) This read/write regist er allows f or the manual con figurat ion of th e swi tch Port 0 (H ost MAC) flo w control. This regist[...]

  • Pagina 235

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 235 Revision 1.4 (08-19-08) DA T ASHEET Note 14.12 The default valu e of this fiel d is determined by the BP_EN_strap_mii co nfiguration strap. The strap value is loaded during reset and can be re-written by the EEPROM Loader. Once the EEPRO[...]

  • Pagina 236

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 236 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.6.4 Switch Fabric CSR Interface Data Register (SWITCH_CSR_DA T A) This read/write registe r is used in con junctio n with the Switch Fabric CSR I nterface Command Register (SWITCH_CSR_CMD) to perf[...]

  • Pagina 237

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 237 Revision 1.4 (08-19-08) DA T ASHEET 14.2.6.5 Switch Fabric CSR Interface Command Register (SWITCH_CSR_CMD) This read/write register is used in conjunction with the Switch Fabric CSR Interface Dat a Register (SWITCH_CSR_DA T A) to control[...]

  • Pagina 238

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 238 SMSC LAN931 1/LAN931 1i DA T ASHEET 19:16 CSR Byte Enable (CSR_BE[3:0]) This field is a 4-b it byte enable used f or selection of valid byt es during write operations. Bytes whic h are not selected wil l not be written t o the correspond[...]

  • Pagina 239

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 239 Revision 1.4 (08-19-08) DA T ASHEET 14.2.6.6 Switch Fabric MAC Address High Register (SWITCH _MAC_ADDRH) This register contains the upper 16-bits of the MAC address used by the switch for Pause frames. This register is used in conjunctio[...]

  • Pagina 240

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 240 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.6.7 Switch Fabric MAC Addres s Low Register (SWITCH_MAC _ADDRL) This register contains the lower 32-bits of the MA C address used b y the switch for Paus e frames. This register is used in conjunc[...]

  • Pagina 241

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 241 Revision 1.4 (08-19-08) DA T ASHEET 14.2.6.8 Switch Fabric CSR Interface Direct Dat a Register (SWITCH_CSR_DIRECT_DA T A) This write-only register set is used t o perform direct ly addressed write op erations to t he Switch Fabri c CSR?[...]

  • Pagina 242

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 242 SMSC LAN931 1/LAN931 1i DA T ASHEET MAC_TX_CFG_2 0C40h 22Ch MAC_TX_FC_SETTINGS_2 0C41h 2 30h MAC_IMR_2 0C80h 234h Switch Engine CSRs SWE_ALR_CMD 1800h 238h SWE_ALR_WR_DA T_0 1801h 23Ch SWE_ALR_WR_DA T_1 1802h 240h SWE_ALR_CFG 1809h 244h [...]

  • Pagina 243

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 243 Revision 1.4 (08-19-08) DA T ASHEET BM_FC_RESUM E_L VL 1C03h 2A4h BM_BCST_L VL 1C04h 2A8h BM_RNDM_DSCRD_T BL_CMD 1C09h 2ACh BM_RNDM_DSCRD_TBL_WDA T A 1C0Ah 2B0h BM_EGRSS_PORT_TYPE 1C0Ch 2B4h BM_EGRSS_RA TE_00_01 1C0Dh 2B8h BM_EGRSS_RA TE[...]

  • Pagina 244

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 244 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.7 PHY Management Interface (PMI) The PMI registers are used (by the EEPROM Lo ader only) to indirectly access the PHY regi sters. Refer to Section 14.4, "Ethernet PHY Control and S tatus Regi[...]

  • Pagina 245

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 245 Revision 1.4 (08-19-08) DA T ASHEET 14.2.7.2 PHY Management Interf ace Access Regist er (PMI_ACCESS) This register is used to cont rol the management cycles to the PHYs. A PHY a ccess is initiated when this register is written. This regi[...]

  • Pagina 246

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 246 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.8 Virtual PHY This section det ails the Virtual PHY Syste m CSR’s. These registers p rovide status and control information similar to that of a real PHY while maintaining IEEE 802. 3 compatibili[...]

  • Pagina 247

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 247 Revision 1.4 (08-19-08) DA T ASHEET 14.2.8.1 Virtual PHY Basic Cont rol Register (VPHY_BASIC_CTRL) This read/write regist er is used to configure th e Virtual PHY . Note: This register is re-written in its entirety by the EEPROM Loader f[...]

  • Pagina 248

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 248 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.16 The reserved bits 31-16 are used to pad the regist er to 32-bits so that each register is on a DWORD boundary . When accessed seriall y (through the MII management protocol), the register is[...]

  • Pagina 249

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 249 Revision 1.4 (08-19-08) DA T ASHEET 14.2.8.2 Virtu al PHY Basic St atus Register (VPHY_BASIC_ST A TUS) This register is used to monitor the status of the Virtual PHY . Offset: Index (decimal ): 1C4h 1 Size: 32 bits BIT S DESCRIPTION TYPE[...]

  • Pagina 250

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 250 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.17 The reserved bits 31-16 are used to pad the regist er to 32-bits so that each register is on a DWORD boundary . When accessed seriall y (through the MII management protocol), the register is[...]

  • Pagina 251

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 251 Revision 1.4 (08-19-08) DA T ASHEET 14.2.8.3 Virtual PH Y Identifica ti on MSB Register (VPHY_ID_MSB) This read/wri te register co ntains the MSB of the Virtual PHY Organizationall y Unique Identifier (OUI). The LSB of the V irtual PHY O[...]

  • Pagina 252

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 252 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.8.4 Virtual PH Y Identifica ti on LSB Register (VPHY_ID_LSB) This read/write register cont ains the LSB of the V irtual PHY Organizationally Un ique Identifie r (OUI). The MSB of the V irtual PHY [...]

  • Pagina 253

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 253 Revision 1.4 (08-19-08) DA T ASHEET 14.2.8.5 Virtual PHY Auto-Nego tiation Adverti sement Regist er (VPHY_AN_ADV) This read/write register contains the advertised ability of the Virtual PHY and is used in the Auto- Negotiation process wi[...]

  • Pagina 254

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 254 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.27 The reserved bits 31-16 are used to pad the regist er to 32-bits so that each register is on a DWORD boundary . When accessed seriall y (through the MII management protocol), the register is[...]

  • Pagina 255

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 255 Revision 1.4 (08-19-08) DA T ASHEET 14.2.8.6 Virtual PHY Auto-Negotiation Link Partner Ba se Page Ability Regi st er (V PHY_AN_LP _BASE_AB ILITY) This read-only register contains the advertised ab ility of the link partner ’s PHY and i[...]

  • Pagina 256

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 256 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.33 The reserved bits 31-16 are used to pad the regist er to 32-bits so that each register is on a DWORD boundary . When accessed seriall y (through the MII management protocol), the register is[...]

  • Pagina 257

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 257 Revision 1.4 (08-19-08) DA T ASHEET 14.2.8.7 Virtual PHY Auto-Negotiation Expansion Register (VPHY_AN_EXP) This register is used in t he Auto-Negotiation process. Note 14.37 The reserved bits 31-16 are used to pad the regist er to 32-bit[...]

  • Pagina 258

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 258 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.8.8 Virtual PHY Special Control/St atu s Register (VPHY_SPECIAL_CONTROL_ST A TUS) This read/writ e register cont ains a current li nk speed/duplex in dicator and SQE control . Offset: Index (decim[...]

  • Pagina 259

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 259 Revision 1.4 (08-19-08) DA T ASHEET Note 14.42 The reserved bits 31-16 are used to pad the regist er to 32-bits so that each register is on a DWORD boundary . When accessed seriall y (through the MII management protocol), the register is[...]

  • Pagina 260

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 260 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.9 Miscellaneous This section details the remaind er of the System CSR’s. These re gisters allow for monito ring and configuration of vari ous LAN931 1/LAN931 1i functions such as the Chip ID /re[...]

  • Pagina 261

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 261 Revision 1.4 (08-19-08) DA T ASHEET 14.2.9.2 Byte Order T est Register (BYTE_TEST) This read-only regist er can be used to determine th e byte ordering of the current configuration . Byte ordering is a f unction of the host data bus widt[...]

  • Pagina 262

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 262 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.9.3 Hardware Configurat ion Register (HW_C FG) This register allows th e configuration of various hardwa re features including TX/RX FIFO sizes, Host MAC transmit threshold prop erties, and softwa[...]

  • Pagina 263

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 263 Revision 1.4 (08-19-08) DA T ASHEET Note 14.47 The default value of this f ield is determined by the configuratio n strap auto_mdix_strap_2. See Sectio n 4.2.4, "Configurat ion S traps," on page 40 for more information. Note 14[...]

  • Pagina 264

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 264 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.9.4 Power Management Control Register (PMT_ CTRL) This read-write register controls the power management features and the PME pin of the LAN931 1/LAN931 1i. The ready state of the LAN931 1/LAN9 31[...]

  • Pagina 265

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 265 Revision 1.4 (08-19-08) DA T ASHEET 9 W ake-On-LAN Enable (WOL_EN) When set, the PME signal (if enabl ed via the PME_EN bit) will be asserted in accordance with the PME_IND bit upon a WOL event. When set , the PME_INT bit in th e Interru[...]

  • Pagina 266

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 266 SMSC LAN931 1/LAN931 1i DA T ASHEET 0 Device R eady (READY) When set, this bi t indicates th at the LAN931 1/LAN 931 1i is rea dy to be accessed. Upon power-up, nR ST reset, sof t reset, or digit al reset, the host processor may interrog[...]

  • Pagina 267

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 267 Revision 1.4 (08-19-08) DA T ASHEET 14.2.9.5 General Purpose Timer Configura tion Register (GPT_CFG) This read/write register co nfigures the LAN931 1/LAN931 1i General Purpose Timer (GPT ). The GPT can be configured to generate host int[...]

  • Pagina 268

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 268 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.9.6 General Purpose T imer Count Register (GPT_CNT) This read-only register reflects the current general purpose timer (GPT) value. The register should be used in conjuncti on with the General Pur[...]

  • Pagina 269

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 269 Revision 1.4 (08-19-08) DA T ASHEET 14.2.9.7 Free Running 25MHz Counter Register (FREE_RUN) This read-only register reflects the current value of the free-running 25MHz coun ter . Ref er to Se ctio n 12.2, "Free-Running Cl ock,"[...]

  • Pagina 270

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 270 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.2.9.8 Reset Control Register ( RESET_CTL) This register contains so ftware controlle d resets. Note: This register can be read while the LAN931 1/ LAN931 1i is in the reset or no t ready states. Not[...]

  • Pagina 271

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 271 Revision 1.4 (08-19-08) DA T ASHEET 14.3 Host MAC Contro l and St atus Registers This section details the Host MA C Syst em CSR’s. These registers are locat ed in the Host MAC a nd are accessed indirectly via the HBI system CSR’s. T [...]

  • Pagina 272

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 272 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.3.1 Host MAC Control Register (HMAC_CR) This read/write re gister establishes the RX and TX op eration modes and con trols for address filt ering and pa cket filtering. Refer to Chapter 9, "Hos[...]

  • Pagina 273

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 273 Revision 1.4 (08-19-08) DA T ASHEET 16 Pass Bad Frames (P ASSBAD) When set, all inco ming frames that passed address filt ering are received, including runt frames and collided frames. Refer to Section 9.4, "Address Filtering,"[...]

  • Pagina 274

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 274 SMSC LAN931 1/LAN931 1i DA T ASHEET 7:6 BackOff Limit (BOLMT) The BOLMT bits allow the user to set the back-off limit in a relaxe d or aggressive mode. According to IEEE 802 .3, the Host MAC has to wait for a random number [r] of slot-ti[...]

  • Pagina 275

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 275 Revision 1.4 (08-19-08) DA T ASHEET 14.3.2 Host MAC Address Hi gh Register (HMAC_ADDRH) This read/write regi ster contains the up per 16-bits of the physical address of the Ho st MAC. The contents of this register are optionally loaded f[...]

  • Pagina 276

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 276 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.3.3 Host MAC Address Low Register (HMAC_ADDRL) This read/write register cont ains the lower 32-bits of the physical address of the Host MAC. The contents of this register are optionally loaded from [...]

  • Pagina 277

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 277 Revision 1.4 (08-19-08) DA T ASHEET 14.3.4 Host MAC Multicast Hash T a ble High Register (HMAC_HASHH) The 64-bit Multicast table is used for group address fi ltering. For ha sh filtering, th e contents of the destination addre ss in the [...]

  • Pagina 278

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 278 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.3.5 Host MAC Multicast Hash T a ble Low Register (HMAC_HASHL) This read/write regist er defines the l ower 32-bits of the Mult icast Hash T able. Please refe r to the Ho st MAC Multicast Hash T able[...]

  • Pagina 279

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 279 Revision 1.4 (08-19-08) DA T ASHEET 14.3.6 Host MAC MII Access Register (HMAC_MII_ACC) This read/wri te regist er i s used in co njun ction w it h t he Host MAC MII Data Register (HMAC_MII_DA T A) to access the internal PHY registers. Re[...]

  • Pagina 280

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 280 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.3.7 Host MAC MII Dat a Re gister (HMAC_MII_DA T A) This read/write regist er is used in conjun ction with the Host MAC MII Access Register (HMAC_MII_ACC) to access the internal PHY registers. This r[...]

  • Pagina 281

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 281 Revision 1.4 (08-19-08) DA T ASHEET 14.3.8 Host MAC Flow Cont rol Register (HMAC_FLOW) This read/write re gister controls the generation and reception of the Control (Pause command) fr ames by the Host MAC’s flow control b lock. The co[...]

  • Pagina 282

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 282 SMSC LAN931 1/LAN931 1i DA T ASHEET 0 Flow Control Busy (FCBSY) In full-duplex mod e, this bit should read logical 0 before writing to the Host MAC Flow Control (HMAC_FLOW) regist er . T o i nitiate a P AUSE control frame, the bi t must [...]

  • Pagina 283

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 283 Revision 1.4 (08-19-08) DA T ASHEET 14.3.9 Host MAC VLAN1 T ag Register (HMAC_VLAN1) This read/write register contains the VLAN tag field to identify VLAN1 frames. When a VL AN1 frame is detected, t he legal frame le ngth is increase d f[...]

  • Pagina 284

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 284 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.3.10 Host MAC VLAN2 T ag Register (HMAC_VLAN2) This read/write register contains the VLAN tag field to identify VLAN2 frames. When a VL AN2 frame is detected, t he legal frame le ngth is increase d [...]

  • Pagina 285

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 285 Revision 1.4 (08-19-08) DA T ASHEET 14.3.1 1 Host MAC W a ke-up Frame Filter Register (HMAC_WUFF) This write-only registe r is used to configure th e wake-up frame filter . Refer to Section 9.5, "W ake-up Frame De tection," on [...]

  • Pagina 286

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 286 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.3.12 Host MAC W ake-up Control a nd St atus Register (HMAC_WUCSR) This read/write regi ster contains data and control settings pertaining to the Host MAC’s remote wake- up status and capabilities.[...]

  • Pagina 287

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 287 Revision 1.4 (08-19-08) DA T ASHEET 14.4 Ethernet PHY Cont rol and S t atus Registers This section de tails the vari ous LAN931 1/LAN931 1i Ethernet PHY control and st atus registers. Th e LAN931 1/ LAN931 1i contains three PHY’s: Port[...]

  • Pagina 288

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 288 SMSC LAN931 1/LAN931 1i DA T ASHEET 17 PHY_MODE_CONTROL_ST A TUS_x Port x PHY Mo de Control/St at us Register , Section 14.4. 2.8 18 PHY_SPECIAL_MODES_x Port x PHY S pecial Modes Register , Section 14. 4.2.9 27 PHY_SPECIAL_C ONTROL_ST AT[...]

  • Pagina 289

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 289 Revision 1.4 (08-19-08) DA T ASHEET 14.4.2.1 Port x PHY Basic Contro l Register (PHY_BASIC_CONTROL_x) This read/write register is used to configure th e Port x PHY . Note: This register is re-written in its entirety by the EEPROM Loader [...]

  • Pagina 290

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 290 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.49 The default valu e of this bit is determined by the logical OR of the Auto-Negotiat ion strap (autoneg_strap_1 fo r Port 1 PHY , auton eg_strap_2 for Port 2 PHY) and the speed select strap ([...]

  • Pagina 291

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 291 Revision 1.4 (08-19-08) DA T ASHEET 14.4.2.2 Port x PHY Basic St atus Register (PHY_BASIC_ST A TUS_x) This register is used to monitor the status of the Port x PHY . Index (decimal ): 1 Size: 1 6 bits BIT S DESCRIPTION TYPE DEFAULT 15 10[...]

  • Pagina 292

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 292 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.52 The PHY supports 100BASE-TX (half and full duplex) and 10BASE-T (half and full duplex) only . All other modes will always return a s 0 (unable to perform). 3 Auto-Negotiation Ability This bi[...]

  • Pagina 293

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 293 Revision 1.4 (08-19-08) DA T ASHEET 14.4.2.3 Port x PHY Identi ficati on M SB Register ( PHY_ID_MSB_x) This read/write register con t a ins the MSB of the Organizationally Uniq ue Identifier (OUI) for the Port x PHY . The LSB of the PHY [...]

  • Pagina 294

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 294 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.4.2.4 Port x PHY Identi ficati on LSB Register (PHY_ID_LSB_x) This read/wri te register co ntains the LSB of the Or ganizatio nally Unique Ident ifier (OUI) for the Port x PHY . The MSB of the PHY O[...]

  • Pagina 295

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 295 Revision 1.4 (08-19-08) DA T ASHEET 14.4.2.5 Port x PHY Auto-Ne gotiation Advertisement Register (PHY_ AN_ADV_x) This read/write register contains the advertised ability of the Port x PHY and is used in the Auto- Negotiation process wi t[...]

  • Pagina 296

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 296 SMSC LAN931 1/LAN931 1i DA T ASHEET Note 14.53 The Pause and Asymmetric Pause bits are loaded into th e PHY registers by the EEPROM Loader . Note 14.54 The default value of this bit i s determined by t he Manual Flow Cont rol Enable S tr[...]

  • Pagina 297

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 297 Revision 1.4 (08-19-08) DA T ASHEET 11 1 T able 14.9 10BASE-T Half Duplex Advertisement Bit Default V alue autoneg_strap_ x speed_strap_x Defau lt 10BASE-T Half Duplex (Bit 5) V alue[...]

  • Pagina 298

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 298 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.4.2.6 Port x PHY Auto-Negotiation Link Partner Base Page Ability Register (PHY_AN_LP_BASE_ABILITY_x) This read-only register contains the advertised ab ility of the link partner ’s PHY and is used[...]

  • Pagina 299

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 299 Revision 1.4 (08-19-08) DA T ASHEET Note 14.57 The Port 1 & 2 PHY’s support only IEEE 802.3. 6 10BASE-T Full Duplex This bit indicate s the link partner PHY 10BASE-T full duplex capability . 0: 10BASE-T full du plex ability not sup[...]

  • Pagina 300

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 300 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.4.2.7 Port x PHY Auto-Ne gotiation Exp ansion Register (PHY_AN_EXP_x) This read/write register is used in the Auto-Negot iation process between the link partner and the Port x PHY . Index (decimal )[...]

  • Pagina 301

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 301 Revision 1.4 (08-19-08) DA T ASHEET 14.4.2.8 Port x PHY Mode Control/ St atus Register (PHY_MODE_CONTROL_ST A TUS_x) This read/write regist er is used to control an d monitor various Port x PHY configurati on options. Index (decimal ): 1[...]

  • Pagina 302

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 302 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.4.2.9 Port x PHY Special Mode s Register (PHY_SPECIAL_MODES_x) This read/write regist er is used to control t he special modes of the Port x PHY . Note: This register is re-w ritten by the EEPROM Lo[...]

  • Pagina 303

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 303 Revision 1.4 (08-19-08) DA T ASHEET 01 1 100BASE-TX Full Dupl ex. Auto-negotiation disabled. CRS is active during Receive. 1001 N/A 100 100BASE-TX Half Duplex is adverti sed. Auto- negotiation en abled. CRS is active during Transmit &[...]

  • Pagina 304

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 304 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.4.2.10 Port x PHY Special Control/S tatus In dication Register (PHY_ SPECIAL_CONTROL_ST A T_IND_x) This read/write regist er is used to control vario us options of the Port x PH Y . Note 14.61 Regis[...]

  • Pagina 305

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 305 Revision 1.4 (08-19-08) DA T ASHEET T able 14.1 1 Auto-MDIX Enable and Auto-MDIX St ate Bit Functionality Auto-MDIX Enable (Bit 14) Auto-MDIX State (Bit 13) M ODE 0 0 Manual mode, no crossover 0 1 Manual mode, crossover 1 0 Auto-MDIX mod[...]

  • Pagina 306

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 306 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.4.2.1 1 Port x PHY Interrupt Source Flags Register (PHY_INTERRUPT_SOURCE_ x) This read-only register is used to det ermine to so urce of various Po rt x PHY interrupts. All interrupt source bits in [...]

  • Pagina 307

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 307 Revision 1.4 (08-19-08) DA T ASHEET 14.4.2.12 Port x PHY Interrupt Mask Register (PHY_INTERRUPT_MASK_x) This read/write register is used to enable or mask the various Port x PHY interru pts and is used in conjunction with the Port x PHY [...]

  • Pagina 308

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 308 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.4.2.13 Port x PHY S p ecial Control/St atus Register (PHY_SPEC IAL_CONTROL_ST A TUS_x) This read/write regist er is used to control an d monitor various option s of the Port x PHY . Index (decimal )[...]

  • Pagina 309

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 309 Revision 1.4 (08-19-08) DA T ASHEET 14.5 Switch Fabric Cont rol and S t atus Registers This section details the variou s LAN931 1/LAN931 1i switch control and status registers th at reside within the switch fabric. The switch control an [...]

  • Pagina 310

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 310 SMSC LAN931 1/LAN931 1i DA T ASHEET 0414h MAC_RX_256_ TO_51 1_CNT_MII Port 0 MAC Receive 256 to 51 1 Byte Count Register, Section 14.5. 2.7 0415h MAC_RX_512_TO_1023 _CNT_MII Port 0 MAC Receive 512 to 1023 Byt e Count Register , Section 1[...]

  • Pagina 311

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 31 1 Revision 1.4 (08-19-08) DA T ASHEET 0455h MAC_TX_65_TO_127_ CNT_MII Port 0 MAC Tr ansmit 65 to 127 Byt e Count Register, Section 14.5. 2.29 0456h MAC_TX_128_TO_255_ CNT_MII Port 0 MAC T ransmit 128 to 255 Byte Count Regist er , Section [...]

  • Pagina 312

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 312 SMSC LAN931 1/LAN931 1i DA T ASHEET 0812h MAC_RX_65_TO_127_CNT_1 Port 1 MAC Receive 65 to 127 Byt e Count Register, Section 14.5. 2.5 0813h MAC_RX_128_TO_255_CNT_1 Port 1 MAC Receive 128 to 255 Byte Count Register , Section 14.5. 2.6 081[...]

  • Pagina 313

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 313 Revision 1.4 (08-19-08) DA T ASHEET 0852h MAC_TX_P AUSE_CNT_1 Port 1 MAC Transmit Pause Count Register , Secti on 14.5.2.26 0853h MAC_TX_PKTOK_CNT_1 Port 1 MAC Tr ansmit OK Count Register , Section 14.5. 2.27 0854h MAC_RX_64_ CNT_1 Port [...]

  • Pagina 314

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 314 SMSC LAN931 1/LAN931 1i DA T ASHEET 0C10h MAC _RX_UNDSZE_CNT_2 Port 2 MAC Receive Undersize Co unt Register , Section 14.5. 2.3 0C1 1h MAC_RX_64_CNT_2 Po rt 2 MAC Receive 64 Byt e Count Register, Section 14.5.2.4 0C12h MAC_RX_65_T O_127_[...]

  • Pagina 315

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 315 Revision 1.4 (08-19-08) DA T ASHEET 0C42h-0C50h RESERVED Rese rved for Future Use 0C51h MAC_TX_DEFER_CNT_2 Port 2 MAC Transmit Deferred Count Register , Section 14.5. 2.25 0C52h MAC_TX_P AUSE_CNT_2 Port 2 MAC Transmit Pause Count Registe[...]

  • Pagina 316

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 316 SMSC LAN931 1/LAN931 1i DA T ASHEET Switch Engine CSRs 1800h SWE_ ALR_CMD Switch Engine ALR Command Register , Section 14.5.3.1 1801h SWE_ALR_WR_DA T_ 0 Switch Engin e ALR Write Data 0 Register , Section 14.5.3. 2 1802h SWE_ALR_WR_DA T_ [...]

  • Pagina 317

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 317 Revision 1.4 (08-19-08) DA T ASHEET 1847h SWE_INGRESS _PORT_TYP Switch Engine Ingress Port T ype Register , Sectio n 14.5.3.22 1848h SWE_BCST_THROT Switch Engine Broadcast Throttling Register, Section 14. 5.3.23 1849h SWE_ADMT_N_MEMBER S[...]

  • Pagina 318

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 318 SMSC LAN931 1/LAN931 1i DA T ASHEET 1C02h BM_FC_P AUSE_L VL Buffe r Manager Flow C ontrol Pause Le vel Register , Section 14.5. 4.3 1C03h BM_FC_RESUME_L VL Buffer Manager Flow Co ntrol Resume Lev el Register , Section 14.5. 4.4 1C04h BM_[...]

  • Pagina 319

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 319 Revision 1.4 (08-19-08) DA T ASHEET 1C20h BM_IMR Buffer Manager Interrupt Mask Register, Se ction 14.5.4.26 1C21h BM_IP R Buf fer Manager Interru pt Pending Register , Section 14.5. 4.27 1C22 h -FFFF h RESER VED Reserved for Future Use T[...]

  • Pagina 320

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 320 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.1 General Switch CSRs This section details the gen eral switch fabric CSRs. These registers control the main reset and interrupt fu nctions of th e switch fabric. A list of the gene ral switch CSR[...]

  • Pagina 321

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 321 Revision 1.4 (08-19-08) DA T ASHEET 14.5.1.2 Switch Reset Register (SW_RESET) This register contains the switch fabri c global reset. Refer to Section 4.2, "Resets," on page 36 for more information. Register #: 0001h Size : 32 [...]

  • Pagina 322

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 322 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.1.3 Switch Global Interr upt Mask Register (SW_IMR) This read/write register co ntains the global interr upt mask for the switch fabric interrupt s. All switch related interrupts in the Switch Glo[...]

  • Pagina 323

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 323 Revision 1.4 (08-19-08) DA T ASHEET 14.5.1.4 Switch Global Interr upt Pe nding Register (SW_IPR) This read-only register con tains the pending global interrup ts for the switch fabric. A set bit indicates an unmasked bit in the correspon[...]

  • Pagina 324

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 324 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2 Switch Port 0, Port 1, and Port 2 CSRs This section details the switch Port 0(Host MAC) , Port 1, and Port 2 CSRs. Each port provides a functionally identical set of registers which allow for th[...]

  • Pagina 325

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 325 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.2 Port x MAC Receive Configuration Regis ter (MAC_RX_CFG_x) This read/write register con figures the packet type passing parameters of the port. Register #: Port0: 0401h Size: 32 bits Port1: 080[...]

  • Pagina 326

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 326 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.3 Port x MAC Receive Undersize Count Register (MAC_RX_UNDSZE_CNT_x) This register provides a counter of undersize d packets received by the port. The counter is cleared upon being read. Register[...]

  • Pagina 327

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 327 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.4 Port x MAC Receive 64 Byte Count Register (MAC_RX_64_CNT_ x) This register provides a count er of 64 byte packets received by the port. The counter is cleared up on being read. Note: A bad pac[...]

  • Pagina 328

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 328 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.5 Port x MAC Receive 65 to 127 Byte Count Regis ter (MAC_RX_65_TO_127_ CNT_x) This register provides a counter of received packets between the size of 65 to 127 bytes. The count er is cleared up[...]

  • Pagina 329

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 329 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.6 Port x MAC Receive 128 to 255 Byte Count Registe r (MAC_RX_128_T O_255_CNT_x) This register provides a counte r of received packets between the size of 128 to 255 bytes. The co unter is cleare[...]

  • Pagina 330

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 330 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.7 Port x MAC Receive 256 to 51 1 Byte Count Register (MAC_RX_256_TO _51 1_CNT_x) This register provides a counter of received packets between the size of 25 6 to 51 1 bytes. T he counter is clea[...]

  • Pagina 331

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 331 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.8 Port x MAC Receive 512 to 1023 Byte Count Register (MAC _RX_512_T O_1023_CNT_x) This register pro vides a counter of recei ved packets between the size of 512 to 1023 bytes. The counter is cle[...]

  • Pagina 332

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 332 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.9 Port x MAC Receive 1024 to Max Byte Count Register (MAC_RX_1024_T O_MAX_CNT_x) This register provides a counter of received p ackets between the size of 1024 to the maxi mum allowable number b[...]

  • Pagina 333

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 333 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.10 Port x MAC Receive Oversize Count Register (M AC_RX_OVRSZ E_CNT_x) This register provides a counter of received packet s with a size greater than the maximum by te size. The counter is cl ear[...]

  • Pagina 334

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 334 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.1 1 Port x MAC Receive OK Co unt Register (MAC_ RX_PKTOK_CNT_x) This register provides a counter of rece ived packets that are or proper length and are free of e rrors. The counter is cl eared u[...]

  • Pagina 335

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 335 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.12 Port x MAC Receive CRC Error Count Register (MAC_RX_CRCERR_CNT_x) This register provides a counter of received packets that with CRC erro rs. The counte r is cleared upon being read. Register[...]

  • Pagina 336

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 336 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.13 Port x MAC Receive Multicast Count Register (M AC_RX_MULCST_CNT_x) This register provides a counter of vali d received packets with a multicast destinatio n address. The counter is cleare d u[...]

  • Pagina 337

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 337 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.14 Port x MAC Receive Broadcast Count Register (M AC_RX_BRDCST_CNT_x) This register provides a counter of valid received packets with a broadcast destination address. T he counter is cleare d up[...]

  • Pagina 338

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 338 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.15 Port x MAC Receive Pause Fram e Count Register (MAC_RX_P AUSE_CNT_x) This register provides a counter of vali d received pause frame packets. The counter is cleared upon being read. Note: A b[...]

  • Pagina 339

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 339 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.16 Port x MAC Receive Fragment Er ror Count Register (MAC_RX_FRAG _CNT_x) This register provides a cou nter of received packets of less than 64 bytes a nd a FCS error . The counter is cleared up[...]

  • Pagina 340

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 340 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.17 Port x MAC Receive Jabber Erro r Count Register (MAC_RX_JABB_CNT_x) This register provides a counter of received packets with greater than t he maximum allowable number of bytes and a FCS err[...]

  • Pagina 341

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 341 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.18 Port x MAC Receive Alignment Error Count Register (MAC_RX_ALIGN_CNT_x) This register provides a counter of received packets with 64 bytes to the maximum allowable , and a FCS error . The coun[...]

  • Pagina 342

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 342 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.19 Port x MAC Receive Packet Lengt h Count Register (M AC_RX_PKTLEN_CNT_x) This register provides a cou nter of total bytes received. The counter is cle ared upon being read. Note: If necessary [...]

  • Pagina 343

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 343 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.20 Port x MAC Receive Good Packet Leng th Count Register (MAC _RX_GOODPKTLEN_CNT_x) This register p rovides a counter o f total bytes received in good p ackets. The counter is cleare d upon bein[...]

  • Pagina 344

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 344 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.21 Port x MAC Receive Symbol Erro r Count Register (MAC_RX_SYMBOL_ CNT_x) This register prov ides a counter of received packe ts with a symbol error . The counter is cle ared upon being read. Re[...]

  • Pagina 345

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 345 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.22 Port x MAC Receive Control Fram e Count Register (MAC_RX_ CTLFRM_CNT_x) This register provides a co unter of good packets with a type fiel d of 8808h. The coun ter is cleared upon being read.[...]

  • Pagina 346

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 346 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.23 Port x MAC T ransmit Conf iguration Register (MAC_TX_CFG_x) This read/write regist er configures the transmit packet parameters of the port. Register #: Port0: 0440h Size: 32 bits Port1: 0840[...]

  • Pagina 347

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 347 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.24 Port x MAC T ransmit Flow Control Settings Register (MAC_TX_FC_SETTINGS_x) This read/write regist er configures the flow con trol settings of the port . Register #: Port0: 0441h Size: 32 bits[...]

  • Pagina 348

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 348 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.25 Port x MAC T ransmit Deferred Count Register (MAC_TX_ DEFER_CNT_x) This register provide s a counter deferred packets. The counter is cleared upon b eing read. Register #: Port0: 0451h Size: [...]

  • Pagina 349

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 349 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.26 Port x MAC T ransmit Pause Count Register (MAC_TX_P AUSE_CNT_x) This register provides a counter of transmit ted pause packets. The counter is cleared upon being read. Register #: Port0: 0452[...]

  • Pagina 350

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 350 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.27 Port x MAC T ransmit OK C ount Register (MAC_TX_PKT OK_CNT_x) This register provides a counter of successful transmissio ns. The counter is cleared up on being read. Register #: Port0: 0453h [...]

  • Pagina 351

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 351 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.28 Port x MAC T ransmit 64 Byte Count Register (MAC_TX_64_CNT_x) This register provides a cou nter of 64 byte packe ts transmitted by t he port. The counte r is cleared upon being read. Register[...]

  • Pagina 352

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 352 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.29 Port x MAC T ransmit 65 to 127 By te Count Register (MAC_TX_65 _TO_127_ CNT_x) This register provide s a counter of transmitt ed packets between the size of 65 to 127 bytes. Th e counter is c[...]

  • Pagina 353

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 353 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.30 Port x MAC T ransmit 128 to 255 Byte Count Register (MAC_TX_128_T O_255_CNT_x) This register prov ides a counter of tra nsmitted packets between the size of 128 to 255 byte s. The counter is [...]

  • Pagina 354

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 354 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.31 Port x MAC T ransmit 256 to 51 1 Byte Count Register (MAC_TX_256_T O_51 1_CNT_x) This register provides a counter of transmitted p a ckets bet ween the size of 256 to 5 1 1 bytes. The counter[...]

  • Pagina 355

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 355 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.32 Port x MAC T ransmit 512 to 1023 Byte Count Register (MAC_TX_512_TO_1023_CNT_x) This register provides a counter of transmitted packets between the size of 512 to 1 023 bytes. The counter is [...]

  • Pagina 356

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 356 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.33 Port x MAC T ransmit 1024 to Max By te Count Register (M AC_TX_1024_TO_MAX_CNT_x) This register provides a counte r of transmitted packe ts between the size of 1024 to the maximum allowable n[...]

  • Pagina 357

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 357 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.34 Port x MAC T ransmit Undersiz e Count Regist er (MAC_TX_UNDSZE_CNT_x) This register provides a counter of u ndersized packe ts transmitted by the port. The counter is clea red upon being read[...]

  • Pagina 358

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 358 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.35 Port x MAC T ransmit Packet Leng th Count Register (MAC_TX_PKTLEN_CNT_x) This register provides a counter of total bytes transmitted. Th e counter is cleared upon bei ng read. Register #: Por[...]

  • Pagina 359

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 359 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.36 Port x MAC T ransmit Broadcast Count Register (MAC_TX_BRDCST_CNT_x) This register provides a counter of transmit ted broadcast packets. The counter is cleared upon being read. Register #: Por[...]

  • Pagina 360

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 360 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.37 Port x MAC T ransmit Multicast Count Register (MAC_T X_MULCST_CNT_x) This register provides a cou nter of transmitted mu lticast packets. The counter is cleared upon being read. Register #: P[...]

  • Pagina 361

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 361 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.38 P ort x MAC T r ansmit Late Collision Count Regi ster (MAC_ TX_LA TECOL_CNT_x ) This register provides a counter of transmitted pa ckets which experien ced a late collision. The counter is cl[...]

  • Pagina 362

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 362 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.39 Port x MAC T ransmit Excessive Coll ision Co unt Regi ster (MAC_TX_EX CCOL_CNT_x) This register provides a counter of transmitted packets which experienced 16 co llisions. The counter is clea[...]

  • Pagina 363

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 363 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.40 Port x MAC T ransmit Single Collisi on Count Register (MAC_TX_SNGLECOL_CNT_x) This register provides a counter of transmitted packets which ex perienced exactly 1 collision. The counter is cl[...]

  • Pagina 364

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 364 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.4 1 Port x MAC T ransmit Multiple Colli sion Count Regis ter (MAC_TX_MUL TICOL_CNT_x) This register provides a counter of tran smitted pa ckets which experienced between 2 a nd 15 collision s. T[...]

  • Pagina 365

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 365 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.42 Port x MAC T ransmit T ot al Collis ion Count Register (MAC_TX_TOT ALCOL_CNT_x) This register provides a counter of total collisions including late collisi ons. The counter is cl eared upon b[...]

  • Pagina 366

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 366 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.2.43 Port x MAC Interrupt Mask Register (MAC_IMR_x) This register contains the Port x interru pt mask. Port x related interrupt s in the Port x MAC Interrupt Pending Register (MAC_IPR_x) may be ma[...]

  • Pagina 367

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 367 Revision 1.4 (08-19-08) DA T ASHEET 14.5.2.44 Port x MAC Interrupt Pending Register (MAC_IPR_x) This read-only registe r cont ains the pendi ng Port x interrupts. A set bit indicates an in terrupt has been triggered . All interrupt s in [...]

  • Pagina 368

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 368 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3 Switch Engine CSRs This section details the switch engine related CSRs. These registers allo w configuration and monit oring of the various switch engi ne components including th e ALR, VLAN, Po[...]

  • Pagina 369

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 369 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.2 Switch Engine ALR Write Dat a 0 Register (SWE_ALR_WR_DA T_0) This register is used in conjunction with the Switch Engine ALR Write Data 1 Register (SWE_ALR_WR_DA T_1) and contains the first 32[...]

  • Pagina 370

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 370 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.3 Switch Engine ALR Write Dat a 1 Register (SWE_ALR_WR_DA T_1) This register is used in conjunction with the Switch Engine ALR Write Data 0 Register (SWE_ALR_WR_DA T_0) and contains the last 32 [...]

  • Pagina 371

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 371 Revision 1.4 (08-19-08) DA T ASHEET 18:16 Port These bits indicate the p ort(s) associated with this MAC address. When bit 18 is cleared, a single port i s selected. W hen bit 18 i s set, multip le ports are selected. R/W 000b 15:0 MAC A[...]

  • Pagina 372

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 372 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.4 Switch Engine ALR Read Da t a 0 Register (SWE_ALR_RD_DA T_0) This register is used i n conjunction with the Switch Engine ALR Read Data 1 Reg ister (SWE_ALR_RD_DA T_1) to read the ALR table. I[...]

  • Pagina 373

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 373 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.5 Switch Engine ALR Read Da t a 1 Register (SWE_ALR_RD_DA T_1) This register is used i n conjunction with the Switch Engine ALR Read Data 0 Reg ister (SWE_ALR_RD_DA T_0) to read the ALR table. I[...]

  • Pagina 374

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 374 SMSC LAN931 1/LAN931 1i DA T ASHEET 18:16 Port These bits indicate the p ort(s) associated with this MAC address. When bit 18 is cleared, a single port i s selected. W hen bit 18 i s set, multip le ports are selected. RO 000b 15:0 MAC Ad[...]

  • Pagina 375

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 375 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.6 Switch Engine ALR Command S ta tus Register (SWE_ALR_CMD_STS) This register indica tes the current ALR command status. Note 14.62 The default value of this bit is 0 imme diatel y following any[...]

  • Pagina 376

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 376 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.7 Switch Engine ALR Config uration Register (SWE_ALR_CFG) This register contro ls the ALR aging timer durat ion. Register #: 1809h Size : 32 bi ts BIT S DESCRIPTION TYPE DEFAULT 31:1 RESERVED RO[...]

  • Pagina 377

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 377 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.8 Switch Engine VLAN Command Register (SWE_VLAN_CMD) This register is used to read and writ e the VLAN or Port VID tables. A write t o this address performs the specified access. For a read acce[...]

  • Pagina 378

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 378 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.9 Switch Engine VLAN W rite Data Register (SWE_VLAN_WR_DA T A) This register is used writ e the VLAN or Port VID tables. Register #: 180Ch Size: 3 2 bits BIT S DESCRIPTION TYPE DEFAULT 31:18 RES[...]

  • Pagina 379

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 379 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.10 Switch Engine VLAN Read Dat a Register (SWE_VLAN_RD_DA T A ) This register is used to read the VLAN or Port VID tables. Register #: 180Eh Size: 32 bits BIT S DESCRIPTION TYPE DEFAULT 31:18 RE[...]

  • Pagina 380

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 380 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.1 1 Switch Engine VLAN Command St atus Register (SWE_VLAN_CMD_STS) This register indica tes the current VLAN command status. Register #: 1810h Size : 32 bi ts BIT S DESCRIPTION TYPE DEFAULT 31:1[...]

  • Pagina 381

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 381 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.12 Switch Engine DIFFSERV T able Command Register (SWE_DIFFSERV_T BL_CFG) This register is used t o read and write the DIFFSERV table. A write to this address performs the specified access. This[...]

  • Pagina 382

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 382 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.13 Switch Engine DIFFSERV T able Writ e Dat a Register (SWE_DIFFSERV_TBL_WR_DA T A) This register is used to write th e DIFFSERV table. The DIFFSERV table is not initialized upon reset on power-[...]

  • Pagina 383

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 383 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.14 Switch Engine DIFFSERV T able Read Dat a Register (SWE_DIFFSERV_TBL_RD_DA T A) This register is used to read the DIFF SERV t able. Register #: 1813h Size : 32 bi ts BIT S DESCRIPTION TYPE DEF[...]

  • Pagina 384

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 384 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.15 Switch Engine DIFFSER V T able Command St atus Register (SWE_DIFFSER V_TBL_CMD_STS) This register indi cates the current D IFFSERV command status. Register #: 1814h Size : 32 bi ts BIT S DESC[...]

  • Pagina 385

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 385 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.16 Switch Engine Global Ingress Conf iguration Register (SWE_GLOBAL_ INGRSS_CFG) This register is used to configure the globa l ingress rules. Register #: 1840h Size : 32 bi ts BIT S DESCRIPTION[...]

  • Pagina 386

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 386 SMSC LAN931 1/LAN931 1i DA T ASHEET 1 VL Higher Priority When this bit is set and VLANs are enabled, the priority fr om the VLAN tag has higher priority than the IP TOS/SC fie ld. R/W 1b 0 VLAN Enable When set, VLAN ingre s s rules are e[...]

  • Pagina 387

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 387 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.17 Switch Engine Port Ingress Conf iguration Register (SWE_PORT_INGRSS_CFG ) This register is used to configure the per po rt ingress rules. Register #: 1841h Size : 32 bi ts BIT S DESCRIPTION T[...]

  • Pagina 388

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 388 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.18 Switch Engine Admit Only VLAN Register (SWE_ADMT_ONL Y_VLAN) This register is used to configure the per po rt ingress rule for all owing only VLAN tagged packets. Register #: 1842h Size : 32 [...]

  • Pagina 389

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 389 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.19 Switch Engine Port St ate Register (SWE_PORT_ST A TE) This register is used to configure the p er port spanning tree state. Register #: 1843h Size : 32 bi ts BIT S DESCRIPTION TYPE DEFAULT 31[...]

  • Pagina 390

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 390 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.2 0 Switch Engine Pr iority to Queue Register (SWE_PRI_TO_QU E) This register specifies the T raffic Class table that maps the packet priority into the egress queues. Register #: 1845h Size : 32[...]

  • Pagina 391

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 391 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.21 Switch Engine Port Mi rroring Register (SWE_PORT_MIRROR) This register is used to configure port mirroring. Register #: 1846h Size : 32 bi ts BIT S DESCRIPTION TYPE DEFAULT 31:9 RESERVED RO -[...]

  • Pagina 392

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 392 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.22 Switch Engine Ingress Port T ype Register (SWE_INGRSS_PORT_TYP) This register is used to enabl e the special taggi ng mode used to determine the destinati on port based on the VLAN tag conten[...]

  • Pagina 393

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 393 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.23 Switch Engine Broadcast Thr ottling Regi ster (SWE_B CST_THROT ) This register configure s the broadcast input rat e throttling. Register #: 1848h Size : 32 bi ts BIT S DESCRIPTION TYPE DEFAU[...]

  • Pagina 394

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 394 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.24 Switch Engine Admit Non Member Register (SWE_ADMT_N_MEMBER) This register is used to allow access to a VLAN even if t he ingress port is not a member . Register #: 1849h Size : 32 bi ts BIT S[...]

  • Pagina 395

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 395 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.25 Switch Engine Ingress Rate Co nf iguration Register (SWE_INGRSS_RA TE_CFG) This register , along with the se ttin gs accessib le vi a the Switch Engi ne Ing ress Rat e C ommand R egist er (SW[...]

  • Pagina 396

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 396 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.26 Switch Engine Ingress Rate Co m mand Register (SWE_INGRSS_RA TE_C MD) This register is used to indirectly read and write t he ingress rate metering/color table registe rs. A write to this add[...]

  • Pagina 397

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 397 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.26.1 INGRESS RATE T ABLE REGISTERS The ingress rate meteri ng/color table consists of 24 Committed I nformation Rate (CIR) registers (one per port/priority), a Committ ed Burst Size register , a[...]

  • Pagina 398

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 398 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.27 Switch Engine Ingres s Rate Command St atus Register (SWE_INGRSS_RA TE_CMD_STS) This register indica tes the current ingress rat e command status. Register #: 184Ch Size: 3 2 bits BIT S DESCR[...]

  • Pagina 399

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 399 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.28 Switch Engine Ingress Rate Write Dat a Register (SWE_INGRSS _RA TE_WR_DA T A) This register is used to write the ingress rate table registers. Register #: 184Dh Size: 3 2 bits BIT S DESCRIPTI[...]

  • Pagina 400

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 400 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.29 Switch Engine Ingress Rate Re ad Dat a Register (SWE_INGRSS_RA TE_RD_DA T A) This register is used to read the ingress rate table regi sters. Register #: 184Eh Size: 32 bits BIT S DESCRIPTION[...]

  • Pagina 401

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 401 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.30 Switch Engine Port 0 Ingress Filt ered Count Register (SWE_FIL TERED_CNT_MII) This register counts the number of packets filtered at ingress on Port 0(Host MAC). This count includes packets f[...]

  • Pagina 402

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 402 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.31 Switch Engine Port 1 Ingress Filt ered Count Register (SWE_FIL TERED_CNT_1) This register counts the number of packets filtered at ingress on Port 1. This count i ncludes packets filtered due[...]

  • Pagina 403

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 403 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.32 Switch Engine Port 2 Ingress Filt ered Count Register (SWE_FIL TERED_CNT_2) This register counts the number of packets filtered at ingress on Port 2. This count i ncludes packets filtered due[...]

  • Pagina 404

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 404 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.33 Switch Engine Port 0 Ing ress VLAN Priority Regenerat ion T able Register (SWE_INGRSS_REGEN_TBL_MII) This register provi des the ability t o map the received VLAN priority to a regen erated p[...]

  • Pagina 405

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 405 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.34 Switch Engine Port 1 Ing ress VLAN Priority Regenerat ion T able Register (SWE_INGRSS_REGEN_TBL_1) This register provi des the ability t o map the received VLAN priority to a regen erated pri[...]

  • Pagina 406

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 406 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.35 Switch Engine Port 2 Ing ress VLAN Priority Regenerat ion T able Register (SWE_INGRSS_REGEN_TBL_2) This register provi des the ability t o map the received VLAN priority to a regen erated pri[...]

  • Pagina 407

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 407 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.36 Switch Engine Port 0 Learn Discar d Count Register (SWE_LRN_DISCRD_CNT_MII) This register counts the numbe r of MAC addre sses on Port 0(Host MAC) that we re not learned or were overwritten b[...]

  • Pagina 408

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 408 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.37 Switch Engine Port 1 Learn Disc ard Count Register (SWE_LRN_DISCRD_CNT_1) This register counts the number of MAC addresses on Port 1 that were not learned or were overwritten by a different a[...]

  • Pagina 409

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 409 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.38 Switch Engine Port 2 Learn Disc ard Count Register (SWE_LRN_DISCRD_CNT_2) This register counts the number of MAC addresses on Port 2 that were not learned or were overwritten by a different a[...]

  • Pagina 410

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 410 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.3.39 Switch Engine Interr upt Mask Register (SWE_IMR) This register contains the Sw itch Engine interrupt mask, wh ich masks the interrupts in the Switch Engine Interrupt Pending Re gister (SWE_IP[...]

  • Pagina 411

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 41 1 Revision 1.4 (08-19-08) DA T ASHEET 14.5.3.40 Switch Engine Interr upt Pending Register (SWE_ IPR) This register contains the Switch Engine int errupt status. The status is double buffered. All interrupts in this register may be masked [...]

  • Pagina 412

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 412 SMSC LAN931 1/LAN931 1i DA T ASHEET 10:9 Source Port B When bit 8 is set, these bits indicate the source po rt on which the packet was dropped. 00 = Port 0 01 = Port 1 10 = Port 2 1 1 = RESERVED RC 00b 8 Set B V alid When set, bits 14:9 [...]

  • Pagina 413

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 413 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4 Buffer Manager CSRs This section details the Buffer Manager (BM) regi sters. These registers allow conf iguration and monitoring of the switch buffe r levels and usage. A list of the ge neral sw[...]

  • Pagina 414

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 414 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.2 Buff er Manager Drop Level Register ( BM_DROP_L VL) This register configure s the overall buffer usage limits. Register #: 1C01h Size: 32 bi ts BIT S DESCRIPTION TYPE DEFAULT 31:16 RESERVED RO[...]

  • Pagina 415

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 415 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.3 Buffer Manager Flow Control Pause Leve l Register (BM_FC_P AUSE_L VL) This register configure s the buffer usage level when a Pause f rame or backpressure is sent. Register #: 1C02h Size: 32 b[...]

  • Pagina 416

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 416 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.4 Buffer Manager Flow Control Re s ume Level Register (BM_FC_RESUME_L VL) This register configure s the buffer usage level when a Pa use frame with a pause value of 1 is sent. Register #: 1C03h [...]

  • Pagina 417

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 417 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.5 Buffer Manager Broadcast Bu ffer Level Register (BM_BCST_L VL) This register configure s the buffer usage limits for broadcasts, multicasts, and unknown unicasts. Register #: 1C04h Size: 32 bi[...]

  • Pagina 418

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 418 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.6 Buffer Manager Port 0 Drop Count Register (BM_DRP_CNT_SRC_MII) This register counts the number of packets dropped by the Buffer Manager that were received on Port 0(Host MAC). This count inclu[...]

  • Pagina 419

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 419 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.7 Buffer Manager Port 1 Drop Count Register (BM_DRP_CNT_SRC_1) This register counts the number of packets dropped by the Buffer Manager that were received on Port 1. This count includes packets [...]

  • Pagina 420

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 420 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.8 Buffer Manager Port 2 Drop Count Register (BM_DRP_CNT_SRC_2) This register counts the number of packets dropped by the Buffer Manager that were received on Port 2. This count includes packets [...]

  • Pagina 421

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 421 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.9 Buffer Manager Reset S ta tus Register (BM_RST_STS) This register indica tes when the Buffer Manager has be en initialized by the reset process. Note 14.63 The default value of this bit is 0 i[...]

  • Pagina 422

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 422 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.10 Buffer Manager Random Discard T abl e Command Register (BM_RNDM_DSCRD_TBL_CMD) This register is used to read and write the Random Discard Weight table. A write to this address performs the sp[...]

  • Pagina 423

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 423 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.1 1 Buffer Manager Random Discard T able Write Data Register (BM_RNDM_DSCRD_TBL_WDA T A) This register is used to write the Random Discard Weight table. Note: The Random Discard Weight table is [...]

  • Pagina 424

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 424 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.12 Buffer Manager Random Discard T able Re ad Data Register (BM_RNDM_DSCRD_TBL_RDA T A) This register is used to read the Random Di scard Weight table. Register #: 1C0Bh Size: 3 2 bits BIT S DES[...]

  • Pagina 425

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 425 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.1 3 Buffer Manager Egress Port T ype Register (BM_EGRSS_PORT_TYPE ) This register is used to configur e the egress VLAN tagging rules. See Section 6.5.6, "Adding, Removing, and Changing VLA[...]

  • Pagina 426

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 426 SMSC LAN931 1/LAN931 1i DA T ASHEET 17:16 Egress Port T ype Port 2 These bits set the egress po rt type which det ermines the tagging/un-tagging rules. R/W 0b 15:14 RESERVED RO - 13 Insert T a g Port 1 Identical to Insert T ag Port 2 def[...]

  • Pagina 427

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 427 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.14 Buffer Manager Port 0 Egress Rate Priority Que ue 0/1 Register (BM_EGRSS_RA TE_00_01 ) This register , along with the Buffer Manager Configuration Re gister (BM_CFG) , is used to configure th[...]

  • Pagina 428

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 428 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.15 Buffer Manager Port 0 Egress Rate Priority Que ue 2/3 Register (BM_EGRSS_RA TE_02_03 ) This register , along with the Buffer Manager Configuration Re gister (BM_CFG) , is used to configure th[...]

  • Pagina 429

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 429 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.16 Buffer Manager Port 1 Egress Rate Priority Queue 0/1 Register (BM_EGRSS_RA TE_10 _1 1) This register , along with the Buffer Manager Configuration Re gister (BM_CFG) , is used to configure th[...]

  • Pagina 430

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 430 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.17 Buffer Manager Port 1 Egress Rate Priority Que ue 2/3 Register (BM_EGRSS_RA TE_12_13 ) This register , along with the Buffer Manager Configuration Re gister (BM_CFG) , is used to configure th[...]

  • Pagina 431

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 431 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.18 Buffer Manager Port 2 Egress Rate Priority Que ue 0/1 Register (BM_EGRSS_RA TE_20_21 ) This register , along with the Buffer Manager Configuration Re gister (BM_CFG) , is used to configure th[...]

  • Pagina 432

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 432 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.19 Buffer Manager Port 2 Egress Rate Priority Que ue 2/3 Register (BM_EGRSS_RA TE_22_23 ) This register , along with the Buffer Manager Configuration Re gister (BM_CFG) , is used to configure th[...]

  • Pagina 433

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 433 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.20 Buffer Manager Port 0 Default VLAN ID and Priority Register (BM_VLAN_M II) This register is used to specify the default VLAN ID and priority of Port 0(Ho st MAC). Register #: 1C13h Size: 32 b[...]

  • Pagina 434

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 434 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.21 Buffer Manager Port 1 Default VLAN ID and Priority Registe r (BM_VLAN_1) This register is used to specify the default VLAN ID and priority of Port 1. Register #: 1C14h Size: 32 bi ts BIT S DE[...]

  • Pagina 435

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 435 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.22 Buffer Manager Port 2 Default VLAN ID and Priority Registe r (BM_VLAN_2) This register is used to specify the default VLAN ID and priority of Port 2. Register #: 1C15h Size: 32 bi ts BIT S DE[...]

  • Pagina 436

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 436 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.23 Buffer Manager Port 0 Ingress Ra te Drop Count Register (BM_RA TE_DRP_CN T_SRC_MII) This register counts the numbe r of packets received o n P o r t 0 ( H o s t M A C ) t h a t w e r e d r o [...]

  • Pagina 437

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 437 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.24 Buffer Manager Port 1 Ingress Ra te Drop Count Register (BM_RA TE_DRP_CN T_SRC_1) This register count s the number of packet s received on Port 1 that were dropped by the Buf fer Manager due [...]

  • Pagina 438

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 438 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.25 Buffer Manager Port 2 Ingress Ra te Drop Count Register (BM_RA TE_DRP_CN T_SRC_2) This register count s the number of packet s received on Port 2 that were dropped by the Buf fer Manager due [...]

  • Pagina 439

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 439 Revision 1.4 (08-19-08) DA T ASHEET 14.5.4.26 Buffer Manager Interrupt Mask Re gister (BM_IMR) This register contains the Buf fer Manager inte rrupt mask, which masks the interrupts in the Buffer Manager Interrupt Pending Re gister (BM_I[...]

  • Pagina 440

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 440 SMSC LAN931 1/LAN931 1i DA T ASHEET 14.5.4.2 7 Buffer Manager Int err upt Pending Register (BM_IPR) This register contains the Buffer Manager interrupt status. The status is double bu ffered. All interrupts in this register may be masked[...]

  • Pagina 441

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 441 Revision 1.4 (08-19-08) DA T ASHEET 6:3 Drop Reason A When bit 0 is set, th ese bits indicate the reaso n a packet was dropped. See the Drop Reason B description above for definit ions of each value of th is field. RC 0h 2:1 Source port [...]

  • Pagina 442

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 442 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 15 Operational Characteristics 15.1 Absolute Maximum Ratings* Supply V oltage (VDD33A1 , VDD33A2, VDD33BIAS, VDD33IO) ( Note 15.1 ) . . . . . . . . . . . 0V to +3.6V Positive voltage on signal [...]

  • Pagina 443

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 443 Revision 1.4 (08-19-08) DA T ASHEET 15.3 Power Consumption This section details the power consump tion of th e LAN931 1/LAN931 1i. Power consumption valu es are provided for both th e device-only , and for the device pl us the Ethernet c[...]

  • Pagina 444

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 444 SMSC LAN931 1/LAN931 1i DA T ASHEET 15.4 DC Specifications Note 15.6 This specification applies to all IS type inputs and tri-stated bi-direct ional pins. I nternal pull- down and pull-up resisto rs add +/- 50uA per-pin (typical). Note 1[...]

  • Pagina 445

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 445 Revision 1.4 (08-19-08) DA T ASHEET Note 15.8 Measured at line side of transfo rmer , li ne replaced by 100 Ω (+/- 1%) resistor . Note 15.9 Of fset from 16nS pulse wi dth at 50% of pulse peak. Note 15.10 Measured differentially . Note 1[...]

  • Pagina 446

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 446 SMSC LAN931 1/LAN931 1i DA T ASHEET 15.5.2 Reset and Configuration Strap T iming This diagram illustrates the nRST pin timing req uirements and its relation to the configuration strap pins and output d rive. Assertion of nR ST is not a r[...]

  • Pagina 447

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 447 Revision 1.4 (08-19-08) DA T ASHEET 15.5.3 Power-On Configurat ion Strap V alid Timing This diagram ill ustrates the configura tion strap valid timing requirements in relation to powe r-on. In order for val id configuratio n strap values[...]

  • Pagina 448

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 448 SMSC LAN931 1/LAN931 1i DA T ASHEET 15.5.4 PIO Read Cycle Timing Please refer to Section 8.5.4, "PIO Reads, " on page 1 07 for a functiona l description o f this mode. Note: A host PIO re ad cycle begins w hen both nCS and nRD [...]

  • Pagina 449

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 449 Revision 1.4 (08-19-08) DA T ASHEET 15.5.5 PIO Burst Re ad Cycle Timing Please refer to Section 8.5.5, "PIO Burst Reads, " on page 108 for a functional description of this mode. Note: A host PIO burst read cycle begins when bo [...]

  • Pagina 450

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 450 SMSC LAN931 1/LAN931 1i DA T ASHEET 15.5.6 RX Data FIFO Direct PIO Read Cycle T iming Please refer to Section 8.5.6, "RX Da ta FIFO Direct PIO Reads," on page 1 09 for a functional description of this mode. Note: A RX Data FIFO[...]

  • Pagina 451

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 451 Revision 1.4 (08-19-08) DA T ASHEET 15.5.7 RX Dat a FIFO Direct PIO Burst Read Cycle Timing Please refer to Section 8.5.7, "RX Data FIFO Direct PIO Burst Reads," on page 1 10 for a funct ional description of this mode. Note: A [...]

  • Pagina 452

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 452 SMSC LAN931 1/LAN931 1i DA T ASHEET 15.5.8 PIO Write Cycle T iming Please refer to Section 8.5.8, "PIO Writes," on page 1 1 1 for a functional description o f this mode. Note: A PIO write cycle begins when both nCS and nW R are[...]

  • Pagina 453

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 453 Revision 1.4 (08-19-08) DA T ASHEET 15.5.9 TX Dat a FIFO Direct PIO Write Cycle T iming Please refer to Section 8.5.9, "TX Data FIFO Direct PIO Writes," on page 1 12 for a functional description of this mode. Note: A TX Data FI[...]

  • Pagina 454

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 454 SMSC LAN931 1/LAN931 1i DA T ASHEET 15.5.10 Microwire T iming This section specifies the Microwire EEPROM in terface timing requirements. Please refer to Se ctio n 10.2.3, "Microwire EEPROM," on page 145 fo r a functional d esc[...]

  • Pagina 455

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 455 Revision 1.4 (08-19-08) DA T ASHEET 15.6 Clock Circuit The LAN931 1/LAN931 1i can accept eit her a 25MHz cryst al (preferred) or a 25MHz sin gle-ended clock oscillator (+/- 50ppm) input. If the single-ended cl ock oscillato r method is i[...]

  • Pagina 456

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 456 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 16 Package Outlines 16.1 128-VTQFP Package Outline Figure 16.1 LAN931 1 128-VTQFP Packag e Definition T able 16.1 LAN931 1 128-VT QF P Dimensions MIN NOMINAL MAX R EMARKS A - - 1.20 Overall Pa [...]

  • Pagina 457

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 457 Revision 1.4 (08-19-08) DA T ASHEET Notes: 1. All dimensions are in milli meters unless otherwise noted. 2. Dimensions b & c apply to the flat section of the l ead foot between 0.10 and 0.25mm from the lead tip. The base metal is exp[...]

  • Pagina 458

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 458 SMSC LAN931 1/LAN931 1i DA T ASHEET 16.2 128-XVTQFP Package Outline Figure 16.3 LAN931 1/LAN931 1i 128-XVTQFP Package De finition[...]

  • Pagina 459

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet SMSC LAN931 1/LAN931 1i 459 Revision 1.4 (08-19-08) DA T ASHEET Notes: 1. All dimensions are in milli meters unless otherwise noted. 2. Dimensions b & c apply to the flat section of the l ead foot between 0.10 and 0.25mm from the lead tip. The base metal is exp[...]

  • Pagina 460

    T wo Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface Datasheet Revision 1.4 (08-19-08) 460 SMSC LAN931 1/LAN931 1i DA T ASHEET Chapter 17 Revision History T able 17.1 Customer Revision History REVISION LEVEL & DATE SECTI ON/FIGURE/ENTRY CORRECTION Rev . 1.3 (07-03-08) W ake-Up Frame Detecti on section of Host MAC Chapter a[...]