User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 509
UG585 (v1.11) September 27, 2016
Chapter 16: Gigabit Ethernet Controller
16.3.3 I/O Configuration
The block diagram in section 16.1.1 Block Diagram describes the connection details of the Gigabit
Ethernet Controller to the external network.
Gigabit Ethernet Controller using MIO
The controller provides an RGMII interface through the MIO. Pins 16-27 are used for Controller 0 and
28-39 for Controller 1. Refer to section 16.6 Signals and I/O Connections for more information on
the pin-out.
Example: Configuring Controllers for MIO
The controllers can be configured to operate in HSTL or CMOS IO standards. Refer to Chapter 2,
Signals, Interfaces, and Pins for more information on MIO pin configuration. The following steps
illustrate the configuration for Controller 0.
1. Write to the slcr.MIO_PIN{16:21} registers for the transmit signals. This programs the MIO
I/O buffers (GPIOB) for the four transmit data signals, transmit clock and transmit control signals.
Example: A value of 0x0000_3902 disables the HSTL receiver, specifies HSTL I/O type, enables
internal pull-up, disables 3-state control and routes the transmit data, clock, and control signals.
2. Write to the slcr.MIO_PIN{22:27} registers for the receive signals.
Example: A value of 0x0000_1903 enables HSTL receiver, specifies HSTL I/O type, enables
internal pull-up, disables 3-state control and routes the receive data, clock, and control signals.
3. Write to slcr.MIO_PIN{52:53} registers for the management signals.
Example: A value of 0x0000_1280 enables the HSTL receiver, specifies HSTL I/O type, enables
internal pull-up, and routes the MDIO clock/data.
4. Write a value of 0x0000_0001 to the slcr.GPIOB register to enable the VREF internal
generator.
Similarly, replace SLCR.MIO_PIN{16:27} with SLCR.MIO_PIN{28:39} for Controller 1.
Note: The clock might have to be reprogrammed after auto-negotiation.