Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21017 Discussions

Intel's UART IP miss bytes in high baud rate ?

RShal4
New Contributor I
783 Views

Hello,

 

We encounter loss of bytes on a read from serial.

This happens in high rate (912600), we see that the bytes are getting lost.

We verified that the application which reads bytes, is effective, and does not have delays, and also increased the bsp buffer from 64 to 512.

Yet, the miss bytes behavior remains.

 

Is it a bug in Intel's UART IP in quartus 15.1 ?

I see that others also observed the same behavior and there is a suggestion to move to fifo IP here:

https://forums.intel.com/s/question/0D50P00003yyPgkSAE/uart-rs232-receive-missing-bytes?language=en_US

 

Thank you for any suggestion,

ranran

0 Kudos
1 Solution
RShal4
New Contributor I
589 Views

Hi,

 

We eventually moved from the simple IP's of UART (which only have 1 byte!) to the FIFOed avalon uart.

This seems to fix the problem.

 

Thank you,

ran

View solution in original post

0 Kudos
3 Replies
Fawaz_Al-Jubori
Employee
589 Views

Hello,

May I know what is the frequency you used for this UART IP?

 

You need to maintain the Divisor formula as seen in page 126

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf

 

Thanks

0 Kudos
RShal4
New Contributor I
589 Views

Hi,

 

Thank you for the quick reply.

We use 100Mhz clock.

 

Thanks,

ranran

0 Kudos
RShal4
New Contributor I
590 Views

Hi,

 

We eventually moved from the simple IP's of UART (which only have 1 byte!) to the FIFOed avalon uart.

This seems to fix the problem.

 

Thank you,

ran

0 Kudos
Reply