MPC5566

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

MPC5566

985 次查看
nareshchede
Contributor I

Hi All,

 

  I am working on MPC5566. I configured interrupt controller in HW vector mode. I am able to test Decrementer using IVOR10.

Now i want to use external interrupts, as it is mapped to vector 46,47,48,49,50. My question is how to access these IVOR46,47,48,49 and 50 registers. In manuals no where given its SPR number.How to assign handler to this IVOR's. Need help.

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

601 次查看
martin_kovar
NXP Employee
NXP Employee

Hi,

I am working on the example right now. Please give me time to Monday and I will provide you example with the problem explanation.

Regards,

Martin

0 项奖励

601 次查看
martin_kovar
NXP Employee
NXP Employee

Hi,

Here is the promised example for HW vector mode.

https://community.freescale.com/docs/DOC-300467

There are some points which have to be configured:

  1. In linker file is required to create new section and load the section on the specified address.
  2. Intc_hw_branch_table_vle.s file has to be created. On specified vector is placed handler which you want to use for interrupt.
  3. In file handlers_vle.s are specified prologues, interrupt handlers and epilogues.
  4. In main function is configured hw vector mode and priority for interrupts.

Regards,

Martin

0 项奖励