RapidIO Interface Basics
MSC8144E Reference Manual, Rev. 3
Freescale Semiconductor
16-23
16.2.6
Generating Link-Request/Reset-Device
In LP-Serial mode, the link partner cannot be reliably reset using the link-request/reset-device
control symbols because the input port receiver cannot be disabled independently of the output
port driver. The input port driver must be disabled to prevent non-idle control symbols from
being transmitted between the four link-request/reset-device control symbols. For example, if a
packet is received on the inbound side after one of the four link-request/reset-device control
symbols is sent outbound, the required sequence of four link-request/reset-device symbols is
interrupted with the packet acknowledgement (packet accept, packet retry, or packet not accept).
One method to reset the link partner is as follows.
1.
Disable packet reception and transmission by setting the Port Lockout bit (PL bit = 1 in
the Port n Control Command and Status Register).
2.
Wait the appropriate amount of time for all outstanding packets transmitted on the link
to be either retried, accepted or timed-out
3.
Discard all outbound packets (OBDEN = 1 in Port n Physical Configuration Register)
and clear all errors
4.
Disable the input port receiver (IPD bit = 1 in the Port n Control Command and Status
Register). This will allow the four consecutive link-request/reset-device control symbols
to be generated with only idle control symbols between the link-request/reset-device
control symbols.
5.
Generate four link-request/reset-device control symbol using the Port n Link
Maintenance Request register. Note that the link partner does not generate a
link-response control symbol for a link-request/reset-device control symbol.
6.
The link partner will expects the inbound and outbound Ack IDs to be 0 after being
reset. Set the inbound and outbound Ack IDs to 0 (IA and OBA) by writing 0s to these
fields in the Port n Local AckID Status Command and Status Register (PnLASCSR).
7.
After the link partner has completed initialization indicated by the PO bit of Port n Error
and Status Command and Status Register (PnESCSR), enable packets to be received and
transmitted by clearing the Port Lockout bit (PL) in the Port n Control Command and
Status Register (PnCCSR).
16.2.7
Outbound Drain Mode
The RapidIO port is placed into Drain mode when one of the following occurs:
PnPCR[OBDEN] is set.
he Failed Threshold has been encountered and the PnCCSR[SPF] and PnCCSR[DPE] are
both set
The packet time-to-live counter expires causing PnPCR[OBDEN] to be set
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 ...