ISR routines In Hardware Vector Mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ISR routines In Hardware Vector Mode

2,243 次查看
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. 

标签 (1)
标记 (1)
0 项奖励
回复
4 回复数

1,209 次查看
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 项奖励
回复

1,209 次查看
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

1,209 次查看
mikailaltintas
Contributor III

Thank you.

This is what I need.

0 项奖励
回复

1,209 次查看
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 项奖励
回复