ISR routines In Hardware Vector Mode

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

ISR routines In Hardware Vector Mode

1,393 Views
Geek19
Contributor III

Can someone out there clear the following matter for me please:

I am trying to associate one IRS routine to various peripheral and software interrupt sources in MPC5554 processor. I know in Hardware Vector Mode the Interrupt will take the control to the specific address associated with that software or peripheral source interrupt. The question is how do you associate your IRS routine with that address or interrupt source? I will greatly appreciate your prompt answer to my question. 

Labels (1)
0 Kudos
4 Replies

359 Views
mikailaltintas
Contributor III

Hello,

I am using S32 Design Studio for MPC5744p and I want to use hardware mode. I have similar problem. The question is how do you associate your IRS routine with that address or interrupt source in S32 DS for MPC5744p?

0 Kudos

359 Views
martin_kovar
NXP Employee
NXP Employee

Hi,

please look at the following example:

Example MPC5744P HardwareVectoreMode S32DS

If you have any other questions, please feel free to write me back.

Regards,

Martin

359 Views
mikailaltintas
Contributor III

Thank you.

This is what I need.

0 Kudos

359 Views
CrasyCat
Specialist III

Hello

 

Looking at CodeWarrior for PA 55xx V2.7 layout, inside of directory {Install}\(CodeWarrior_Examples)\555x-CW\INTC-HWvector\src there is a file called intc_hw_branch_table.s, which as far as I can tell is configuring INTC vector branch table when using INTC in HW vector mode.

 

Just replace the label next to the b instruction with your own label/symbol.

 

CrasyCat

0 Kudos