In this lab, you will establish UART based communication channels between the Pi 4 and the HiFive 1 boards.
Part 0: Setup the UART connections (for TAs)
In this part, we will connect the HiFive1 and the Raspberry Pi 4 boards via two UART channels.(Note that this step will be performed by the TAs.)
The Pi 4 has 4 UARTs and we will use two of them (uart2 and uart3). Add the following line at the end of the /boot/config.txt file to enable uart2 and uart3.
dtoverlay=uart2,115200 dtoverlay=uart3,115200
After rebooting the system, /dev/ttyAMA1 and /dev/ttyAMA2 will be created.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
No comments:
Post a Comment