Freescale Semiconductor TWR-MCF52259-Ethenet User manual

Type
User manual

This manual is also suitable for

TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
TWR-MCF52259-Ethenet
Hareesh S
Sr.FAE
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
1
Ethernet Overview Session
Ethernet Router
Ethernet Switch
Ethernet NIC
Ethernet Connector
Ethernet Cables
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
2
Ethernet Overview Session
What is Ethernet?
It’s a cable I connect to my computer to surf the net
It’s how I do emails
My home router uses it to let all my computers talk
Why do we care about Ethernet?
Work is telling me I need it for my embedded product
It will let me remotely access my embedded product
Seems to be a cool way to have fast downloads
How will I use Ethernet?
Just in factory application (i.e. local only)
Connected to WLAN (i.e. publicly accessible)
Through VPN only (i.e. secure tunnel)
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
3
Ethernet
Ethernet defines the mechanical/electrical connection between
devices (the physical layer).
Ethernet also defines a protocol used to communicate between
multiple devices (the MAC layer).
Ethernet is defined by the IEEE 802.3 standard
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
4
Generic ColdFire
®
Board Layout of Ethernet
RJ45
RJ45
ColdFire
ColdFire
®
®
Network
Network
Magnetics
Magnetics
On-Chip
Ethernet
Cable
Jack
Isolation
And
optional PoE
MAC-Media Access Controller
PHY-Physical Layer
Line Voltage Levels
+2.8V or -2.8VDC
RJ45
RJ45
PHY
PHY
MII – Media Independent Interface
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
5
M52233DEMO Board Layout of Ethernet
RJ45
RJ45
MCF5223x
MCF5223x
Network
Network
Magnetics
Magnetics
On-Chip
Ethernet
w/ PHY
Cable
Jack
Isolation
And
optional PoE
MAC-Media Access Controller
PHY-Physical Layer
Line Voltage Levels
+2.8V or -2.8VDC
RJ45
RJ45
PHY
PHY
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
6
Ethernet Overview Physical Session
Connectors
RJ-45
Cables
CAT-5
24 AWG solid
bare copper
Four unbounded
twisted pairs
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
7
Ethernet Cable: Straight Through Pinout
The following table demonstrates the proper color scheme.
White/Brown
Brown
Wire pair #4:
White/Green
Green
Wire pair #3:
White/Orange
Orange
Wire pair #2:
White/Blue
Blue
Wire pair #1:
Source: http://www.netspec.com/helpdesk/wiredoc.html
8--8
7--7
6<---RX-6
5--5
4--4
3<---RX+3
2--->TX-2
1--->TX+1
RJ-45
Pin
Directi
on
Sign
al
RJ-45
Pin
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
8
Ethernet Cable: Crossover Pinout
The following is the proper pin out and cable pair/color order for the "crossover" end.
orangePin 6 wire color:
white/orangePin 3 wire color:
Pair#3 is connected to pins 3 and 6 like this:
greenPin 2 wire color:
white/green Pin 1 wire color:
Pair#2 is connected to pins 1 and 2 like this:
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
9
* Distance Signal Travels at 100 Mbits?
Name Transmission Medium Data Rate
(Mb/s)
Distance
(m)
100BASE-TX
2 pairs of Category UTP-5,
alternative 2 pairs of STP, 150
Impedance, Cable Code MLT-3,
Full Duplex
100 100
100BASE-FX
2 Multimode Optical Fiber (62.5/125
µm), Cable Code 4B5B, NRZI, Full
Duplex
100 2,000
100BASE-T4
4 pairs of Category 3 UTP-(3/4/5) or
better, 100 Impedance, Cable
Code 8B6T, No Full Duplex
100 100
100BASE-T2
2 pairs of Category 3 UTP-(3/4/5) or
better, Cable Code PAM5, Full
Duplex
100 100
S
u
p
p
o
r
t
e
d
b
y
M
CF
5
2
2
3
x
Requires using external PHY
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
10
Full DuplexHalf Duplex
Full duplex operation means that devices at each end of a full duplex
link can send and receive data simultaneously.
This means, theoretically, that Full Duplex has twice the bandwidth of
normal (half duplex) Ethernet.
Since there are only two devices on a full duplex link, there is no shared
channel and no collisions.
DTE
R
DTE
DTE
DTE
S
DTE
DTE
CSMA/CD protocol
prevents this
Full Duplex Ethernet Links
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
11
Basic Ethernet Network
Hub
= Multiport
repeater
physically
star
topology
(common
transport
medium
CSMA/CD!)
Logically
bus
topology
Outputs all
incoming
signals on
all outputs
Switch
= Switching
Hub, LAN
Switch
Real star
topology
Physical
connection
only for the
duration of the
communication
Ethernet
Router/Gateway
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
12
Basic Ethernet Bus
Co-axial based Ethernet connection daisy chain connection
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
13
Collisions
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
14
HUB
Centralized connection
Can bypass not connected
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
15
Switch
The switch reads the destination addresses and 'switches' the signals
directly to the recipients without broadcasting to all of the machines on
the network.
This 'point to point' switching alleviates the problems associated with
collisions and considerably improves network speed.
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
16
Ethernet Router/Gateway
A Router or Gateway is used to translate one protocol to
another.
It is also used when the physical layer changes mediums.
Ethernet to fiber
At one time there was a difference between a router and a
gateway.
The gateway was strictly used as a medium translator (
electrical ) and the router was strictly used as protocol
translator ( software ).
Now routers and gateways are normally combined and
called a routers.
Note: Ethernet to WiFi is a router functionality.
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
17
The MII links the Ethernet MAC with
the PHY.
An MII may support both 10-Mb/s and
100-Mb/s operation, allowing network
devices to connect to both 10BASE-T
and 100BASE-T media segments.
The MII electronics may be linked to
an outboard transceiver through a
40-pin MII connector and a short
(0.5m) MII cable.
The MII is internally connected to the
EPHY on the MCF5223x
Media Access
Controller
(MAC)
TX_ERn
RXDn_<3:0>
Typical MII Interface
PHY
with
MII
Magnetics/Fiber Transceiver
TXDn_<3:0>
TX_ENn
RXDVn
RX_ERn
RX_CLKn
TX_CLKn
CRSn
COLn
*Media Independent Interface (MII)
4-bit wide Tx and Rx data @2.5MHz or 25MHz
TTL signal levels
Full duplex
Media status signals:
Carrier Presence & Collision
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
18
Auto-Negotiation is the exchange of information about each stations
abilities over a link segment allows the stations to achieve the best
possible mode of operation.
The highest performance mode of operation that Auto-Negotiation can
achieve is based on a priority table.
The Auto-Negotiation protocol contains a set of priorities which result
in the devices selecting their highest common set of abilities.
If the devices at both ends of the link can support full duplex
operation, and if they also both support Auto-Negotiation of this
capability, then they will automatically configure for full duplex.
The priorities are listed in the table below...
Auto-Negotiation priority Resolution Table
A 100 Base-TX Full Duplex
B 100 Base-T4
C 100 Base-TX
D 10 Base-T Full Duplex
E 10 Base-T Half Duplex
Full duplex is given a
higher priority than
half duplex, since it
can send more data.
*Autonegotiation
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006.
19
The Ethernet Data Packet Format
Preamble
Destination
Address
Source
Address
Frame
Type
Frame
User Data
FCS
Checksum
8 Byte 6 Byte 6 Byte 2 Byte 46 – 1500 Byte 4 Byte 64-1518
Ethernet Data Frame – old/original format used
Preamble
Destination
Address
Source
Address
Length
Type
Frame
User Data
FCS
Checksum
7 Byte 1 Byte 2/6 Byte 2/6 Byte 2 Byte 46 – 1500 Byte 4 Byte
IEEE 802.3 Data Frame
SOF
DSAP SSAP Control Data
1 Byte 1 Byte ½ Byte
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166

Freescale Semiconductor TWR-MCF52259-Ethenet User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI