This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART3 RX not working

UART3 interrupt handler is not receiving the complete string
There is a string of 43bytes send to UART3 of ARM LPC2378
UART3 handler is Rxing only first 16bytes properly and immediately afterwords it reads last 5bytes of the string. Rest of the (middle)characters are not read.
Why is not reading all the 43characters in order.

char UART3_init(void) { PCONP |= 0x03401000; PINSEL0 |= 0x0000000A; /* Enable TxD3 RxD3 P0.0 & P0.1 Respectively */ U3IER = 0;

U3FDR = 0; U3LCR = 0x83; U3DLL = 78; U3DLM = 0x00; U3LCR = 0x03; U3FCR = 0x07;

if ( install_irq( UART3_INT, (void *)UART3Handler, SEC_PRIORITY ) == FALSE ) { return (FALSE); }

U3IER = IER_RBR | IER_THRE | IER_RLS; /* Enable UART3 interrupt */ return (TRUE); }

Parents Reply Children
No data