I have written some code that handles Software interrupts (SWI) fpr the LPC2148 without touching any Vectored Interrupt Controller (VIC) registers/etc and without too much work. I just setup the one-line branch at the interrupt vector memory address, wrote the function, and away it went.
I’m now working to get UART0 interrupts working, and it seems that there is a lot to do with the VIC. The ARM docs aren’t easy to follow on this, and I’ve yet to find a good explanation of how the VIC and the ‘normal’ interrupts interwork.
- Do you have to do VIC setup to get hardware interrupts working, or am I missing something?