Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 760 Page - Freescale Semiconductor, Inc

Part # MPC8540
Description  MPC8540 PowerQUICC III??Integrated Host Processor Reference Manual
PDF  1302 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8540 Datasheet(HTML) 760 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 756Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 757Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 758Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 759Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 760Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 761Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 762Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 763Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 764Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 760 / 1302 page
background image
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
14-134
Freescale Semiconductor
Three-Speed Ethernet Controllers
Perform an MII Mgmt write cycle to the external PHY.
Write to MII Mgmt Control with 16-bit data intended for the external PHY register,
MIIMCON[0000_0000_0000_0000_00uu_00uu_0u00_0000]
where u is user defined based on desired configuration.
Check to see if MII Mgmt write is complete
Read MII Mgmt Indicator register and check for Busy = 0,
MIIMIND ---> [0000_0000_0000_0000_0000_0000_0000_0000]
This indicates that the write cycle was completed.
If auto-negotiation was enabled in the PHY, check to see if PHY has completed Auto-Negotiation.
Set up the MII Mgmt for a read cycle to PHY MII Mgmt register (write the PHY address and Register address),
MIIMADD[0000_0000_0000_0000_0000_0000_0000_0001]
The PHY Status register is at address 0x1 and in this case the PHY Address is 0x00.
Perform an MII Mgmt read cycle of Status Register.
Clear MIIMCOM[Read Cycle].
Set MIIMCOM[Read Cycle].
(Uses the PHY address (0) and Register address (1) placed in MIIMADD register),
When MIIMIND[BUSY]=0,
read the MIIMSTAT register and check bit 10 (AN Done and Link is up)
MIIMSTAT ---> [0000_0000_0000_0000_0000_000_0010_0100]
Other information about the link is also returned.(Extend Status, No pre, Remote Fault, An Ability, Link status, extend
Ability)
Check auto-negotiation attributes in the PHY as necessary.
Clear IEVENT register,
IEVENT[0000_0000_0000_0000_0000_0000_0000_0000]
Initialize IMASK, (Optional)
IMASK[0000_0000_0000_0000_0000_0000_0000_0000]
Initialize IADDRn, (Optional)
IADDRn[0000_0000_0000_0000_0000_0000_0000_0000]
Initialize GADDRn, (Optional)
GADDRn[0000_0000_0000_0000_0000_0000_0000_0000]
Initialize RCTRL, (Optional)
RCTRL[0000_0000_0000_0000_0000_0000_0000_0000]
Initialize DMACTRL, (Optional)
DMACTRL[0000_0000_0000_0000_0000_0000_0000_0000]
Initialize FIFO_PAUSE_CTRL,
FIFO_PAUSE_CTRL[0000_0000_0000_0000_0000_0000_0000_0010]
Initialize (Empty) Transmit Descriptor ring and fill buffers with Data.
Initialize TBASE,
TBASE[LLLL_LLLL_LLLL_LLLL_LLLL_LLLL_LLLL_L000]
Initialize (Empty) Receive Descriptor ring and fill with empty buffers.
Initialize RBASE,
RBASE[LLLL_LLLL_LLLL_LLLL_LLLL_LLLL_LLLL_L000]
Enable Rx and Tx,
MACCFG1[0000_0000_0000_0000_0000_0000_0000_0101]
Table 14-124. MII Mode Register Initialization Steps (continued)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com