1-1 Ethernet Ethernet Controller How do you interface with an Ethernet PHY?

Slides:



Advertisements
Similar presentations
PHY OAM Baseline Proposal June
Advertisements

INPUT-OUTPUT ORGANIZATION
ECT 357 Ch 18 UART. Today’s Quote: Be careful that your marriage doesn’t become a duel instead of a duet. Be careful that your marriage doesn’t become.
Programmable Keyboard/ Display Interface: 8279
Lecture 131 Lecture 13: Other Devices on the XUP Board ECE 412: Microcomputer Laboratory.
Crystal Inc. CS8900A-ISA Ethernet Controller Presented by Kallol Par April,
Avishai Wool lecture Introduction to Systems Programming Lecture 8 Input-Output.
COMP3221: Microprocessors and Embedded Systems Lecture 22: Serial Input/Output (II) Lecturer: Hui Wu Session 1, 2005.
1 Fall 2005 Hardware Addressing and Frame Identification Qutaibah Malluhi CSE Department Qatar University.
CCNA 1 v3.1 Module 6 Review. 2 What 3 things happen on an Ethernet network after a collision occurs? A backoff algorithm is invoked and transmission is.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 6: Digital Data Communications Techniques.
t Popularity of the Internet t Provides universal interconnection between individual groups that use different hardware suited for their needs t Based.
Chapter 1 and 2 Computer System and Operating System Overview
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
NS Training Hardware. System Controller Module.
INPUT-OUTPUT ORGANIZATION
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Document Number ETH West Diamond Avenue - Third Floor, Gaithersburg, MD Phone: (301) Fax: (301)
VLSI Team 5 10/100 Ethernet MAC Chatziioannou Dimitris Delivos Giannis Katsiris Giannis.
SC200x Peripherals Broadband Entertainment Division DTV Source Applications July 2001.
SDR Test bench Architecture WINLAB – Rutgers University Date : October Authors : Prasanthi Maddala,
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
1 Physical Layer ผศ. ดร. อนันต์ ผลเพิ่ม Asst. Prof. Anan Phonphoem, Ph.D. Computer Engineering Department.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
Khaled A. Al-Utaibi  Interrupt-Driven I/O  Hardware Interrupts  Responding to Hardware Interrupts  INTR and NMI  Computing the.
Universal Asynchronous Receiver/Transmitter (UART)
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
1 10/15/ :22 Chapter 7Ethernet LANs1 Rivier College CS575: Advanced LANs Chapter 7: Ethernet LANs.
CCNA1 v3 Module 1 v3 CCNA 1 Module 6 JEOPARDY K. Martin.
Ethernet Driver Changes for NET+OS V5.1. Design Changes Resides in bsp\devices\ethernet directory. Source code broken into more C files. Native driver.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
NS Training Hardware. Serial Controller - UART.
NS Training Hardware.
Universal Asynchronous Receiver/Transmitter (UART)
1 IEEE802.3ah EFM Task Force June 2002 Details of PHY OAM in 1000BASE-X R0-4 June Ben Brown.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
L2 Switching Overview 2009 年 12 月 主讲:孟宁 电话: : 主页: 地址:苏州工业园区独墅湖高等教育区仁爱路 166.
RX Serial Peripheral Interface (RSPI)
Data Link Layer and Ethernet COM211 Communications and Networks CDA College Theodoros Christophides
IT3002 Computer Architecture
1 Hardware Addressing and Frame Type Identification.
Renesas Electronics America Inc. RX Ethernet Peripheral © 2011 Renesas Electronics America Inc. All rights reserved A Rev /16/2011.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
CE-2810 Dr. Mark L. Hornick 1 Serial Communications Sending and receiving data between devices.
WINLAB Open Cognitive Radio Platform Architecture v1.0 WINLAB – Rutgers University Date : July 27th 2009 Authors : Prasanthi Maddala,
8251 USART.
DEI ARINC 429 TRANSCEIVER SEPT ARINC Transceiver Categories Industry Standard (5V) –DEI1016 family –Wafer ID: 1016 Second Generation (3.3V to 5V)
Tiva C TM4C123GH6PM UART Embedded Systems ECE 4437 Fall 2015 Team 2:
I/O techniques - Interfacing
Serial mode of data transfer
UART Serial Port Programming
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
Chapter 11: Inter-Integrated Circuit (I2C) Interface
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
MDIO & PHY on AMIC110 April 27, 2017 Garrett Ding.
E3165 DIGITAL ELECTRONIC SYSTEM
New Crate Controller Development
Data Link Issues Relates to Lab 2.
Serial Communication Interface: Using 8251
…….. PackML concept illustration Line Controller Unit #1 Unit #2
ATA over internet.
Chapter 13 DMA Programming.
CCNA 1 v3 JEOPARDY Module 6 CCNA1 v3 Module 6 K. Martin.
EUSART Serial Communication.
MPC–SP Synchronization
Presentation transcript:

