Question: Note: the device is Stm32L476 Microcontroller Task 1 You are required to output a signal that could flash an LED on port pin PC4 (the
Note: the device is Stm32L476 Microcontroller

Task 1 You are required to output a signal that could flash an LED on port pin PC4 (the LED is not available). The LED should be ON for 0.5 seconds and off for 1 second in a repeating sequence. Accurate timing for this should be provided by the SysTick Timer. You should use the logic analyser to check the timings by using it to plot the action of the LED. Questions for Task 1 1. Explain how you configured PC4 to drive the LED by writing out the configuration code and adding comments. (3 marks) 2. How accurate do you expect your timing to be? On what does the accuracy of the timing depend? Suggest a maximum error in the required 0.5s ON time. (3 marks) 3. Copy a screen shot of the Keil Logic analyser display showing the action of the LED. State whether the accuracy is as expected
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
