2019-06-14 08:35 AM
Hello ST Community,
Does anyone know which register I can read to find which IRQ triggered an IVOR04 exception, on SPC58?
I am using the software vector mode, and the interrupt controller (INTC_IACKR) only gives me the address of the ISR... which is unfortunate when the IRQ is mapped to a generic ISR.
Thanks.
Solved! Go to Solution.
2019-06-14 09:04 AM
Oops, found it meeself: IRQ number = (INTC_IACKR - Vector Table Base Address ) / 4
2019-06-14 09:04 AM
Oops, found it meeself: IRQ number = (INTC_IACKR - Vector Table Base Address ) / 4