SWEN-340

SysTick Timer and UART Demo

Overview

This homework assignment is to learn about hardware timer (SysTick) and use UART

Setup

    Nucleo introduction with SysTick based delay time

    Step 1: Complete the init_systick and delay_systick functions. Follow the instructions in the code. You should reference the work we did in class with the timer.

    Step 2: Modify the demo.c program to switch from using a for loop to get a delay time to using a properly initialized SysTick timer. Set timer such that LED flashes at 2 seconds interval, not 1 second.

    Refer to the SysTick section in Cortex M4 User Guide starting at page 249.

    Make sure to import your version of the SysTick structure and not the built in one.

Submission

Push your updated files to course repo by the deadline.

Grading

To receive full credit, Code must compile and run as expected without any warnings!