1-1 Ethernet Ethernet Controller How do you interface with an Ethernet PHY?

1-2 Ethernet Controller Block Diagram MAC module EFE module Rx FIFO (2048b) Tx FIFO (128b) Control State Machine Control Status DMA Controller Tx 110 Rx BT10BT MIIMII 10/100 MAC Address Filtering/ Statistics To/From PHY

1-3 Ethernet MAC-PHY Media- Independent Interface (MII) MDIO MDCLK COL Collision Carrier Sense CRS TXD TXEN RXDV RXD TXER RXER TXCLK RXCLK Rx Data Clocks for Tx/Rx “Data Ready” Tx/Rx Error Net+ARM MAC PHY Tx Data PHY Mgt (e.g., setup) (Remainder of MII pins are V or GND.)

1-4 PHY Management Software sends/receives a serial stream on MDIO, clocked by MDCLK. Stream consists of management frames, each causing a PHY register to be read or written. –Registers 0 – 1: predefined, required –Registers 2 – 7: predefined, optional –Registers 8 – 15: reserved –Registers 16 – 31: vendor-specific

1-5 Culture – Management Frame Format Preamble – 32 consecutive 1’s FS – start of frame OP – read or write PHY Address – 0 to 31; usually specified via PHY pins Register Address – 0 to 31 TA – Turnaround: separator between frame header and data Data – 16 bits Ends with high-impedance idle state PreambleFSOPPHY AddrReg AddrTADATA READ32 1’s0110xxxxx 00xxxxxxxxxxxxxxxx WRITE32 1’s01 xxxxx 00xxxxxxxxxxxxxxxx

1-6 MII PHY Predefined Registers 0 – Control 1 – Status 2, 3 – PHY ID (manufacturer, model, rev; optional) 4 – Auto Negotiation Advertisement (optional) 5 – Auto Negotiation Link Partner (optional) 6 – Auto Negotiation Expansion (optional) 7 – Auto Negotiation Next Page Xmit (optional) Consult your PHY documentation for register usage

1-7 Managing the PHY through MII PreambleFSOPPHY AddrReg AddrTADATA READ32 1’s0110xxxxx 00xxxxxxxxxxxxxxxx WRITE32 1’s01 xxxxx 00xxxxxxxxxxxxxxxx From MII Address Register (0xFF800544) From MII Write Data Register (0xFF800548) Initiate by MII Command Register (0xFF800540) To MII Read Data Register (0xFF80054C) Writes are initiated by writing to MWTD. Read/write done when BUSY in MII Indicators Register (0xFF800550) returns to 0.

1-8 Auto-Negotiation Exchange configuration information between two ends of a link segment and automatically select the highest common performance mode. When: 1.Power up 2.Reset (hardware and software) 3.Link failure and comes back up 4.Software re-start

1-9 Parallel Detection When partner does not support Auto-Negotiation Automatically detect the presence of either link pulse (10 Mbps) or idle symbol (100 Mbps) and set speed accordingly. Set Half mode.