www.ti.com

Interrupt Conditions

Figure 61. Example Diagram of Interrupt Status Decode Register Mapping

The following are suggestions for minimizing the number of register reads to identifying the interrupt source:

Dedicate each doorbell ICSR to one core. The CPU can then determine the interrupt source from a single read of the decode register.

Assign the RX and TX CPPI queues orthogonally to different cores. The CPU can then determine the interrupt source from a single read of the decode registers. The only exceptions to this are bits 31 and 30, which are also logically ORed with LSU and port interrupt sources.

4.6Interrupt Generation

Interrupts are triggered on a 0-to-1 logic-signal transition. Regardless of the interrupt sources, the physical interrupts are set only when the total number of set ICSR bits transitions from none to one or more. The peripheral is responsible for setting the correct bit within the ICSR. The ICRR register maps the pending interrupt request to the appropriate physical interrupt line. The corresponding CPU is interrupted and reads the ISDR and ICSR registers to determine the interrupt source and appropriate action. Interrupt generation is governed by the interrupt pacing discussed Section 4.7.

4.7Interrupt Pacing

The rate at which an interrupt can be generated is controllable for each physical interrupt destination. Rate control is implemented with a programmable down-counter. The load value of the counter is written by the CPU into the appropriate interrupt rate control register (see Figure 62). The counter reloads and

SPRUE13A –September 2006

Serial RapidIO (SRIO)

99

Submit Documentation Feedback

Page 99
Image 99
Texas Instruments TMS320TCI648x manual Interrupt Generation, Interrupt Pacing