Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MPC8540 Datasheet HTML 805Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 806Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 807Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 808Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 809Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 810Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 811Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 812Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 813Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 809 / 1302 page
background image
Functional Description
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
15-31
15.4.1.1.3 Basic Chaining Mode
In basic chaining mode, software must first build link descriptor segments in memory. Then the
current link descriptor address register must be initialized to point to the first descriptor in
memory. The DMA controller loads descriptors from memory prior to a DMA transfer. The DMA
controller begins the transfer according to the link descriptor information loaded for the segment.
After the current segment is finished, the DMA controller reads the next link descriptor from
memory and begins another DMA transfer. The transfer is finished if the current link descriptor is
the last one in memory or if an error condition occurs. The sequence of events to start and complete
a transfer in chaining mode is as follows:
1. Build link descriptor segments in memory. See Section 15.4.4, “DMA Descriptors,” for
more information on descriptors.
2. Poll the channel state (see Table 15-21), to confirm that the specific DMA channel is idle.
3. Initialize CLNDARn to point to the first link descriptor in memory.
4. Clear the mode register channel transfer mode bit, MRn[CTM], as well as MRn[XFE], to
indicate basic chaining mode. Other control parameters may also be initialized in the
mode register.
5. Clear, then set the mode register channel start bit, MRn[CS], to start the DMA transfer.
6. SRn[CB] is set by the DMA controller to indicate the DMA transfer is in progress.
7. SRn[CB] is automatically cleared by the DMA controller after finishing the transfer of the
last descriptor segment, or if the transfer is aborted (MRn[CA] transitions from a 0 to 1),
or if an error occurs during any of the transfers.
15.4.1.1.4 Basic Chaining Single-Write Start Mode
Basic chaining single-write start mode allows a chain to be started by writing the current link
descriptor address register (CLNDARn). Setting MRn[CDSM/SWSM] in the mode register causes
MRn[CS] to be automatically set when the current link descriptor address register is written. The
sequence of events to start and complete a chain using single-write start mode is as follows:
1. Set the mode register current descriptor start mode bit, MRn[CDSM/SWSM], and the
extended features enable bit MRn[XFE]. Also, clear the channel transfer mode bit,
MRn[CTM]. This initialization indicates basic chaining and single-write start mode. Also
other control parameters may be initialized in the mode register.
2. Build link descriptor segments in memory. See Section 15.4.4, “DMA Descriptors,” for
more information on descriptors.
3. Poll the channel state (see Table 15-21), to confirm that the specific DMA channel is idle.
4. Initialize CLNDARn to point to the first descriptor segment in memory. This write
automatically causes the DMA controller to begin the link descriptor fetch and set
MRn[CS].



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