hello frens,
i written code for UART0, where ISR execute when data received from serial port.
void received(void) __irq { unsigned char i; i = U0RBR; UART0_SendByte(i+1); }
but it only execute only one time. please help me to solve this problem.
regards, pankaj Jain
Did you look at any sample code yet? Or checked the user manual for the processor about how to acknowledge interrupts? You still haven't tried to acknowledge the interrupt before returning from the interrupt handler.
Maybe you should download the code package available for your specific processor from NXP and really spend some time looking at that code. Yes, the quality isn't so good. But it does contain the magic lines you seem to have forgotten.
How much of the documentation available at: ics.nxp.com/.../ have you looked at?