Question: using Code Composer Studio to solve the following Write a program to do the following: Blink LEDs at the rate of 2Hz using Timer0. Enable
using Code Composer Studio to solve the following
Write a program to do the following: Blink LEDs at the rate of 2Hz using Timer0. Enable UART to accept user command and display messages. Configure the pin PD0 as analog input and sample with ADC0. Enable Timer 1 to interrupt at the rate of SAMP_FREQ = 16000. Define SAMP_FREQ as in Problem 1. Configure SSI0 and interface with the SPI DAC chip MCP4921 as in Problem 1. On Timer 1 interrupt, sample data from PD0, then output the same data to DAC through SSI0 (through which to the DAC chip). Build and run your program on LauchPad
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
