UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 51791

Zynq-7000, GIC - How can I set the interrupt priority?

Description

How can I set the interrupt priority for each IRQ ID#?
 
The registers ICDIPR0 - 23 are found in TRM but there is no detail.

Solution

ICDIPRx registers consist of four 8bit fields.

Each field is associated with each IRQ ID#0 - 95.

ICDIPR0 Byte0([7:0]) - IRQ ID#0,
ICDIPR0 Byte1([15:8]) - IRQ ID#2,
ICDIPR0 Byte3([23:16]) - IRQ ID#3,
.
.
.

For more detail, refer to the ARM Document below:
 
IHI0048B_gic_architecture_specification.pdf
4.3.11 Interrupt Priority Registers, GICD_IPRIORITYRn

AR# 51791
Date Created 09/12/2012
Last Updated 11/25/2014
Status Active
Type General Article
Devices
  • Zynq-7000
Tools
  • EDK - 14