DigitalDNA and Mfax are trademarks of Motorola, Inc.
The PowerPC name, the PowerPC logotype, and PowerPC 603e are trademarks of International Business Machines Corporation
used by Motorola under license from International Business Machines Corporation.
I2C is a registered trademark of Philips Semiconductors
This document contains information on a new product under development. Motorola reserves the right to change or discontinue this
product without notice. Information in this document is provided solely to enable system and software implementers to use PowerPC
microprocessors. There are no express or implied copyright licenses granted hereunder to design or fabricate PowerPC integrated
circuits or integrated circuits based on the information in this document.
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty,
representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability
arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation
consequential or incidental damages. ÒTypicalÓ parameters can and do vary in different applications. All operating parameters,
including ÒTypicalsÓ must be validated for each customer application by customerÕs technical experts. Motorola does not convey any
license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as
components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any
other application in which the failure of the Motorola product could create a situation where personal injury or death may occur.
Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and
hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and
expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such
unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the
part. Motorola and are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
Motorola Literature Distribution Centers:
USA/EUROPE:
JAPAN: Nippon Motorola Ltd SPD, Strategic Planning Office 4-32-1, Nishi-Gotanda Shinagawa-ku, Tokyo 141, Japan Tel.: 81-35487-8488
ASIA/PACIFC:
Tel.: 852-26629298
Mfaxª:
World Wide Web Address:
INTERNET:
Technical Information:
crc@wmkmail.sps.mot.com.
Document Comments:
World Wide Web Addresses:
Motorola Literature Distribution; P.O. Box 5405; Denver, Colorado 80217; Tel.: 1-800-441-2447 or 1-303-675-2140/
Motorola Semiconductors H.K. Ltd.; 8B Tai Ping Industrial Park, 51 Ting Kok Road, Tai Po, N.T., Hong Kong;
RMFAX0@email.sps.mot.com; TOUCHTONE 1-602-244-6609; US & Canada ONLY (800) 774-1848;
http://sps.motorola.com/mfax
http://motorola.com/sps
Motorola Inc. SPS Customer Support Center 1-800-521-6274; electronic mail address:
6-27 User Initialization (before Setting ECNTRL[ETHER_EN])............................ 6-23
6-27 User Initialization (after Setting ECNTRL[ETHER_EN])............................... 6-24
Title
Page
Number
MOTOROLA
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
Tables
ix
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
TABLES
Tabl e
Number
6-27 Receive Buffer Descriptor (RxBD) Field Description...................................... 6-25
6-29 Transmit Buffer Descriptor (TxBD) Field Descriptions................................... 6-26
7-1 MII Receive Signal Timing ................................................................................ 7-2
7-2 MII Transmit Signal Timing............................................................................... 7-2
7-3 MII Async Inputs Signal Timing ........................................................................ 7-3
7-4 MII Serial Management Channel Timing ........................................................... 7-4
Title
Page
Number
x
MPC860T (Rev. D) Fast Ethernet Controller Supplement
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
MOTOROLA
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Chapter 1
Overview
10
10
This chapter provides an overview of Rev. D of the MPC860T, focussing primarily on the
Fast Ethernet controller (FEC). It provides a discussion of its basic features and a general
look at how the MPC860T can be implemented. This document is provided as a supplement
to the
MPC860 PowerQUICC UserÕs Manual.
Note
This supplement documents Rev D silicon of the MPC860T,
which includes enhancements made to the original MPC860T.
New functionality and changes are shown with change bars and
was made available with Rev D MPC860T at 3Q99. This
document does not replace the supplement that describes the
Rev B.x silicon.
1.1 Document Revision History
Table 1-1 lists signiÞcant changes between revisions of this document.
Table 1-1. Document Revision History
Document RevisionSubstantive Changes
Rev 0.8Changed the port D pin function multiplexing control bit Þeld name in the ECNTRL register from
ÔV860TÕ to ÔFEC_PINMUXÕ. See Section Chapter 2, ÒFEC External Signals,Ó and Section 6.2.8,
ÒEthernet Control Register (ECNTRL).Ó
1.2 Overview
The MPC860T is an enhancement to the MPC8xx family with its incorporation of a Fast
Ethernet communication controller. The 10/100 Fast Ethernet controller with integrated
FIFOs and bursting DMA is implemented independently, so high-performance Fast
Ethernet connectivity can be achieved without affecting the CPM performance.
Like the other MPC860 devices, the MPC860T can be used in a variety of controller
applications, excelling particularly in communications and networking products such as
routers that provide WAN-to-LAN functionality. The MPC860T, with the addition of the
10/100Mbps Ethernet channel, adds Fast Ethernet to the already broad list of
communications support.
MOTOROLA
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
Chapter 1. Overview
1-1
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
The MPC860T integrates three separate processing blocks. The Þrst two, common with all
MPC860 devices, are as follows:
¥A high-performance PowerPCª core that can be used as a general purpose
processor for application programming
¥A RISC engine embedded in the communications processor module (CPM)
designed to provide the communications protocol processing provided by the
MPC860MH.
¥A 10/100 Fast Ethernet controller with integrated FIFOs and bursting DMA.
Because the FEC block is implemented independently, the MPC860T provides
high-performance Fast Ethernet connectivity without affecting the performance of
the CPM. All of the performance and functionality of the MPC860MH is fully
supported, including Ethernet.
Additionally, as the CPM of the MPC860T is based on the CPM of the MPC860MH,
support for the QMC protocol is also provided. This enables the MPC860T to provide
protocol processing (HDLC or transparent mode) for 64 time-division multiplexed
channels at 50 MHz. This support for multichannel protocol processing and 10/100
Ethernet in one chip makes the MPC860T ideal for products such as high-performance,
low-cost remote access routers.
Note that for existing parts, adding FEC functionality affects port D signal multiplexing.
1.3 Comparison with the MPC860
The MPC860T is pin compatible with the MPC860, so it may be used in similar
applications with minimal modiÞcation. The electrical characteristics and mechanical data
are nearly identical, with the exception of port D and the four no connect pins on the
MPC860, which make up the media independent interface (MII). Most of the MII pins are
multiplexed with the port D pins.
1.4 Features
The following sections summarize key FEC features.
¥10/100 base-T support
Ñ Full compliance with the IEEE 802.3u standard for 10/100 base-T
Ñ Support for three different physical interfaces: 100-Mbps 802.3
media-independent interface (MII), 10-Mbps 802.3 MII, and 10-Mbps 7-wire
interface
Ñ Large on-chip transmit and receive FIFOs to support a variety of bus latencies
Ñ Retransmission from the transmit FIFO after a collision
1-2
Ñ Automatic internal ßushing of the receive FIFO for runts and collisions
Ñ External BD tables of user-deÞnable size allow nearly unlimited ßexibility in
MPC860T (Rev. D) Fast Ethernet Controller Supplement
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
MOTOROLA
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
management of transmit and receive buffer memory
¥10/100 base-T media access control (MAC) features
Ñ Address recognition for broadcast, single station address, promiscuous mode,
and multicast hashing
Ñ Full support of media-independent interface (MII)
Ñ Interrupts supported per frame or per buffer (selectable buffer interrupt
functionality using the I bit is not supported however.)
Ñ Automatic interrupt vector generation for receive and transmit events (Tx
interrupts, Rx interrupts, and non-time critical interrupts)
Ñ Ethernet channel uses DMA burst transactions to transfer data to and from
external memory
1.4.1 MPC860TBlock Diagram
The FEC, the embedded PowerPC core, the system interface unit (SIU), and the
communication processor module (CPM) all use the 32-bit internal bus in an
MPC860Timplementation. Figure 1-1 is a block diagram of the MPC860T. For
information on the other modules, refer to the
MPC860T UserÕs Manual
.
MOTOROLA
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
Chapter 1. Overview
1-3
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Instruction
Bus
Embedded
PowerPC
Processor
Core
Fast
Ethernet
Controller
DMAs
FIFOs
Load/Store
Bus
Parallel Interface Port
4-KByte
Instruction Cache
Instruction MMU
4-KByte
Data Cache
Data MMU
Parallel I/O
Baud Rate
Generators
and UTOPIA
4 Timers
32-Bit RISC Controller
Timers
Unified
Bus
Interrupt
Controllers
and Program
ROM
System Interface Unit (SIU)
Memory Controller
Internal
Bus Interface
Unit
System Functions
PCMCIA-ATA Interface
Dual-Port RAM
MAC
External
Bus Interface
Unit
Real-Time Clock
Serial
and
DMA
Channels
10/100
Base-T
Media Access
Control
MII
SCC1SCC2SCC3SCC4SMC1SMC2
Time Slot Assigner
Time Slot Assigner
I2CSPI
I2CSPI
Serial Interface
Serial Interface
Figure 1-1. MPC860T Block Diagram
The FEC complies with the IEEE 802.3 speciÞcation for 10- and 100-Mbps connectivity.
Full-duplex 100-Mbps operation is supported at system clock rates of 40 MHz and higher.
A 25-MHz system clock supports 10-Mbps operation or half-duplex 100-Mbps operation.
The implementation of bursting DMA reduces bus usage. Independent DMA channels for
accessing BDs and transmit and receive data minimize latency and FIFO depth
requirements.
Transmit and receive FIFOs further reduce bus usage by localizing all collisions to the FEC.
Transmit FIFOs maintain a full collision window of transmit frame data, eliminating the
need for repeated DMA over the system bus when collisions occur. On the receive side, a
full collision window of data is received before any receive data is transferred into system
memory, allowing the FIFO to be ßushed in the event of a runt or collided frame, with no
DMA activity. However, external memory for buffers and BDs is required; on-chip FIFOs
are designed only to compensate for collisions and for system bus latency.
Independent TxBD and RxBD rings in external memory allow nearly unlimited ßexibility
1-4
MPC860T (Rev. D) Fast Ethernet Controller Supplement
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
MOTOROLA
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
in memory management of transmit and receive data frames. External memory (DRAM) is
inexpensive, and because BD rings in external memory have no inherent size limitations,
memory management easily can be optimized to system needs.
1.4.2 SIU Interrupt ConÞguration
As shown in Figure 1-2, the SIU receives interrupts from internal sources, such as the FEC
and other modules and external pins, IRQ
[0Ð7].
System Interface Unit
IRQ[0Ð7]
Edge
Detector
Selector
DEC
SWT
Level 7
IRQ
NMI
GEN
0
NMI
DEC
TB
PIT
RTC
PCMCIA
CPM Interrupt
Controller
FEC
Level 6
Level 5
Level 4
Level 3
Level 2
Level 1
Level 0
PowerPC
IREQ
Interrupt Controller
Core
Debug
Debug
Figure 1-2. MPC860T Interrupt Structure
Note that MII_TXCLK is shared with IRQ7 and becomes active as soon as the ETHER_EN
bit in the Ethernet control register (ECNTRL) is set. IRQ7 must be masked in the system
interface unit (SIU).
1.5 Glueless System Design
A fundamental design goal of the MPC8xx family was ease of interface to other system
components. Examples of system design are located in the MPC860T userÕs manual.
MOTOROLA
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
Chapter 1. Overview
1-5
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Figure 1-3 shows the glueless connection of the serial channels to physical layer framers
and transceivers.
MPC8xx
100Base-T
Transceiver
10Base-T
Transceiver
T1 FramerTDM
“7-wire” interface
MII
FEC
SCC1 (Ethernet)
SCC2 (QMC)
SCC3 (QMC)
RS-232
Transceiver
SCC4 (UART)
Figure 1-3. MPC860T Serial Configuration
1-6
MPC860T (Rev. D) Fast Ethernet Controller Supplement
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
MOTOROLA
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Chapter 2
FEC External Signals
20
20
This chapter contains brief descriptions of the MPC860T FEC input and output signals in
their functional groups.
2.1 Signal Descriptions
The MPC860T system bus signals consist of all the lines that interface with the external
bus. Many of these lines perform different functions, depending on how the user assigns
them. The input and output signals, shown in Table 2-1, are identiÞed by their abbreviated
names.
Name
IRQ7
MII_TX_CLK
PD[15]
L1TSYNCA
MII_RXD[3]
PD[14]
L1RSYNCA
MII_RXD[2]
PD[13]
L1TSYNCB
MII_RXD[1]
Table 2-1. FEC Signal Descriptions
Pin
Number
W15Interrupt request 7ÑThis input is one of the eight external lines that can request (by means
of the internal Interrupt Controller) a service routine from the core. See description of
MII_TXCLK for information about masking IRQ7
MII transmit clockÑInput clock that provides the timing reference for TX_EN, TXD, and
TX_ER. Note that MII_TXCLK becomes active as soon as the ETHER_EN bit in the Ethernet
control register (ECNTRL) is set. IRQ7
U17General-purpose I/O port D bit 15ÑThis is bit 15 of the general-purpose I/O port D.
Transmit data sync signal for TDM channel A
MII receive data 3ÑInput signal RXD[3] represents bit 3 of the nibble of data to be
transferred from the PHY to the MAC when RX_DV is asserted.
V19General-purpose I/O port D bit 14ÑThis is bit 14 of the general-purpose I/O port D.
Input receive data sync signal to the TDM channel A
MII receive data 2ÑInput signal RXD[2] represents bit 2 of the nibble of data to be
transferred from the PHY to the MAC when RX_DV is asserted.
V18General-purpose I/O port D bit 13ÑThis is bit 13 of the general-purpose I/O port D.
Transmit data sync signal for TDM channel B
MII receive data 1ÑInput signal RXD[1] represents bit 1 of the nibble of data to be
transferred from the PHY to the MAC when RX_DV is asserted.
Description
.
must be masked in the system interface unit (SIU).
MOTOROLA
Chapter 2. FEC External Signals
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
2-1
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table 2-1. FEC Signal Descriptions (Continued)
Name
PD[12]
L1RSYNCB
MII_MDC
PD[11]
RXD3
MII_TX_ER
PD[10]
TXD3
MII_RXD[0]
PD[9]
RXD4
MII_TXD[0]
PD[8]
TXD4
MII_RX_CLK
PD[7]
RTS3
MII_RX_ER
PD[6]
RTS4
MII_RX_DV
Pin
Number
R16General-purpose I/O port D bit 12ÑThis is bit 12 of the general-purpose I/O port D.
L1RSYNCBÑInput receive data sync signal to the TDM channel B.
MII management data clockÑOutput clock provides a timing reference to the PHY for data
transfers on the MDIO signal.
T16General-purpose I/O port D bit 11ÑThis is bit 11 of the general-purpose I/O port D.
RXD3ÑReceive data for serial channel 3.
MII transmit errorÑOutput signal when asserted for one or more clock cycles while TX_EN is
asserted shall cause the PHY to transmit one or more illegal symbols. Asserting TX_ER has
no effect when operating at 10 Mbps or when TX_EN is negated.
W18General-purpose I/O port D bit 10ÑThis is bit 10 of the general-purpose I/O port D.
TXD3ÑTransmit data for serial channel 3.
MII receive data 0ÑInput signal RXD[0] represents bit 0 of the nibble of data to be
transferred from the PHY to the MAC when RX_DV is asserted. In 10 Mbps serial mode,
RXD[0] is used and RXD[1Ð3] are ignored.
V17General-purpose I/O port D bit 9ÑThis is bit 9 of the general-purpose I/O port D.
RXD4ÑReceive data for serial channel 4.
MII transmit data 0ÑOutput signal TXD[0] represents bit 0 of the nibble of data when TX_EN
is asserted and has no meaning when TX_EN is negated. In 10Mbps serial mode, TXD[0] is
used and TXD[1Ð3] are ignored.
W17General-purpose I/O port D bit 8ÑThis is bit 8 of the general-purpose I/O port D.
TXD4ÑTransmit data for serial channel 4.
MII receive clockÑInput clock which provides a timing reference for RX_DV, RXD, and
RX_ER.
T15General-purpose I/O port D bit 7ÑThis is bit 7 of the general-purpose I/O port D.
RTS3ÑActive-low request to send output indicates that SCC3 is ready to transmit data.
MII receive errorÑWhen Input signal RX_ER and RX_DV are asserted, the PHY has
detected an error in the current frame. When RX_DV is not asserted, RX_ER has no effect.
V16General-purpose I/O port D bit 6ÑThis is bit 6 of the general-purpose I/O port D.
RTS4ÑActive low request to send output indicates that SCC4 is ready to transmit data.
MII receive data validÑWhen input signal RX_DV is asserted, the PHY is indicating that a
valid nibble is present on the MII. This signal shall remain asserted from the Þrst recovered
nibble of the frame through the last nibble. Assertion of RX_DV must start no later than the
SFD and exclude any EOF.
Description
PD[5]
REJECT2
MII_TXD[3]
2-2
U15General-purpose I/O port D bit 5ÑThis is bit 5 of the general-purpose I/O port D.
Reject 2ÑThis input to SCC2 allows a CAM to reject the current Ethernet frame after it
determines the frame address did not match.
MII transmit data 3ÑOutput signal TXD[3] represents bit 3 of the nibble of data when TX_EN
is asserted and has no meaning when TX_EN is negated.
MPC860T (Rev. D) Fast Ethernet Controller Supplement
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
MOTOROLA
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table 2-1. FEC Signal Descriptions (Continued)
Name
PD[4]
REJECT3
MII_TXD[2]
PD[3]
REJECT4
MII_TXD[1]
MII_TX_ENV15MII transmit enableÑOutput signal TX_EN indicates when there are valid nibbles being
MII_CRSB7MII carrier receive senseÑWhen input signal CRS is asserted the transmit or receive
MII_COLH4MII collisionÑInput signal COL is asserted upon detection of a collision, and will remain
MII_MDIOH18MII management dataÑBidirectional signal, MDIO transfers control information between the
Pin
Number
U16General-purpose I/O port D bit 4ÑThis is bit 4 of the general-purpose I/O port D.
Reject 3ÑThis input to SCC3 allows a CAM to reject the current Ethernet frame after it
determines the frame address did not match.
MII transmit data 2ÑOutput signal TXD[2] represents bit 2 of the nibble of data when TX_EN
is asserted and has no meaning when TX_EN is negated.
W16General-purpose I/O port D bit 3ÑThis is bit 3 of the general-purpose I/O port D.
Reject 4ÑThis input to SCC4 allows a CAM to reject the current Ethernet frame after it
determines the frame address did not match.
MII transmit data 1ÑOutput signal TXD[1] represents bit 1 of the nibble of data when TX_EN
is asserted and has no meaning when TX_EN is negated.
presented on the MII. This signal is asserted with the Þrst nibble of preamble and is negated
prior to the Þrst TX_CLK following the Þnal nibble of the frame.
Note the following:
W
For 860T rev D.1, a 10-k
three-stated following reset until ECNTRL[FEC_PINMUX] is set.
For 860T rev D.2 and later, MII_TX_EN is a dedicated output and no pull-down resister is
required.
For 860T rev E.x (planned), MII_TX_EN resets to three-state with a weak internal
pull-down to ensure compatibility with 860 applications that may have tied SPARE3 (V15)
to VCC or GND. This pin will be 3-V only and must not be pulled up to +5 V.
medium is not idle. In the event of a collision, CRS will remain asserted through the duration
of the collision.
asserted while the collision persists. The behavior of this signal is not speciÞed for full-duplex
mode.
PHY and MAC. Transitions synchronously to MDC.
pull-down resistor must be used with MII_TX_EN, which is
Description
MOTOROLA
Chapter 2. FEC External Signals
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
2-3
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
2-4
MPC860T (Rev. D) Fast Ethernet Controller Supplement
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
MOTOROLA
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Chapter 3
Fast Ethernet Controller Operation
30
30
This chapter discusses the operation of the FEC.
3.1 Transceiver Connection
The FEC supports both an MII interface for 10/100 Mbps Ethernet and a seven-wire serial
interface for 10-Mbps Ethernet. The interface mode is selected by
R_CNTRL[MII_MODE], described in Section 6.2.20, ÒReceive Control Register
(R_CNTRL).Ó Table 3-1 shows the 18 MII interface signals that are deÞned by the 802.3
standard.
Table 3-1. MII Signals
Signal DescriptionFEC Signal Name
Transmit clockTX_CLK
Transmit enableTX_EN
Transmit dataTXD[3:0]
Transmit errorTX_ER
CollisionCOL
Carrier senseCRS
Receive clockRX_CLK
Receive enableRX_DV
Receive dataRXD[3:0]
Receive errorRX_ER
Management channel clockMDC
Management channel serial dataMDIO
Serial-mode connections to the external transceiver are shown in Table 3-2.
MOTOROLA
Chapter 3. Fast Ethernet Controller Operation
PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE
3-1
Loading...
+ 47 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.