6. Event Management > Event Notification
CPS-1848 User Manual
137
June 2, 2014
Formal Status
This document is confidential and is subject to an NDA.
Integrated Device Technology
6.3
Event Notification
The CPS-1848 supports two forms of event notification: RapidIO port-write packets, and interrupts. Port-writes are further
described in
Port-Write Formats, Programming Model, and Generation
, and interrupts are discussed in
.
When Logical/Transport layer events, I2C events, JTAG events (Revision A/B only), or configuration events are detected, the
notification function is triggered immediately.
A low rate of RapidIO physical layer events is expected on any RapidIO link, as stated in
. Event notification
can be triggered immediately when any RapidIO physical layer error is detected. Another method is to notify software only
when the rate of physical layer errors exceeds a system specific threshold. This is done using the RapidIO standard “leaky
bucket” function as described in
.
All physical layer events are linked to the “leaky bucket” function, which consists of a counter and two threshold values. The
counter is incremented when physical layer errors occur, and is decremented at a configurable rate. The first threshold is a link
degraded threshold, which indicates that the rate of physical layer errors is starting to impact the performance of the link. The
second is a link failed threshold, which indicates that the link should be considered inoperable due to the error rate. Both link
degraded and link failed thresholds create RapidIO standard events that can result in port-writes being sent and/or interrupt
assertion.
Additionally, all events can be sent to the IDT-specific Error Log function. The Error Log function consists of the following:
• A 256 entry buffer that captures all events in the order in which they occurred globally in the switch
• 8 mask/value registers that can trigger port-write transmission and/or interrupt assertion when specific events are reported
• A counter that increments with every event received. When the counter reaches a programmable threshold a port-write
and/or interrupt are triggered.
For more information about the Error Log functionality, see
.
6.3.1
Logical Layer Events Notification
According to the RapidIO specification, logical/transport layer events may trigger port-writes and/or interrupt notification when
information capture is enabled. The CPS-1848 allows logical/transport layer events to trigger port-writes and/or interrupt
notification even when information capture is not enabled, through the use of the
Logical/Transport Layer Error Report Enable
.
An event that has notification enabled in the
Logical/Transport Layer Error Report Enable Register
can trigger a Standard
.LT_PW_EN is set (see
An event that has notification enabled in the
Logical/Transport Layer Error Report Enable Register
can trigger an interrupt if
.LT_INT_EN is set (see
Enabled logical/transport layer errors are always sent to the Error Log.