External Interrupt of 9S12DP512

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

External Interrupt of 9S12DP512

708件の閲覧回数
monstor
Contributor II

May I know how many external interrupt would S12DP512 have? Is It only one which called nXIRQ?

 

If I have need to have more than one external interrupt, should I need to change to use another model?

 

Any suggestion? Please help.

 

Many thanks.

ラベル(1)
タグ(3)
0 件の賞賛
返信
2 返答(返信)

547件の閲覧回数
iggi
NXP Employee
NXP Employee

Hi,

Edward is right.

Here is the S12DP512 documentation pack download:

http://cache.freescale.com/files/microcontrollers/doc/data_sheet/9S12DP512_ZIP.zip


Unzip it and then, in the 9S12DP512DGV1.pdf find Table 5-1 Interrupt Vector Locations. If you will use any of Port J/P/H pins, see S12DP256PIMV3.pdf document for correct configuration.

Regards,

iggi

0 件の賞賛
返信

547件の閲覧回数
kef2
Senior Contributor V

There's a lot of external interrupt inputs. You didn't say whether you need level sensitive interrupt inputs, or edge sensitive interrupt inputs. Number of level sensitive int. inputs is small. There are two dedicated inputs, /IRQ and /XIRQ. But being creative, I think it is possible to use two SCI RxD inputs as level sensitive interrupts.. with some delay. Perhaps PWM emergency shutdown input can be used as level sensitive interrupt input, I'm not sure, please check documentation. Any way, using something like AND gates, or even chip diodes and one pull up resistor, you can easily multiply number of level sensitive interrupt inputs.

And speaking about edge sensitive interrupt inputs, you have many of them. See PORTJ, PORTH, PORTP interrupts. That's up to 8x3 edge sensitive interrupt inputs. There are also 8 timer input pins, which can be easily used as edge sensitive interrupt inputs.

Edward

0 件の賞賛
返信