Interrupt Priority

cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt Priority

758 Views
mathew_k_t
Contributor II

Hi,

I have an ADC ready shared-interrupt, sharing between gpio-keys and an adc driver.

Once the ADC ready interrupt occurs I would like to execute the gpio-keys ISR first, then the ADC driver ISR.

Currently, it happens vice versa. ie: ADC driver first and GPIO-Keys second. So, I'm facing some timing issues.

  1. How to resolve this issue?
  2. How to set interrupt priority manually?

Regards,

Labels (3)
0 Kudos
1 Reply

475 Views
b36401
NXP TechSupport
NXP TechSupport

i.MX6 processor uses PL390 Generic Interrupt Controller (GIC).

Here you can get PrimeCell Generic Interrupt Controller(PL390) Technical Reference Manual:

http://infocenter.arm.com/help/topic/com.arm.doc.ddi0416b/DDI0416B_gic_pl390_r0p0_trm.pdf

You can refer chapter 3.2.9 Priority Level Registers.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos