Hello,
I have Problem to get data over uart1. If I send data to LPC2388, than the Rx Buffer is Always Zero. Also I have never seen that if I send to LPC2388, it comes to the Interrupt function. The sending from LPC2388 to the PC works. But sending from PC to LPC2388 doesn't work.
My configuration:
PINSEL4 |= 0x00000002; //TXD1 mit flow control
PINSEL4 |= 0x00000008; //RXD1 mit flow control
PINSEL4 |= 0x00000020; //CTS1 mit flow control
PINSEL4 |= 0x00008000; //RTS1 mit flow control
U1IER = 0; /* Disable UART1 Interrupts */
VICVectAddr7 = (unsigned long)sio_irq_UART1;
VICVectCntl7 = 15;//15 /* use it for UART1 Interrupt */
VICIntEnable = 1 << 7; /* Enable UART1 Interrupt */
U1LCR = 0x83; /* 8 bits, no Parity, 1 Stop bit*/
//Baudrate 38400
U1DLL = 19;
U1DLM = 0;
U1FDR = 0;
U1LCR = 0x03; /* DLAB = 0 */
dummy = U1IIR; /* Read IrqID - Required to Get Interrupts Started */
U1FCR = 0x07;/* Enable and reset TX and RX FIFO. */
U1MCR = 0xC2; /* Enable Auto RTS and Auto CTS. */
U1IER = 0x8D;
Best regards