Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 738 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) 738 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 734Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 735Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 736Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 737Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 738Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 739Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 740Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 741Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 742Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 738 / 1302 page
background image
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
14-112
Freescale Semiconductor
Three-Speed Ethernet Controllers
After the registers are initialized, the user must execute the following steps in the order described
below to bring the TSEC into a functional state (out of reset):
1. For the transmission of Ethernet frames, TxBDs must first be built in memory, linked
together as a ring, and pointed to by the TBASE register. A minimum of two buffer
descriptors per ring is required. Setting the ring to a size of one causes the same frame to
be transmitted twice.
2. Likewise, for the reception of Ethernet frames, the receive queue must be ready, with its
RxBD pointed to by the RBASE register. Both transmit and receive can be gracefully
stopped after transmission and reception begins.
3. Write to MACCFG1 and set the appropriate bits. These need to include Rx_EN and
Tx_EN. To enable flow control, Rx_Flow and Tx_Flow must also be set.
4. Clearing DMACTRL[GTS] triggers the transmission of frame data if the transmitter had
been previously stopped. DMACTRL[GRS] must be cleared if the receiver had been
previously stopped. See Section 14.5.3.1.7, “DMA Control Register (DMACTRL),” and
Section 14.6.3.1, “Transmit Data Buffer Descriptor (TxBD),” for more information.
14.6.2.2 Soft Reset and Reconfiguring Procedure
Before issuing a soft reset to and/or reconfiguring the MAC with new parameters, user must
properly shutdown the DMA and make sure it is in an idle state for the entire duration. User must
gracefully stop the DMA by setting both GRS and GTS bits in the DMACTRL register, then wait
for both GRSC and GTSC bits to be set in the IEVENT register before resetting the MAC or
changing parameters. Both GRS and GTS bits must be cleared before re-enabling the MAC to
resume the DMA.
During the MAC configuration, if a new set of Tx buffer descriptors are used, the user must load
the pointers into the TBASE register. Likewise if a new set of Rx buffer descriptors are used, the
RBASE register must be written with the new pointer.
4. Set up the PHY using the MII Mgmt Interface
5. Configure the TBI control to TBI or GMII
6. Clear IEVENT
7. Initialize IMASK
8. Initialize IADDRn
9. Initialize GADDRn
10. Initialize RCTRL
11. Initialize DMACTRL
Table 14-113. Steps of Minimum Register Initialization (continued)
Description



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