LAN91C96
Non-PCI Single-Chip
Full Duplex Ethernet
Controller with Magic
Packet
Datasheet
Product Features
Non-PCI Single-Chip Ethernet Controller
A Subset of Motorola 68000 Bus Interface
Support
Fully Supports Full Duplex Switched Ethernet
Supports Enhanced Transmit Queue
Management
6K Bytes of On-Chip RAM
Supports IEEE 802.3 (ANSI 8802-3) Ethernet
Standards
Automatic Detection of TX/RX Polarity Reversal
Enhanced Power Management Features
Supports “Magic Packet” Power Management
Technology
Simultasking Early Transmit and Early Receive
Functions
Enhanced Early Transmit Function
Receive Counter for Enhanced Early Receive
Hardware Memory Management Unit
Optional Configuration via Serial EEPROM
Interface (Jumperless)
Supports single +5V or +3.3V (for Revisions E
and Later) VCC Designs
Supports Mixed Voltage External PHY Designs
1
Low Power CMOS Design
100 Pin QFP and TQFP (1.0 mm body
Thickness) Packages
Pin Compatible with the LAN91C92 and
LAN91C94
Bus Interface
Direct Interface to Local Bus, PCMCIA, and
68000 Buses with No Wait States
Flexible Bus Interface
16 Bit Data and Control Paths
Fast Access Time
1
Pipelined Data Path
Handles Block Word Transfers for any
Alignment
High Performance Chained ("Back-to-Back")
Transmit and Receive
Pin Compatible with the LAN91C92 (in Local
Bus Mode) and the LAN91C94 in Both Local
Bus and PCMCIA Modes
Dynamic Memory Allocation Between Transmit
and Receive
Flat Memory Structure for Low CPU Overhead
Buffered Architecture, Insensitive to Bus
Latencies (No Overruns/Underruns)
Supports Boot PROM for Diskless Local Bus
Applications
Network Interface
Integrated 10BASE-T Transceiver Functions:
-
-
-
Driver and Receiver
Link Integrity Test
Receive Polarity Detection and Correction
Integrated AUI Interface
10 Mb/s Manchester Encoding/Decoding and
Clock Recovery
Automatic Retransmission, Bad Packet
Rejection, and Transmit Padding
External and Internal Loopback Modes
Four Direct Driven LEDs for Status/ Diagnostics
Software Drivers
LAN9000 Drivers for Major Network Operating
Systems Utilizing Local Bus or PCMCIA
Interface
Software Drivers Compatible with the
LAN91C92, LAN91C94, LAN91C100FD (100
Mb/s), and LAN91C110 (100 Mb/s) Controllers
in Local Bus Mode
Software Drivers Utilize Full Capability of 32 Bit
Microprocessor
Refer to Description of Pin Functions on Page 16 for
5V tolerant pins
SMSC LAN91C965v&3v
Page 1
Rev. 03-28-07
DATASHEET
Non-PCI Single-Chip Full Duplex Ethernet Controller with Magic Packet
ORDERING INFORMATION
Order Numbers:
LAN91C96 QFP for 100 Pin QFP Package
LAN91C96 TQFP for 100 Pin TQFP Package
LAN91C96-MS for 100 pin Lead Free QFP Package
LAN91C96-MU for 100 pin Lead Free TQFP Package
80 ARKAY DRIVE, HAUPPAUGE, NY 11788 (631) 435-6000, FAX (631) 273-3123
Copyright © 2007 SMSC or its subsidiaries. All rights reserved.
Circuit diagrams and other information relating to SMSC products are included as a means of illustrating typical applications. Consequently, complete
information sufficient for construction purposes is not necessarily given. Although the information has been checked and is believed to be accurate, no
responsibility is assumed for inaccuracies. SMSC reserves the right to make changes to specifications and product descriptions at any time without
notice. Contact your local SMSC sales office to obtain the latest specifications before placing your product order. The provision of this information does
not convey to the purchaser of the described semiconductor devices any licenses under any patent rights or other intellectual property rights of SMSC
or others. All sales are expressly conditional on your agreement to the terms and conditions of the most recently dated version of SMSC's standard
Terms of Sale Agreement dated before the date of your order (the "Terms of Sale Agreement"). The product may contain design defects or errors
known as anomalies which may cause the product's functions to deviate from published specifications. Anomaly sheets are available upon request.
SMSC products are not designed, intended, authorized or warranted for use in any life support or other application where product failure could cause
or contribute to personal injury or severe property damage. Any and all such uses without prior written approval of an Officer of SMSC and further
testing and/or modification will be fully at the risk of the customer. Copies of this document or other SMSC literature, as well as the Terms of Sale
Agreement, may be obtained by visiting SMSC’s website at http://www.smsc.com. SMSC is a registered trademark of Standard Microsystems
Corporation (“SMSC”). Product names and company names are the trademarks of their respective holders.
SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND
ALL WARRANTIES ARISING FROM ANY COURSE OF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL SMSC BE LIABLE FOR ANY
DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR
REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT; TORT; NEGLIGENCE OF SMSC
OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT ANY REMEDY OF BUYER IS HELD TO
HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
Rev. 03-28-07
Page 2
SMSC LAN91C965v&3v
DATASHEET
Non-PCI Single-Chip Full Duplex Ethernet Controller with Magic Packet
TABLE OF CONTENTS
Chapter 1
Chapter 2
Chapter 3
3.1
General Description _________________________________________________________________________ 6
Overview __________________________________________________________________________________ 7
Pin Configurations_________________________________________________________________________ 10
Local Bus vs. PCMCIA vs. 68000 Pin Requirements ________________________________________________ 14
Description of Pin Functions ________________________________________________________________ 16
Chapter 4
4.1
Chapter 5
5.1
5.2
5.3
5.4
5.5
5.6
Buffer Symbols _______________________________________________________________________________ 20
Functional Description _____________________________________________________________________ 22
Buffer Memory _______________________________________________________________________________ 23
Interrupt Structure____________________________________________________________________________ 30
Reset Logic___________________________________________________________________________________ 31
Power Down Logic States_______________________________________________________________________ 31
LAN91C96 Power Down States __________________________________________________________________ 32
PCMCIA CONFIGURATION REGISTERS DESCRIPTION ________________________________________ 35
Frame Format in Buffer Memory for Ethernet __________________________________________________ 37
Registers Map in I/O Space __________________________________________________________________ 41
Chapter 6
Chapter 7
7.1
7.2
I/O Space Access ______________________________________________________________________________ 41
I/O Space Registers Description _________________________________________________________________ 41
Theory of Operation________________________________________________________________________ 65
Chapter 8
8.1
8.2
8.3
Typical Flow of Events for Transmit (Auto Release = 0) _____________________________________________ 67
Typical Flow of Events for Transmit (Auto Release = 1) _____________________________________________ 68
Flow of Events for Receive ______________________________________________________________________ 69
Functional Description of the Blocks __________________________________________________________ 79
Chapter 9
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
9.10
9.11
9.12
Memory Management Unit _____________________________________________________________________ 79
Arbiter ______________________________________________________________________________________ 79
Bus Interface _________________________________________________________________________________ 80
Wait State Policy ______________________________________________________________________________ 80
Arbitration Considerations _____________________________________________________________________ 81
DMA Block __________________________________________________________________________________ 81
Packet Number FIFOS _________________________________________________________________________ 82
CSMA Block _________________________________________________________________________________ 84
Network Interface _____________________________________________________________________________ 85
10Base-T___________________________________________________________________________________ 86
AUI _______________________________________________________________________________________ 86
Physical Interface ___________________________________________________________________________ 86
86
86
87
87
9.13
Transmit Functions__________________________________________________________________________
9.13.1 Manchester Encoding _______________________________________________________________________
9.13.2 Transmit Drivers ___________________________________________________________________________
9.13.3 Jabber Function____________________________________________________________________________
SMSC LAN91C965v&3v
Page 3
Rev. 03-28-07
DATASHEET
Non-PCI Single-Chip Full Duplex Ethernet Controller with Magic Packet
9.13.4
SQE Function _____________________________________________________________________________ 87
87
87
87
87
88
88
88
9.14
Receive Functions ___________________________________________________________________________
9.14.1 Receive Drivers____________________________________________________________________________
9.14.2 Manchester Decoder and Clock Recovery _______________________________________________________
9.14.3 Squelch Function __________________________________________________________________________
9.14.4 Reverse Polarity Function____________________________________________________________________
9.14.5 Collision Detection Function _________________________________________________________________
9.14.6 Link Integrity _____________________________________________________________________________
Chapter 10
10.1
10.2
10.3
Chapter 11
11.1
11.2
Chapter 12
Chapter 13
Board Setup Information____________________________________________________________________ 89
Diagnostic LEDs ____________________________________________________________________________ 90
Bus Clock Considerations ____________________________________________________________________ 90
68000 Bus Interface__________________________________________________________________________ 90
Operational Description_____________________________________________________________________ 92
Maximum Guaranteed Ratings* _______________________________________________________________ 92
DC Electrical Characteristics _________________________________________________________________ 92
Timing Diagrams __________________________________________________________________________ 99
LAN91C96 Revisions ______________________________________________________________________ 125
LIST OF FIGURES
Figure 3.1 - LAN91C96 100 Pin QFP...........................................................................................................................10
Figure 3.2 - LAN91C96 100 Pin TQFP.........................................................................................................................11
Figure 3.3 - LAN91C96 System Block Diagram ...........................................................................................................12
Figure 3.4 – System Diagram for Local Bus with Boot Prom .......................................................................................13
Figure 4.1 - LAN91C96 Internal Block Diagram ...........................................................................................................21
Figure 5.1 – Mapping and Paging vs. Receive and Transmit Area ..............................................................................24
Figure 5.2 – Transmit Queues and Mapping................................................................................................................25
Figure 5.3 – Receive Queues and Mapping.................................................................................................................26
Figure 5.4 - LAN91C96 Internal Block Diagram with Data Path...................................................................................27
Figure 5.5 – Logical Address Generation and Relevant Registers...............................................................................28
Figure 6.1 – Data Frame Format..................................................................................................................................37
Figure 6.2 - LAN91C96 Registers ................................................................................................................................40
Figure 7.1 – Interrupt Structure.....................................................................................................................................61
Figure 8.1 – Interrupt Service Routine .........................................................................................................................70
Figure 8.2 - RX INTR ...................................................................................................................................................71
Figure 8.3 -TX INTR.....................................................................................................................................................72
Figure 8.4 -TXEMPTY INTR ........................................................................................................................................73
Figure 8.5 – Driver Send and Allocate Routines ..........................................................................................................74
Figure 8.6 – Interrupt Generation for Transmit; Receive, MMU ...................................................................................78
FIGURE 9.1 - MMU PACKET NUMBER FLOW AND RELEVANT REGISTERS.........................................................84
FIGURE 10.1 - 64 X 16 SERIAL EEPROM MAP .........................................................................................................91
Figure 12.1 – Card Configuration Registers – Read/Write PCMCIA Mode (A15=1) ....................................................99
Figure 12.2 – Local Bus Consecutive Read Cycles ...................................................................................................100
Figure 12.3 - PCMCIA Consecutive Read Cycles ......................................................................................................101
Figure 12.4 – Local Bus Consecutive Write Cycles....................................................................................................102
Figure 12.5 - PCMCIA Consecutive Write Cycles ......................................................................................................103
Figure 12.6 – Local Bus Consecutive Read and Write Cycles ...................................................................................104
Figure 12.7 – Data Register Special Read Access ....................................................................................................105
Figure 12.8 – Data Register Special Write Access.....................................................................................................106
Figure 12.9 - 8-Bit Mode Register Cycles ..................................................................................................................107
Figure 12.10 - 68000 Read Timing.............................................................................................................................108
Figure 12.11 - 68000 Write Timing.............................................................................................................................109
Figure 12.12 – External ROM Read Access ..............................................................................................................110
Figure 12.13 – Local Bus Register Access When Using Bale ....................................................................................111
Rev. 03-28-07
Page 4
SMSC LAN91C965v&3v
DATASHEET
Non-PCI Single-Chip Full Duplex Ethernet Controller with Magic Packet
Figure 12.14 – External ROM Read Access Using Bale ............................................................................................112
Figure 12.15 - EEPROM Read...................................................................................................................................113
Figure 12.16 - EEPROM Write ...................................................................................................................................114
Figure 12.17 - PCMCIA Attribute Memory Read/Write (A15=0) .................................................................................115
Figure 12.18 – External ENDEC Interface – Start of Transmit ...................................................................................115
Figure 12.19 – External ENDEC Interface – Receive Data ........................................................................................116
Figure 12.20 – Differential Output Signal Timing (10BASE-T and AUI) .....................................................................117
Figure 12.21 – Receive Timing – Start of Frame (AUI and 10BASE-T) .....................................................................118
Figure 12.22 – Receive Timing – End of Frame (AUI and 10BASE-T).......................................................................119
Figure 12.23 – Transmit Timing – End of Frame (AUI and 10BASE-T)......................................................................120
Figure 12.24 – Collision Timing (AUI) ........................................................................................................................121
Figure 12.25 – Memory Read Timing.........................................................................................................................121
Figure 12.26 – Input Clock Timing .............................................................................................................................122
Figure 12.27 – Memory Write Timing .........................................................................................................................122
Figure 12.28 - 100 PIN QFP Package........................................................................................................................123
Figure 12.29 - 100 PIN TQFP Package .....................................................................................................................124
LIST OF TABLES
Table 5.1 - LAN91C96 Address Space ........................................................................................................................29
Table 5.2 - Bus Transactions In LOCAL BUS Mode ....................................................................................................29
Table 5.3 - Bus Transactions In PCMCIA Mode...........................................................................................................30
Table 5.4 - Bus Transactions In 68000 Mode................................................................................................................30
Table 5.5 - Interrupt Merging........................................................................................................................................31
Table 5.6 - LOCAL BUS Mode Defined States (Refer To Table 5.7 For Next States To Wake-Up Events).................32
Table 5.7- LOCAL BUS Mode ......................................................................................................................................32
Table 5.8 - PCMCIA Mode (Refer To Table 5.7 For Next States To Wake-Up Events) ...............................................33
Table 5.9 - PCMCIA Mode ...........................................................................................................................................33
Table 7.1 - Transmit Loop ............................................................................................................................................44
SMSC LAN91C965v&3v
Page 5
Rev. 03-28-07
DATASHEET