2 reset and initialization, 3 power-down modes, 4 address space – Cirrus Logic EP93xx User Manual

Page 304

Advertising
background image

9-2

DS785UM1

Copyright 2007 Cirrus Logic

1/10/100 Mbps Ethernet LAN Controller
EP93xx User’s Guide

9

9

9

The Descriptor Processor implements the Hardware Adapter Interface Algorithm and
generates transfer requests to the AHB Interface Controller. The back-end interfaces to the
MAC controllers and services MAC requests to run accesses to the FIFO and update queue
status. The Descriptor Processor also generates internal requests for descriptor fetches. A
priority arbiter arbitrates among the various requests and generates transfer requests to the
AHB Interface Controller. There are 6 queues that require service in system memory:

RxData: Write received frame data to host memory.

RxStatus: Write received frame status to host memory.

TxData: Read frame data from host memory.

TxStatus: Write transmitted frame status to host memory.

RxDescriptor: Read descriptors from host memory.

TxDescriptor: Read descriptors from host memory.

Each queue generates a hard request (for urgent service) and a soft request (not urgent, but
queue can run transfers). The priority assigned to the queues varies depending on the state
of the system, but hard requests are prioritized over soft requests, and AHB write requests
are prioritized over AHB read requests to allow faster back-to-back transfers.

9.1.1.2 Reset and Initialization

The Ethernet LAN Controller has three reset sources: the AHB reset, software reset from the
SelfCtl register, and individual channel resets via the BMCtl register. The PHY is reset with
the PHYRES function in compliance with the 802.3 specifications and has no effect on the
MAC layer and up.

AHB reset initializes the entire controller, except for the receive MAC. The receive MAC is
initialized by a SOFT_RESET. Upon AHB reset the AHB Interface and Descriptor Processor
is put into a quiescent state.

Software Reset generates a SOFT_RESET which resets the Descriptor Processor, FIFO,
and MAC. SOFT_RESET occurring in the middle of a frame transmission will result in the
transmitted frame being truncated on the line. SOFT_RESET occurring in the middle of a
received frame will result in the reset of the frame being dropped. The configuration registers
remain intact during a soft reset. A SOFT_RESET should be issued following a power-on to
ensure the receive MAC is fully initialized.

9.1.1.3 Power-down Modes

The only power-down option is to stop the TXCLK and RXCLK by disabling the PHY.

9.1.1.4 Address Space

The Address space is mapped as:

MACBase + 0x0000 - MACBase + 0x00FF: MAC setup registers.
MACBase + 0x0100 - MACBase + 0x011F: MAC configuration registers, only first 4 words
used.

Advertising