MPC5566

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

MPC5566

2,078件の閲覧回数
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 返答(返信)

1,694件の閲覧回数
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 件の賞賛
返信

1,694件の閲覧回数
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 件の賞賛
返信