Page 1 of 1

UART rxchar callback

Posted: Fri Feb 05, 2016 10:02 am
by jevan
Hello,
Im having a difficulty on using the rxchar callback.
everytime i transmit a series of byte (20 bytes), i can only receive 2 bytes of the data.
can you help me.

jevan

Re: UART rxchar callback

Posted: Fri Feb 05, 2016 10:56 am
by Giovanni
You should not use that callback for receive large data, use uartStartReceive/uartReceiveTimeout instead.

If you need to receive data one byte at time then the serial driver could be a better choice.

Giovanni