Interrupt Priority

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupt Priority

1,024件の閲覧回数
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,

ラベル(3)
0 件の賞賛
1 返信

741件の閲覧回数
b36401
NXP Employee
NXP Employee

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 件の賞賛