CE433 2022 Spring
Week 9
John Hitti
jdhitti@fortlewis.edu
Week 9
Introduction In
this week's
project we will be integrating a USB device with our FPGA. We will
interface a keyboard and allow the FPGA to receive signals from the
keyboard.
Task 1
In
this task we will start by loading the example code onto the FPGA. The
code alows the FPGA to display the scan code and value for a key
pressed when a keyboard is attached to it.
Task 2 In
this task we take this further by implementing a Serial communication
from the FPGA to our computer. In doing this we are able to send
keyboard signals to our computer via serial communication. This
ultimately allows us to type a message to our computer using the FPGA.
We can do this by implementing the previous serial transmission program
created in Week 7. We can edit this code to allow us to transmit our
keypress data in the form of ASCII values.
This code takes our received data and turns it into an ASCII code that is then passed on to our UART TX module.
Discussion This
project was an excellent introduction into using the FPGA with USB
communication. This opens up a lot of posiblilities as USB is one of
the most common modern data transmission protocols for consumer
electronics