Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MPC8540 Datasheet HTML 1035Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1036Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1037Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1038Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1039Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1040Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1041Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1042Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 1043Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 1039 / 1302 page
background image
RapidIO Message Unit
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
17-115
Software must guarantee that descriptors are not added to an already full queue. This can be
accomplished in one of two ways:
•
When OMR[QFIE] is set, hardware tracks queue fullness in normal chaining mode and
reports an interrupt if the queue becomes full. After the interrupt bit is set, it is the
responsibility of the software to clear the interrupt condition by setting OSR[QFI]. QFI is
not cleared with the write if the queue is still full. When QFI is cleared, the queue is no
longer full and a descriptor may be added to the queue.
•
When OMR[QFIE] is cleared or if operating in list chaining mode, OSR[QFI] is not set by
hardware on a queue full condition, and it is the responsibility of the software to calculate
queue fullness before adding a new descriptor. Software can detect queue fullness by
comparing the enqueue (ODQEPAR) and the dequeue pointer (ODQDPAR) and
monitoring the queue busy bit (OSR[MUB]). The queue is full if the enqueue and dequeue
pointers are equal and the queue busy bit is set.
The following process adds a descriptor to the circular memory queue in normal mode:
•
Ensure that the circular queue is not full by using either of the above methods.
•
Write the descriptor to be enqueued to the 32 bytes pointed to by the enqueue pointer
(ODQEPAR).
•
Write OMR[MUI] = 1 keeping the same values of all the other bits in the OMR.
•
A new descriptor may be added by incrementing the enqueue pointer if the queue is not full.
17.8.4.2.3 Switching Between Direct and Chaining Modes
The message unit architecture allows switching from direct mode to chaining mode and vice-versa
after all the required parameters have been initialized in the appropriate registers and when the
message unit is not busy with a current transfer as indicated by OSR[MUB] being cleared. When
switching from direct mode to chaining mode, if OMR[MUS] is cleared and then set, the message
unit is re-initialized to chaining mode and the outbound descriptor queue dequeue pointer address
is saved as the new base address of the circular queue in memory. If this is not desired,
OMR[MUS] should stay set when switching from direct mode to chaining mode. When the
enqueue and dequeue pointers are not equal, the message unit begins the new descriptor fetch
while retaining the same circular queue parameters as the previous chaining mode transfer. When
switching from chaining mode to direct mode, OMR[MUS] must be cleared and then set. This has
no effect on the circular queue parameters thereby saving the queue state for the next chaining
mode transfer.
17.8.4.2.4 Descriptor Format
Message descriptors contain information for the message unit controller to transfer data. Software
must ensure that each descriptor is aligned on a 32-byte boundary. For each descriptor in the



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