SPRUJ17I March 2022 – August 2025 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
Events mapped to the low priority error interrupt are intended to be events of interest that should be addressed eventually, not events that require immediate attention. An example would be an event indicating a corrected error. The system may want to track this for statistical purposes, but it does not require immediate attention.
Any error event can be mapped to the low priority error interrupt. It is enabled by programming,
Write the correct value of the register by setting the event bit which needs to be monitored
Error Group N Interrupt Enabled Set Register (Base Address + 0x400 + N*0x20 + 0x08)
By default, the priority of all events is set to low. Software should read register and ensure the same or program it by writing 0x0 into Error Group N Interrupt Priority Register (Base Address + 0x400 + N*0x20 + 0x10) to map the events to low priority error interrupt
When a low priority error interrupt is received, the acting processor must perform the following steps:
Read the Low Interrupt Status Register (Base Address + 0x20)
If both low_level_prio and low_pulse prio are equal to 0xFFFF, then END (Interrupt is no longer asserted)
If either low_level_pend or low_pulse_pend (or both) are not equal to 0xFFFF, software has two options for determining what event to service
First Option: Record the value of value in low_pulse_prio and/or low_level_prio. Determine which one has higher priority. This is the Global Event Number of the highest priority Low Priority Error Event
Read the Low Priority Interrupt Status Register (Base Address + 0x28) to determine which Event Group(s) have pending Low Priority Interrupts
Read the desired Error Group N Interrupt Enabled Status/Clear Register (Base Address + 0x400 + N*0x20 + 0x04)
Service the Error Event based on the IP’s specification
Fixing the error
Resetting the peripheral that triggered the error
Resetting the device
Communicating outside the SoC for outside intervention
The rest of these steps assume that the Error has been handled and the system wants to clear the error event
The rest of the handling depends on whether the event is a pulse or level event