Contents
Preface | 10 | ||
1 | Introduction | 11 | |
| 1.1 | Purpose of the Peripheral | 11 |
| 1.2 | Features | 11 |
| 1.3 | Functional Block Diagram | 12 |
| 1.4 | Industry Standard(s) Compliance Statement | 13 |
2 | Peripheral Architecture | 13 | |
| 2.1 | Clock Control | 13 |
| 2.2 | Memory Map | 13 |
| 2.3 | Signal Descriptions | 13 |
| 2.4 | Ethernet Protocol Overview | 15 |
| 2.5 | Programming Interface | 16 |
| 2.6 | EMAC Control Module | 27 |
| 2.7 | MDIO Module | 28 |
| 2.8 | EMAC Module | 33 |
| 2.9 | Media Independent Interface (MII) | 35 |
| 2.10 | Packet Receive Operation | 39 |
| 2.11 | Packet Transmit Operation | 44 |
| 2.12 | Receive and Transmit Latency | 44 |
| 2.13 | Transfer Node Priority | 45 |
| 2.14 | Reset Considerations | 45 |
| 2.15 | Initialization | 46 |
| 2.16 | Interrupt Support | 49 |
| 2.17 | Power Management | 52 |
| 2.18 | Emulation Considerations | 52 |
3 | EMAC Control Module Registers | 53 | |
| 3.1 | EMAC Control Module Interrupt Control Register (EWCTL) | 53 |
| 3.2 | EMAC Control Module Interrupt Timer Count Register (EWINTTCNT) | 54 |
4 | MDIO Registers | 55 | |
| 4.1 | MDIO Version Register (VERSION) | 55 |
| 4.2 | MDIO Control Register (CONTROL) | 56 |
| 4.3 | PHY Acknowledge Status Register (ALIVE) | 57 |
| 4.4 | PHY Link Status Register (LINK) | 57 |
| 4.5 | MDIO Link Status Change Interrupt (Unmasked) Register (LINKINTRAW) | 58 |
| 4.6 | MDIO Link Status Change Interrupt (Masked) Register (LINKINTMASKED) | 59 |
| 4.7 | MDIO User Command Complete Interrupt (Unmasked) Register (USERINTRAW) | 60 |
| 4.8 | MDIO User Command Complete Interrupt (Masked) Register (USERINTMASKED) | 61 |
| 4.9 | MDIO User Command Complete Interrupt Mask Set Register (USERINTMASKSET) | 62 |
| 4.10 | MDIO User Command Complete Interrupt Mask Clear Register (USERINTMASKCLEAR) | 63 |
| 4.11 | MDIO User Access Register 0 (USERACCESS0) | 64 |
| 4.12 | MDIO User PHY Select Register 0 (USERPHYSEL0) | 65 |
| 4.13 | MDIO User Access Register 1 (USERACCESS1) | 66 |
| 4.14 | MDIO User PHY Select Register 1 (USERPHYSEL1) | 67 |
5 | Ethernet Media Access Controller (EMAC) Registers | 68 | |
SPRU941A | Table of Contents | 3 |