cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
344 Views
Registered: ‎10-02-2018

How to recieve more than 16 byte with UARTlite?

Hi

I 'm using function:

unsigned int XUartLite_Recv(XUartLite *InstancePtr, u8 *DataBufferPtr,
unsigned int NumBytes)
to polling recieve UART message. But once have UART message, I only recieve 16 byte. How to recieve more than 16 byte ?

thanks and brgs

0 Kudos
2 Replies
Highlighted
Contributor
Contributor
330 Views
Registered: ‎06-16-2017

Re: How to recieve more than 16 byte with UARTlite?

Hi @sonminh ,

According to AXI UART Lite - PG142, the UART Lite is limited to just 16 characters/bytes (per transmission/reception).

If you want to receive more than 16 bytes using the UART Lite, make sure that the transmitter is sending it in chunks of 16 bytes at a time.

004.PNG

Good Luck,

Hamza

---

0 Kudos
Highlighted
Moderator
Moderator
184 Views
Registered: ‎04-09-2019

Re: How to recieve more than 16 byte with UARTlite?

Instead of waiting till filling the 16bytes and reading, you can read each byte immediatly after reception.

Regards,

Venu

0 Kudos