MC9S12XDP512 interrupt problem

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

MC9S12XDP512 interrupt problem

2,919件の閲覧回数
patti
Contributor I
Hi, I am programming the HC12 and XGate processor! I have get the interrupt table to work for XGATE, but now I want to have a Periodic Interrupt just for the HC12 processor, how do I redirect Pit interrupt to HC12? Would bee nice with a C-code example!

Thanks In advance
Patrik
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

865件の閲覧回数
Steve
NXP Employee
NXP Employee

Patrik,

 At reset the interrupts are initialised to point to the CPU so by default the interrupt will go the CPU. From the intial conditions the steps are:

add a vector into the CPU vector table

create an interrupt service routine

and enable interrupts.

The various approaches are discussed in a thread here: http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&message.id=111 and identify useful app notes that include code.

0 件の賞賛
返信

865件の閲覧回数
patti
Contributor I

Thanks a lot!

Now I got it working

 

Patrik

0 件の賞賛
返信