MPC5566

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

MPC5566

955 Views
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.

Labels (1)
0 Kudos
2 Replies

571 Views
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 Kudos

571 Views
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 Kudos