i.MX RT1052 - Will we get another nested ISR within an ISR?

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

i.MX RT1052 - Will we get another nested ISR within an ISR?

ソリューションへジャンプ
2,665件の閲覧回数
Cindy
Contributor III

Hi,

 

My question is will we ever get a nested ISR within an IRQ Handler?

In other words, whenever an interrupt is triggered, its ISR(interrupt service routine) will be called. Let say this IRQ handler is GPT2_IRQHandler. While processing this ISR, will another interrupt of higher priority is being triggered and its ISR being called being exiting GPT2_IRQHandler?

 

Thank you.

 

Best Regards,

Cindy

ラベル(2)
タグ(2)
0 件の賞賛
返信
1 解決策
2,658件の閲覧回数
ErichStyger
Specialist I

Hi @Cindy ,

short answer: yes.

longer answer: see https://mcuoneclipse.com/tag/nvic/

The RT1052 is an ARM Cortex-M7 and features the NVIC (Nested Vectored Interrupt controller): so if inside an interrupt there is another interrupt getting pending with higher urgency, it will interrrupt that interrupt.

I hope this helps,

Erich

元の投稿で解決策を見る

2 返答(返信)
2,651件の閲覧回数
Cindy
Contributor III

Hi Erich,

Thank you for your prompt reply and the link to the very useful articles that have answered all my queries about the interrupt.

Best Regards,

Cindy

 

2,659件の閲覧回数
ErichStyger
Specialist I

Hi @Cindy ,

short answer: yes.

longer answer: see https://mcuoneclipse.com/tag/nvic/

The RT1052 is an ARM Cortex-M7 and features the NVIC (Nested Vectored Interrupt controller): so if inside an interrupt there is another interrupt getting pending with higher urgency, it will interrrupt that interrupt.

I hope this helps,

Erich