cancel
Showing results for 
Search instead for 
Did you mean: 

SPC58 - Finding the IRQ number when handling IVOR04

FCasa.9
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
FCasa.9
Associate

Oops, found it meeself: IRQ number = (INTC_IACKR - Vector Table Base Address ) / 4

View solution in original post

1 REPLY 1
FCasa.9
Associate

Oops, found it meeself: IRQ number = (INTC_IACKR - Vector Table Base Address ) / 4