Port-Write Controller
MSC8144E Reference Manual, Rev. 3
Freescale Semiconductor
16-95
16.5.1
Port-Write Controller Initialization
There are many ways in which software can interact with the port-write controller. One method
to initialize the port-write controller is as follows:
1.
Initialize the port-write queue base address registers (IPWQBAR; see Table 16-131,
IPWQBAR Field Descriptions, on page 16-200).
2.
Clear the status register (IPWSR; see Table 16-130, IPWSR Field Descriptions, on
page 16-199).
3.
Set the port-write enable bit IPWMR[PWE] along with the interrupt enable) in the
inbound port-write mode register (IPWMR; see Table 16-129, IPWMR Field
Descriptions, on page 16-198).
16.5.2
Port-Write Controller Operation
There are several ways in which software can interact with the port-write controller. One method
is as follows:
1.
The port-write controller receives a port-write from the RapidIO port. If the inbound
port-write controller is enabled (IPWMR[PWE] =1) and the port-write queue is not full,
the port-write is accepted.
2.
The port-write controller stores 64 bytes of payload in local memory using the value of
the port-write queue base address registers (IPWQBAR). Valid payload sizes include 4,
8, 16, 24, 32, 40, 48, 56, or 64 bytes. Note that 64 bytes are always written to memory. If
the actual payload size is less than 64 bytes, the non payload data is undefined.
3.
If the queue full interrupt enable bit is set (IPWMR[QFIE]) after the memory write
completes, the port-write controller generates the error/port-write interrupt.
4.
An inbound error/port-write interrupt is generated to the local processor because a
port-write is received and this event is enabled to generate the interrupt
(IPWMR[QFIE]). Note that the RMU actually generates the Serial RapidIO
error/write-port output, which is combined with the error interrupt to generate the
error/port-write interrupt.
5.
Software reads the queue full bit (IPWSR[QFI]) and determines that the queue full event
caused the interrupt. Many events that can generate this interrupt. Software must read
several registers to determine that the interrupt is due to a port-write.
6.
Software processes the port-write queue entry to which the port-write base address
registers (IPWQBAR) are pointing.
7.
Software sets the clear queue bit (IPWMR[CQ]) to reenable the hardware to receive
another port-write.
8.
Software clears the queue full interrupt bit (IPWSR[QFI]) by setting IPWSR[QFI].
Summary of Contents for MSC8144E
Page 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Page 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Page 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Page 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Page 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Page 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Page 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Page 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Page 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Page 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...