PRU Interrupt Controller
342
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Programmable Real-Time Unit Subsystem (PRUSS)
•
Any of the 64 system interrupts can be mapped to any of the 10 channels.
•
Multiple interrupts can be mapped to a single channel.
•
An interrupt should not be mapped to more than one channel.
•
Any of the 10 channels can be mapped to any of the 10 host interrupts. It is recommended to map
channel "x" to host interrupt "x", where x is from 0 to 9
•
A channel should not be mapped to more than one host interrupt.
•
For channels mapping to the same host interrupt, lower number channels have higher priority.
•
For interrupts on same channel, priority is determined by the hardware interrupt number. The lower the
interrupt number, the higher the priority.
•
Host Interrupt 0 is connected to bit 30 in register 31 of PRU0 and PRU1.
•
Host Interrupt 1 is connected to bit 31 in register 31 for PRU0 and PRU1. Host Interrupts 2 through 9
exported from PRUSS for signaling ARM and DSP interrupt controllers generating system Events
PRUSS_EVTOUT0 to PRUSS_EVTOUT7 respectively.
Figure 13-22.
13.7.3 PRUSS System Events
System events 0 through 31 are external to the PRUSS subsystem and generated from different
peripherals. The source of the first 32 events from the device is listed in the
System events 32 to 63 are generated by a PRU writing to its own R31 register. The system interrupt is
used to either post a completion event to one of the host CPUs (ARM/DSP) or to signal the other PRU
core of the PRUSS. For more information on the steps to generate the system events 32 to 63 refer to
.
The device includes a mux that with a single select signal selects the PRUSS EVT inputs as shown in the
table below. The control signal, PRUSSEVTSEL, can be modified by software in system register
CFGCHIP3[3]. PRUSSEVTSEL defaults to 0 after reset. Note that not all system events are defined for all
devices. Refer to the device datasheet or System Reference Guide for more information.