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
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