i have pasted the uart interrupt program…it doesn’t give any output on hyper terminal,during step by step execution i didn’t enter into the interrupt service loop…
Any one can guide me where I’m doing mistake…
#include<LPC214x.h>
#include<stdio.h>
void UART0_IN(void)__irq;
void serial(void);
int main()
{
IODIR1=0x00FF0000; //port direction control register
serial();
PINSEL0=0x00000005; //pin function select register
VICIntSelect=0x00000040;//enable VIC channel as FIQ
I’d recommend trying to get it to work as a normal IRQ instead of an FIQ first. If you are using an FIQ I believe you have to install the FIQ handler into the system’s FIQ interrupt address.
Also the VICVectAddr0 / VICVectCtrl2 combination doesn’t look right to me. Check the VIC chapter in the LPC2148 User Manual (UM10139)