UART Cross Connect Polling

Overview

The purpose of the project is to transfer one byte of data from UART 1 to UART 4 and to transfer a different byte in the opposite direction. Your code must confirm that the received byte matches the transmitted byte.

This project cross connects UARTs 1 and 4 using the wiring diagram shown on slide 10 (the bottom diagram) in Chapter 22 UART. Using 2 jumper cables connect the 4 pins as shown in that diagram. For sample code refer to the three scanned pages (534, 535, and 536) from the textbook in myCourses.

Setup

Use the sample code. Create a new project or warm over an existing project. Be sure to include the startup_stm32l476xx.s file that we have used in every project so far.


U1-4 Template zip file

Requirements

When testing this I strongly recommend that you become proficient in using the Keil debug. I would set a breakpoint at the beginning of the code I want to test and then single step through it to see that the values are correct.

References

Rubric and Late Policy

Rubric is defined in the demo sheet

Submission