Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
19224 Discussions

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

RShal4
New Contributor I
325 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_...

 

Thank you for any suggestion,

ranran

0 Kudos
1 Solution
RShal4
New Contributor I
131 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

3 Replies
Fawaz_J_Intel
Employee
131 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

RShal4
New Contributor I
131 Views

Hi,

 

Thank you for the quick reply.

We use 100Mhz clock.

 

Thanks,

ranran

RShal4
New Contributor I
132 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

Reply