LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology PRODUCT FEATURES Datasheet Highlights Key Benefits Single-Chip Ethernet Physical Layer Transceiver (PHY) Cable diagnostic support Wake on LAN (WoL) support Comprehensive flexPWR(R) technology -- -- -- -- -- -- -- -- -- Flexible power management architecture -- LVCMOS Variable I/O voltage range: +1.8 V to +3.3 V -- Integrated 1.2 V regulator with disable feature HP Auto-MDIX support Miniature 24-pin SQFN, RoHS-compliant package (4 x 4 x 0.9 mm height) Set-Top Boxes Networked Printers and Servers Test Instrumentation LAN on Motherboard Embedded Telecom Applications Video Record/Playback Systems Cable Modems/Routers DSL Modems/Routers Digital Video Recorders IP and Video Phones Wireless Access Points Digital Televisions Digital Media Adaptors/Servers Gaming Consoles POE Applications (Refer to SMSC Application Note 17.18) Compliant with IEEE802.3/802.3u (Fast Ethernet) Compliant with ISO 802-3/IEEE 802.3 (10BASE-T) Loop-back modes Auto-negotiation Automatic polarity detection and correction Link status change wake-up detection Vendor specific register functions Supports the reduced pin count RMII interface Power and I/Os -- -- -- -- Target Applications High-performance 10/100 Ethernet transceiver Various low power modes Integrated power-on reset circuit Two status LED outputs May be used with a single 3.3 V supply Additional Features -- Ability to use a low cost 25 MHz crystal for reduced BOM Packaging -- 24-pin SQFN (4 x 4 mm), RoHS-compliant package with RMII Environmental -- Commercial temperature range (0C to +70C) -- Industrial temperature range (-40C to +85C) SMSC LAN8742A/LAN8742Ai Revision 1.1 (05-21-13) DATASHEET Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet ORDER NUMBER(S): LAN8742A-CZ (Tray) for 24-pin, SQFN, RoHS-compliant package (0C to +70C temp) LAN8742Ai-CZ (Tray) for 24-pin, SQFN, RoHS-compliant package (-40C to +85C temp) LAN8742A-CZ-TR (Tape & Reel) for 24-pin, SQFN, RoHS-compliant package (0C to +70C temp) LAN8742Ai-CZ-TR (Tape & Reel) for 24-pin, SQFN, RoHS-compliant package (-40 to +85C temp) This product meets the halogen maximum concentration values per IEC61249-2-21. For RoHS compliance and environmental information, please visit www.smsc.com/rohs. Please contact your SMSC sales representative for additional documentation related to this product such as application notes, anomaly sheets, and design guidelines. Copyright (c) 2013 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. The Microchip name and logo, and the Microchip logo are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. 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. Revision 1.1 (05-21-13) 2 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table of Contents Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.1 1.2 General Terms and Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Chapter 2 Pin Description and Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 2.2 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Buffer Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Chapter 3 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 100BASE-TX Transmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 100BASE-TX Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.3 10BASE-T Transmit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.4 10BASE-T Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Auto-Negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.1 Parallel Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.2 Restarting Auto-Negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.3 Disabling Auto-Negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.4 Half vs. Full Duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HP Auto-MDIX Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MAC Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.1 RMII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Management Interface (SMI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.1 Primary Interrupt System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.2 Alternate Interrupt System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Straps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.1 PHYAD[0]: PHY Address Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.2 MODE[2:0]: Mode Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.3 REGOFF: Internal +1.2 V Regulator Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7.4 nINTSEL: nINT/REFCLKO Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Miscellaneous Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.1 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.2 Variable Voltage I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.3 Power-Down Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.4 Wake on LAN (WoL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.5 Isolate Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.6 Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.7 Carrier Sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.8 Link Integrity Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.9 Cable Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.10 Loopback Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.9.1 Simplified System Level Application Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.9.2 Power Supply Diagram (1.2 V Supplied by Internal Regulator). . . . . . . . . . . . . . . . . . . . 3.9.3 Power Supply Diagram (1.2 V Supplied by External Source) . . . . . . . . . . . . . . . . . . . . . 3.9.4 Twisted-Pair Interface Diagram (Single Power Supply). . . . . . . . . . . . . . . . . . . . . . . . . . 3.9.5 Twisted-Pair Interface Diagram (Dual Power Supplies) . . . . . . . . . . . . . . . . . . . . . . . . . SMSC LAN8742A/LAN8742Ai 3 DATASHEET 20 20 23 25 26 27 28 28 29 29 29 30 30 31 32 33 34 35 35 36 37 38 42 42 46 46 47 52 52 53 53 53 58 60 60 61 62 63 64 Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Chapter 4 Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 4.1 4.2 4.3 Register Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Control and Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 4.2.1 Basic Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.2.2 Basic Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 4.2.3 PHY Identifier 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 4.2.4 PHY Identifier 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 4.2.5 Auto Negotiation Advertisement Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 4.2.6 Auto Negotiation Link Partner Ability Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 4.2.7 Auto Negotiation Expansion Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4.2.8 Auto Negotiation Next Page TX Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 4.2.9 Auto Negotiation Next Page RX Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 4.2.10 MMD Access Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 4.2.11 MMD Access Address/Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 4.2.12 EDPD NLP / Crossover Time Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 4.2.13 Mode Control/Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 4.2.14 Special Modes Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 4.2.15 TDR Patterns/Delay Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 4.2.16 TDR Control/Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 4.2.17 Symbol Error Counter Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 4.2.18 Special Control/Status Indications Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 4.2.19 Cable Length Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 4.2.20 Interrupt Source Flag Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 4.2.21 Interrupt Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 4.2.22 PHY Special Control/Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 MDIO Manageable Device (MMD) Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 4.3.1 PCS MMD Devices Present 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.3.2 PCS MMD Devices Present 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 4.3.3 Wakeup Control and Status Register (WUCSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 4.3.4 Wakeup Filter Configuration Register A (WUF_CFGA). . . . . . . . . . . . . . . . . . . . . . . . . . 96 4.3.5 Wakeup Filter Configuration Register B (WUF_CFGB). . . . . . . . . . . . . . . . . . . . . . . . . . 97 4.3.6 Wakeup Filter Byte Mask Registers (WUF_MASK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 4.3.7 MAC Receive Address A Register (RX_ADDRA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 4.3.8 MAC Receive Address B Register (RX_ADDRB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 4.3.9 MAC Receive Address C Register (RX_ADDRC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.3.10 Miscellaneous Configuration Register (MCFGR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 4.3.11 Vendor Specific MMD 1 Device ID 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 4.3.12 Vendor Specific MMD 1 Device ID 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 4.3.13 Vendor Specific 1 MMD Devices Present 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . 106 4.3.14 Vendor Specific 1 MMD Devices Present 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . 107 4.3.15 Vendor Specific MMD 1 Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 4.3.16 TDR Match Threshold Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 4.3.17 TDR Short/Open Threshold Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 4.3.18 Vendor Specific MMD 1 package ID 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 4.3.19 Vendor Specific MMD 1 package ID 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Chapter 5 Operational Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 5.1 5.2 5.3 5.4 Absolute Maximum Ratings*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Conditions** . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package Thermal Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.1 REF_CLK In Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision 1.1 (05-21-13) 4 DATASHEET 113 114 114 115 115 SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.5 5.6 5.7 5.4.2 REF_CLK Out Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.1 Equivalent Test Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.2 Power Sequence Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.3 Power-On nRST & Configuration Strap Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.4 RMII Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.5 SMI Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 117 119 119 120 121 122 126 127 Chapter 6 Package Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Chapter 7 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 SMSC LAN8742A/LAN8742Ai 5 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet List of Figures Figure 1.1 Figure 1.2 Figure 2.1 Figure 3.1 Figure 3.2 Figure 3.3 Figure 3.4 Figure 3.5 Figure 3.6 Figure 3.7 Figure 3.8 Figure 3.9 Figure 3.10 Figure 3.11 Figure 3.12 Figure 3.13 Figure 3.14 Figure 3.15 Figure 3.16 Figure 3.17 Figure 3.18 Figure 3.19 Figure 3.20 Figure 3.21 Figure 3.22 Figure 3.23 Figure 3.24 Figure 5.1 Figure 5.2 Figure 5.3 Figure 5.4 Figure 5.5 Figure 5.6 System Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 24-SQFN Pin Assignments (TOP VIEW) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 100BASE-TX Transmit Data Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 100BASE-TX Receive Data Path. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Relationship Between Received Data and Specific MII Signals . . . . . . . . . . . . . . . . . . . . . . 25 Direct Cable Connection vs. Cross-over Cable Connection . . . . . . . . . . . . . . . . . . . . . . . . . 29 MDIO Timing and Frame Structure - READ Cycle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 MDIO Timing and Frame Structure - WRITE Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 External 50 MHz clock sources the REF_CLK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Sourcing REF_CLK from a 25 MHz Crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Sourcing REF_CLK from External 25 MHz Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 LED1/nINT/nPME/REGOFF with Internal Regulator Disabled. . . . . . . . . . . . . . . . . . . . . . . . 42 LED1/nINT/nPME/REGOFF with Internal Regulator Enabled . . . . . . . . . . . . . . . . . . . . . . . . 43 LED2/nINT/nPME with nINTSEL Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 LED2/nINT/nPME with nINTSEL Disabled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 LED1/REGOFF Polarity Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 LED2/nINTSEL Polarity Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 TDR Usage Flow Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Near-end Loopback Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Far Loopback Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Connector Loopback Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Simplified System Level Application Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Power Supply Diagram (1.2 V Supplied by Internal Regulator) . . . . . . . . . . . . . . . . . . . . . . . 61 Power Supply Diagram (1.2 V Supplied by External Source) . . . . . . . . . . . . . . . . . . . . . . . . 62 Twisted-Pair Interface Diagram (Single Power Supply) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Twisted-Pair Interface Diagram (Dual Power Supplies). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Output Equivalent Test Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Power Sequence Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Power-On nRST & Configuration Strap Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 RMII Timing (REF_CLK Out Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 RMII Timing (REF_CLK In Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 SMI Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Revision 1.1 (05-21-13) 6 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet List of Tables Table 2.1 Table 2.2 Table 2.3 Table 2.4 Table 2.5 Table 2.6 Table 2.7 Table 2.8 Table 2.9 Table 3.1 Table 3.2 Table 3.3 Table 3.4 Table 3.5 Table 3.6 Table 3.7 Table 3.8 Table 3.9 Table 3.10 Table 3.11 Table 4.1 Table 4.2 Table 4.3 Table 5.1 Table 5.2 Table 5.3 Table 5.4 Table 5.5 Table 5.6 Table 5.7 Table 5.8 Table 5.9 Table 5.10 Table 5.11 Table 5.12 Table 5.13 Table 5.14 Table 5.15 Table 5.16 Table 7.1 RMII Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 LED Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Serial Management Interface (SMI) Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Ethernet Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Miscellaneous Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Analog Reference Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Power Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 24-SQFN Package Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Buffer Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4B/5B Code Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Interrupt Management Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Alternative Interrupt System Management Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 MODE[2:0] Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Pin Names for Mode Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 nINTSEL Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Wakeup Generation Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 TDR Propagation Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Typical Measurement Error for Open Cable (+/- Meters). . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Typical Measurement Error for Shorted Cable (+/- Meters) . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Match Case Estimated Cable Length (CBLN) Lookup Table. . . . . . . . . . . . . . . . . . . . . . . . . 57 Register Bit Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 SMI Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 MMD Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Package Thermal Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Current Consumption and Power Dissipation (REF_CLK In, Reg. Disabled) . . . . . . . . . . . 115 Current Consumption and Power Dissipation (REF_CLK In, Reg. Enabled). . . . . . . . . . . . 115 Current Consumption and Power Dissipation (REF_CLK Out, Reg. Disabled) . . . . . . . . . . 116 Current Consumption and Power Dissipation (REF_CLK Out, Reg. Enabled) . . . . . . . . . . 116 Non-Variable I/O Buffer Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Variable I/O Buffer Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 100BASE-TX Transceiver Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 10BASE-T Transceiver Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Power Sequence Timing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Power-On nRST & Configuration Strap Timing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 RMII Timing Values (REF_CLK Out Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 RMII Timing Values (REF_CLK In Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 RMII CLKIN (REF_CLK) Timing Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 SMI Timing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Crystal Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Customer Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 SMSC LAN8742A/LAN8742Ai 7 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Chapter 1 Introduction 1.1 General Terms and Conventions The following is a list of the general terms used throughout this document: BYTE 8 bits FIFO First In First Out buffer; often used for elasticity buffer MAC Media Access Controller RMIITM Reduced Media Independent Interface N/A Not Applicable X Indicates that a logic state is "don't care" or undefined. RESERVED Refers to a reserved bit field or address. Unless otherwise noted, reserved bits must always be zero for write operations. Unless otherwise noted, values are not guaranteed when reading reserved bits. Unless otherwise noted, do not read or write to reserved addresses. SMI 1.2 Serial Management Interface General Description The LAN8742A/LAN8742Ai is a low-power 10BASE-T/100BASE-TX physical layer (PHY) transceiver with variable I/O voltage that is compliant with the IEEE 802.3 and 802.3u standards. The LAN8742A/LAN8742Ai supports communication with an Ethernet MAC via a standard RMII interface. It contains a full-duplex 10-BASE-T/100BASE-TX transceiver and supports 10 Mbps (10BASET) and 100 Mbps (100BASE-TX) operation. The LAN8742A/LAN8742Ai implements auto-negotiation to automatically determine the best possible speed and duplex mode of operation. HP Auto-MDIX support allows the use of direct connect or cross-over LAN cables. Integrated Wake on LAN (WoL) support provides a mechanism to trigger an interrupt upon reception of a perfect DA, broadcast, magic packet, or wakeup frame. The LAN8742A/LAN8742Ai supports both IEEE 802.3-2005 compliant and vendor-specific register functions. However, no register access is required for operation. The initial configuration may be selected via the configuration pins as described in Section 3.7, "Configuration Straps," on page 35. Register-selectable configuration options may be used to further define the functionality of the transceiver. The LAN8742A/LAN8742Ai can be programmed to support wake-on-LAN at the physical layer, allowing detection of configurable Wake-up Frame and Magic packets. This feature allows filtering of packets at the PHY layer, without requiring MAC intervention. Additionally, the LAN8742A/LAN8742Ai supports cable diagnostics which allow the device to identify opens/shorts and their location on the cable via vendor-specific registers. Per IEEE 802.3-2005 standards, all digital interface pins are tolerant to 3.6 V. The device can be configured to operate on a single 3.3 V supply utilizing an integrated 3.3 V to 1.2 V linear regulator. The linear regulator may be optionally disabled, allowing usage of a high efficiency external regulator for lower system power dissipation. Revision 1.1 (05-21-13) 8 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet The LAN8742A/LAN8742Ai is available in commercial (0C to +70C) and industrial (-40C to +85C) temperature range versions. A typical system application is shown in Figure 1.1. Figure 1.2 provides an internal block diagram of the device. 10/100 Ethernet MAC LAN8742A/ LAN8742Ai RMII Mode MDI Transformer RJ45 LED Crystal or Clock Oscillator Figure 1.1 System Block Diagram MODE[0:2] nRST Mode Control Reset Control AutoNegotiation 100M TX Logic 100M Transmitter HP Auto-MDIX RXP/RXN Transmitter SMI TXD[0:1] Management Control 10M TX Logic 10M Transmitter TXEN TXP/TXN MDIX Control XTAL1/CLKIN PLL XTAL2 RXER CRS_DV RMII Logic RXD[0:1] 100M RX Logic DSP System: Clock Data Recovery Equalizer WoL Analog-toDigital 100M PLL Receiver MDC 10M RX Logic MDIO Squeltch & Filters 10M PLL Interrupt Generator LED1 LEDs LED2 Central Bias PHY Address Latches LAN8742A/LAN8742Ai nINT/ REFCLKO RBIAS PHYAD0 Figure 1.2 Architectural Overview SMSC LAN8742A/LAN8742Ai 9 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet VDD1A 19 TXN 20 TXP 21 TXD0 TXEN nRST nINT/REFCLKO MDC 17 16 15 14 13 18 TXD1 Chapter 2 Pin Description and Configuration SMSC LAN8742A/LAN8742Ai 24 PIN QFN (TOP VIEW) 12 MDIO 11 CRS_DV/MODE2 10 RXER/PHYAD0 VSS 6 RXD1/MODE1 VDDCR 7 5 24 XTAL1/CLKIN RBIAS 4 RXD0/MODE0 XTAL2 8 3 23 LED1/nINT/nPME/REGOFF RXP 2 VDDIO LED2/nINT/nPME/nINTSEL 9 1 22 VDD2A RXN NOTE: Exposed pad (VSS) on bottom of package must be connected to ground Figure 2.1 24-SQFN Pin Assignments (TOP VIEW) Note: When a lower case "n" is used at the beginning of the signal name, it indicates that the signal is active low. For example, nRST indicates that the reset signal is active low. Revision 1.1 (05-21-13) 10 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Note: The buffer type for each signal is indicated in the BUFFER TYPE column. A description of the buffer types is provided in Section 2.2. Table 2.1 RMII Signals NUM PINS NAME SYMBOL BUFFER TYPE 1 Transmit Data 0 TXD0 VIS The MAC transmits data to the transceiver using this signal. 1 Transmit Data 1 TXD1 VIS The MAC transmits data to the transceiver using this signal. 1 Transmit Enable TXEN VIS (PD) Indicates that valid transmission data is present on TXD[1:0]. Receive Data 0 RXD0 VO8 Bit 0 of the 2 data bits that are sent by the transceiver on the receive path. PHY Operating Mode 0 Configuration Strap MODE0 VIS (PU) Combined with MODE1 and MODE2, this configuration strap sets the default PHY mode. Receive Data 1 RXD1 VO8 Bit 1 of the 2 data bits that are sent by the transceiver on the receive path. PHY Operating Mode 1 Configuration Strap MODE1 VIS (PU) Combined with MODE0 and MODE2, this configuration strap sets the default PHY mode. Receive Error RXER VO8 This signal is asserted to indicate that an error was detected somewhere in the frame presently being transferred from the transceiver. PHY Address 0 Configuration Strap PHYAD0 VIS (PD) This configuration strap sets the transceiver's SMI address. 1 1 1 DESCRIPTION See Note 2.1 for more information on configuration straps. Note: See Note 2.1 for more information on configuration straps. Note: Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional details. See Note 2.1 for more information on configuration straps. Note: SMSC LAN8742A/LAN8742Ai Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional details. 11 DATASHEET Refer to Section 3.7.1, "PHYAD[0]: PHY Address Configuration," on page 35 for additional information. Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 2.1 RMII Signals (continued) NUM PINS NAME SYMBOL BUFFER TYPE Carrier Sense / Receive Data Valid CRS_DV VO8 DESCRIPTION This signal is asserted to indicate the receive medium is non-idle. When a 10BASE-T packet is received, CRS_DV is asserted, but RXD[1:0] is held low until the SFD byte (10101011) is received. Note: 1 PHY Operating Mode 2 Configuration Strap Note 2.1 Revision 1.1 (05-21-13) MODE2 VIS (PU) Per the RMII standard, transmitted data is not looped back onto the receive data pins in 10BASE-T half-duplex mode. Combined with MODE0 and MODE1, this configuration strap sets the default PHY mode. See Note 2.1 for more information on configuration straps. Note: Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional details. Configuration strap values are latched on power-on reset and system reset. Configuration straps are identified by an underlined symbol name. Signals that function as configuration straps must be augmented with an external resistor when connected to a load. Refer to Section 3.7, "Configuration Straps," on page 35 for additional information. 12 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 2.2 LED Pins NUM PINS NAME SYMBOL BUFFER TYPE LED 1 LED1 O12 DESCRIPTION This pin can be used to indicate link activity, link speed, nINT, or nPME as configured via the LED1 Function Select field of the Wakeup Control and Status Register (WUCSR). Note: Interrupt Output nINT Power Management Event Output nPME Regulator Off Configuration Strap REGOFF O12 Active low interrupt output. Note: O12 IS (PD) By default, the nINT signal is output on the nINT/REFCLKO pin. The nINT signal can be optionally configured to output on the LED1 or LED2 pins. Refer to Section 3.6, "Interrupt Management," on page 32 for additional details on device interrupts. Active low Power Management Event (PME) output. Note: 1 Refer to Section 3.8.1, "LEDs," on page 42 and Section 3.8.4, "Wake on LAN (WoL)," on page 47 for additional LED information. The nPME signal can be optionally configured to output on the LED1 or LED2 pins. Refer to Section 3.8.4, "Wake on LAN (WoL)," on page 47 for additional nPME and WoL information. This configuration strap is used to disable the internal 1.2 V regulator. When the regulator is disabled, external 1.2 V must be supplied to VDDCR. When REGOFF is pulled high to VDD2A with an external resistor, the internal regulator is disabled. When REGOFF is floating or pulled low, the internal regulator is enabled (default). See Note 2.2 for more information on configuration straps. Note: SMSC LAN8742A/LAN8742Ai 13 DATASHEET Refer to Section 3.7.3, "REGOFF: Internal +1.2 V Regulator Configuration," on page 37 for additional details. Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 2.2 LED Pins (continued) NUM PINS NAME SYMBOL BUFFER TYPE LED 2 LED2 O12 DESCRIPTION This pin can be used to indicate link activity, link speed, nINT, or nPME as configured via the LED2 Function Select field of the Wakeup Control and Status Register (WUCSR). Note: 1 Interrupt Output nINT Power Management Event Output nPME nINT/ REFCLKO Function Select Configuration Strap nINTSEL O12 Active low interrupt output. Note: O12 By default, the nINT signal is output on the nINT/REFCLKO pin. The nINT signal can be optionally configured to output on the LED1 or LED2 pins. Refer to Section 3.6, "Interrupt Management," on page 32 for additional details on device interrupts. Active low Power Management Event (PME) output. Note: IS (PU) Refer to Section 3.8.1, "LEDs," on page 42 and Section 3.8.4, "Wake on LAN (WoL)," on page 47 for additional LED information. The nPME signal can be optionally configured to output on the LED1 or LED2 pins. Refer to Section 3.8.4, "Wake on LAN (WoL)," on page 47 for additional nPME and WoL information. This configuration strap selects the mode of the nINT/REFCLKO pin. When nINTSEL is floated or pulled to VDD2A, nINT is selected for operation on the nINT/REFCLKO pin (default). When nINTSEL is pulled low to VSS, REFCLKO is selected for operation on the nINT/REFCLKO pin. See Note 2.2 for more information on configuration straps. Note: Note 2.2 Revision 1.1 (05-21-13) Refer to See Section 3.8.1.6, "nINTSEL and LED2 Polarity Selection," on page 46 for additional information. Configuration strap values are latched on power-on reset and system reset. Configuration straps are identified by an underlined symbol name. Signals that function as configuration straps must be augmented with an external resistor when connected to a load. Refer to Section 3.7, "Configuration Straps," on page 35 for additional information. 14 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 2.3 Serial Management Interface (SMI) Pins BUFFER TYPE NUM PINS NAME SYMBOL DESCRIPTION 1 SMI Data Input/Output MDIO VIS/ VO8 (PU) Serial Management Interface data input/output 1 SMI Clock MDC VIS Serial Management Interface clock Table 2.4 Ethernet Pins NUM PINS NAME SYMBOL BUFFER TYPE Ethernet TX/RX Positive Channel 1 TXP AIO Transmit/Receive Positive Channel 1 1 TXN AIO Transmit/Receive Negative Channel 1 1 Ethernet TX/RX Negative Channel 1 RXP AIO Transmit/Receive Positive Channel 2 1 Ethernet TX/RX Positive Channel 2 RXN AIO Transmit/Receive Negative Channel 2 1 Ethernet TX/RX Negative Channel 2 DESCRIPTION Table 2.5 Miscellaneous Pins NAME SYMBOL BUFFER TYPE External Crystal Input XTAL1 ICLK External crystal input External Clock Input CLKIN ICLK Single-ended clock oscillator input. 1 External Crystal Output XTAL2 OCLK 1 External Reset nRST VIS (PU) NUM PINS 1 SMSC LAN8742A/LAN8742Ai DESCRIPTION Note: When using a single ended clock oscillator, XTAL2 should be left unconnected. External crystal output System reset. This signal is active low. 15 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 2.5 Miscellaneous Pins (continued) NUM PINS NAME SYMBOL Interrupt Output nINT BUFFER TYPE VOD8 (PU) DESCRIPTION Active low interrupt output. Place an external resistor pull-up to VDDIO. Note: The nINT signal can be optionally configured to output on the LED1 or LED2 pins. Refer to Section 3.6, "Interrupt Management," on page 32 for additional details on device interrupts. Note: Refer to Section 3.8.1.6, "nINTSEL and LED2 Polarity Selection," on page 46 for details on how the nINTSEL configuration strap is used to determine the function of this pin. 1 Reference Clock Output REFCLKO VO8 This optional 50 MHz clock output is derived from the 25 MHz crystal oscillator. REFCLKO is selectable via the nINTSEL configuration strap. Note: Refer to Section 3.7.4.2, "REF_CLK Out Mode," on page 39 for additional details on device interrupts. Note: Refer to Section 3.8.1.6, "nINTSEL and LED2 Polarity Selection," on page 46 for details on how the nINTSEL configuration strap is used to determine the function of this pin. Table 2.6 Analog Reference Pins NUM PINS NAME SYMBOL BUFFER TYPE External 1% Bias Resistor Input RBIAS AI DESCRIPTION This pin requires connection of a 12.1 k (1%) resistor to ground. Refer to the LAN8742A/LAN8742Ai reference schematic for connection information. 1 Note: Revision 1.1 (05-21-13) 16 DATASHEET The nominal voltage is 1.2 V and the resistor will dissipate approximately 1 mW of power. SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 2.7 Power Pins NUM PINS NAME SYMBOL BUFFER TYPE +1.8 V to +3.3 V Variable I/O Power VDDIO P 1 +1.2 V Digital Core Power Supply VDDCR DESCRIPTION +1.8 V to +3.3 V variable I/O power. Refer to the LAN8742A/LAN8742Ai reference schematic for connection information. P Supplied by the on-chip regulator unless configured for regulator off mode via the REGOFF configuration strap. Refer to the LAN8742A/LAN8742Ai reference schematic for connection information. 1 Note: VDD1A 1 +3.3 V Channel 1 Analog Port Power VDD2A 1 +3.3 V Channel 2 Analog Port Power 1 Ground VSS SMSC LAN8742A/LAN8742Ai P 1 F and 470 pF decoupling capacitors in parallel to ground should be used on this pin. +3.3 V Analog Port Power to Channel 1. Refer to the LAN8742A/LAN8742Ai reference schematic for connection information. P +3.3 V Analog Port Power to Channel 2 and the internal regulator. Refer to the LAN8742A/LAN8742Ai reference schematic for connection information. P Common ground. This exposed pad must be connected to the ground plane with a via array. 17 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 2.1 Pin Assignments Table 2.8 24-SQFN Package Pin Assignments PIN NUM PIN NAME PIN NUM PIN NAME 1 VDD2A 13 MDC 2 LED2/nINT/nPME/nINTSEL 14 nINT/REFCLKO 3 LED1/nINT/nPME/REGOFF 15 nRST 4 XTAL2 16 TXEN 5 XTAL1/CLKIN 17 TXD0 6 VDDCR 18 TXD1 7 RXD1/MODE1 19 VDD1A 8 RXD0/MODE0 20 TXN 9 VDDIO 21 TXP 10 RXER/PHYAD0 22 RXN 11 CRS_DV/MODE2 23 RXP 12 MDIO 24 RBIAS Revision 1.1 (05-21-13) 18 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 2.2 Buffer Types Table 2.9 Buffer Types BUFFER TYPE IS DESCRIPTION Schmitt-triggered input O12 Output with 12 mA sink and 12 mA source VIS Variable voltage Schmitt-triggered input VO8 Variable voltage output with 8 mA sink and 8 mA source VOD8 PU Variable voltage open-drain output with 8 mA sink 50 A (typical) internal pull-up. Unless otherwise noted in the pin description, internal pullups are always enabled. Note: PD Internal pull-up resistors prevent unconnected inputs from floating. Do not rely on internal resistors to drive signals external to the device. When connected to a load that must be pulled high, an external resistor must be added. 50 A (typical) internal pull-down. Unless otherwise noted in the pin description, internal pull-downs are always enabled. Note: AI Internal pull-down resistors prevent unconnected inputs from floating. Do not rely on internal resistors to drive signals external to the device. When connected to a load that must be pulled low, an external resistor must be added. Analog input AIO Analog bi-directional ICLK Crystal oscillator input pin OCLK Crystal oscillator output pin P Power pin Note: The digital signals are not 5 V tolerant. Refer to Section 5.1, "Absolute Maximum Ratings*," on page 113 for additional buffer information. Note: Sink and source capabilities are dependant on the VDDIO voltage. Refer to Section 5.1, "Absolute Maximum Ratings*," on page 113 for additional information. SMSC LAN8742A/LAN8742Ai 19 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Chapter 3 Functional Description This chapter provides functional descriptions of the various device features. These features have been categorized into the following sections: Transceiver Auto-Negotiation HP Auto-MDIX Support MAC Interface Serial Management Interface (SMI) Interrupt Management Configuration Straps Miscellaneous Functions Application Diagrams 3.1 Transceiver 3.1.1 100BASE-TX Transmit The 100BASE-TX transmit data path is shown in Figure 3.1. Each major block is explained in the following subsections. PLL MAC Ext Ref_CLK RMII 25 MHz by 4 bits 4B/5B Encoder NRZI Converter NRZI MLT-3 Converter MLT-3 MLT-3 Magnetics RMII 50 MHz by 2 bits 125 Mbps Serial MLT-3 RJ45 25 MHz by 5 bits Scrambler and PISO Tx Driver MLT-3 CAT-5 Figure 3.1 100BASE-TX Transmit Data Path Revision 1.1 (05-21-13) 20 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.1.1.1 100BASE-TX Transmit Data Across the RMII Interface The MAC controller drives the transmit data onto the TXD bus and asserts TXEN to indicate valid data. The data is latched by the transceiver's RMII block on the rising edge of REF_CLK. The data is in the form of 2-bit wide 50 MHz data. 3.1.1.2 4B/5B Encoding The transmit data passes from the RMII block to the 4B/5B encoder. This block encodes the data from 4-bit nibbles to 5-bit symbols (known as "code-groups") according to Table 3.1. Each 4-bit data-nibble is mapped to 16 of the 32 possible code-groups. The remaining 16 code-groups are either used for control information or are not valid. The first 16 code-groups are referred to by the hexadecimal values of their corresponding data nibbles, 0 through F. The remaining code-groups are given letter designations with slashes on either side. For example, an IDLE code-group is /I/, a transmit error code-group is /H/, etc. Table 3.1 4B/5B Code Table CODE GROUP SYM RECEIVER INTERPRETATION 11110 0 0 0000 01001 1 1 10100 2 10101 TRANSMITTER INTERPRETATION 0 0000 0001 1 0001 2 0010 2 0010 3 3 0011 3 0011 01010 4 4 0100 4 0100 01011 5 5 0101 5 0101 01110 6 6 0110 6 0110 01111 7 7 0111 7 0111 10010 8 8 1000 8 1000 10011 9 9 1001 9 1001 10110 A A 1010 A 1010 10111 B B 1011 B 1011 11010 C C 1100 C 1100 11011 D D 1101 D 1101 11100 E E 1110 E 1110 11101 F F 1111 F 1111 11111 I IDLE Sent after /T/R until TXEN 11000 J First nibble of SSD, translated to "0101" following IDLE, else RXER Sent for rising TXEN 10001 K Second nibble of SSD, translated to "0101" following J, else RXER Sent for rising TXEN SMSC LAN8742A/LAN8742Ai DATA 21 DATASHEET DATA Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 3.1 4B/5B Code Table (continued) CODE GROUP SYM 01101 T First nibble of ESD, causes de-assertion of CRS if followed by /R/, else assertion of RXER Sent for falling TXEN 00111 R Second nibble of ESD, causes deassertion of CRS if following /T/, else assertion of RXER Sent for falling TXEN 00100 H Transmit Error Symbol Sent for rising TXER 00110 V INVALID, RXER if during RXDV INVALID 11001 V INVALID, RXER if during RXDV INVALID 00000 V INVALID, RXER if during RXDV INVALID 00001 V INVALID, RXER if during RXDV INVALID 00010 V INVALID, RXER if during RXDV INVALID 00011 V INVALID, RXER if during RXDV INVALID 00101 V INVALID, RXER if during RXDV INVALID 01000 V INVALID, RXER if during RXDV INVALID 01100 V INVALID, RXER if during RXDV INVALID 10000 V INVALID, RXER if during RXDV INVALID 3.1.1.3 RECEIVER INTERPRETATION TRANSMITTER INTERPRETATION Scrambling Repeated data patterns (especially the IDLE code-group) can have power spectral densities with large narrow-band peaks. Scrambling the data helps eliminate these peaks and spread the signal power more uniformly over the entire channel bandwidth. This uniform spectral density is required by FCC regulations to prevent excessive EMI from being radiated by the physical wiring. The seed for the scrambler is generated from the transceiver address, PHYAD, ensuring that in multiple-transceiver applications, such as repeaters or switches, each transceiver will have its own scrambler sequence. The scrambler also performs the Parallel In Serial Out conversion (PISO) of the data. 3.1.1.4 NRZI and MLT-3 Encoding The scrambler block passes the 5-bit wide parallel data to the NRZI converter where it becomes a serial 125 MHz NRZI data stream. The NRZI is encoded to MLT-3. MLT-3 is a tri-level code where a change in the logic level represents a code bit "1" and the logic output remaining at the same level represents a code bit "0". 3.1.1.5 100M Transmit Driver The MLT3 data is then passed to the analog transmitter, which drives the differential MLT-3 signal, on outputs TXP and TXN, to the twisted pair media across a 1:1 ratio isolation transformer. The 10BASET and 100BASE-TX signals pass through the same transformer so that common "magnetics" can be Revision 1.1 (05-21-13) 22 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet used for both. The transmitter drives into the 100 impedance of the CAT-5 cable. Cable termination and impedance matching require external components. 3.1.1.6 100M Phase Lock Loop (PLL) The 100M PLL locks onto reference clock and generates the 125 MHz clock used to drive the 125 MHz logic and the 100BASE-TX transmitter. 3.1.2 100BASE-TX Receive The 100BASE-TX receive data path is shown in Figure 3.2. Each major block is explained in the following subsections. PLL MAC Ext Ref_CLK RMII 50 MHz by 2 bits 25 MHz by 4 bits RMII 25 MHz by 5 bits 4B/5B Decoder Descrambler and SIPO 125 Mbps Serial NRZI Converter A/D Converter NRZI MLT-3 MLT-3 Converter Magnetics MLT-3 MLT-3 RJ45 DSP: Timing recovery, Equalizer and BLW Correction MLT-3 CAT-5 6 bit Data Figure 3.2 100BASE-TX Receive Data Path 3.1.2.1 100M Receive Input The MLT-3 from the cable is fed into the transceiver (on inputs RXP and RXN) via a 1:1 ratio transformer. The ADC samples the incoming differential signal at a rate of 125M samples per second. Using a 64-level quanitizer, it generates 6 digital bits to represent each sample. The DSP adjusts the gain of the ADC according to the observed signal levels such that the full dynamic range of the ADC can be used. 3.1.2.2 Equalizer, Baseline Wander Correction and Clock and Data Recovery The 6 bits from the ADC are fed into the DSP block. The equalizer in the DSP section compensates for phase and amplitude distortion caused by the physical channel consisting of magnetics, connectors, and CAT- 5 cable. The equalizer can restore the signal for any good-quality CAT-5 cable between 1 m and 100 m. If the DC content of the signal is such that the low-frequency components fall below the low frequency pole of the isolation transformer, then the droop characteristics of the transformer will become SMSC LAN8742A/LAN8742Ai 23 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet significant and Baseline Wander (BLW) on the received signal will result. To prevent corruption of the received data, the transceiver corrects for BLW and can receive the ANSI X3.263-1995 FDDI TP-PMD defined "killer packet" with no bit errors. The 100M PLL generates multiple phases of the 125 MHz clock. A multiplexer, controlled by the timing unit of the DSP, selects the optimum phase for sampling the data. This is used as the received recovered clock. This clock is used to extract the serial data from the received signal. 3.1.2.3 NRZI and MLT-3 Decoding The DSP generates the MLT-3 recovered levels that are fed to the MLT-3 converter. The MLT-3 is then converted to an NRZI data stream. 3.1.2.4 Descrambling The descrambler performs an inverse function to the scrambler in the transmitter and also performs the Serial In Parallel Out (SIPO) conversion of the data. During reception of IDLE (/I/) symbols. the descrambler synchronizes its descrambler key to the incoming stream. Once synchronization is achieved, the descrambler locks on this key and is able to descramble incoming data. Special logic in the descrambler ensures synchronization with the remote transceiver by searching for IDLE symbols within a window of 4000 bytes (40 s). This window ensures that a maximum packet size of 1514 bytes, allowed by the IEEE 802.3 standard, can be received with no interference. If no IDLE-symbols are detected within this time-period, receive operation is aborted and the descrambler re-starts the synchronization process. 3.1.2.5 Alignment The de-scrambled signal is then aligned into 5-bit code-groups by recognizing the /J/K/ Start-of-Stream Delimiter (SSD) pair at the start of a packet. Once the code-word alignment is determined, it is stored and utilized until the next start of frame. 3.1.2.6 5B/4B Decoding The 5-bit code-groups are translated into 4-bit data nibbles according to the 4B/5B table. The translated data is presented on the RXD[1:0] signal lines. The SSD, /J/K/, is translated to "0101 0101" as the first 2 nibbles of the MAC preamble. Reception of the SSD causes the transceiver to assert the receive data valid signal, indicating that valid data is available on the RXD bus. Successive valid codegroups are translated to data nibbles. Reception of either the End of Stream Delimiter (ESD) consisting of the /T/R/ symbols, or at least two /I/ symbols causes the transceiver to de-assert the carrier sense and receive data valid signals. Note: These symbols are not translated into data. 3.1.2.7 Receive Data Valid Signal The Receive Data Valid signal (RXDV) indicates that recovered and decoded nibbles are being presented on the RXD[1:0] outputs synchronous to RXCLK. RXDV becomes active after the /J/K/ delimiter has been recognized and RXD is aligned to nibble boundaries. It remains active until either the /T/R/ delimiter is recognized or link test indicates failure or SIGDET becomes false. RXDV is asserted when the first nibble of translated /J/K/ is ready for transfer over the Media Independent Interface (MII mode). Revision 1.1 (05-21-13) 24 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet CLEAR-TEXT J K 5 5 5 D data data data data T R 5 5 5 5 5 D data data data data Idle RX_CLK RX_DV RXD Figure 3.3 Relationship Between Received Data and Specific MII Signals 3.1.2.8 Receiver Errors During a frame, unexpected code-groups are considered receive errors. Expected code groups are the DATA set (0 through F), and the /T/R/ (ESD) symbol pair. When a receive error occurs, the RXER signal is asserted and arbitrary data is driven onto the RXD[1:0] lines. Should an error be detected during the time that the /J/K/ delimiter is being decoded (bad SSD error), RXER is asserted true and the value `1110' is driven onto the RXD[1:0] lines. Note that the Valid Data signal is not yet asserted when the bad SSD error occurs. 3.1.2.9 100M Receive Data Across the RMII Interface The 2-bit data nibbles are sent to the RMII block. These data nibbles are clocked to the controller at a rate of 50 MHz. The controller samples the data on the rising edge of XTAL1/CLKIN (REF_CLK). 3.1.3 10BASE-T Transmit Data to be transmitted comes from the MAC layer controller. The 10BASE-T transmitter receives 4-bit nibbles from the MII at a rate of 2.5 MHz and converts them to a 10 Mbps serial data stream. The data stream is then Manchester-encoded and sent to the analog transmitter, which drives a signal onto the twisted pair via the external magnetics. The 10M transmitter uses the following blocks: 3.1.3.1 MII (digital) TX 10M (digital) 10M Transmitter (analog) 10M PLL (analog) 10M Transmit Data Across the MII/RMII Interface The MAC controller drives the transmit data onto the TXD bus. TXD[1:0] shall transition synchronously with respect to REF_CLK. When TXEN is asserted, TXD[1:0] are accepted for transmission by the device. TXD[1:0] shall be "00" to indicate idle when TXEN is deasserted. Values of TXD[1:0] other than "00" when TXEN is deasserted are reserved for out-of-band signalling (to be defined). Values other than "00" on TXD[1:0] while TXEN is deasserted shall be ignored by the device.TXD[1:0] shall provide valid data for each REF_CLK period while TXEN is asserted. In order to comply with legacy 10BASE-T MAC/Controllers, in half-duplex mode the transceiver loops back the transmitted data, on the receive path. This does not confuse the MAC/Controller since the COL signal is not asserted during this time. The transceiver also supports the SQE (Heartbeat) signal. SMSC LAN8742A/LAN8742Ai 25 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.1.3.2 Manchester Encoding The 4-bit wide data is sent to the 10M TX block. The nibbles are converted to a 10 Mbps serial NRZI data stream. The 10M PLL locks onto the external clock or internal oscillator and produces a 20 MHz clock. This is used to Manchester encode the NRZ data stream. When no data is being transmitted (TXEN is low), the 10M TX block outputs Normal Link Pulses (NLPs) to maintain communications with the remote link partner. 3.1.3.3 10M Transmit Drivers The Manchester-encoded data is sent to the analog transmitter where it is shaped and filtered before being driven out as a differential signal across the TXP and TXN outputs. 3.1.4 10BASE-T Receive The 10BASE-T receiver gets the Manchester- encoded analog signal from the cable via the magnetics. It recovers the receive clock from the signal and uses this clock to recover the NRZI data stream. This 10M serial data is converted to 4-bit data nibbles which are passed to the controller via MII at a rate of 2.5 MHz. This 10M receiver uses the following blocks: 3.1.4.1 Filter and SQUELCH (analog) 10M PLL (analog) RX 10M (digital) MII (digital) 10M Receive Input and Squelch The Manchester signal from the cable is fed into the transceiver (on inputs RXP and RXN) via 1:1 ratio magnetics. It is first filtered to reduce any out-of-band noise. It then passes through a SQUELCH circuit. The SQUELCH is a set of amplitude and timing comparators that normally reject differential voltage levels below 300 mV and detect and recognize differential voltages above 585 mV. 3.1.4.2 Manchester Decoding The output of the SQUELCH goes to the 10M RX block where it is validated as Manchester encoded data. The polarity of the signal is also checked. If the polarity is reversed (local RXP is connected to RXN of the remote partner and vice versa), the condition is identified and corrected. The reversed condition is indicated by the XPOL bit of the Special Control/Status Indications Register. The 10M PLL is locked onto the received Manchester signal, from which the 20 MHz cock is generated. Using this clock, the Manchester encoded data is extracted and converted to a 10 MHz NRZI data stream. It is then converted from serial to 4-bit wide parallel data. The 10M RX block also detects valid 10BASE-T IDLE signals - Normal Link Pulses (NLPs) - to maintain the link. 3.1.4.3 10M Receive Data Across the RMII Interface The 2-bit data nibbles are sent to the RMII block. These data nibbles are valid on the rising edge of the RMII REF_CLK. 3.1.4.4 Jabber Detection Jabber is a condition in which a station transmits for a period of time longer than the maximum permissible packet length, usually due to a fault condition, which results in holding the TXEN input for Revision 1.1 (05-21-13) 26 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet a long period. Special logic is used to detect the jabber state and abort the transmission to the line within 45 ms. Once TXEN is deasserted, the logic resets the jabber condition. As shown in Section 4.2.2, "Basic Status Register," on page 68, the Jabber Detect bit indicates that a jabber condition was detected. 3.2 Auto-Negotiation The purpose of the auto-negotiation function is to automatically configure the transceiver to the optimum link parameters based on the capabilities of its link partner. Auto-negotiation is a mechanism for exchanging configuration information between two link-partners and automatically selecting the highest performance mode of operation supported by both sides. Auto-negotiation is fully defined in clause 28 of the IEEE 802.3 specification. Once auto-negotiation has completed, information about the resolved link can be passed back to the controller via the Serial Management Interface (SMI). The results of the negotiation process are reflected in the Speed Indication bits of the PHY Special Control/Status Register, as well as in the Auto Negotiation Link Partner Ability Register. The auto-negotiation protocol is a purely physical layer activity and proceeds independently of the MAC controller. The advertised capabilities of the transceiver are stored in the Auto Negotiation Advertisement Register. The default advertised by the transceiver is determined by user-defined on-chip signal options. The following blocks are activated during an auto-negotiation session: Auto-negotiation (digital) 100M ADC (analog) 100M PLL (analog) 100M equalizer/BLW/clock recovery (DSP) 10M SQUELCH (analog) 10M PLL (analog) 10M Transmitter (analog) When enabled, auto-negotiation is started by the occurrence of one of the following events: Hardware reset Software reset Power-down reset Link status down Setting the Restart Auto-Negotiate bit of the Basic Control Register On detection of one of these events, the transceiver begins auto-negotiation by transmitting bursts of Fast Link Pulses (FLP), which are bursts of link pulses from the 10M transmitter. They are shaped as Normal Link Pulses and can pass uncorrupted down CAT-3 or CAT-5 cable. A Fast Link Pulse Burst consists of up to 33 pulses. The 17 odd-numbered pulses, which are always present, frame the FLP burst. The 16 even-numbered pulses, which may be present or absent, contain the data word being transmitted. Presence of a data pulse represents a "1", while absence represents a "0". The data transmitted by an FLP burst is known as a "Link Code Word." These are defined fully in IEEE 802.3 clause 28. In summary, the transceiver advertises 802.3 compliance in its selector field (the first 5 bits of the Link Code Word). It advertises its technology ability according to the bits set in the Auto Negotiation Advertisement Register. SMSC LAN8742A/LAN8742Ai 27 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet There are 4 possible matches of the technology abilities. In the order of priority these are: 100M Full Duplex (Highest Priority) 100M Half Duplex 10M Full Duplex 10M Half Duplex (Lowest Priority) If the full capabilities of the transceiver are advertised (100M, Full Duplex), and if the link partner is capable of 10M and 100M, then auto-negotiation selects 100M as the highest performance mode. If the link partner is capable of half and full duplex modes, then auto-negotiation selects full duplex as the highest performance operation. Once a capability match has been determined, the link code words are repeated with the acknowledge bit set. Any difference in the main content of the link code words at this time will cause auto-negotiation to re-start. Auto-negotiation will also re-start if not all of the required FLP bursts are received. The capabilities advertised during auto-negotiation by the transceiver are initially determined by the logic levels latched on the MODE[2:0] configuration straps after reset completes. These configuration straps can also be used to disable auto-negotiation on power-up. Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional information. Writing the bits 8 through 5 of the Auto Negotiation Advertisement Register allows software control of the capabilities advertised by the transceiver. Writing the Auto Negotiation Advertisement Register does not automatically re-start auto-negotiation. The Restart Auto-Negotiate bit of the Basic Control Register must be set before the new abilities will be advertised. Auto-negotiation can also be disabled via software by clearing the Auto-Negotiation Enable bit of the Basic Control Register. 3.2.1 Parallel Detection If the LAN8742A/LAN8742Ai is connected to a device lacking the ability to auto-negotiate (i.e., no FLPs are detected), it is able to determine the speed of the link based on either 100M MLT-3 symbols or 10M Normal Link Pulses. In this case the link is presumed to be half duplex per the IEEE standard. This ability is known as "Parallel Detection." This feature ensures interoperability with legacy link partners. If a link is formed via parallel detection, then the Link Partner Auto-Negotiation Able bit of the Auto Negotiation Expansion Register is cleared to indicate that the Link Partner is not capable of autonegotiation. The controller has access to this information via the management interface. If a fault occurs during parallel detection, the Parallel Detection Fault bit of Link Partner Auto-Negotiation Able is set. Auto Negotiation Link Partner Ability Register is used to store the link partner ability information, which is coded in the received FLPs. If the link partner is not auto-negotiation capable, then the Auto Negotiation Link Partner Ability Register is updated after completion of parallel detection to reflect the speed capability of the link partner. 3.2.2 Restarting Auto-Negotiation Auto-negotiation can be restarted at any time by setting the Restart Auto-Negotiate bit of the Basic Control Register. Auto-negotiation will also restart if the link is broken at any time. A broken link is caused by signal loss. This may occur because of a cable break, or because of an interruption in the signal transmitted by the link partner. Auto-negotiation resumes in an attempt to determine the new link configuration. If the management entity re-starts auto-negotiation by setting the Restart Auto-Negotiate bit of the Basic Control Register, the LAN8742A/LAN8742Ai will respond by stopping all transmission/receiving operations. Once the break_link_timer is completed in the auto-negotiation state-machine (approximately 1250 ms), auto-negotiation will re-start. In this case, the link partner will have also dropped the link due to lack of a received signal, so it too will resume auto-negotiation. Revision 1.1 (05-21-13) 28 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.2.3 Disabling Auto-Negotiation Auto-negotiation can be disabled by setting the Auto-Negotiation Enable bit of the Basic Control Register to zero. The device will then force its speed of operation to reflect the information in the Basic Control Register (Speed Select bit and Duplex Mode bit). These bits should be ignored when autonegotiation is enabled. 3.2.4 Half vs. Full Duplex Half duplex operation relies on the CSMA/CD (Carrier Sense Multiple Access / Collision Detect) protocol to handle network traffic and collisions. In this mode, the carrier sense signal, CRS, responds to both transmit and receive activity. If data is received while the transceiver is transmitting, a collision results. In full duplex mode, the transceiver is able to transmit and receive data simultaneously. In this mode, CRS responds only to receive activity. The CSMA/CD protocol does not apply and collision detection is disabled. 3.3 HP Auto-MDIX Support HP Auto-MDIX facilitates the use of CAT-3 (10BASE-T) or CAT-5 (100BASE-TX) media UTP interconnect cable without consideration of interface wiring scheme. If a user plugs in either a direct connect LAN cable, or a cross-over patch cable, as shown in Figure 3.4, the device's Auto-MDIX transceiver is capable of configuring the TXP/TXN and RXP/RXN pins for correct transceiver operation. The internal logic of the device detects the TX and RX pins of the connecting device. Since the RX and TX line pairs are interchangeable, special PCB design considerations are needed to accommodate the symmetrical magnetics and termination of an Auto-MDIX design. The Auto-MDIX function can be disabled via the AMDIXCTRL bit in the Special Control/Status Indications Register. Note: When operating in 10BASE-T or 100BASE-TX manual modes, the Auto-MDIX crossover time can be extended via the Extend Manual 10/100 Auto-MDIX Crossover Time bit of the EDPD NLP / Crossover Time Register. Refer to Section 4.2.12, "EDPD NLP / Crossover Time Register," on page 79 for additional information. RJ-45 8-pin straight-through for 10BASE-T/100BASE-TX signaling RJ-45 8-pin cross-over for 10BASE-T/100BASE-TX signaling TXP 1 1 TXP TXP 1 1 TXP TXN 2 2 TXN TXN 2 2 TXN RXP 3 3 RXP RXP 3 3 RXP Not Used 4 4 Not Used Not Used 4 4 Not Used Not Used 5 5 Not Used Not Used 5 5 Not Used RXN 6 6 RXN RXN 6 6 RXN Not Used 7 7 Not Used Not Used 7 7 Not Used Not Used 8 8 Not Used Not Used 8 8 Not Used Direct Connect Cable Cross-Over Cable Figure 3.4 Direct Cable Connection vs. Cross-over Cable Connection SMSC LAN8742A/LAN8742Ai 29 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.4 MAC Interface 3.4.1 RMII The device supports the low pin count Reduced Media Independent Interface (RMII) intended for use between Ethernet transceivers and switch ASICs. Under IEEE 802.3, an MII comprised of 16 pins for data and control is defined. In devices incorporating many MACs or transceiver interfaces such as switches, the number of pins can add significant cost as the port counts increase. RMII reduces this pin count while retaining a management interface (MDIO/MDC) that is identical to MII. The RMII interface has the following characteristics: It is capable of supporting 10 Mbps and 100 Mbps data rates A single clock reference is used for both transmit and receive It provides independent 2-bit (di-bit) wide transmit and receive data paths It uses LVCMOS signal levels, compatible with common digital CMOS ASIC processes The RMII includes the following interface signals (1 optional): Transmit data - TXD[1:0] Transmit strobe - TXEN Receive data - RXD[1:0] Receive error - RXER (Optional) Carrier sense - CRS_DV Reference Clock - (RMII references usually define this signal as REF_CLK) Note: The RMII interface can be disabled (outputs driven low) via the Interface Disable bit of the Wakeup Control and Status Register (WUCSR). 3.4.1.1 CRS_DV - Carrier Sense/Receive Data Valid The CRS_DV is asserted by the device when the receive medium is non-idle. CRS_DV is asserted asynchronously on detection of carrier due to the criteria relevant to the operating mode. In 10BASET mode when squelch is passed, or in 100BASE-TX mode when 2 non-contiguous zeroes in 10 bits are detected, the carrier is said to be detected. Loss of carrier shall result in the deassertion of CRS_DV synchronous to the cycle of REF_CLK which presents the first di-bit of a nibble onto RXD[1:0] (i.e., CRS_DV is deasserted only on nibble boundaries). If the device has additional bits to be presented on RXD[1:0] following the initial deassertion of CRS_DV, then the device shall assert CRS_DV on cycles of REF_CLK which present the second di-bit of each nibble and de-assert CRS_DV on cycles of REF_CLK which present the first di-bit of a nibble. The result is, starting on nibble boundaries, CRS_DV toggles at 25 MHz in 100 Mbps mode and 2.5 MHz in 10 Mbps mode when CRS ends before RXDV (i.e., the FIFO still has bits to transfer when the carrier event ends). Therefore, the MAC can accurately recover RXDV and CRS. During a false carrier event, CRS_DV shall remain asserted for the duration of carrier activity. The data on RXD[1:0] is considered valid once CRS_DV is asserted. However, since the assertion of CRS_DV is asynchronous relative to REF_CLK, the data on RXD[1:0] shall be "00" until proper receive signal decoding takes place. Revision 1.1 (05-21-13) 30 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.4.1.2 Reference Clock (REF_CLK) The RMII REF_CLK is a continuous clock that provides the timing reference for CRS_DV, RXD[1:0], TXEN, TXD[1:0] and RXER. The device uses REF_CLK as the network clock such that no buffering is required on the transmit data path. However, on the receive data path, the receiver recovers the clock from the incoming data stream, and the device uses elasticity buffering to accommodate for differences between the recovered clock and the local REF_CLK. 3.5 Serial Management Interface (SMI) The Serial Management Interface is used to control the device and obtain its status. This interface supports registers 0 through 6 as required by clause 22 of the 802.3 standard, as well as "vendorspecific" registers 16 to 31 allowed by the specification. Device registers are detailed in Chapter 4, "Register Descriptions," on page 65. At the system level, SMI provides 2 signals: MDIO and MDC. The MDC signal is an aperiodic clock provided by the Station Management Controller (SMC). MDIO is a bi-directional data SMI input/output signal that receives serial data (commands) from the controller SMC and sends serial data (status) to the SMC. The minimum time between edges of the MDC is 160 ns. There is no maximum time between edges. The minimum cycle time (time between two consecutive rising or two consecutive falling edges) is 400 ns. These modest timing requirements allow this interface to be easily driven by the I/O port of a microcontroller. The data on the MDIO line is latched on the rising edge of the MDC. The frame structure and timing of the data is shown in Figure 3.5 and Figure 3.6. The timing relationships of the MDIO signals are further described in Section 5.6.5, "SMI Timing," on page 126. Read Cycle MDC MDIO 32 1's Preamble 0 1 1 Start of Frame 0 OP Code A4 A3 A2 A1 A0 R4 R3 R2 R1 R0 PHY Address Register Address D15 D14 Turn Around ... ... D1 D0 Data Data To Phy Data From Phy Figure 3.5 MDIO Timing and Frame Structure - READ Cycle Write Cycle MDC MDIO 32 1's Preamble 0 1 0 Start of Frame 1 OP Code A4 A3 A2 A1 A0 R4 R3 R2 R1 R0 PHY Address Register Address D15 D14 Turn Around ... ... D1 D0 Data Data To Phy Figure 3.6 MDIO Timing and Frame Structure - WRITE Cycle SMSC LAN8742A/LAN8742Ai 31 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.6 Interrupt Management The device management interface supports an interrupt capability that is not a part of the IEEE 802.3 specification. This interrupt capability generates an active low asynchronous interrupt signal on the nINT output whenever certain events are detected as setup by the Interrupt Mask Register. The nINT signal can be selected to output on three different pins: nINT/REFCLKO (See Section 3.7.4, "nINTSEL: nINT/REFCLKO Configuration," on page 38 for configuration information) LED1 (See Section 3.8.1, "LEDs," on page 42 for configuration information) LED2 (See Section 3.8.1, "LEDs," on page 42 for configuration information) The device's interrupt system provides two modes, a Primary interrupt mode and an Alternative interrupt mode. Both systems will assert the nINT pin low when the corresponding mask bit is set. These modes differ only in how they de-assert the nINT interrupt output. These modes are detailed in the following subsections. Note: The Primary interrupt mode is the default interrupt mode after a power-up or hard reset. The Alternative interrupt mode requires setup after a power-up or hard reset. Note: In addition to the main interrupts described in this section, an nPME pin is provided exclusively for WoL specific interrupts. Refer to Section 3.8.4, "Wake on LAN (WoL)," on page 47 for additional information on nPME. Revision 1.1 (05-21-13) 32 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.6.1 Primary Interrupt System The Primary interrupt system is the default interrupt mode (ALTINT bit of the Mode Control/Status Register is "0"). The Primary interrupt system is always selected after power-up or hard reset. In this mode, to set an interrupt, set the corresponding mask bit in the Interrupt Mask Register (see Table 3.2). Then when the event to assert nINT is true, the nINT output will be asserted. When the corresponding event to deassert nINT is true, then the nINT will be de-asserted. Table 3.2 Interrupt Management Table MASK INTERRUPT SOURCE FLAG INTERRUPT SOURCE EVENT TO ASSERT nINT EVENT TO DE-ASSERT nINT 30.8 29.8 WoL 3.32784 .7:4 nPME Rising 3.32784.7:4 or'ed together 3.32784.7:4 or'ed together low or reading register 29 30.7 29.7 ENERGYON 17.1 ENERGYON Rising 17.1 (Note 3.1) Falling 17.1 or Reading register 29 30.6 29.6 Auto-Negotiation complete 1.5 Auto-Negotiate Complete Rising 1.5 Falling 1.5 or Reading register 29 30.5 29.5 Remote Fault Detected 1.4 Remote Fault Rising 1.4 Falling 1.4, or Reading register 1 or Reading register 29 30.4 29.4 Link Down 1.2 Link Status Falling 1.2 Reading register 1 or Reading register 29 30.3 29.3 Auto-Negotiation LP Acknowledge 5.14 Acknowledge Rising 5.14 Falling 5.14 or Reading register 29 30.2 29.2 Parallel Detection Fault 6.4 Parallel Detection Fault Rising 6.4 Falling 6.4 or Reading register 6, or Reading register 29, or Re-Auto Negotiate or Link down 30.1 29.1 Auto-Negotiation Page Received 6.1 Page Received Rising 6.1 Falling 6.1 or Reading register 6, or Reading register 29, or Re-Auto Negotiate, or Link down. Note 3.1 If the mask bit is enabled and nINT has been de-asserted while ENERGYON is still high, nINT will assert for 256 ms, approximately one second after ENERGYON goes low when the Cable is unplugged. To prevent an unexpected assertion of nINT, the ENERGYON interrupt mask should always be cleared as part of the ENERGYON interrupt service routine. Note: The ENERGYON bit in the Mode Control/Status Register is defaulted to a `1' at the start of the signal acquisition process, therefore the INT7 bit in the Interrupt Mask Register will also read as a `1' at power-up. If no signal is present, then both ENERGYON and INT7 will clear within a few milliseconds. SMSC LAN8742A/LAN8742Ai 33 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.6.2 Alternate Interrupt System The Alternate interrupt system is enabled by setting the ALTINT bit of the Mode Control/Status Register to "1". In this mode, to set an interrupt, set the corresponding bit of the in the Mask Register 30, (see Table 3.3). To Clear an interrupt, either clear the corresponding bit in the Interrupt Mask Register to deassert the nINT output, or clear the interrupt source, and write a `1' to the corresponding Interrupt Source Flag. Writing a `1' to the Interrupt Source Flag will cause the state machine to check the Interrupt Source to determine if the Interrupt Source Flag should clear or stay as a `1'. If the Condition to deassert is true, then the Interrupt Source Flag is cleared and nINT is also deasserted. If the Condition to deassert is false, then the Interrupt Source Flag remains set, and the nINT remains asserted. For example, setting the INT7 bit in the Interrupt Mask Register will enable the ENERGYON interrupt. After a cable is plugged in, the ENERGYON bit in the Mode Control/Status Register goes active and nINT will be asserted low. To de-assert the nINT interrupt output, either clear the ENERGYON bit in the Mode Control/Status Register by removing the cable and then writing a `1' to the INT7 bit in the Interrupt Mask Register, OR clear the INT7 mask (bit 7 of the Interrupt Mask Register). Table 3.3 Alternative Interrupt System Management Table MASK INTERRUPT SOURCE FLAG INTERRUPT SOURCE EVENT TO ASSERT nINT CONDITION TO DEASSERT BIT TO CLEAR nINT 30.8 29.8 WoL 3.32784. 7:4 nPME Rising 3.32784.7:4 or'ed 3.32784.7:4 all low 29.8 30.7 29.7 ENERGYON 17.1 ENERGYON Rising 17.1 17.1 low 29.7 30.6 29.6 Auto-Negotiation complete 1.5 Auto-Negotiate Complete Rising 1.5 1.5 low 29.6 30.5 29.5 Remote Fault Detected 1.4 Remote Fault Rising 1.4 1.4 low 29.5 30.4 29.4 Link Down 1.2 Link Status Falling 1.2 1.2 high 29.4 30.3 29.3 Auto-Negotiation LP Acknowledge 5.14 Acknowledge Rising 5.14 5.14 low 29.3 30.2 29.2 Parallel Detection Fault 6.4 Parallel Detection Fault Rising 6.4 6.4 low 29.2 30.1 29.1 Auto-Negotiation Page Received 6.1 Page Received Rising 6.1 6.1 low 29.1 Note: The ENERGYON bit in the Mode Control/Status Register is defaulted to a `1' at the start of the signal acquisition process, therefore the INT7 bit in the Interrupt Mask Register will also read as a `1' at power-up. If no signal is present, then both ENERGYON and INT7 will clear within a few milliseconds. Revision 1.1 (05-21-13) 34 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.7 Configuration Straps Configuration straps allow various features of the device to be automatically configured to user defined values. Configuration straps are latched upon Power-On Reset (POR) and pin reset (nRST). Configuration straps include internal resistors in order to prevent the signal from floating when unconnected. If a particular configuration strap is connected to a load, an external pull-up or pull-down resistor should be used to augment the internal resistor to ensure that it reaches the required voltage level prior to latching. The internal resistor can also be overridden by the addition of an external resistor. Note: The system designer must guarantee that configuration strap pins meet the timing requirements specified in Section 5.6.3, "Power-On nRST & Configuration Strap Timing," on page 121. If configuration strap pins are not at the correct voltage level prior to being latched, the device may capture incorrect strap values. Note: When externally pulling configuration straps high, the strap should be tied to VDDIO, except for REGOFF and nINTSEL which should be tied to VDD2A. 3.7.1 PHYAD[0]: PHY Address Configuration The PHYAD0 bit is driven high or low to give each PHY a unique address. This address is latched into an internal register at the end of a hardware reset (default = 0b). In a multi-PHY application (such as a repeater), the controller is able to manage each PHY via the unique address. Each PHY checks each management data frame for a matching address in the relevant bits. When a match is recognized, the PHY responds to that particular frame. The PHY address is also used to seed the scrambler. In a multi-PHY application, this ensures that the scramblers are out of synchronization and disperses the electromagnetic radiation across the frequency spectrum. The device's SMI address may be configured using hardware configuration to either the value 0 or 1. The user can configure the PHY address using Software Configuration if an address greater than 1 is required. The PHY address can be written (after SMI communication at some address is established) using the PHYAD bits of the Special Modes Register. The PHYAD0 hardware configuration strap is multiplexed with the RXER pin. SMSC LAN8742A/LAN8742Ai 35 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.7.2 MODE[2:0]: Mode Configuration The MODE[2:0] configuration straps control the configuration of the 10/100 digital block. When the nRST pin is deasserted, the register bit values are loaded according to the MODE[2:0] configuration straps. The 10/100 digital block is then configured by the register bit values. When a soft reset occurs via the Soft Reset bit of the Basic Control Register, the configuration of the 10/100 digital block is controlled by the register bit values and the MODE[2:0] configuration straps have no affect. The device's mode may be configured using the hardware configuration straps as summarized in Table 3.4. The user may configure the transceiver mode by writing the SMI registers. Table 3.4 MODE[2:0] Bus DEFAULT REGISTER BIT VALUES MODE DEFINITIONS MODE[2:0] REGISTER 0 REGISTER 4 [13,12,10,8] [8,7,6,5] 000 10BASE-T Half Duplex. Auto-negotiation disabled. 0000 N/A 001 10BASE-T Full Duplex. Auto-negotiation disabled. 0001 N/A 010 100BASE-TX Half Duplex. Auto-negotiation disabled. CRS is active during Transmit & Receive. 1000 N/A 011 100BASE-TX Full Duplex. Auto-negotiation disabled. CRS is active during Receive. 1001 N/A 100 100BASE-TX Half Duplex is advertised. Autonegotiation enabled. CRS is active during Transmit & Receive. 1100 0100 101 Repeater mode. Auto-negotiation enabled. 100BASE-TX Half Duplex is advertised. CRS is active during Receive. 1100 0100 110 Power-Down mode. In this mode the transceiver will wake-up in Power-Down mode. The transceiver cannot be used when the MODE[2:0] bits are set to this mode. To exit this mode, the MODE bits in Register 18.7:5 (see Section 4.2.14, "Special Modes Register," on page 81) must be configured to some other value and a soft reset must be issued. N/A N/A 111 All capable. Auto-negotiation enabled. X10X 1111 The MODE[2:0] hardware configuration pins are multiplexed with other signals as shown in Table 3.5. Table 3.5 Pin Names for Mode Bits Revision 1.1 (05-21-13) MODE BIT PIN NAME MODE[0] RXD0/MODE0 MODE[1] RXD1/MODE1 MODE[2] CRS_DV/MODE2 36 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.7.3 REGOFF: Internal +1.2 V Regulator Configuration The incorporation of flexPWR technology provides the ability to disable the internal +1.2 V regulator. When the regulator is disabled, an external +1.2 V must be supplied to the VDDCR pin. Disabling the internal +1.2 V regulator makes it possible to reduce total system power, since an external switching regulator with greater efficiency (versus the internal linear regulator) can be used to provide +1.2 V to the transceiver circuitry. Note: Because the REGOFF configuration strap shares functionality with the LED1 pin, proper consideration must also be given to the LED polarity. Refer to Section 3.8.1, "LEDs," on page 42 for additional information on the relation between REGOFF and the LED1 polarity. 3.7.3.1 Disabling the Internal +1.2 V Regulator To disable the +1.2 V internal regulator, a pull-up strapping resistor should be connected from the REGOFF configuration strap to VDD2A. At power-on, after both VDDIO and VDD2A are within specification, the transceiver will sample REGOFF to determine whether the internal regulator should turn on. If the pin is sampled at a voltage greater than VIH, then the internal regulator is disabled and the system must supply +1.2 V to the VDDCR pin. The VDDIO voltage must be at least 80% of the operating voltage level (1.44 V when operating at 1.8 V, 2.0 V when operating at 2.5 V, 2.64 V when operating at 3.3 V) before voltage is applied to VDDCR. As described in Section 3.7.3.2, when REGOFF is left floating or connected to VSS, the internal regulator is enabled and the system is not required to supply +1.2 V to the VDDCR pin. 3.7.3.2 Enabling the Internal +1.2 V Regulator The +1.2 V for VDDCR is supplied by the on-chip regulator unless the transceiver is configured for the regulator off mode using the REGOFF configuration strap as described in Section 3.7.3.1. By default, the internal +1.2 V regulator is enabled when REGOFF is floating (due to the internal pull-down resistor). During power-on, if REGOFF is sampled below VIL, then the internal +1.2 V regulator will turn on and operate with power from the VDD2A pin. SMSC LAN8742A/LAN8742Ai 37 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.7.4 nINTSEL: nINT/REFCLKO Configuration The nINTSEL configuration strap is used to select between one of two available modes: REF_CLK In Mode (nINT) and REF_CLK Out Mode. The configured mode determines the function of the nINT/REFCLKO pin. The nINTSEL configuration strap is latched at POR and on the rising edge of the nRST. By default, nINTSEL is configured for nINT mode via the internal pull-up resistor. Table 3.6 nINTSEL Configuration STRAP VALUE MODE REF_CLK DESCRIPTION nINTSEL = 0 REF_CLK Out Mode nINTSEL = 1 REF_CLK In Mode nINT/REFCLKO is the source of REF_CLK. nINT/REFCLKO is an active low interrupt output. The REF_CLK is sourced externally and must be driven on the XTAL1/CLKIN pin. The RMII REF_CLK is a continuous clock that provides the timing reference for CRS_DV, RXD[1:0], TXEN, TXD[1:0] and RXER. The device uses REF_CLK as the network clock such that no buffering is required on the transmit data path. However, on the receive data path, the receiver recovers the clock from the incoming data stream. The device uses elasticity buffering to accommodate for differences between the recovered clock and the local REF_CLK. In REF_CLK In Mode, the 50 MHz REF_CLK is driven on the XTAL1/CLKIN pin. This is the traditional system configuration when using RMII, and is described in Section 3.7.4.1. When configured for REF_CLK Out Mode, the device generates the 50 MHz RMII REF_CLK and the nINT interrupt is not available. REF_CLK Out Mode allows a low-cost 25 MHz crystal to be used as the reference for REF_CLK. This configuration may result in reduced system cost and is described in Section 3.7.4.2. Note: Because the nINTSEL configuration strap shares functionality with the LED2 pin, proper consideration must also be given to the LED polarity. Refer to Section 3.8.1.6, "nINTSEL and LED2 Polarity Selection," on page 46 for additional information on the relation between nINTSEL and the LED2 polarity. 3.7.4.1 REF_CLK In Mode In REF_CLK In Mode, the 50 MHz REF_CLK is driven on the XTAL1/CLKIN pin. A 50 MHz source for REF_CLK must be available external to the device when using this mode. The clock is driven to both the MAC and PHY as shown in Figure 3.7. Revision 1.1 (05-21-13) 38 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet MAC LAN8742A/LAN8742Ai 10/100 PHY 24-QFN RMII MDIO RMII MDC nINT Accepts external 50MHz clock Mag TXD[1:0] 2 RJ45 TXP TXN TXEN RXP RXD[1:0] RXN 2 CRS_DV RXER REF_CLK XTAL1/CLKIN LED[2:1] All RMII signals are synchronous to the supplied clock 2 XTAL2 nRST Interface 50MHz Reference Clock Figure 3.7 External 50 MHz clock sources the REF_CLK 3.7.4.2 REF_CLK Out Mode To reduce BOM cost, the device includes a feature to generate the RMII REF_CLK signal from a lowcost, 25 MHz fundamental crystal. This type of crystal is inexpensive in comparison to 3rd overtone crystals that would normally be required for 50 MHz. The MAC must be capable of operating with an external clock to take advantage of this feature as shown in Figure 3.8. In order to optimize package size and cost, the REFCLKO pin is multiplexed with the nINT pin. In REF_CLK Out mode, the nINT functionality is disabled to accommodate usage of REFCLKO as a 50 MHz clock to the MAC. Note: The REF_CLK Out Mode is not part of the RMII Specification. To ensure proper system operation, a timing analysis of the MAC and LAN8742A/LAN8742Ai must be performed. Note: In REF_CLK Out Mode, REFCLKO will not output when the device is in Energy Detect PowerDown Mode or General Power-Down Mode. SMSC LAN8742A/LAN8742Ai 39 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet MAC RMII Capable of accepting 50 MHz clock MDIO MDC TXD[1:0] 2 Note: nINT not available in this configuration LAN8742A/LAN8742Ai 10/100 PHY 24-QFN RMII TXEN Mag RXD[1:0] RJ45 TXP 2 TXN CRS_DV RXER REF_CLK RXP RXN REFCLKO XTAL1/CLKIN LED[2:1] 25 MHz 2 XTAL2 nRST Interface Figure 3.8 Sourcing REF_CLK from a 25 MHz Crystal In some system architectures, a 25 MHz clock source is available. The device can be used to generate the REF_CLK to the MAC as shown in Figure 3.9. It is important to note that in this specific example, only a 25 MHz clock can be used (clock cannot be 50 MHz). Similar to the 25 MHz crystal mode, the nINT function is disabled. Revision 1.1 (05-21-13) 40 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet MAC LAN8742A/LAN8742Ai 10/100 PHY 24-QFN RMII MDIO RMII Note: nINT is not available on the REFCLKO/nINT pin in this configuration. nINT can be made optionally available via the LED1 or LED2 pin. MDC Capable of accepting 50 MHz clock TXD[1:0] 2 Mag RJ45 TXP TXEN TXN RXD[1:0] RXP 2 RXN CRS_DV RXER REF_CLK REFCLKO XTAL1/CLKIN LED[2:1] 25 MHz Clock 2 XTAL2 nRST Interface Figure 3.9 Sourcing REF_CLK from External 25 MHz Source SMSC LAN8742A/LAN8742Ai 41 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8 Miscellaneous Functions 3.8.1 LEDs Two LED signals are provided as a convenient means to indicate the transceiver's mode of operation or be used as nINT or nPME signals. The LED1 and LED2 pin functions are configurable via the LED1 Function Select and LED2 Function Select bits of the Wakeup Control and Status Register (WUCSR), respectively. When used as an LED indicator, the LED signals are either active high or active low as described in Section 3.8.1.5, "REGOFF and LED1 Polarity Selection," on page 45 and Section 3.8.1.6, "nINTSEL and LED2 Polarity Selection," on page 46. For additional information on nINT, refer to Section 3.6, "Interrupt Management," on page 32. For additional information on nPME, refer to Section 3.8.4, "Wake on LAN (WoL)," on page 47. When configured in the default Link/Activity mode, the LED1 output is driven active whenever the device detects a valid link, and blinks when CRS is active (high) indicating activity. When configured in the default Link Speed mode, the LED2 output is driven active when the operating speed is 100 Mbps. This LED will go inactive when the operating speed is 10 Mbps or during line isolation. Note: When pulling the LED1 and LED2 pins high, they must be tied to VDD2A, NOT VDDIO. 3.8.1.1 LED1/nINT/nPME Usage with Internal Regulator Disabled (REGOFF High) When the LED1/nINT/nPME/REGOFF pin is high during reset, the internal regulator is disabled. After the deassertion of reset, this pin will first function as LED1 (Link Activity). Upon configuration, it can function as nINT or nPME. Figure 3.10 illustrates the steps required to program the LED1 pin as nINT or nPME with the internal regulator disabled. In this configuration, it is possible for an LED to be connected to this pin while it function as nINT or nPME during the WoL state. Since the polarity to turn on the LED is active low, the Link Activity LED will not be lit while waiting for a WoL event. Note: Refer to Section 3.7.3, "REGOFF: Internal +1.2 V Regulator Configuration," on page 37 for additional information on the REGOFF configuration strap. nRST Link Activity nINT/nPME 00b 01b/10b Link Activity LED1/nINT/ nPME/REGOFF WUCSR[14:13] 00b Figure 3.10 LED1/nINT/nPME/REGOFF with Internal Regulator Disabled Revision 1.1 (05-21-13) 42 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.1.2 LED1/nINT/nPME Usage with Internal Regulator Enabled (REGOFF Low) When the LED1/nINT/nPME/REGOFF pin is low during reset, the internal regulator is enabled. After the deassertion of reset, this pin will first function as LED1 (Link Activity). Upon configuration, it can function as nINT or nPME. Figure 3.11 illustrates the steps required to program the LED1 pin as nINT or nPME with the internal regulator enabled. In this configuration, it is recommended not to connect an LED to this pin. Because this pin is active high, the LED will be lit while waiting for a WoL event. Note: Refer to Section 3.7.3, "REGOFF: Internal +1.2 V Regulator Configuration," on page 37 for additional information on the REGOFF configuration strap. nRST Link Activity nINT/nPME 00b 01b/10b LED1/nINT/ nPME/REGOFF WUCSR[14:13] Figure 3.11 LED1/nINT/nPME/REGOFF with Internal Regulator Enabled 3.8.1.3 LED2/nINT/nPME Usage with nINTSEL Enabled When the LED2/nINT/nPME/nINTSEL pin is high during reset, the nINT/REFCLKO pin is configured to function as nINT. After the deassertion of reset, this pin will first function as LED2 (Link Speed). Upon configuration, it can function as nPME. It is also possible to configure LED2 as nINT although this would duplicate the function of the nINT/REFCLKO pin. Figure 3.12 illustrates the steps required to program the LED2 pin as nINT or nPME with nINTSEL enabled. In this configuration, it is possible for an LED be connected to this pin while it functions as nINT or nPME during a WoL state. Since the polarity to light the LED is active low, the Link Speed LED will not be lit while waiting for a WoL event. To provide further flexibility, LED2 can be reconfigured as Link Activity by writing 11b to the LED2 Function Select field of the Wakeup Control and Status Register (WUCSR). This allows LED2 to function as Link Activity when LED1 cannot be configured as Link Activity. Link Speed can be easily implemented on the microcontroller using GPIO. Note: Refer to Section 3.7.4, "nINTSEL: nINT/REFCLKO Configuration," on page 38 for additional information on the nINTSEL configuration strap. SMSC LAN8742A/LAN8742Ai 43 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet nRST Link Speed/ Link Activity nINT/nPME Link Speed/ Link Activity LED2/nINT/ nPME/nINTSEL WUCSR[12:11] 00b 00b/11b 01b/10b 00b/11b Figure 3.12 LED2/nINT/nPME with nINTSEL Enabled 3.8.1.4 LED2/nINT/nPME Usage with nINTSEL Disabled When the LED2/nINT/nPME/nINTSEL pin is low during reset, the nINT/REFCLKO pin is configured to function as REFCLKO. After the deassertion of reset, this pin will first function as LED2. Upon configuration, it can function as nINT or nPME. Figure 3.13 illustrates the steps required to program the LED2 pin as nINT or nPME with nINTSEL disabled. In this configuration, it is not recommended to connect an LED to this pin. Because this pin is active high, the LED will be lit while waiting for a WoL event. nRST Link Speed nINT/nPME LED2/nINT/ nPME/nINTSEL WUCSR[12:11] 00b 01b/10b Figure 3.13 LED2/nINT/nPME with nINTSEL Disabled Revision 1.1 (05-21-13) 44 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.1.5 REGOFF and LED1 Polarity Selection The REGOFF configuration strap is shared with the LED1 pin. The LED1 output will automatically change polarity based on the presence of an external pull-up resistor. If the LED1 pin is pulled high to VDD2A by an external pull-up resistor to select a logical high for REGOFF, then the LED1 output will be active low. If the LED1 pin is pulled low by the internal pull-down resistor to select a logical low for REGOFF, the LED1 output will then be an active high output. Figure 3.14 details the LED1 polarity for each REGOFF configuration. REGOFF = 1 (Regulator OFF) LED output = Active Low REGOFF = 0 (Regulator ON) LED output = Active High VDD2A LED1/REGOFF 10K ~270 ~270 LED1/REGOFF Figure 3.14 LED1/REGOFF Polarity Configuration Note: Refer to Section 3.7.3, "REGOFF: Internal +1.2 V Regulator Configuration," on page 37 for additional information on the REGOFF configuration strap. SMSC LAN8742A/LAN8742Ai 45 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.1.6 nINTSEL and LED2 Polarity Selection The nINTSEL configuration strap is shared with the LED2 pin. The LED2 output will automatically change polarity based on the presence of an external pull-down resistor. If the LED2 pin is pulled high to VDD2A to select a logical high for nINTSEL, then the LED2 output will be active low. If the LED2 pin is pulled low by an external pull-down resistor to select a logical low for nINTSEL, the LED2 output will then be an active high output. Figure 3.15 details the LED2 polarity for each nINTSEL configuration. nINTSEL = 1 LED output = Active Low nINTSEL = 0 LED output = Active High VDD2A LED2/nINTSEL 10K ~270 ~270 LED2/nINTSEL Figure 3.15 LED2/nINTSEL Polarity Configuration Note: Refer to Section 3.7.4, "nINTSEL: nINT/REFCLKO Configuration," on page 38 for additional information on the nINTSEL configuration strap. 3.8.2 Variable Voltage I/O The device's digital I/O pins are variable voltage, allowing them to take advantage of low power savings from shrinking technologies. These pins can operate from a low I/O voltage of +1.8 V up to +3.3 V. The applied I/O voltage must maintain its value with a tolerance of 10%. Varying the voltage up or down after the transceiver has completed power-on reset can cause errors in the transceiver operation. Refer to Chapter 5, "Operational Characteristics," on page 113 for additional information. Note: Input signals must not be driven high before power is applied to the device. 3.8.3 Power-Down Modes There are two device power-down modes: General Power-Down Mode and Energy Detect PowerDown Mode. These modes are described in the following subsections. 3.8.3.1 General Power-Down This power-down mode is controlled via the Power Down bit of the Basic Control Register. In this mode, the entire transceiver (except the management interface) is powered-down and remains in this mode as long as the Power Down bit is "1". When the Power Down bit is cleared, the transceiver powers up and is automatically reset. Note: In REF_CLK Out Mode, REFCLKO will not output when the device is in General Power-Down Mode. Revision 1.1 (05-21-13) 46 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.3.2 Energy Detect Power-Down (EDPD) This power-down mode is activated by setting the EDPWRDOWN bit of the Mode Control/Status Register. In this mode, when no energy is present on the line the transceiver is powered down (except for the management interface, the SQUELCH circuit, and the ENERGYON logic). The ENERGYON logic is used to detect the presence of valid energy from 100BASE-TX, 10BASE-T, or Auto-negotiation signals. In this mode, when the ENERGYON bit of the Mode Control/Status Register is low, the transceiver is powered-down and nothing is transmitted. When energy is received via link pulses or packets, the ENERGYON bit goes high and the transceiver powers-up. The device automatically resets into the state prior to power-down and asserts the nINT interrupt if the ENERGYON interrupt is enabled in the Interrupt Mask Register. The first and possibly the second packet to activate ENERGYON may be lost. When the EDPWRDOWN bit of the Mode Control/Status Register is low, energy detect power-down is disabled. When in EDPD mode, the device's NLP characteristics may be modified. The device can be configured to transmit NLPs in EDPD via the EDPD TX NLP Enable bit of the EDPD NLP / Crossover Time Register. When enabled, the TX NLP time interval is configurable via the EDPD TX NLP Interval Timer Select field of the EDPD NLP / Crossover Time Register. When in EDPD mode, the device can also be configured to wake on the reception of one or two NLPs. Setting the EDPD RX Single NLP Wake Enable bit of the EDPD NLP / Crossover Time Register will enable the device to wake on reception of a single NLP. If the EDPD RX Single NLP Wake Enable bit is cleared, the maximum interval for detecting reception of two NLPs to wake from EDPD is configurable via the EDPD RX NLP Max Interval Detect Select field of the EDPD NLP / Crossover Time Register. Note: In REF_CLK Out Mode, REFCLKO will not output when the device is in Energy Detect PowerDown Mode. 3.8.4 Wake on LAN (WoL) The device supports PHY layer WoL event detection of Perfect DA, Broadcast, Magic Packet, and Wakeup frames. The WoL detection can be configured to assert the nINT interrupt pin or nPME pin, providing a mechanism for a system in sleep mode to return to an operational state when a WoL event occurs. This feature is particularly useful in addressing unnecessary waking of the main SoC in designs where the Ethernet MAC is integrated into the SoC. Each type of supported wake event (Perfect DA, Broadcast, Magic Packet, or Wakeup frames) may be individually enabled via Perfect DA Wakeup Enable (PFDA_EN), Broadcast Wakeup Enable (BCST_EN), Magic Packet Enable (MPEN), and Wakeup Frame Enable (WUEN) bits of the Wakeup Control and Status Register (WUCSR), respectively. Two methods are provided for indicating a WoL event to an external device: nINT and nPME. The nINT pin may be used to indicate WoL interrupt events by setting bit 8 (WoL) of the Interrupt Mask Register. Once enabled, any received packet that matches the condition(s) configured in the Wakeup Control and Status Register (WUCSR) will assert nINT until the interrupt is cleared. When using nINT to indicate a WoL interrupt, the pin may be shared with other non-WoL interrupt events, as configured via the Interrupt Mask Register. While waiting for a WoL event to occur, it is possible that other interrupts may be triggered. To prevent such conditions, all other interrupts shall be masked by system software, or the alternative nPME pin may be used. Refer to Section 3.6, "Interrupt Management," on page 32 for additional nINT information. Alternatively, the nPME pin may be used to independently indicate WoL interrupt events. The nPME signal can be configured to output on any of the following pins: LED1/nINT/nPME/nREGOFF LED2/nINT/nPME/nINTSEL SMSC LAN8742A/LAN8742Ai 47 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet The LED1/nINT/nPME/nREGOFF or LED2/nINT/nPME/nINTSEL pin can be configured to function as nPME by configuring the LED1 Function Select or LED2 Function Select bits of the Wakeup Control and Status Register (WUCSR) to 10b, respectively.Once the nPME pin is enabled, any received packet that matches the condition(s) configured in the Wakeup Control and Status Register (WUCSR) will assert nPME until WUCSR bits 7:4 are cleared by the system software. However, in some applications it may be desirable for nPME to self clear. When the nPME Self Clear bit of the Wakeup Control and Status Register (WUCSR) is set, the nPME pin will clear after the time configured in the Miscellaneous Configuration Register (MCFGR). Upon a WoL event, further resolution on the source of the event can be obtained by examining the Perfect DA Frame Received (PFDA_FR), Broadcast Frame Received (BCAST_FR), Magic Packet Received (MPR), and Remote Wakeup Frame Received (WUFR) status bits in the Wakeup Control and Status Register (WUCSR). The Wakeup Control and Status Register (WUCSR) also provides a WoL Configured bit, which may be set by software after all WoL registers are configured. Because all WoL related registers are not affected by software resets, software can poll the WoL Configured bit to ensure all WoL registers are fully configured. This allows the software to skip reprogramming of the WoL registers after reboot due to a WoL event. The following subsections detail each type of WoL event. For additional information on the main system interrupts, refer to Section 3.6, "Interrupt Management," on page 32. 3.8.4.1 Perfect DA (Destination Address) Detection When enabled, the Perfect DA detection mode allows the triggering of the nINT or nPME pin when a frame with the destination address matching the address stored in the MAC Receive Address A Register (RX_ADDRA), MAC Receive Address B Register (RX_ADDRB), and MAC Receive Address C Register (RX_ADDRC) is received. The frame must also pass the FCS and packet length check. As an example, the Host system must perform the following steps to enable the device to assert nINT on detection of a Perfect DA WoL event: 1. Set the desired MAC address to cause the wake event in the MAC Receive Address A Register (RX_ADDRA), MAC Receive Address B Register (RX_ADDRB), and MAC Receive Address C Register (RX_ADDRC). 2. Set the Perfect DA Wakeup Enable (PFDA_EN) bit of the Wakeup Control and Status Register (WUCSR) to enable Perfect DA detection. 3. Set bit 8 (WoL event indicator) in the Interrupt Mask Register to enable WoL events to trigger assertion of the nINT interrupt pin. When a match is triggered, the nINT interrupt pin will be asserted, bit 8 of the Interrupt Source Flag Register will be set, and the Perfect DA Frame Received (PFDA_FR) bit of the Wakeup Control and Status Register (WUCSR) will be set. Note: Alternatively, the LED1/nINT/nPME or LED2/nINT/nPME pin can be used to indicate a WoL event. Refer to Section 3.8.4, "Wake on LAN (WoL)" for additional information. 3.8.4.2 Broadcast Detection When enabled, the Broadcast detection mode allows the triggering of the nINT or nPME pin when a frame with the destination address value of FF FF FF FF FF FF is received. The frame must also pass the FCS and packet length check. As an example, the Host system must perform the following steps to enable the device to assert nINT on detection of a Broadcast WoL event: Revision 1.1 (05-21-13) 48 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 1. Set the Broadcast Wakeup Enable (BCST_EN) bit of the Wakeup Control and Status Register (WUCSR) to enable Broadcast detection. 2. Set bit 8 (WoL event indicator) in the Interrupt Mask Register to enable WoL events to trigger assertion of the nINT interrupt pin. When a match is triggered, the nINT interrupt pin will be asserted, bit 8 of the Interrupt Source Flag Register will be set, and the Broadcast Frame Received (BCAST_FR) bit of the Wakeup Control and Status Register (WUCSR) will be set. Note: Alternatively, the LED1/nINT/nPME or LED2/nINT/nPME pin can be used to indicate a WoL event. Refer to Section 3.8.4, "Wake on LAN (WoL)" for additional information. 3.8.4.3 Magic Packet Detection When enabled, the Magic Packet detection mode allows the triggering of the nINT or nPME pin when a Magic Packet frame is received. A Magic Packet is a frame addressed to the device - either a unicast to the programmed address, or a broadcast - which contains the pattern 48'h FF_FF_FF_FF_FF_FF after the destination and source address field, followed by 16 repetitions of the desired MAC address (loaded into the MAC Receive Address A Register (RX_ADDRA), MAC Receive Address B Register (RX_ADDRB), and MAC Receive Address C Register (RX_ADDRC)) without any breaks or interruptions. In case of a break in the 16 address repetitions, the logic scans for the 48'h FF_FF_FF_FF_FF_FF pattern again in the incoming frame. The 16 repetitions may be anywhere in the frame but must be preceded by the synchronization stream. The frame must also pass the FCS check and packet length checking. As an example, if the desired address is 00h 11h 22h 33h 44h 55h, then the logic scans for the following data sequence in an Ethernet frame: Destination Address Source Address ...............FF FF FF FF FF FF 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 ...FCS As an example, the Host system must perform the following steps to enable the device to assert nINT on detection of a Magic Packet WoL event: 1. Set the desired MAC address to cause the wake event in the MAC Receive Address A Register (RX_ADDRA), MAC Receive Address B Register (RX_ADDRB), and MAC Receive Address C Register (RX_ADDRC). 2. Set the Magic Packet Enable (MPEN) bit of the Wakeup Control and Status Register (WUCSR) to enable Magic Packet detection. 3. Set bit 8 (WoL event indicator) in the Interrupt Mask Register to enable WoL events to trigger assertion of the nINT interrupt pin. When a match is triggered, the nINT interrupt pin will be asserted, bit 8 of the Interrupt Source Flag Register will be set, and the Magic Packet Received (MPR) bit of the Wakeup Control and Status Register (WUCSR) will be set. Note: Alternatively, the LED1/nINT/nPME or LED2/nINT/nPME pin can be used to indicate a WoL event. Refer to Section 3.8.4, "Wake on LAN (WoL)" for additional information. SMSC LAN8742A/LAN8742Ai 49 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.4.4 Wakeup Frame Detection When enabled, the Wakeup Frame detection mode allows the triggering of the nINT or nPME pin when a pre-programmed Wakeup Frame is received. Wakeup Frame detection provides a way for system designers to detect a customized pattern within a packet via a programmable wake-up frame filter. The filter has a 128-bit byte mask that indicates which bytes of the frame should be compared by the detection logic. A CRC-16 is calculated over these bytes. The result is then compared with the filter's respective CRC-16 to determine if a match exists. When a wake-up pattern is received, the Remote Wakeup Frame Received (WUFR) bit of the Wakeup Control and Status Register (WUCSR) is set. If enabled, the filter can also include a comparison between the frame's destination address and the address specified in the MAC Receive Address A Register (RX_ADDRA), MAC Receive Address B Register (RX_ADDRB), and MAC Receive Address C Register (RX_ADDRC). The specified address can be a unicast or a multicast. If address matching is enabled, only the programmed unicast or multicast address will be considered a match. Non-specific multicast addresses and the broadcast address can be separately enabled. The address matching results are logically OR'd (i.e., specific address match result OR any multicast result OR broadcast result). Whether or not the filter is enabled and whether the destination address is checked is determined by configuring the Wakeup Filter Configuration Register A (WUF_CFGA). Before enabling the filter, the application program must provide the detection logic with the sample frame and corresponding byte mask. This information is provided by writing the Wakeup Filter Configuration Register A (WUF_CFGA), Wakeup Filter Configuration Register B (WUF_CFGB), and Wakeup Filter Byte Mask Registers (WUF_MASK). The starting offset within the frame and the expected CRC-16 for the filter is determined by the Filter Pattern Offset and Filter CRC-16 fields, respectively. If remote wakeup mode is enabled, the remote wakeup function checks each frame against the filter and recognizes the frame as a remote wakeup frame if it passes the filter's address filtering and CRC value match. The pattern offset defines the location of the first byte that should be checked in the frame. The byte mask is a 128-bit field that specifies whether or not each of the 128 contiguous bytes within the frame, beginning with the pattern offset, should be checked. If bit j in the byte mask is set, the detection logic checks the byte (pattern offset + j) in the frame, otherwise byte (pattern offset + j) is ignored. At the completion of the CRC-16 checking process, the CRC-16 calculated using the pattern offset and byte mask is compared to the expected CRC-16 value associated with the filter. If a match occurs, a remote wake-up event is signaled. The frame must also pass the FCS check and packet length checking. Table 3.7 indicates the cases that produce a wake-up event. All other cases do not generate a wakeup event. Table 3.7 Wakeup Generation Cases FILTER ENABLED FRAME TYPE CRC MATCHES ADDRESS MATCH ENABLED ANY MCAST ENABLED BCAST ENABLED FRAME ADDRESS MATCHES Yes Unicast Yes No X X X Yes Unicast Yes Yes X X Yes Yes Multicast Yes X Yes X X Yes Multicast Yes Yes No X Yes Yes Broadcast Yes X X Yes X Revision 1.1 (05-21-13) 50 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet As an example, the Host system must perform the following steps to enable the device to assert nINT on detection of a Wakeup Frame WoL event: Declare Pattern: 1. Update the Wakeup Filter Byte Mask Registers (WUF_MASK) to indicate the valid bytes to match. 2. Calculate the CRC-16 value of valid bytes offline and update the Wakeup Filter Configuration Register B (WUF_CFGB). CRC-16 is calculated as follows: At the start of a frame, CRC-16 is initialized with the value FFFFh. CRC-16 is updated when the pattern offset and mask indicate the received byte is part of the checksum calculation. The following algorithm is used to update the CRC-16 at that time: Let: ^ denote the exclusive or operator. Data [7:0] be the received data byte to be included in the checksum. CRC[15:0] contain the calculated CRC-16 checksum. F0 ... F7 be intermediate results, calculated when a data byte is determined to be part of the CRC-16. Calculate: F0 = CRC[15] ^ Data[0] F1 = CRC[14] ^ F0 ^ Data[1] F2 = CRC[13] ^ F1 ^ Data[2] F3 = CRC[12] ^ F2 ^ Data[3] F4 = CRC[11] ^ F3 ^ Data[4] F5 = CRC[10] ^ F4 ^ Data[5] F6 = CRC[09] ^ F5 ^ Data[6] F7 = CRC[08] ^ F6 ^ Data[7] The CRC-32 is updated as follows: CRC[15] = CRC[7] ^ F7 CRC[14] = CRC[6] CRC[13] = CRC[5] CRC[12] = CRC[4] CRC[11] = CRC[3] CRC[10] = CRC[2] CRC[9] = CRC[1] ^ F0 CRC[8] = CRC[0] ^ F1 CRC[7] = F0 ^ F2 CRC[6] = F1 ^ F3 CRC[5] = F2 ^ F4 CRC[4] = F3 ^ F5 CRC[3] = F4 ^ F6 CRC[2] = F5 ^ F7 CRC[1] = F6 CRC[0] = F7 3. Determine the offset pattern with offset 0 being the first byte of the destination address. Update the offset in the Filter Pattern Offset field of the Wakeup Filter Configuration Register A (WUF_CFGA). SMSC LAN8742A/LAN8742Ai 51 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Determine Address Matching Conditions: 4. Determine the address matching scheme based on Table 3.7 and update the Filter Broadcast Enable, Filter Any Multicast Enable, and Address Match Enable bits of the Wakeup Filter Configuration Register A (WUF_CFGA) accordingly. 5. If necessary (see step 4), set the desired MAC address to cause the wake event in the MAC Receive Address A Register (RX_ADDRA), MAC Receive Address B Register (RX_ADDRB), and MAC Receive Address C Register (RX_ADDRC). 6. Set the Filter Enable bit of the Wakeup Filter Configuration Register A (WUF_CFGA) to enable the filter. Enable Wakeup Frame Detection: 7. Set the Wakeup Frame Enable (WUEN) bit of the Wakeup Control and Status Register (WUCSR) to enable Wakeup Frame detection. 8. Set bit 8 (WoL event indicator) in the Interrupt Mask Register to enable WoL events to trigger assertion of the nINT interrupt pin. When a match is triggered, the nINT interrupt pin will be asserted and the Remote Wakeup Frame Received (WUFR) bit of the Wakeup Control and Status Register (WUCSR) will be set. To provide additional visibility to software, the Filter Triggered bit of the Wakeup Filter Configuration Register A (WUF_CFGA) will be set. Note: Alternatively, the LED1/nINT/nPME or LED2/nINT/nPME pin can be used to indicate a WoL event. Refer to Section 3.8.4, "Wake on LAN (WoL)" for additional information. 3.8.5 Isolate Mode The device data paths may be electrically isolated from the RMII interface by setting the Isolate bit of the Basic Control Register to "1". In isolation mode, the transceiver does not respond to the TXD, TXEN and TXER inputs, but does respond to management transactions. Isolation provides a means for multiple transceivers to be connected to the same RMII interface without contention. By default, the transceiver is not isolated (on power-up (Isolate = 0). 3.8.6 Resets The device provides two forms of reset: hardware and software. The device registers are reset by both hardware and software resets. Select register bits, indicated as "NASR" in the register definitions, are not cleared by a software reset. The registers are not reset by the power-down modes described in Section 3.8.3. Note: For the first 16 s after coming out of reset, the RMII interface will run at 2.5 MHz. After this time, it will switch to 25 MHz if auto-negotiation is enabled. 3.8.6.1 Hardware Reset A hardware reset is asserted by driving the nRST input pin low. When driven, nRST should be held low for the minimum time detailed in Section 5.6.3, "Power-On nRST & Configuration Strap Timing," on page 121 to ensure a proper transceiver reset. During a hardware reset, an external clock must be supplied to the XTAL1/CLKIN signal. Note: A hardware reset (nRST assertion) is required following power-up. Refer to Section 5.6.3, "Power-On nRST & Configuration Strap Timing," on page 121 for additional information. Revision 1.1 (05-21-13) 52 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.6.2 Software Reset A Software reset is activated by setting the Soft Reset bit of the Basic Control Register to "1". All registers bits, except those indicated as "NASR" in the register definitions, are cleared by a Software reset. The Soft Reset bit is self-clearing. Per the IEEE 802.3u standard, clause 22 (22.2.4.1.1) the reset process will be completed within 0.5 s from the setting of this bit. 3.8.7 Carrier Sense The carrier sense (CRS) is output on the CRS_DV pin. CRS is a signal defined by the MII specification in the IEEE 802.3u standard. The device asserts CRS based only on receive activity whenever the transceiver is either in repeater mode or full-duplex mode. Otherwise the transceiver asserts CRS based on either transmit or receive activity. The carrier sense logic uses the encoded, unscrambled data to determine carrier activity status. It activates carrier sense with the detection of 2 non-contiguous zeros within any 10 bit span. Carrier sense terminates if a span of 10 consecutive ones is detected before a /J/K/ Start-of Stream Delimiter pair. If an SSD pair is detected, carrier sense is asserted until either /T/R/ End-of-Stream Delimiter pair or a pair of IDLE symbols is detected. Carrier is negated after the /T/ symbol or the first IDLE. If /T/ is not followed by /R/, then carrier is maintained. Carrier is treated similarly for IDLE followed by some non-IDLE symbol. 3.8.8 Link Integrity Test The device performs the link integrity test as outlined in the IEEE 802.3u (clause 24-15) Link Monitor state diagram. The link status is multiplexed with the 10 Mbps link status to form the Link Status bit in the Basic Status Register and to drive the LINK LED (LED1). The DSP indicates a valid MLT-3 waveform present on the RXP and RXN signals as defined by the ANSI X3.263 TP-PMD standard, to the Link Monitor state-machine, using the internal DATA_VALID signal. When DATA_VALID is asserted, the control logic moves into a Link-Ready state and waits for an enable from the auto-negotiation block. When received, the Link-Up state is entered, and the Transmit and Receive logic blocks become active. Should auto-negotiation be disabled, the link integrity logic moves immediately to the Link-Up state when the DATA_VALID is asserted. To allow the line to stabilize, the link integrity logic will wait a minimum of 330 ms from the time DATA_VALID is asserted until the Link-Ready state is entered. Should the DATA_VALID input be negated at any time, this logic will immediately negate the Link signal and enter the Link-Down state. When the 10/100 digital block is in 10BASE-T mode, the link status is derived from the 10BASE-T receiver logic. 3.8.9 Cable Diagnostics The LAN8742A/LAN8742Ai provides cable diagnostics which allow for open/short and length detection of the Ethernet cable. The cable diagnostics consist of two primary modes of operation: Time Domain Reflectometry (TDR) Cable Diagnostics TDR cable diagnostics enable the detection of open or shorted cabling on the TX or RX pair, as well as cable length estimation to the open/short fault. Matched Cable Diagnostics Matched cable diagnostics enable cable length estimation on 100 Mbps-linked cables. Refer to the following sub-sections for details on proper operation of each cable diagnostics mode. SMSC LAN8742A/LAN8742Ai 53 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.9.1 Time Domain Reflectometry (TDR) Cable Diagnostics The LAN8742A/LAN8742Ai provides TDR cable diagnostics which enable the detection of open or shorted cabling on the TX or RX pair, as well as cable length estimation to the open/short fault. To utilize the TDR cable diagnostics, Auto-MDIX and Auto Negotiation must be disabled, and the LAN8742A/LAN8742Ai device must be forced to 100 Mb full-duplex mode. These actions must be performed before setting the TDR Enable bit in the TDR Control/Status Register. With Auto-MDIX disabled, the TDR will test the TX or RX pair selected by register bit 27.15 (AMDIXCTRL). Proper cable testing should include a test of each pair. When TDR testing is complete, prior register settings may be restored. Figure 3.16 provides a flow diagram of proper TDR usage. Start Disable ANEG and Force 100Mb FullDuplex Write PHY Reg 0: 0x2100 Disable AMDIX and Force MDI (or MDIX) Write PHY Reg 27: 0x8000 (MDI) - OR Write PHY Reg 27: 0xA000 (MDIX) Enable TDR Write PHY Reg 25: 0x8000 Check TDR Control/Status Register Read PHY Reg 25: 0x8000 NO Reg 25.8 == 0 TDR Channel Status Complete? YES Reg 25.8 == 1 Save: TDR Channel Type (Reg 25.10:9) TDR Channel Length (Reg 25.7:0) Repeat Testing in MDIX Mode MDIX Case Tested? YES Done Figure 3.16 TDR Usage Flow Diagram Revision 1.1 (05-21-13) 54 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet The TDR operates by transmitting pulses on the selected twisted pair within the Ethernet cable (TX in MDI mode, RX in MDIX mode). If the pair being tested is open or shorted, the resulting impedance discontinuity results in a reflected signal that can be detected by the LAN8742A/LAN8742Ai. The LAN8742A/LAN8742Ai measures the time between the transmitted signal and received reflection and indicates the results in the TDR Channel Length field of the TDR Control/Status Register. The TDR Channel Length field indicates the "electrical" length of the cable, and can be multiplied by the appropriate propagation constant in Table 3.8 to determine the approximate physical distance to the fault. Note: The TDR function is typically used when the link is inoperable. However, an active link will drop when operating the TDR. Since the TDR relies on the reflected signal of an improperly terminated cable, there are several factors that can affect the accuracy of the physical length estimate. These include: 1. Cable Type (CAT 5, CAT5e, CAT6): The electrical length of each cable type is slightly different due to the twists-per-meter of the internal signal pairs and differences in signal propagation speeds. If the cable type is known, the length estimate can be calculated more accurately by using the propagation constant appropriate for the cable type (see Table 3.8). In many real-world applications the cable type is unknown, or may be a mix of different cable types and lengths. In this case, use the propagation constant for the "unknown" cable type. 2. TX and RX Pair: For each cable type, the EIA standards specify different twist rates (twists-permeter) for each signal pair within the Ethernet cable. This results in different measurements for the RX and TX pair. 3. Actual Cable Length: The difference between the estimated cable length and actual cable length grows as the physical cable length increases, with the most accurate results at less than approximately 100 m. 4. Open/Short Case: The Open and Shorted cases will return different TDR Channel Length values (electrical lengths) for the same physical distance to the fault. Compensation for this is achieved by using different propagation constants to calculate the physical length of the cable. For the Open case, the estimated distance to the fault can be calculated as follows: Distance to Open fault in meters TDR Channel Length * POPEN Where: POPEN is the propagation constant selected from Table 3.8 For the Shorted case, the estimated distance to the fault can be calculated as follows: Distance to Open fault in meters TDR Channel Length * PSHORT Where: PSHORT is the propagation constant selected from Table 3.8 Table 3.8 TDR Propagation Constants CABLE TYPE TDR PROPAGATION CONSTANT UNKNOWN CAT 6 CAT 5E CAT 5 POPEN 0.769 0.745 0.76 0.85 PSHORT 0.793 0.759 0.788 0.873 The typical cable length measurement margin of error for Open and Shorted cases is dependent on the selected cable type and the distance of the open/short from the device. Table 3.9 and Table 3.10 detail the typical measurement error for Open and Shorted cases, respectively. SMSC LAN8742A/LAN8742Ai 55 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 3.9 Typical Measurement Error for Open Cable (+/- Meters) PHYSICAL DISTANCE TO FAULT SELECTED PROPAGATION CONSTANT POPEN = Unknown POPEN = CAT 6 CAT 6 Cable, 0-100 m 9 6 CAT 5E Cable, 0-100 m 5 CAT 5 Cable, 0-100 m 13 CAT 6 Cable, 101-160 m 14 CAT 5E Cable, 101-160 m 8 CAT 5 Cable, 101-160 m 20 POPEN = CAT 5E POPEN = CAT 5 5 3 6 6 6 Table 3.10 Typical Measurement Error for Shorted Cable (+/- Meters) PHYSICAL DISTANCE TO FAULT SELECTED PROPAGATION CONSTANT PSHORT = Unknown PSHORT = CAT 6 CAT 6 Cable, 0-100 m 8 5 CAT 5E Cable, 0-100 m 5 CAT 5 Cable, 0-100 m 11 CAT 6 Cable, 101-160 m 14 CAT 5E Cable, 101-160 m 7 CAT 5 Cable, 101-160 m 11 Revision 1.1 (05-21-13) PSHORT = CAT 5E PSHORT = CAT 5 5 2 6 6 3 56 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.9.2 Matched Cable Diagnostics Matched cable diagnostics enable cable length estimation on 100 Mbps-linked cables of up to 120 meters. If there is an active 100 Mb link, the approximate distance to the link partner can be estimated using the Cable Length Register. If the cable is properly terminated, but there is no active 100 Mb link (the link partner is disabled, nonfunctional, the link is at 10 Mb, etc.), the cable length cannot be estimated and the Cable Length Register should be ignored. The estimated distance to the link partner can be determined via the Cable Length (CBLN) lookup table provided in Table 3.11. The typical cable length measurement margin of error for a matched cable case is +/- 20 m. The matched cable length margin of error is consistent for all cable types from 0 to 120 m. Table 3.11 Match Case Estimated Cable Length (CBLN) Lookup Table CBLN FIELD VALUE ESTIMATED CABLE LENGTH 0-3 0 4 6 5 17 6 27 7 38 8 49 9 59 10 70 11 81 12 91 13 102 14 113 15 123 Note: For a properly terminated cable (Match case), there is no reflected signal. In this case, the TDR Channel Length field is invalid and should be ignored. SMSC LAN8742A/LAN8742Ai 57 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.10 Loopback Operation The device may be configured for near-end loopback and far loopback. These loopback modes are detailed in the following subsections. 3.8.10.1 Near-end Loopback Near-end loopback mode sends the digital transmit data back out the receive data signals for testing purposes, as indicated by the blue arrows in Figure 3.17. The near-end loopback mode is enabled by setting the Loopback bit of the Basic Control Register to "1". A large percentage of the digital circuitry is operational in near-end loopback mode because data is routed through the PCS and PMA layers into the PMD sublayer before it is looped back. The transmitters are powered down regardless of the state of TXEN. TXD 10/100 Ethernet MAC RXD Digital Analog X TX X RX CAT-5 XFMR SMSC Ethernet Transceiver Figure 3.17 Near-end Loopback Block Diagram 3.8.10.2 Far Loopback Far loopback is a special test mode for MDI (analog) loopback as indicated by the blue arrows in Figure 3.18. The far loopback mode is enabled by setting the FARLOOPBACK bit of the Mode Control/Status Register to "1". In this mode, data that is received from the link partner on the MDI is looped back out to the link partner. The digital interface signals on the local MAC interface are isolated. Far-end system 10/100 Ethernet MAC TXD RXD X TX X RX Digital XFMR CAT-5 Link Partner Analog SMSC Ethernet Transceiver Figure 3.18 Far Loopback Block Diagram Revision 1.1 (05-21-13) 58 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.8.10.3 Connector Loopback The device maintains reliable transmission over very short cables and can be tested in a connector loopback as shown in Figure 3.19. An RJ45 loopback cable can be used to route the transmit signals from the output of the transformer back to the receiver inputs. The loopback works at both 10 and 100 Mbps. 10/100 Ethernet MAC TXD 1 2 3 4 5 6 7 8 TX RXD RX Digital XFMR Analog SMSC RJ45 Loopback Cable. Created by connecting pin 1 to pin 3 and connecting pin 2 to pin 6. Ethernet Transceiver Figure 3.19 Connector Loopback Block Diagram SMSC LAN8742A/LAN8742Ai 59 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.9 Application Diagrams This section provides typical application diagrams for the following: 3.9.1 Simplified System Level Application Diagram Power Supply Diagram (1.2 V Supplied by Internal Regulator) Power Supply Diagram (1.2 V Supplied by External Source) Twisted-Pair Interface Diagram (Single Power Supply) Twisted-Pair Interface Diagram (Dual Power Supplies) Simplified System Level Application Diagram LAN8742A/LAN8742Ai 10/100 PHY 24-QFN RMII MDIO RMII MDC nINT Mag RJ45 TXP TXN TXD[1:0] 2 RXP TXEN RXN RXD[1:0] 2 RXER XTAL1/CLKIN LED[2:1] 25 MHz 2 XTAL2 nRST Interface Figure 3.20 Simplified System Level Application Diagram Revision 1.1 (05-21-13) 60 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.9.2 Power Supply Diagram (1.2 V Supplied by Internal Regulator) LAN8742A/LAN8742Ai 24-QFN Ch.2 3.3 V Circuitry Core Logic VDDCR OUT 470 pF 1 uF VDDDIO Supply 1.8 - 3.3 V Internal Regulator IN Ch.1 3.3 V Circuitry VDDIO CF Power Supply 3.3 V VDD2A CBYPASS VDD1A CBYPASS CBYPASS RBIAS LED1/ REGOFF 12.1k VSS ~270 Ohm Figure 3.21 Power Supply Diagram (1.2 V Supplied by Internal Regulator) SMSC LAN8742A/LAN8742Ai 61 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.9.3 Power Supply Diagram (1.2 V Supplied by External Source) LAN8742A/LAN8742Ai 24-QFN Ch.2 3.3 V Circuitry Core Logic VDDCR Supply 1.2 V VDDCR OUT 470 pF 1 uF VDDDIO Supply 1.8 - 3.3 V Internal Regulator VDD2A IN (Disabled) CBYPASS VDD1A Ch.1 3.3 V Circuitry VDDIO CF Power Supply 3.3 V CBYPASS CBYPASS RBIAS LED1/ REGOFF 12.1k VSS ~270 Ohm 10k Figure 3.22 Power Supply Diagram (1.2 V Supplied by External Source) Revision 1.1 (05-21-13) 62 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.9.4 Twisted-Pair Interface Diagram (Single Power Supply) LAN8742A/LAN8742Ai 24-QFN Power Supply 3.3 V Ferrite bead 49.9 Ohm Resistors VDD2A CBYPASS VDD1A CBYPASS Magnetics RJ45 TXP 1 2 3 4 5 6 7 8 75 TXN RXP 75 RXN 1000 pF 3 kV CBYPASS Figure 3.23 Twisted-Pair Interface Diagram (Single Power Supply) SMSC LAN8742A/LAN8742Ai 63 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 3.9.5 Twisted-Pair Interface Diagram (Dual Power Supplies) LAN8742A/LAN8742Ai 24-QFN Power Supply 3.3 V Power Supply 2.5V - 3.3 V 49.9 Ohm Resistors VDD2A CBYPASS VDD1A CBYPASS Magnetics RJ45 TXP 1 2 3 4 5 6 7 8 75 TXN RXP 75 RXN 1000 pF 3 kV CBYPASS Figure 3.24 Twisted-Pair Interface Diagram (Dual Power Supplies) Revision 1.1 (05-21-13) 64 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Chapter 4 Register Descriptions This chapter describes the various Control and Status Registers (CSRs) and MDIO Manageable Device (MMD) Registers. The CSRs follow the IEEE 802.3 (clause 22.2.4) management register set. The MMD registers adhere to the IEEE 802.3-2008 45.2 MDIO Interface Registers specification. All functionality and bit definitions comply with these standards. The IEEE 802.3 specified register index (in decimal) is included with each CSR definition, allowing for addressing of these registers via the Serial Management Interface (SMI) protocol. MMD registers are accessed indirectly via the MMD Access Control Register and MMD Access Address/Data Register CSRs. 4.1 Register Nomenclature Table 4.1 describes the register bit attribute notation used throughout this document. Table 4.1 Register Bit Types REGISTER BIT TYPE NOTATION REGISTER BIT DESCRIPTION R Read: A register or bit with this attribute can be read. W Write: A register or bit with this attribute can be written. RO Read only: Writes have no effect. WO Write only: If a register or bit is write-only, reads will return unspecified data. WC Write One to Clear: Writing a one clears the value. Writing a zero has no effect WAC Write Anything to Clear: Writing anything clears the value. RC Read to Clear: Contents is cleared after the read. Writes have no effect. LL Latch Low: Clear on read of register. LH Latch High: Clear on read of register. SC Self-Clearing: Contents are self-cleared after the being set. Writes of zero have no effect. Contents can be read. SS Self-Setting: Contents are self-setting after being cleared. Writes of one have no effect. Contents can be read. RO/LH Read Only, Latch High: Bits with this attribute will stay high until the bit is read. After it is read, the bit will either remain high if the high condition remains, or will go low if the high condition has been removed. If the bit has not been read, the bit will remain high regardless of a change to the high condition. This mode is used in some Ethernet PHY registers. NASR Not Affected by Software Reset. The state of NASR bits do not change on assertion of a software reset. RESERVED Reserved Field: Reserved fields must be written with zeros to ensure future compatibility. The value of reserved bits is not guaranteed on a read. Many of these register bit notations can be combined. Some examples of this are shown below: R/W: Can be written. Will return current setting on a read. R/WAC: Will return current setting on a read. Writing anything clears the bit. SMSC LAN8742A/LAN8742Ai 65 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2 Control and Status Registers Table 4.2 provides a list of supported registers. Register details, including bit definitions, are provided in the proceeding subsections. Table 4.2 SMI Register Map REGISTER INDEX (DECIMAL) REGISTER NAME GROUP 0 Basic Control Register Basic 1 Basic Status Register Basic 2 PHY Identifier 1 Register Extended 3 PHY Identifier 2 Register Extended 4 Auto Negotiation Advertisement Register Extended 5 Auto Negotiation Link Partner Ability Register Extended 6 Auto Negotiation Expansion Register Extended 7 Auto Negotiation Next Page TX Register Extended 8 Auto Negotiation Next Page RX Register Extended 13 MMD Access Control Register Extended 14 MMD Access Address/Data Register Extended 16 EDPD NLP / Crossover Time Register Vendor-specific 17 Mode Control/Status Register Vendor-specific 18 Special Modes Register Vendor-specific 24 TDR Patterns/Delay Control Register Vendor-specific 25 TDR Control/Status Register Vendor-specific 26 Symbol Error Counter Register Vendor-specific 27 Special Control/Status Indications Register Vendor-specific 28 Cable Length Register Vendor-specific 29 Interrupt Source Flag Register Vendor-specific 30 Interrupt Mask Register Vendor-specific 31 PHY Special Control/Status Register Vendor-specific Revision 1.1 (05-21-13) 66 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.1 Basic Control Register Index (In Decimal): 0 Size: 16 bits BITS DESCRIPTION TYPE DEFAULT 15 Soft Reset 1 = Software reset. Bit is self-clearing. When setting this bit do not set other bits in this register. R/W SC 0b Note: The configuration (as described in Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36) is set from the register bit values, and not from the mode pins. 14 Loopback 0 = Normal operation 1 = Loopback mode R/W 0b 13 Speed Select 0 = 10 Mbps 1 = 100 Mbps R/W Note 4.1 Note: Ignored if auto-negotiation is enabled (0.12 = 1). 12 Auto-Negotiation Enable 0 = Disable auto-negotiate process 1 = Enable auto-negotiate process (overrides 0.13 and 0.8) R/W Note 4.1 11 Power Down 0 = Normal operation 1 = General power down mode R/W 0b 10 Isolate 0 = Normal operation 1 = Electrical isolation of PHY from the RMII R/W 0b 9 Restart Auto-Negotiate 0 = Normal operation 1 = Restart auto-negotiate process R/W SC 0b R/W Note 4.1 RO - Note: 8 Duplex Mode 0 = Half duplex 1 = Full duplex Note: 7:0 Bit is self-clearing. Ignored if Auto-Negotiation is enabled (0.12 = 1). RESERVED Note 4.1 The default value of this bit is determined by the MODE[2:0] configuration straps. Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional information. SMSC LAN8742A/LAN8742Ai 67 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.2 Basic Status Register Index (In Decimal): BITS 1 Size: DESCRIPTION 16 bits TYPE DEFAULT 15 100BASE-T4 0 = No T4 ability 1 = T4 able RO 0b 14 100BASE-TX Full Duplex 0 = No TX full duplex ability 1 = TX with full duplex RO 1b 13 100BASE-TX Half Duplex 0 = No TX half duplex ability 1 = TX with half duplex RO 1b 12 10BASE-T Full Duplex 0 = No 10 Mbps with full duplex ability 1 = 10 Mbps with full duplex RO 1b 11 10BASE-T Half Duplex 0 = No 10 Mbps with half duplex ability 1 = 10 Mbps with half duplex RO 1b 10 100BASE-T2 Full Duplex 0 = PHY is not able to perform full duplex 100BASE-T2 1 = PHY is able to perform full duplex 100BASE-T2 RO 0b 9 100BASE-T2 Half Duplex 0 = PHY is not able to perform half duplex 100BASE-T2 1 = PHY is able to perform half duplex 100BASE-T2 RO 0b 8 Extended Status 0 = No extended status information in register 15 1 = Extended status information in register 15 RO 0b RESERVED RO - 5 Auto-Negotiate Complete 0 = Auto-negotiate process not completed 1 = Auto-negotiate process completed RO 0b 4 Remote Fault 1 = Remote fault condition detected 0 = No remote fault RO/LH 0b 3 Auto-Negotiate Ability 0 = Unable to perform auto-negotiation function 1 = Able to perform auto-negotiation function RO 1b 2 Link Status 0 = Link is down. 1 = Link is up. RO/LL 0b 1 Jabber Detect 0 = No jabber condition detected. 1 = Jabber condition detected. RO/LH 0b 7:6 Revision 1.1 (05-21-13) 68 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet BITS 0 DESCRIPTION Extended Capabilities 0 = Does not support extended capabilities registers 1 = Supports extended capabilities registers SMSC LAN8742A/LAN8742Ai 69 DATASHEET TYPE DEFAULT RO 1b Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.3 PHY Identifier 1 Register Index (In Decimal): BITS 15:0 2 Size: 16 bits DESCRIPTION PHY ID Number Assigned to the 3rd through 18th bits of the Organizationally Unique Identifier (OUI), respectively. Revision 1.1 (05-21-13) 70 DATASHEET TYPE DEFAULT R/W 0007h SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.4 PHY Identifier 2 Register Index (In Decimal): BITS 15:10 3 Size: DESCRIPTION 16 bits TYPE PHY ID Number Assigned to the 19th through 24th bits of the OUI. R/W 9:4 Model Number Six-bit manufacturer's model number R/W 3:0 Revision Number Four-bit manufacturer's revision number R/W DEFAULT C130h Note: The default value of the Revision Number field may vary dependant on the silicon revision number. SMSC LAN8742A/LAN8742Ai 71 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.5 Auto Negotiation Advertisement Register Index (In Decimal): BITS 4 Size: 16 bits DESCRIPTION TYPE DEFAULT 15 Next Page 0 = No next page ability 1 = Next page capable R/W 0b 14 RESERVED RO - 13 Remote Fault 0 = No remote fault 1 = Remote fault detected R/W 0b 12 RESERVED RO - Pause Operation 00 = No PAUSE 01 = Symmetric PAUSE 10 = Asymmetric PAUSE toward link partner 11 = Advertise support for both Symmetric PAUSE and Asymmetric PAUSE toward local device R/W 00b 11:10 Note: When both symmetric PAUSE and asymmetric PAUSE are set, the device will only be configured to, at most, one of the two settings upon auto-negotiation completion. 9 RESERVED RO - 8 100BASE-TX Full Duplex 0 = No TX full duplex ability 1 = TX with full duplex R/W Note 4.2 7 100BASE-TX 0 = No TX ability 1 = TX able R/W 1b 6 10BASE-T Full Duplex 0 = No 10 Mbps with full duplex ability 1 = 10 Mbps with full duplex R/W Note 4.2 5 10BASE-T 0 = No 10 Mbps ability 1 = 10 Mbps able R/W Note 4.2 Selector Field 00001 = IEEE 802.3 R/W 00001b 4:0 Note 4.2 Revision 1.1 (05-21-13) The default value of this bit is determined by the MODE[2:0] configuration straps. Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional information. 72 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.6 Auto Negotiation Link Partner Ability Register Index (In Decimal): BITS 5 Size: 16 bits DESCRIPTION TYPE DEFAULT 15 Next Page 0 = No next page ability 1 = Next page capable RO 0b 14 Acknowledge 0 = Link code word not yet received 1 = Link code word received from partner RO 0b 13 Remote Fault 0 = No remote fault 1 = Remote fault detected RO 0b 12 RESERVED RO - Pause Operation 00 = No PAUSE supported by partner station 01 = Symmetric PAUSE supported by partner station 10 = Asymmetric PAUSE supported by partner station 11 = Both Symmetric PAUSE and Asymmetric PAUSE supported by partner station RO 00b 100BASE-T4 0 = No T4 ability 1 = T4 able RO 0b 11:10 9 Note: This device does not support T4 ability. 8 100BASE-TX Full Duplex 0 = No TX full duplex ability 1 = TX with full duplex RO 0b 7 100BASE-TX 0 = No TX ability 1 = TX able RO 0b 6 10BASE-T Full Duplex 0 = No 10 Mbps with full duplex ability 1 = 10 Mbps with full duplex RO 0b 5 10BASE-T 0 = No 10 Mbps ability 1 = 10 Mbps able RO 0b Selector Field 00001 = IEEE 802.3 RO 00001b 4:0 SMSC LAN8742A/LAN8742Ai 73 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.7 Auto Negotiation Expansion Register Index (In Decimal): BITS 6 Size: 16 bits TYPE DEFAULT RESERVED RO - 6 Receive Next Page Location Able 0 = Received next page storage location is not specified by bit 6.5 1 = Received next page storage location is specified by bit 6.5 RO 1b 5 Received Next Page Storage Location 0 = Link partner next pages are stored in the Auto Negotiation Link Partner Ability Register (PHY register 5) 1 = Link partner next pages are stored in the Auto Negotiation Next Page RX Register (PHY register 8) RO 1b 4 Parallel Detection Fault 0 = No fault detected by parallel detection logic 1 = Fault detected by parallel detection logic RO/LH 0b 3 Link Partner Next Page Able 0 = Link partner does not have next page ability. 1 = Link partner has next page ability. RO 0b 2 Next Page Able 0 = Local device does not have next page ability. 1 = Local device has next page ability. RO 1b 1 Page Received 0 = New page not yet received 1 = New page received RO/LH 0b 0 Link Partner Auto-Negotiation Able 0 = Link partner does not have auto-negotiation ability. 1 = Link partner has auto-negotiation ability. RO 0b 15:7 DESCRIPTION Revision 1.1 (05-21-13) 74 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.8 Auto Negotiation Next Page TX Register Index (In Decimal): BITS 7 Size: DESCRIPTION 16 bits TYPE DEFAULT 15 Next Page 0 = No next page ability 1 = Next page capable R/W 0b 14 RESERVED RO - 13 Message Page 0 = Unformatted page 1 = Message page R/W 1b 12 Acknowledge 2 0 = Device cannot comply with message. 1 = Device will comply with message. R/W 0b 11 Toggle 0 = Previous value was HIGH. 1 = Previous value was LOW. RO 0b Message Code Message/Unformatted Code Field R/W 000 0000 0001b 10:0 SMSC LAN8742A/LAN8742Ai 75 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.9 Auto Negotiation Next Page RX Register Index (In Decimal): BITS 8 Size: DESCRIPTION 16 bits TYPE DEFAULT 15 Next Page 0 = No next page ability 1 = Next page capable RO 0b 14 Acknowledge 0 = Link code word not yet received from partner 1 = Link code word received from partner RO 0b 13 Message Page 0 = Unformatted page 1 = Message page RO 0b 12 Acknowledge 2 0 = Device cannot comply with message. 1 = Device will comply with message. RO 0b 11 Toggle 0 = Previous value was HIGH. 1 = Previous value was LOW. RO 0b Message Code Message/Unformatted Code Field RO 000 0000 0000b 10:0 Revision 1.1 (05-21-13) 76 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.10 MMD Access Control Register Index (In Decimal): 13 Size: 16 bits This register in conjunction with the MMD Access Address/Data Register provides indirect access to the MDIO Manageable Device (MMD) registers. Refer to Section 4.3, "MDIO Manageable Device (MMD) Registers," on page 90 for additional details. BITS DESCRIPTION TYPE DEFAULT 15:14 MMD Function This field is used to select the desired MMD function: 00 = Address 01 = Data, no post increment 10 = RESERVED 11 = RESERVED R/W 00b 13:5 RESERVED RO - 4:0 MMD Device Address (DEVAD) This field is used to select the desired MMD device address. (3 = PCS) R/W 0h SMSC LAN8742A/LAN8742Ai 77 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.11 MMD Access Address/Data Register Index (In Decimal): 14 Size: 16 bits This register in conjunction with the MMD Access Control Register provides indirect access to the MDIO Manageable Device (MMD) registers. Refer to Section 4.3, "MDIO Manageable Device (MMD) Registers," on page 90 for additional details. BITS DESCRIPTION TYPE DEFAULT 15:0 MMD Register Address/Data If the MMD Function field of the MMD Access Control Register is "00", this field is used to indicate the MMD register address to read/write of the device specified in the MMD Device Address (DEVAD) field. Otherwise, this register is used to read/write data from/to the previously specified MMD address. R/W 0000h Revision 1.1 (05-21-13) 78 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.12 EDPD NLP / Crossover Time Register Index (In Decimal): 16 Size: 16 bits BITS DESCRIPTION TYPE DEFAULT 15 EDPD TX NLP Enable When in Energy Detect Power-Down (EDPD) mode (EDPWRDOWN = 1), this bit enables the transmission of single TX NLPs at the interval defined by the EDPD TX NLP Interval Timer Select field. 0 = TX NLP disabled 1 = TX NLP enabled when in EDPD mode R/W NASR 0b 14:13 EDPD TX NLP Interval Timer Select When in Energy Detect Power-Down (EDPD) mode (EDPWRDOWN = 1) and EDPD TX NLP Enable is 1, this field defines the interval used to send single TX NLPs. 00 = 1 second (default) 01 = 768 ms 10 = 512 ms 11 = 256 ms R/W NASR 00b 12 EDPD RX Single NLP Wake Enable When in Energy Detect Power-Down (EDPD) mode (EDPWRDOWN = 1), this bit enables waking the PHY on reception of a single RX NLP. 0 = RX NLP wake disabled 1 = TX NLP wake enabled when in EDPD mode R/W NASR 0b EDPD RX NLP Max Interval Detect Select When in Energy Detect Power-Down (EDPD) mode (EDPWRDOWN = 1) and EDPD RX Single NLP Wake Enable is 0, this field defines the maximum interval for detecting two RX NLPs to wake from EDPD mode 00 = 64 ms (default) 01 = 256 ms 10 = 512 ms 11 = 1 second R/W NASR 00b RO - 11:10 9:2 RESERVED 1 EDPD Extend Crossover When in Energy Detect Power-Down (EDPD) mode (EDPWRDOWN = 1), setting this bit to 1 extends the crossover time by 2976 ms. 0 = Crossover time extension disabled 1 = Crossover time extension enabled (2976 ms) R/W NASR 0b 0 Extend Manual 10/100 Auto-MDIX Crossover Time When Auto-MIDX is enabled and the PHY is in manual 10BASE-T or 100BASE-TX mode, setting this bit to 1 extends the crossover time by 1984 ms to allow linking to an auto-negotiation link partner PHY. 0 = Crossover time extension disabled 1 = Crossover time extension enabled (1984 ms) R/W NASR 1b SMSC LAN8742A/LAN8742Ai 79 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.13 Mode Control/Status Register Index (In Decimal): BITS 17 Size: 16 bits TYPE DEFAULT RESERVED RO - EDPWRDOWN Enable the Energy Detect Power-Down (EDPD) mode: 0 = Energy Detect Power-Down is disabled. 1 = Energy Detect Power-Down is enabled. R/W 0b RESERVED RO - FARLOOPBACK Enables far loopback mode (i.e., all the received packets are sent back simultaneously (in 100BASE-TX only)). This mode works even if the Isolate bit (0.10) is set. 0 = Far loopback mode is disabled. 1 = Far loopback mode is enabled. Refer to Section 3.8.10.2, "Far Loopback," on page 58 for additional information. R/W 0b RESERVED RO - ALTINT Alternate Interrupt Mode: 0 = Primary interrupt system enabled (Default) 1 = Alternate interrupt system enabled Refer to Section 3.6, "Interrupt Management," on page 32 for additional information. R/W 0b RESERVED RO - 1 ENERGYON Indicates whether energy is detected. This bit transitions to "0" if no valid energy is detected within 256 ms. It is reset to "1" by a hardware reset and is unaffected by a software reset. Refer to Section 3.8.3.2, "Energy Detect Power-Down (EDPD)," on page 47 for additional information. RO 1b 0 RESERVED R/W 0b 15:14 13 DESCRIPTION Note: 12:10 9 8:7 6 5:2 When in EDPD mode, the device's NLP characteristics can be modified via the EDPD NLP / Crossover Time Register. Revision 1.1 (05-21-13) 80 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.14 Special Modes Register Index (In Decimal): BITS 18 Size: 16 bits DESCRIPTION TYPE DEFAULT RO - 15:8 RESERVED 7:5 MODE Transceiver mode of operation. Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional details. R/W NASR Note 4.3 4:0 PHYAD PHY Address. The PHY Address is used for the SMI address and for initialization of the Cipher (Scrambler) key. Refer to Section 3.7.1, "PHYAD[0]: PHY Address Configuration," on page 35 for additional details. R/W NASR Note 4.4 Note 4.3 The default value of this field is determined by the MODE[2:0] configuration straps. Refer to Section 3.7.2, "MODE[2:0]: Mode Configuration," on page 36 for additional information. Note 4.4 The default value of this field is determined by the PHYAD[0] configuration strap. Refer to Section 3.7.1, "PHYAD[0]: PHY Address Configuration," on page 35 for additional information. SMSC LAN8742A/LAN8742Ai 81 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.15 TDR Patterns/Delay Control Register Index (In Decimal): 24 Size: 16 bits BITS DESCRIPTION TYPE DEFAULT 15 TDR Delay In 0 = Line break time is 2 ms. 1 = The device uses TDR Line Break Counter to increase the line break time before starting TDR. R/W NASR 0b 14:12 TDR Line Break Counter When TDR Delay In is 1, this field specifies the increase in line break time in increments of 256 ms, up to 2 seconds. R/W NASR 000b 11:6 TDR Pattern High This field specifies the data pattern sent in TDR mode for the high cycle. R/W NASR 101110b 5:0 TDR Pattern Low This field specifies the data pattern sent in TDR mode for the low cycle. R/W NASR 011101b Revision 1.1 (05-21-13) 82 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.16 TDR Control/Status Register Index (In Decimal): BITS 15 Size: 16 bits DESCRIPTION TDR Enable 0 = TDR mode disabled 1 = TDR mode enabled Note: 14 25 TYPE DEFAULT R/W NASR SC 0b R/W NASR 0b RO - This bit self clears when TDR completes (TDR Channel Status goes high) TDR Analog to Digital Filter Enable 0 = TDR analog to digital filter disabled 1 = TDR analog to digital filter enabled (reduces noise spikes during TDR pulses) 13:11 RESERVED 10:9 TDR Channel Cable Type Indicates the cable type determined by the TDR test. 00 = Default 01 = Shorted cable condition 10 = Open cable condition 11 = Match cable condition R/W NASR 00b 8 TDR Channel Status When high, this bit indicates that the TDR operation has completed. This bit will stay high until reset or the TDR operation is restarted (TDR Enable = 1) R/W NASR 0b 7:0 TDR Channel Length This eight bit value indicates the TDR channel length during a short or open cable condition. Refer to Section 3.8.9.1, "Time Domain Reflectometry (TDR) Cable Diagnostics," on page 54 for additional information on the usage of this field. R/W NASR 00h Note: This field is not valid during a match cable condition. The Cable Length Register must be used to determine cable length during a non-open/short (match) condition. Refer to Section 3.8.9, "Cable Diagnostics," on page 53 for additional information. SMSC LAN8742A/LAN8742Ai 83 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.17 Symbol Error Counter Register Index (In Decimal): 26 Size: 16 bits BITS DESCRIPTION TYPE DEFAULT 15:0 Symbol Error Counter (SYM_ERR_CNT) This 100BASE-TX receiver-based error counter increments when an invalid code symbol is received, including IDLE symbols. The counter is incremented only once per packet, even when the received packet contains more than one symbol error. This field counts up to 65,536 and rolls over to 0 if incremented beyond it's maximum value. RO 0000h Note: This register is cleared on reset, but is not cleared by reading the register. It does not increment in 10BASE-T mode. Revision 1.1 (05-21-13) 84 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.18 Special Control/Status Indications Register Index (In Decimal): BITS 27 Size: DESCRIPTION TYPE DEFAULT R/W NASR 0b RO - R/W NASR 0b RO - R/W NASR 0b RESERVED RO - XPOL Polarity state of the 10BASE-T: 0 = Normal polarity 1 = Reversed polarity RO 0b RESERVED RO - 15 AMDIXCTRL HP Auto-MDIX control: 0 = Enable Auto-MDIX 1 = Disable Auto-MDIX (use 27.13 to control channel) 14 RESERVED 13 CH_SELECT Manual channel select: 0 = MDI (TX transmits, RX receives) 1 = MDIX (TX receives, RX transmits) 12 RESERVED 11 SQEOFF Disable the SQE test (Heartbeat): 0 = SQE test is enabled 1 = SQE test is disabled 10:5 4 3:0 16 bits SMSC LAN8742A/LAN8742Ai 85 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.19 Cable Length Register Index (In Decimal): BITS 15:12 Size: 16 bits DESCRIPTION Cable Length (CBLN) This four bit value indicates the cable length. Refer to Section 3.8.9.2, "Matched Cable Diagnostics," on page 57 for additional information on the usage of this field. Note: 11:0 28 TYPE DEFAULT RO 0000b RO - This field indicates cable length for 100BASE-TX linked devices that do not have an open/short on the cable. To determine the open/short status of the cable, the TDR Patterns/Delay Control Register and TDR Control/Status Register must be used. Cable length is not supported for 10BASE-T links. Refer to Section 3.8.9, "Cable Diagnostics," on page 53 for additional information. RESERVED Revision 1.1 (05-21-13) 86 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.20 Interrupt Source Flag Register Index (In Decimal): BITS 15:9 29 Size: DESCRIPTION RESERVED 16 bits TYPE DEFAULT RO - 8 INT8 0 = Not source of interrupt 1 = Wake on LAN (WoL) event detected RO/LH 0b 7 INT7 0 = Not source of interrupt 1 = ENERGYON generated RO/LH 0b 6 INT6 0 = Not source of interrupt 1 = Auto-Negotiation complete RO/LH 0b 5 INT5 0 = Not source of interrupt 1 = Remote Fault Detected RO/LH 0b 4 INT4 0 = Not source of interrupt 1 = Link Down (link status negated) RO/LH 0b 3 INT3 0 = Not source of interrupt 1 = Auto-Negotiation LP Acknowledge RO/LH 0b 2 INT2 0 = Not source of interrupt 1 = Parallel Detection Fault RO/LH 0b 1 INT1 0 = Not source of interrupt 1 = Auto-Negotiation Page Received RO/LH 0b 0 RESERVED RO 0b SMSC LAN8742A/LAN8742Ai 87 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.21 Interrupt Mask Register Index (In Decimal): BITS 30 Size: 16 bits DESCRIPTION TYPE DEFAULT 15:9 RESERVED RO - 8:1 Mask Bits These bits mask the corresponding interrupts in the Interrupt Source Flag Register. 0 = Interrupt source is masked. 1 = Interrupt source is enabled. R/W 00000000b RESERVED RO - 0 Revision 1.1 (05-21-13) 88 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.2.22 PHY Special Control/Status Register Index (In Decimal): BITS 31 Size: TYPE DEFAULT RESERVED RO - Autodone Auto-negotiation done indication: 0 = Auto-negotiation is not done or disabled (or not active). 1 = Auto-negotiation is done. RO 0b 11:5 RESERVED - Write as 0000010b, ignore on read. R/W 0000010b 4:2 Speed Indication HCDSPEED value: 001 = 10BASE-T half-duplex 101 = 10BASE-T full-duplex 010 = 100BASE-TX half-duplex 110 = 100BASE-TX full-duplex RO XXXb 1:0 RESERVED RO - 15:13 12 DESCRIPTION 16 bits SMSC LAN8742A/LAN8742Ai 89 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3 MDIO Manageable Device (MMD) Registers The device MMD registers adhere to the IEEE 802.3-2008 45.2 MDIO Interface Registers specification. The MMD registers are not memory mapped. These registers are accessed indirectly via the MMD Access Control Register and MMD Access Address/Data Register. The supported MMD device addresses are 3 (PCS) and 30 (Vendor Specific). Table 4.3, "MMD Registers" details the supported registers within each MMD device. Table 4.3 MMD Registers MMD DEVICE ADDRESS (IN DECIMAL) INDEX (IN DECIMAL) REGISTER NAME 5 PCS MMD Devices Present 1 Register 6 PCS MMD Devices Present 2 Register 32784 Wakeup Control and Status Register (WUCSR) 32785 Wakeup Filter Configuration Register A (WUF_CFGA) 32786 Wakeup Filter Configuration Register B (WUF_CFGB) 32801 32802 32803 3 (PCS) 32804 32805 Wakeup Filter Byte Mask Registers (WUF_MASK) 32806 32807 32808 Revision 1.1 (05-21-13) 32865 MAC Receive Address A Register (RX_ADDRA) 32866 MAC Receive Address B Register (RX_ADDRB) 32867 MAC Receive Address C Register (RX_ADDRC) 32868 Miscellaneous Configuration Register (MCFGR) 90 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 4.3 MMD Registers (continued) MMD DEVICE ADDRESS (IN DECIMAL) INDEX (IN DECIMAL) 30 (Vendor Specific) REGISTER NAME 2 Vendor Specific MMD 1 Device ID 1 Register 3 Vendor Specific MMD 1 Device ID 2 Register 5 Vendor Specific 1 MMD Devices Present 1 Register 6 Vendor Specific 1 MMD Devices Present 2 Register 8 Vendor Specific MMD 1 Status Register 11 TDR Match Threshold Register 12 TDR Short/Open Threshold Register 14 Vendor Specific MMD 1 package ID 1 Register 15 Vendor Specific MMD 1 package ID 2 Register To read or write an MMD register, the following procedure must be observed: 1. Write the MMD Access Control Register with 00b (address) for the MMD Function field and the desired MMD device (3 for PCS) for the MMD Device Address (DEVAD) field. 2. Write the MMD Access Address/Data Register with the 16-bit address of the desired MMD register to read/write within the previously selected MMD device (PCS or Auto-Negotiation). 3. Write the MMD Access Control Register with 01b (data) for the MMD Function field and choose the previously selected MMD device (3 for PCS) for the MMD Device Address (DEVAD) field. 4. If reading, read the MMD Access Address/Data Register, which contains the selected MMD register contents. If writing, write the MMD Access Address/Data Register with the register contents intended for the previously selected MMD register. SMSC LAN8742A/LAN8742Ai 91 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.1 PCS MMD Devices Present 1 Register Index (In Decimal): BITS 3.5 Size: TYPE DEFAULT RESERVED RO - 7 Auto-Negotiation Present 0 = Auto-negotiation not present in package 1 = Auto-negotiation present in package RO 1b 6 TC Present 0 = TC not present in package 1 = TC present in package RO 0b 5 DTE XS Present 0 = DTE XS not present in package 1 = DTE XS present in package RO 0b 4 PHY XS Present 0 = PHY XS not present in package 1 = PHY XS present in package RO 0b 3 PCS Present 0 = PCS not present in package 1 = PCS present in package RO 1b 2 WIS Present 0 = WIS not present in package 1 = WIS present in package RO 0b 1 PMD/PMA Present 0 = PMD/PMA not present in package 1 = PMD/PMA present in package RO 0b 0 Clause 22 Registers Present 0 = Clause 22 registers not present in package 1 = Clause 22 registers present in package RO 0b 15:8 DESCRIPTION 16 bits Revision 1.1 (05-21-13) 92 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.2 PCS MMD Devices Present 2 Register Index (In Decimal): BITS 3.6 Size: DESCRIPTION 16 bits TYPE DEFAULT 15 Vendor Specific Device 2 Present 0 = Vendor specific device 2 not present in package 1 = Vendor specific device 2 present in package RO 0b 14 Vendor Specific Device 1 Present 0 = Vendor specific device 1 not present in package 1 = Vendor specific device 1 present in package RO 1b 13 Clause 22 Extension Present 0 = Clause 22 extension not present in package 1 = Clause 22 extension present in package RO 0b RESERVED RO - 12:0 SMSC LAN8742A/LAN8742Ai 93 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.3 Wakeup Control and Status Register (WUCSR) Index (In Decimal): 3.32784 Size: 16 bits BITS DESCRIPTION TYPE DEFAULT 15 Interface Disable 0 = RMII interface enabled 1 = RMII interface disabled. Outputs driven to a low level and inputs ignored. R/W NASR 0b LED1 Function Select 00 = LED1 functions as Link/Activity. 01 = LED1 functions as nINT. 10 = LED1 functions as nPME. 11 = LED1 functions as Link Speed. R/W NASR 0b R/W NASR 0b RO - R/W NASR 0b R/W/ NASR 0b 14:13 Note: 12:11 Refer to Section 3.8.1, "LEDs," on page 42 for additional information. LED2 Function Select 00 = LED2 functions as Link Speed. 01 = LED2 functions as nINT. 10 = LED2 functions as nPME. 11 = LED2 functions as Link/Activity. Note: Refer to Section 3.8.1, "LEDs," on page 42 for additional information. 10 RESERVED 9 nPME Self Clear 0 = nPME pin is not self clearing. 1 = nPME pin is self clearing. Note: 8 When set, the de-assertion delay of the nPME signal is controlled by the nPME Assert Delay bit of the Miscellaneous Configuration Register (MCFGR). Refer to Section 3.8.4, "Wake on LAN (WoL)," on page 47 for additional information. WoL Configured This bit may be set by software after the WoL registers are configured. This sticky bit (and all other WoL related register bits) is reset only via a power cycle or a pin reset, allowing software to skip programming of the WoL registers in response to a WoL event. Note: Refer to Section 3.8.4, "Wake on LAN (WoL)," on page 47 for additional information. 7 Perfect DA Frame Received (PFDA_FR) The MAC sets this bit upon receiving a valid frame with a destination address that matches the physical address. R/WC/ NASR 0b 6 Remote Wakeup Frame Received (WUFR) The MAC sets this bit upon receiving a valid remote Wakeup Frame. R/WC/ NASR 0b 5 Magic Packet Received (MPR) The MAC sets this bit upon receiving a valid Magic Packet. R/WC/ NASR 0b 4 Broadcast Frame Received (BCAST_FR) The MAC Sets this bit upon receiving a valid broadcast frame. R/WC/ NASR 0b Revision 1.1 (05-21-13) 94 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet BITS DESCRIPTION TYPE DEFAULT 3 Perfect DA Wakeup Enable (PFDA_EN) When set, remote wakeup mode is enabled and the MAC is capable of waking up on receipt of a frame with a destination address that matches the physical address of the device. The physical address is stored in the MAC Receive Address A Register (RX_ADDRA), MAC Receive Address B Register (RX_ADDRB) and MAC Receive Address C Register (RX_ADDRC). R/W/ NASR 0b 2 Wakeup Frame Enable (WUEN) When set, remote wakeup mode is enabled and the MAC is capable of detecting Wakeup Frames as programmed in the Wakeup Filter. R/W/ NASR 0b 1 Magic Packet Enable (MPEN) When set, Magic Packet wakeup mode is enabled. R/W/ NASR 0b 0 Broadcast Wakeup Enable (BCST_EN) When set, remote wakeup mode is enabled and the MAC is capable of waking up from a broadcast frame. R/W/ NASR 0b SMSC LAN8742A/LAN8742Ai 95 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.4 Wakeup Filter Configuration Register A (WUF_CFGA) Index (In Decimal): BITS 3.32785 Size: 16 bits DESCRIPTION TYPE DEFAULT 15 Filter Enable 0 = Filter disabled 1 = Filter enabled R/W/ NASR 0b 14 Filter Triggered 0 = Filter not triggered 1 = Filter triggered R/WC/ NASR 0b RO - 13:11 RESERVED 10 Address Match Enable When set, the destination address must match the programmed address. When cleared, any unicast packet is accepted. Refer to Section 3.8.4.4, "Wakeup Frame Detection," on page 50 for additional information. R/W/ NASR 0b 9 Filter Any Multicast Enable When set, any multicast packet other than a broadcast will cause an address match. Refer to Section 3.8.4.4, "Wakeup Frame Detection," on page 50 for additional information. R/W/ NASR 0b R/W/ NASR 0b R/W/ NASR 00h Note: 8 Filter Broadcast Enable When set, any broadcast frame will cause an address match. Refer to Section 3.8.4.4, "Wakeup Frame Detection," on page 50 for additional information. Note: 7:0 This bit has priority over bit 10 of this register. This bit has priority over bit 10 of this register. Filter Pattern Offset Specifies the offset of the first byte in the frame on which CRC checking begins for Wakeup Frame recognition. Offset 0 is the first byte of the incoming frame's destination address. Revision 1.1 (05-21-13) 96 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.5 Wakeup Filter Configuration Register B (WUF_CFGB) Index (In Decimal): 3.32786 Size: 16 bits BITS DESCRIPTION TYPE DEFAULT 15:0 Filter CRC-16 This field specifies the expected 16-bit CRC value for the filter that should be obtained by using the pattern offset and the byte mask programmed for the filter. This value is compared against the CRC calculated on the incoming frame, and a match indicates the reception of a Wakeup Frame. R/W/ NASR 0000h SMSC LAN8742A/LAN8742Ai 97 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.6 Wakeup Filter Byte Mask Registers (WUF_MASK) Index (In Decimal): BITS 15:0 3.32802 Size: Wakeup Filter Byte Mask [111:96] BITS 3.32803 Size: Wakeup Filter Byte Mask [95:80] BITS 3.32804 Size: DESCRIPTION Wakeup Filter Byte Mask [79:64] Revision 1.1 (05-21-13) 98 DATASHEET DEFAULT R/W/ NASR 0000h TYPE DEFAULT R/W/ NASR 0000h TYPE DEFAULT R/W/ NASR 0000h TYPE DEFAULT R/W/ NASR 0000h 16 bits DESCRIPTION Index (In Decimal): TYPE 16 bits DESCRIPTION Index (In Decimal): 15:0 16 bits Wakeup Filter Byte Mask [127:112] BITS 15:0 Size: DESCRIPTION Index (In Decimal): 15:0 3.32801 16 bits SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Index (In Decimal): BITS 15:0 3.32806 Size: Wakeup Filter Byte Mask [47:32] BITS 3.32807 Size: Wakeup Filter Byte Mask [31:16] BITS 3.32808 Size: DESCRIPTION Wakeup Filter Byte Mask [15:0] SMSC LAN8742A/LAN8742Ai 99 DATASHEET DEFAULT R/W/ NASR 0000h TYPE DEFAULT R/W/ NASR 0000h TYPE DEFAULT R/W/ NASR 0000h TYPE DEFAULT R/W/ NASR 0000h 16 bits DESCRIPTION Index (In Decimal): TYPE 16 bits DESCRIPTION Index (In Decimal): 15:0 16 bits Wakeup Filter Byte Mask [63:48] BITS 15:0 Size: DESCRIPTION Index (In Decimal): 15:0 3.32805 16 bits Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.7 MAC Receive Address A Register (RX_ADDRA) Index (In Decimal): BITS 15:0 3.32865 Size: DESCRIPTION Physical Address [47:32] 16 bits TYPE DEFAULT R/W/ NASR FFFFh Note: The MAC address must be loaded into the RX_ADDRA, RX_ADDRB, and RX_ADDRC registers in the proper byte order. For example, a MAC address of 12:34:56:78:9A:BC should be loaded into these registers as follows: RX_ADDRA = BC9Ah RX_ADDRB = 7856h RX_ADDRC = 3412h Revision 1.1 (05-21-13) 100 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.8 MAC Receive Address B Register (RX_ADDRB) Index (In Decimal): BITS 15:0 3.32866 Size: DESCRIPTION Physical Address [31:16] 16 bits TYPE DEFAULT R/W/ NASR FFFFh Note: The MAC address must be loaded into the RX_ADDRA, RX_ADDRB, and RX_ADDRC registers in the proper byte order. For example, a MAC address of 12:34:56:78:9A:BC should be loaded into these registers as follows: RX_ADDRA = BC9Ah RX_ADDRB = 7856h RX_ADDRC = 3412h SMSC LAN8742A/LAN8742Ai 101 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.9 MAC Receive Address C Register (RX_ADDRC) Index (In Decimal): BITS 15:0 3.32867 Size: DESCRIPTION Physical Address [15:0] 16 bits TYPE DEFAULT R/W/ NASR FFFFh Note: The MAC address must be loaded into the RX_ADDRA, RX_ADDRB, and RX_ADDRC registers in the proper byte order. For example, a MAC address of 12:34:56:78:9A:BC should be loaded into these registers as follows: RX_ADDRA = BC9Ah RX_ADDRB = 7856h RX_ADDRC = 3412h Revision 1.1 (05-21-13) 102 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.10 Miscellaneous Configuration Register (MCFGR) Index (In Decimal): 3.32868 Size: 16 bits BITS DESCRIPTION TYPE DEFAULT 15:0 nPME Assert Delay This register controls the delay of nPME de-assertion time when the nPME Self Clear bit of the Wakeup Control and Status Register (WUCSR) is set. Each count is equivalent to a 20 s delay. The delay max is 1.31 seconds. Time = (register value + 1) x 20 s. R/W/ NASR 1000h SMSC LAN8742A/LAN8742Ai 103 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.11 Vendor Specific MMD 1 Device ID 1 Register Index (In Decimal): BITS 15:0 30.2 Size: DESCRIPTION RESERVED Revision 1.1 (05-21-13) 104 DATASHEET 16 bits TYPE DEFAULT RO 0000h SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.12 Vendor Specific MMD 1 Device ID 2 Register Index (In Decimal): BITS 15:0 30.3 Size: DESCRIPTION RESERVED SMSC LAN8742A/LAN8742Ai 105 DATASHEET 16 bits TYPE DEFAULT RO 0000h Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.13 Vendor Specific 1 MMD Devices Present 1 Register Index (In Decimal): BITS 30.5 Size: TYPE DEFAULT RESERVED RO - 7 Auto-Negotiation Present 0 = Auto-negotiation not present in package 1 = Auto-negotiation present in package RO 1b 6 TC Present 0 = TC not present in package 1 = TC present in package RO 0b 5 DTE XS Present 0 = DTE XS not present in package 1 = DTE XS present in package RO 0b 4 PHY XS Present 0 = PHY XS not present in package 1 = PHY XS present in package RO 0b 3 PCS Present 0 = PCS not present in package 1 = PCS present in package RO 1b 2 WIS Present 0 = WIS not present in package 1 = WIS present in package RO 0b 1 PMD/PMA Present 0 = PMD/PMA not present in package 1 = PMD/PMA present in package RO 0b 0 Clause 22 Registers Present 0 = Clause 22 registers not present in package 1 = Clause 22 registers present in package RO 0b 15:8 DESCRIPTION 16 bits Revision 1.1 (05-21-13) 106 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.14 Vendor Specific 1 MMD Devices Present 2 Register Index (In Decimal): BITS 30.6 Size: DESCRIPTION 16 bits TYPE DEFAULT 15 Vendor Specific Device 2 Present 0 = Vendor specific device 2 not present in package 1 = Vendor specific device 2 present in package RO 0b 14 Vendor Specific Device 1 Present 0 = Vendor specific device 1 not present in package 1 = Vendor specific device 1 present in package RO 1b 13 Clause 22 Extension Present 0 = Clause 22 extension not present in package 1 = Clause 22 extension present in package RO 0b RESERVED RO - 12:0 SMSC LAN8742A/LAN8742Ai 107 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.15 Vendor Specific MMD 1 Status Register Index (In Decimal): BITS 30.8 Size: DESCRIPTION 15:14 Device Present 00 = No device responding at this address 01 = No device responding at this address 10 = Device responding at this address 11 = No device responding at this address 13:0 RESERVED Revision 1.1 (05-21-13) 16 bits TYPE DEFAULT 10b RO 108 DATASHEET - SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.16 TDR Match Threshold Register Index (In Decimal): BITS 30.11 Size: TYPE DEFAULT RESERVED RO - 9:5 TDR Match High Threshold Sets the upper threshold to detect match cable. R/W 5'h12 Note 4.5 4:0 TDR Match Low Threshold Sets the lower threshold to detect match cable. R/W 5'h09 Note 4.5 15:10 DESCRIPTION 16 bits Note 4.5 Software reset places the default values of this register into an indeterminate state. For proper operation of the TDR, the TDR Match High Threshold and TDR Match Low Threshold must be set to 5'h12 and 5'h09, respectively. SMSC LAN8742A/LAN8742Ai 109 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.17 TDR Short/Open Threshold Register Index (In Decimal): BITS 30.12 Size: TYPE DEFAULT RESERVED RO - 9:5 TDR Short Low Threshold Sets the lower threshold to detect short cable. R/W 5'h09 Note 4.6 4:0 TDR Open High Threshold Sets the upper threshold to detect open cable. R/W 5'h12 Note 4.6 15:10 DESCRIPTION 16 bits Note 4.6 Revision 1.1 (05-21-13) Software reset places the default values of this register into an indeterminate state. For proper operation of the TDR, the TDR Short Low Threshold and TDR Open High Threshold must be set to 5'h09 and 5'h12, respectively. 110 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.18 Vendor Specific MMD 1 package ID 1 Register Index (In Decimal): BITS 15:0 30.14 Size: DESCRIPTION RESERVED SMSC LAN8742A/LAN8742Ai 111 DATASHEET 16 bits TYPE DEFAULT RO 0000h Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 4.3.19 Vendor Specific MMD 1 package ID 2 Register Index (In Decimal): BITS 15:0 30.15 Size: DESCRIPTION RESERVED Revision 1.1 (05-21-13) 112 DATASHEET 16 bits TYPE DEFAULT RO 0000h SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Chapter 5 Operational Characteristics 5.1 Absolute Maximum Ratings* Supply Voltage (VDDIO, VDD1A, VDD2A) (Note 5.1) . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to +3.6 V Digital Core Supply Voltage (VDDCR) (Note 5.1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to +1.5 V Ethernet Magnetics Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to +3.6 V Positive voltage on input signal pins, with respect to ground (Note 5.2) . . . . . . . . . . . .VDDIO + 2.0 V Negative voltage on input signal pins, with respect to ground (Note 5.3). . . . . . . . . . . . . . . . . . . -0.5 V Positive voltage on XTAL1/CLKIN, with respect to ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 V Storage Temperature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-55oC to +150oC Lead Temperature Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Refer to JEDEC Spec. J-STD-020 HBM ESD Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .JEDEC Class 3A Note 5.1 When powering this device from laboratory or system power supplies, it is important that the absolute maximum ratings not be exceeded or device failure can result. Some power supplies exhibit voltage spikes on their outputs when AC power is switched on or off. In addition, voltage transients on the AC power line may appear on the DC output. If this possibility exists, it is suggested that a clamp circuit be used. Note 5.2 This rating does not apply to the following pins: XTAL1/CLKIN, XTAL2, RBIAS. Note 5.3 This rating does not apply to the following pins: RBIAS. *Stresses exceeding those listed in this section could cause permanent damage to the device. This is a stress rating only. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Functional operation of the device at any condition exceeding those indicated in Section 5.2, "Operating Conditions**" or any other applicable section of this specification is not implied. Note, device signals are NOT 5.0 V tolerant unless specified otherwise. SMSC LAN8742A/LAN8742Ai 113 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.2 Operating Conditions** Supply Voltage (VDDIO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +1.62 V to +3.6 V Analog Port Supply Voltage (VDD1A, VDD2A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +3.0 V to +3.6 V Digital Core Supply Voltage (VDDCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +1.14 V to +1.26 V Ethernet Magnetics Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +2.25 V to +3.6 V Ambient Operating Temperature in Still Air (TA). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Note 5.4 Note 5.4 0C to +70C for commercial version, -40C to +85C for industrial version. **Proper operation of the device is guaranteed only within the ranges specified in this section. After the device has completed power-up, VDDIO and the magnetics power supply must maintain their voltage level with 10%. Varying the voltage greater than 10% after the device has completed powerup can cause errors in device operation. Note: Do not drive input signals without power supplied to the device. 5.3 Package Thermal Specifications Table 5.1 Package Thermal Parameters PARAMETER SYMBOL VALUE UNITS COMMENTS Thermal Resistance JA 55.3 oC/W Measured in still air from the die to ambient air Junction-to-Top-of-Package JT 0.9 oC/W Measured in still air Note: Thermal parameters are measured or estimated for devices in a multi-layer 2S2P PCB per JESD51. Revision 1.1 (05-21-13) 114 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.4 Power Consumption This section details the device power measurements taken over various operating conditions. Unless otherwise noted, all measurements were taken with power supplies at nominal values (VDDIO, VDD1A, VDD2A = 3.3 V, VDDCR = 1.2 V). See Section 3.8.3, "Power-Down Modes," on page 46 for a description of the power down modes. 5.4.1 REF_CLK In Mode 5.4.1.1 Regulator Disabled Table 5.2 Current Consumption and Power Dissipation (REF_CLK In, Reg. Disabled) POWER PIN GROUP 3.3 V DEVICE CURRENT (mA) 1.2 V DEVICE CURRENT (mA) 3.3 V DEVICE CURRENT W/ MAGNETICS (mA) TOTAL DEVICE POWER (mW) nRESET Typical 9.8 11 9.8 50 100BASE-TX /W TRAFFIC Typical 27 20 70 124 10BASE-T /W TRAFFIC Typical 10 13 114 54 ENERGY DETECT POWER DOWN Typical 4.6 2.1 4.6 19 GENERAL POWER DOWN Typical 0.8 1.9 0.7 5.3 5.4.1.2 Regulator Enabled Table 5.3 Current Consumption and Power Dissipation (REF_CLK In, Reg. Enabled) POWER PIN GROUP DEVICE CURRENT (mA) DEVICE CURRENT W/ MAGNETICS (mA) TOTAL DEVICE POWER (mW) nRESET Typical 21 21 71 100BASE-TX /W TRAFFIC Typical 50 92 163 10BASE-T /W TRAFFIC Typical 24 129 81 ENERGY DETECT POWER DOWN Typical 6.8 6.9 23 GENERAL POWER DOWN Typical 3.5 3.5 12 SMSC LAN8742A/LAN8742Ai 115 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.4.2 REF_CLK Out Mode 5.4.2.1 Regulator Disabled Table 5.4 Current Consumption and Power Dissipation (REF_CLK Out, Reg. Disabled) POWER PIN GROUP 3.3 V DEVICE CURRENT (mA) 1.2 V DEVICE CURRENT (mA) 3.3 V DEVICE CURRENT W/ MAGNETICS (mA) TOTAL DEVICE POWER (mW) nRESET Typical 20 11 20 86 100BASE-TX /W TRAFFIC Typical 37 20 79 160 10BASE-T /W TRAFFIC Typical 20 13 124 88 ENERGY DETECT POWER DOWN Typical 4.5 1.7 4.4 18 GENERAL POWER DOWN Typical 1.0 1.3 0.9 6.4 5.4.2.2 Regulator Enabled Table 5.5 Current Consumption and Power Dissipation (REF_CLK Out, Reg. Enabled) POWER PIN GROUP DEVICE CURRENT (mA) DEVICE CURRENT W/ MAGNETICS (mA) TOTAL DEVICE POWER (mW) nRESET Typical 31 31 103 100BASE-TX /W TRAFFIC Typical 59 102 195 10BASE-T /W TRAFFIC Typical 34 139 112 ENERGY DETECT POWER DOWN Typical 6.5 6.4 21 GENERAL POWER DOWN Typical 3.2 3.2 11 Revision 1.1 (05-21-13) 116 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.5 DC Specifications Table 5.6 details the non-variable I/O buffer characteristics. These buffer types do not support variable voltage operation. Table 5.7 details the variable voltage I/O buffer characteristics. Typical values are provided for 1.8 V, 2.5 V, and 3.3 V VDDIO cases. Table 5.6 Non-Variable I/O Buffer Characteristics PARAMETER SYMBOL MIN Low Input Level VILI -0.3 High Input Level VIHI Negative-Going Threshold VILT 1.01 Positive-Going Threshold VIHT Schmitt Trigger Hysteresis (VIHT - VILT) TYP MAX UNITS NOTES IS Type Input Buffer V 3.6 V 1.19 1.39 V Schmitt trigger 1.39 1.59 1.79 V Schmitt trigger VHYS 336 399 459 mV Input Leakage (VIN = VSS or VDDIO) IIH -10 10 A Input Capacitance CIN 2 pF Low Output Level VOL 0.4 V IOL = 12 mA High Output Level VOH V IOH = -12 mA Note 5.5 O12 Type Buffers VDD2A - 0.4 Note 5.6 ICLK Type Buffer (XTAL1 Input) Low Input Level VILI -0.3 0.35 V High Input Level VIHI VDDCR-0.35 3.6 V Note 5.5 This specification applies to all inputs and tri-stated bi-directional pins. Internal pull-down and pull-up resistors add 50 A per-pin (typical). Note 5.6 XTAL1/CLKIN can optionally be driven from a 25 MHz single-ended clock oscillator. SMSC LAN8742A/LAN8742Ai 117 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 5.7 Variable I/O Buffer Characteristics PARAMETER 1.8 V TYP 2.5 V TYP SYMBOL MIN Low Input Level VILI -0.3 High Input Level VIHI Neg-Going Threshold VILT 0.64 0.83 1.15 Pos-Going Threshold VIHT 0.81 0.99 Schmitt Trigger Hysteresis (VIHT - VILT) VHYS 102 158 Input Leakage (VIN = VSS or VDDIO) IIH -10 Input Capacitance 3.3 V TYP MAX UNITS NOTES VIS Type Input Buffer V 3.6 V 1.41 1.76 V Schmitt trigger 1.29 1.65 1.90 V Schmitt trigger 136 138 288 mV 10 A CIN 2 pF Low Output Level VOL 0.4 V IOL = 8 mA High Output Level VOH V IOH = -8 mA V IOL = 8 mA Note 5.7 VO8 Type Buffers VDDIO - 0.4 VOD8 Type Buffer Low Output Level Note 5.7 0.4 VOL This specification applies to all inputs and tri-stated bi-directional pins. Internal pull-down and pull-up resistors add 50 A per-pin (typical). Table 5.8 100BASE-TX Transceiver Characteristics PARAMETER SYMBOL MIN TYP MAX UNITS NOTES Peak Differential Output Voltage High VPPH 950 - 1050 mVpk Note 5.8 Peak Differential Output Voltage Low VPPL -950 - -1050 mVpk Note 5.8 Signal Amplitude Symmetry VSS 98 - 102 % Note 5.8 Signal Rise and Fall Time TRF 3.0 - 5.0 ns Note 5.8 Rise and Fall Symmetry TRFS - - 0.5 ns Note 5.8 Duty Cycle Distortion DCD 35 50 65 % Note 5.9 Overshoot and Undershoot VOS - - 5 % 1.4 ns Jitter Note 5.8 Measured at line side of transformer, line replaced by 100 (1%) resistor. Note 5.9 Offset from 16 ns pulse width at 50% of pulse peak. Note 5.10 Note 5.10 Measured differentially. Revision 1.1 (05-21-13) 118 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 5.9 10BASE-T Transceiver Characteristics PARAMETER SYMBOL MIN TYP MAX UNITS NOTES Transmitter Peak Differential Output Voltage VOUT 2.2 2.5 2.8 V Note 5.11 Receiver Differential Squelch Threshold VDS 300 420 585 mV Note 5.11 Min/max voltages guaranteed as measured with 100 resistive load. 5.6 AC Specifications This section details the various AC timing specifications of the device. 5.6.1 Equivalent Test Load Output timing specifications assume a 25 pF equivalent test load, unless otherwise noted, as illustrated in Figure 5.1 below. OUTPUT 25 pF Figure 5.1 Output Equivalent Test Load SMSC LAN8742A/LAN8742Ai 119 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.6.2 Power Sequence Timing This diagram illustrates the device power sequencing requirements. The VDDIO, VDD1A, VDD2A and magnetics power supplies can turn on in any order provided they all reach operational levels within the specified time period tpon. Device power supplies can turn off in any order provided they all reach 0 volts within the specified time period tpoff. It is acceptable for the VDD1A/VDD2A supply to remain powered up while the VDDCR and VDDIO supplies are at zero volts for a period not to exceed 750 ms. In this case, nRESET must be asserted while VDDCR and/or VDDIO is off, and must remain asserted for a minimum of 50 ms after the VDDCR and VDDIO supplies reach operational level. Additionally, VDDIO must come up with or after the VDDCR supply. Configuration straps must meet the requirements specified in Section 5.6.3, "PowerOn nRST & Configuration Strap Timing," on page 121. tpon tpoff VDDIO Magnetics Power VDD1A, VDD2A Figure 5.2 Power Sequence Timing Table 5.10 Power Sequence Timing Values SYMBOL DESCRIPTION MIN TYP MAX UNITS tpon Power supply turn on time 50 ms tpoff Power supply turn off time 500 ms Note: When the internal regulator is disabled, a power-up sequencing relationship exists between VDDCR and the 3.3 V power supply. For additional information refer to Section 3.7.3, "REGOFF: Internal +1.2 V Regulator Configuration," on page 37. Revision 1.1 (05-21-13) 120 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.6.3 Power-On nRST & Configuration Strap Timing This diagram illustrates the nRST reset and configuration strap timing requirements in relation to power-on. A hardware reset (nRST assertion) is required following power-up. For proper operation, nRST must be asserted for no less than trstia. The nRST pin can be asserted at any time, but must not be deasserted before tpurstd after all external power supplies have reached operational levels. In order for valid configuration strap values to be read at power-up, the tcss and tcsh timing constraints must be followed. Refer to Section 3.8.6, "Resets," on page 52 for additional information. All External Power Supplies Vopp tpurstd tpurstv trstia nRST tcss tcsh Configuration Strap Pins Input totaa todad Configuration Strap Pins Output Drive Figure 5.3 Power-On nRST & Configuration Strap Timing Table 5.11 Power-On nRST & Configuration Strap Timing Values SYMBOL DESCRIPTION MIN TYP MAX UNITS tpurstd External power supplies at operational level to nRST deassertion 25 ms tpurstv External power supplies at operational level to nRST valid 0 ns trstia nRST input assertion time 100 s tcss Configuration strap pins setup to nRST deassertion 200 ns tcsh Configuration strap pins hold after nRST deassertion 1 ns totaa Output tri-state after nRST assertion todad Output drive after nRST deassertion 2 50 ns 800 ns (Note 5.12) Note: nRST deassertion must be monotonic. Note: Device configuration straps are latched as a result of nRST assertion. Refer to Section 3.7, "Configuration Straps," on page 35 for details. Configuration straps must only be pulled high or low and must not be driven as inputs. Note 5.12 20 clock cycles for 25 MHz, or 40 clock cycles for 50 MHz SMSC LAN8742A/LAN8742Ai 121 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.6.4 RMII Interface Timing 5.6.4.1 RMII Timing (REF_CLK Out Mode) The 50 MHz REF_CLK OUT timing applies to the case when nINTSEL is pulled-low. In this mode, a 25 MHz crystal or clock oscillator must be input on the XTAL1/CLKIN and XTAL2 pins. For more information on REF_CLK Out Mode, see Section 3.7.4.2, "REF_CLK Out Mode," on page 39. Note: The CRS_DV pin performs both carrier sense and data valid functions. CRS_DV is asserted asynchronously on detection of carrier due to the criteria relevant to the operating mode. If the PHY has additional bits to be presented on RXD[1:0] following the initial deassertion of CRS_DV, then the device will assert CRS_DV on cycles of REF_CLK which present the second di-bit of each nibble and deassert CRS_DV on cycles of REF_CLK which present the first di-bit of a nibble. For additional information, refer to the RMII specification. tclkp tclkh REFCLKO (OUTPUT) tclkl toval toval toinvld RXD[1:0], RXER (OUTPUTS) toinvld toval CRS_DV (OUTPUT) tsu tihold tsu tihold tihold TXD[1:0] (INPUTS) tihold tsu TXEN (INPUT) Figure 5.4 RMII Timing (REF_CLK Out Mode) Revision 1.1 (05-21-13) 122 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 5.12 RMII Timing Values (REF_CLK Out Mode) SYMBOL DESCRIPTION MIN MAX UNITS NOTES tclkp REFCLKO period tclkh REFCLKO high time tclkp*0.4 tclkp*0.6 ns tclkl REFCLKO low time tclkp*0.4 tclkp*0.6 ns toval RXD[1:0], RXER, CRS_DV output valid from rising edge of REFCLKO 7.0 ns Note 5.13 toinvld tsu tihold 20 ns RXD[1:0], RXER, CRS_DV output invalid from rising edge of REFCLKO 3.0 ns Note 5.13 TXD[1:0], TXEN setup time to rising edge of REFCLKO 7.5 ns Note 5.13 TXD[1:0], TXEN input hold time after rising edge of REFCLKO 2.0 ns Note 5.13 Note 5.13 Timing was designed for system load between 10 pf and 25 pf. SMSC LAN8742A/LAN8742Ai 123 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.6.4.2 RMII Timing (REF_CLK In Mode) The 50 MHz REF_CLK IN timing applies to the case when nINTSEL is floated or pulled-high. In this mode, a 50 MHz clock must be input on the CLKIN pin. For more information on REF_CLK In Mode, see Section 3.7.4, "nINTSEL: nINT/REFCLKO Configuration," on page 38. Note: The CRS_DV pin performs both carrier sense and data valid functions. CRS_DV is asserted asynchronously on detection of carrier due to the criteria relevant to the operating mode. If the PHY has additional bits to be presented on RXD[1:0] following the initial deassertion of CRS_DV, then the device will assert CRS_DV on cycles of REF_CLK which present the second di-bit of each nibble and deassert CRS_DV on cycles of REF_CLK which present the first di-bit of a nibble. For additional information, refer to the RMII specification. tclkp tclkh CLKIN (REF_CLK) tclkl toval (INPUT) toval toinvld RXD[1:0], RXER (OUTPUTS) toinvld toval CRS_DV (OUTPUT) tsu tihold tsu tihold tihold TXD[1:0] (INPUTS) tihold tsu TXEN (INPUT) Figure 5.5 RMII Timing (REF_CLK In Mode) Revision 1.1 (05-21-13) 124 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 5.13 RMII Timing Values (REF_CLK In Mode) SYMBOL DESCRIPTION MIN TYP MAX UNITS NOTES tclkp CLKIN period tclkh CLKIN high time tclkp * 0.35 tclkp * 0.65 ns tclkl CLKIN low time tclkp * 0.35 tclkp * 0.65 ns toval RXD[1:0], RXER, CRS_DV output valid from rising edge of CLKIN 15.0 ns Note 5.14 toinvld RXD[1:0], RXER, CRS_DV output invalid from rising edge of CLKIN 3.0 ns Note 5.14 TXD[1:0], TXEN setup time to rising edge of CLKIN 4.0 ns Note 5.14 TXD[1:0], TXEN input hold time after rising edge of CLKIN 1.5 ns Note 5.14 tsu tihold 20 ns Note 5.14 Timing was designed for system load between 10 pF and 25 pF. 5.6.4.3 RMII CLKIN Requirements Table 5.14 RMII CLKIN (REF_CLK) Timing Values PARAMETER MIN TYP CLKIN frequency 50 CLKIN Frequency Drift CLKIN Duty Cycle 40 CLKIN Jitter SMSC LAN8742A/LAN8742Ai MAX 125 DATASHEET UNITS NOTES MHz 50 ppm 60 % 150 ps p-p - not RMS Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.6.5 SMI Timing This section specifies the SMI timing of the device. Please refer to Section 3.5, "Serial Management Interface (SMI)," on page 31 for additional details. tclkp tclkh MDC (INPUT) tval tclkl toinvld toinvld MDIO (Data-Out) tsu tihold MDIO (Data-In) Figure 5.6 SMI Timing Table 5.15 SMI Timing Values SYMBOL DESCRIPTION tclkp MDC period tclkh MIN MAX UNITS 400 ns MDC high time 160 (80%) ns tclkl MDC low time 160 (80%) ns tval MDIO (read from PHY) output valid from rising edge of MDC toinvld MDIO (read from PHY) output invalid from rising edge of MDC 0 ns MDIO (write to PHY) setup time to rising edge of MDC 10 ns MDIO (write to PHY) input hold time after rising edge of MDC 10 ns tsu tihold Revision 1.1 (05-21-13) 126 DATASHEET 300 ns SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet 5.7 Clock Circuit The device can accept either a 25 MHz crystal or a 25 MHz single-ended clock oscillator (50 ppm) input. If the single-ended clock oscillator method is implemented, XTAL2 should be left unconnected and XTAL1/CLKIN should be driven with a clock signal that adheres to the specifications outlined throughout Chapter 5, Operational Characteristics. See Table 5.16 for the recommended crystal specifications. Table 5.16 Crystal Specifications PARAMETER SYMBOL MIN NOM Crystal Cut MAX UNITS NOTES AT, typ Crystal Oscillation Mode Fundamental Mode Crystal Calibration Mode Parallel Resonant Mode Ffund - 25.000 - MHz Ftol - - 50 ppm Note 5.15 Frequency Stability Over Temp Ftemp - - 50 ppm Note 5.15 Frequency Deviation Over Time Fage - 3 to 5 - ppm Note 5.16 - - 50 ppm Note 5.17 Frequency Frequency Tolerance at 25oC Total Allowable PPM Budget Shunt Capacitance CO - 7 typ - pF Load Capacitance CL - 20 typ - pF Drive Level PW 300 - - W Equivalent Series Resistance R1 - - 30 Operating Temperature Range Note 5.18 - Note 5.19 oC XTAL1/CLKIN Pin Capacitance - 3 typ - pF Note 5.20 XTAL2 Pin Capacitance - 3 typ - pF Note 5.20 Note 5.15 The maximum allowable values for frequency tolerance and frequency stability are application dependant. Since any particular application must meet the IEEE 50 ppm Total PPM Budget, the combination of these two values must be approximately 45 ppm (allowing for aging). Note 5.16 Frequency Deviation Over Time is also referred to as Aging. Note 5.17 The total deviation for the Transmitter Clock Frequency is specified by IEEE 802.3u as 100 ppm. Note 5.18 0C for commercial version, -40C for industrial version Note 5.19 +70C for commercial version, +85C for industrial version Note 5.20 This number includes the pad, the bond wire and the lead frame. PCB capacitance is not included in this value. The XTAL1/CLKIN pin, XTAL2 pin and PCB capacitance values are required to accurately calculate the value of the two external load capacitors. The total load capacitance must be equivalent to what the crystal expects to see in the circuit so that the crystal oscillator will operate at 25.000 MHz. SMSC LAN8742A/LAN8742Ai 127 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Chapter 6 Package Outline MIN 0.80 0 3.90 2.40 0.35 0.18 0.25 A A1 D/E D2/E2 L b k e NOMINAL 0.90 0.02 4.00 2.50 0.40 0.25 0.35 0.50 BSC MAX 1.00 0.05 4.10 2.60 0.45 0.30 - REMARKS Overall Package Height Standoff X/Y Body Size X/Y Exposed Pad Size Terminal Length Terminal Width Pin to Exposed Pad Clearance Terminal Pitch Notes: 1. All dimensions are in millimeters unless otherwise noted. 2. 3. Dimension "b" applies to plated terminals and is measured between 0.15 and 0.30 mm from the terminal tip. The pin 1 identifier may vary, but is always located within the zone indicated. Revision 1.1 (05-21-13) 128 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet SMSC LAN8742A/LAN8742Ai 129 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Note: Standard reel size is 4000 pieces per reel. Revision 1.1 (05-21-13) 130 DATASHEET SMSC LAN8742A/LAN8742Ai Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Chapter 7 Revision History Table 7.1 Customer Revision History REVISION LEVEL & DATE Rev. 1.1 (05-21-13) SECTION/FIGURE/ENTRY CORRECTION General Changed part numbers from "LAN8742/LAN8742i" to "LAN8742A/LAN8742Ai" Updated ordering information Updated figures Chapter 2, Pin Description and Configuration, Table 2.3, "Serial Management Interface (SMI) Pins," on page 15 Section 3.1.2.9, "100M Receive Data Across the RMII Interface," on page 25 Updated description Section 3.3, "HP Auto-MDIX Support," on page 29 Changed "100BASE-T" to "100BASE-TX" Section 3.4.1.1, "CRS_DV - Carrier Sense/Receive Data Valid," on page 30 Changed "100BASE-X" to "100BASE-TX" Section 3.5, "Serial Management Interface (SMI)," on page 31 Removed sentence stating "Non-supported registers (such as 7 to 15) will be read as hexadecimal "FFFF". Section 3.7.4.2, "REF_CLK Out Mode," on page 39 Added note: "In REF_CLK Out Mode, REFCLKO will not output when the device is in Energy Detect Power-Down Mode or General Power-Down Mode." Section 3.8.3.1, "General PowerDown," on page 46 Added note: "In REF_CLK Out Mode, REFCLKO will not output when the device is in General Power-Down Mode." Section 3.8.3.2, "Energy Detect Power-Down (EDPD)," on page 47 Added note: "In REF_CLK Out Mode, REFCLKO will not output when the device is in Energy Detect Power-Down Mode." Section 3.8.9, "Cable Diagnostics," on page 53 Updated section with additional operation details Chapter 4, "Register Descriptions," on page 65 Removed - TDR Channel Threshold Maximum Register - TDR Wait Counter Threshold Register - TDR TX Pattern Generator Divider Register Section 4.2.2, "Basic Status Register," on page 68 Updated definitions of bits 10:8 Section 4.2.18, "Special Control/Status Indications Register," on page 85 Updated bit 11 definition SMSC LAN8742A/LAN8742Ai Added pull-up to MDIO buffer type description Changed "VIS/VOD8 (PU)" to "VIS/VO8 (PU)" 131 DATASHEET Revision 1.1 (05-21-13) Small Footprint RMII 10/100 Ethernet Transceiver with HP Auto-MDIX and flexPWR(R) Technology Datasheet Table 7.1 Customer Revision History (continued) REVISION LEVEL & DATE SECTION/FIGURE/ENTRY Rev. 1.1 (05-21-13) Section 4.3, "MDIO Manageable Device (MMD) Registers," on page 90 Added additional vendor specific MMD register descriptions Section 4.3.7, "MAC Receive Address A Register (RX_ADDRA)" Added note Section 4.3.8, "MAC Receive Address B Register (RX_ADDRB)" Added note Section 4.3.9, "MAC Receive Address C Register (RX_ADDRC)" Added note Section 5.1, "Absolute Maximum Ratings*," on page 113 Changed: Positive voltage on XTAL1/CLKIN, with respect to ground from "VDDCR" to "+3.6V" Section 5.3, Table 5.1, "Package Thermal Parameters," on page 114 Updated package thermal specification values Section 5.4, "Power Consumption," on page 115 Updated power numbers Section 5.5, "DC Specifications," on page 117 Changed VIHI max of ICLK Type Buffer from "VDDCR" to "3.6" Section 5.6, "AC Specifications," on page 119 Removed two RMII notes at beginning of section Section 5.6.2, "Power Sequence Timing," on page 120 Updated power sequencing requirements Section 5.6.4, "RMII Interface Timing," on page 122 CORRECTION Rev. 1.0 (05-07-12) Revision 1.1 (05-21-13) Added note detailing CRS_DV behavior as both carrier sense and data valid Split REF_CLK In and REF_CLK Out modes into two subsections and updated RMII timing tables Updated MII timing table Initial Release 132 DATASHEET SMSC LAN8742A/LAN8742Ai