Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MPC8540 Datasheet HTML 1187Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1188Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1189Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1190Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1191Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1192Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1193Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1194Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1195Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 1191 / 1302 page
background image
Functional Description
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
21-51
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 was
previously stopped. See Section 21.5.3.1.6, “DMA Control Register (DMACTRL),” and
Section 21.6.3.1, “Transmit Data Buffer Descriptor (TxBD).”
21.6.2.2 Soft Reset and Reconfiguring Procedure
Before issuing a soft-reset to and/or reconfiguring the MAC with new parameters, the user must
properly shutdown the DMA and make sure it is in an idle state for the entire duration. The 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.
Following is a procedure to gracefully reset and reconfigure the MAC:
1. Set GTS bit in DMACTRL register.
2. Poll GTSC bit in IEVENT register until detected as set.
3. Clear both Rx_EN and Tx_EN bits in MACCFG1.
4. Wait for a period of 9.6 Kbytes worth of data on the interface (~8ms worst case).
5. Set GRS bit in DMACTRL register.
6. Poll GRSC bit in IEVENT register until detected as set.
7. Set Soft_Reset bit in MACCFG1 register.
8. Clear Soft_Reset bit in MACCFG1 register.
9. Load TBASE with new TxBD pointer.
10. Load RBASE with new RxBD pointer.
11. Set up other MAC registers (MACCFG2, MAXFRM, and so on).
12. Set WWR and WOP bits in DMACTRL register.
13. Clear THLT bit in TSTAT register and QHLT bit in RSTAT register by writing 1 to these
bits.
14. Clear GRS/GTS bits in DMACTRL. (Do not change other bits.)
15. Enable Tx_EN/Rx_EN in MACCFG1 register.



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