6. Event Management > Event Management Overview
CPS-1848 User Manual
109
June 2, 2014
Formal Status
This document is confidential and is subject to an NDA.
Integrated Device Technology
6.1.2
Physical Layer Error Management Overview
The CPS-1848 can detect many types of physical layer errors. Physical layer errors are grouped into “Standard” physical layer
errors, which are defined by the RapidIO Interconnect Specification (Revision 2.1), Part 8 Error Management Specification,
and “Implementation Specific” errors, which are specific to IDT devices. These two types have slightly different programming
models, as displayed in
.
Standard physical layer errors are always indicated in the
. When enabled in the
, error information is captured for the events in the four error capture registers,
; enabled events are also counted. If the event counts exceed the threshold values
programmed in the
Port {0..17} Error Rate Threshold CSR
, additional events are detected and isolation can be triggered.
Events enabled in the
Port {0..17} Error Report Enable Register
can be reported to software using port-writes or interrupts, or
captured in the error log, depending on the configuration of the registers displayed in
.
Figure 20: Standard Physical Layer Error Management Programming Model Flow Chart
Port-writes and interrupts are disabled by default for individual Standard Physical Layer events.
Individual Standard Physical Layer Errors should not be enabled in the
Port {0..17} Error Report Enable
because these occur at a rate consistent with the bit error rate of the lanes associated with
each port, and therefore are part of the normal operation of the system.
PORT_n_ERR_RPT_EN
PORT: 0xP# * 0x40
BCST: 0x03FF04
PORT_n_OPS[PORT_INT_EN]
PORT: 0x P# * 0x100
BCST: 0xF4FF04
PORT_n_OPS[PORT_PW_EN]
PORT: 0x P# * 0x100
BCST: 0xF4FF04
PORT_n_OPS[PORT_LOG_EN]
PORT: 0x P# * 0x100
BCST: 0xF4FF04
Interrupt
Error Logging
PORT_n_ERR_RATE_EN_CSR
PORT: 0x P# * 0x40
BCST: 0xFFFF44
PORT_n_ERR_DET_CSR
PORT: 0x P# * 0x40
BCST: 0xFFFF40
PORT_n_CAPT_0_CSR
0x P# * 0x40
Error Detection
Error Capture
PORT_n_CAPT_1_CSR
0x P# * 0x40
PORT_n_CAPT_2_CSR
0x P# * 0x40
PORT_n_CAPT_3_CSR
0x P# * 0x40
PORT_n_ERR_RATE_CSR
0x P# * 0x40
PORT_n_ERR_RATE_THRESH_CSR
0x P# * 0x40
PORT_n_ATTR_CAPT_CSR[VALID] (!= 0)
0x P# * 0x40
Physical
Layer
Errors
Error Capture
Valid
Interrupts from other
Layers, Functions and Error Logging
> thresh
PORT_n_ERR_STAT_CSR
PORT: 0x P# * 0x20
Physical Layer
Implementation
Specific Errors
PORT_n_ERR_STAT_CSR
[PW_PNDG]
PORT: 0x P# * 0x20
Pending
Port Write