I am looking to learn more about peripherals on my board and UART appears to be the best option to start experimenting. Can someone suggest how I could create an echo UART design?
I would like to communicate to the board as so
echo "1" > /dev/ttyUSB1
And would like to read it back, perhaps via
screen /dev/ttyUSB1 9600
Ed
Hi Ed,
You have chosen well -- implementing a simple UART is a great learning experience. I'd recommend trying to make a blinking LED even before that, though.
As to the UART:
As a first step, to verify that your connection is working and that you can talk to the /dev/ttyUSB device, create the simplest loopback of all: just hook up the TX and RX at the FPGA side, and presto! With about 10 lines of Verilog of VHDL, that's an actual working loopback.
Getting that to work in Vivad