s32k144 interrupt service routine processing case

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k144 interrupt service routine processing case

Jump to solution
2,154 Views
SW_Park
Contributor II

hello. I ask the question as follows.

SW_Park_0-1704932698727.png

During PORTE_IRQHandler operation by PTE15 interrupt,

How is it handled when a PTE16 interrupt occurs?

After completing the PORTE_IRQHandler operation, is the PORTE_IRQHandler function called again?

Otherwise, it is expected that missing or duplicate processing will occur.

-> If there is no re-call, it is thought that PTE16 interrupt processing will be missed.

-> If PORTE_IRQHandler is called again when a PTE16 interrupt occurs, it is thought that problems will occur due to duplicate processing of code.

0 Kudos
Reply
1 Solution
2,119 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@SW_Park

yes, it will call PORTE_IRQHandler again.

View solution in original post

0 Kudos
Reply
5 Replies
2,120 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@SW_Park

yes, it will call PORTE_IRQHandler again.

0 Kudos
Reply
2,110 Views
SW_Park
Contributor II

I think it would be correct to put the INT_SYS_DisableIRQGlobal / INT_SYS_EnableIRQGlobal functions at the top and bottom of the PORTE_IRQHandler function, respectively, to pending other interrupts during IRQ processing, and to handle the pending interrupt after IRQ processing is completed.

tell me your opinions.

0 Kudos
Reply
2,096 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@SW_Park

I don't think it is necessary since the process sequence is still the same.

if you have in doubt this, you can make some test for your options.

0 Kudos
Reply
2,088 Views
SW_Park
Contributor II

Does this mean there is no "Pre-emption" because the group priority is the same?

0 Kudos
Reply
2,074 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@SW_Park

for all pins of PORTx share one Vector Address, so these is no difference in priority

Senlent_0-1704953339977.png

 

0 Kudos
Reply