RapidIO Message Unit
MSC8144E Reference Manual, Rev. 3
Freescale Semiconductor
16-63
operation stops after all message segments complete. If OMxMR[EIE] is set, the
interrupt Serial RapidIO error/write-port is generated.
16.
If an internal error occurs while local memory is read, the transaction error bit is set
(OMxSR[TE]) and outbound message controller operation stops after all message
segments complete. If OMxMR[EIE] is set, the interrupt Serial RapidIO error/write-port
is generated.
This process continues until the descriptor queue is empty (dequeue pointer equals the
enqueue pointer).
17.
The message unit clears OMxSR[MUB] after it processes the last descriptor or a
transaction error occurs.
18.
If an error occurs, the message unit must be disabled, reinitialized, and reenabled before
another message can be sent.
16.3.2.5.1 Changing Descriptor Queues in Chaining Mode
When software switches to another descriptor queue in local memory, it must wait for the
processing of the current queue to complete, as indicated by the busy bit (OMxSR[MUB]).
Software then disables the message controller by clearing OMxMR[MUS], changes the enqueue
and dequeue descriptor pointers (OMxDQEPAR and OMxDQDPAR), and reenables the message
unit by setting OMxMR[MUS].
16.3.2.5.2 Preventing Queue Overflow in Chaining Mode
Software must guarantee that descriptors are not added to an already full queue. When the
increment bit is used (OMxMR[MUI]), software can poll the queue full bit (OMxSR[QF]) before
enqueueing another descriptor. When software sets the enqueue pointer directly, software is
responsible for not overflowing the descriptor queue.
16.3.2.5.3 Switching Between Direct and Chaining Modes
The message unit architecture allows switching from Direct mode to Chaining mode and vice
versa after all required parameters are initialized in the appropriate registers and the message unit
is not busy, as indicated by clearing of the OMxSR[MUB]. If OMxMR[MUS] is cleared and then
set during a switch from Direct mode to Chaining mode, the message unit is reinitialized in
Chaining mode and the outbound message descriptor dequeue pointer address is saved as the new
base address of the circular queue in memory. During a switch from Chaining mode to Direct
mode, OMxMR[MUS] must also be cleared and set.
16.3.2.5.4 Chaining Mode Descriptor Format
The descriptor contains information the message unit controller needs to transfer data. Software
must ensure that each descriptor is aligned on a 32-byte boundary and that the descriptor queue is
on a queue boundary, that is, on a boundary equal to the number of queue entries
×
32 byte (the
size of each queue descriptor). For each descriptor in the queue, the message unit controller starts
Содержание MSC8144E
Страница 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Страница 40: ...MSC8144E Reference Manual Rev 3 xl Freescale Semiconductor Contents 26 5 12 8 RNG Output FIFO 26 186 ...
Страница 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Страница 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Страница 167: ...OCE Event and JTAG Test Access Port Signals MSC8144E Reference Manual Rev 3 Freescale Semiconductor 3 59 ...
Страница 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Страница 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Страница 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Страница 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Страница 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Страница 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Страница 884: ...MSC8144E Reference Manual Rev 3 17 44 Freescale Semiconductor RapidIO Interface Dedicated DMA Controller ...
Страница 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...