UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

UARTLite RX blocking mode

Highlighted
Newbie
Posts: 1
Registered: ‎01-12-2018

UARTLite RX blocking mode

Hello everybody,

 

I have made a simple design with a Microblaze and some AXI devices such as GPIO, UART and SPI on a custom board. The purpose of this test is to sent data from PC (Host) to the device (FPGA) and get back some replies. I have made some tests and everything seems to works. I was able to send or to receive data but there is some issue for the receive.

 

The fact is that the receive seems to be non-blocking and '\0' chars are received even if I do not sent data from the PC.

How can I configure the UartLite IP to a blocking mode ?

 

Best regards,

Moderator
Posts: 536
Registered: ‎09-12-2007

Re: UARTLite RX blocking mode

You can just update the driver to behalf as you want. 

https://www.beningo.com/embedded-basics-blocking-vs-non-blocking-drivers/