lpcware

Receive more than 16bits throw UART?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ferve on Mon May 25 09:01:02 MST 2015
Hi all!! I'm starting to use LPC1769, and i'm working in a project with a XBEE s2 (DIGI). The problem is that from the XBEE module i'm only receiving the first 16 bytes. I was reading that the problem is that FIFO has only 16 bytes.

Is there a simple way to receive more than 16 bytes???

Here is part of the code:

UARTInit(&uart_var_rx, UART_3, 9600, 8, 'n', 1);

char char_rx[30];
int aux;

for(aux=0;aux<30;aux++)
   char_rx[aux] = UARTgetc(&uart_var_rx);  //This only receive the first 16 bytes

Thanks!

Fernando

Outcomes