In this lab we will use the uart0 peripheral to communicate

Assignment Help Application Programming
Reference no: EM13348033

In this lab we will use the UART0 peripheral to communicate with a PC using the RS232C serial protocol. We will continue using functions to encapsulate the low level details of the code to make programs more readable and make the code within the function reusable. All work is to be completed on your own. You may use the Tivaware examples in the C:\ti\TivaWare_C_Series-1.1\examples\boards\ek-tm4c123gxl directory, the class notes, and the book for reference, but please do not discuss this project with other students. You may use the functions provided in the example code segment discussed in class and included in the framework file posted to Angel as a starting point for your code. You may use the UART_Init, CheckForInputCharacter, UARTInputCharacter, and UARTOutputCharacter functions provided; you do not need to write your own functions for these operations.

You must submit a prelab showing reasonable effort to receive full credit for this lab.

Operation

The program will repeat the following steps:

1. Wait for a single character to be received on the serial port

2. Choose a response based on the character received:

a. If the character is an upper case letter, transmit the next letter in the alphabet (calculated with a simple math operation) to the serial port and turn on the green LED. For example, if the letter A is received, send the letter B to the serial port.

If the letter Z is received, send the letter A to the serial port.

b. If the character is a lower case letter, convert the letter to upper case (using a simple mask operation), send the letter to the serial port, and turn on the blue LED

c. If a character other than a letter is received, send an asterisk (*) to the serial port and flash the red LED at a 300 ms rate.

Reference no: EM13348033

Questions Cloud

Describe about data analysisbullbriefly address the data : describe about data analysisbullbriefly address the data analysis process.bullidentify and justify the univariate
Visit and analyze the company-specific web-site with : visit and analyze the company-specific web-site with respect to e-commerce issueso what are the strengths and
Social norms campaigns examining the relationship between : social norms campaigns examining the relationship between changes in perceived norms and changes in drinking levelson
Problems- how can theory guide and inform practice- what : problems- how can theory guide and inform practice?- what are the issues involved in translation transformative
In this lab we will use the uart0 peripheral to communicate : in this lab we will use the uart0 peripheral to communicate with a pc using the rs232c serial protocol. we will
You have just graduated and one of your favorite courses : you have just graduated and one of your favorite courses was financial management.nbsp while you were in school your
Assume that you are the assistant to the cfo of xyz : assume that you are the assistant to the cfo of xyz company.nbsp your task is to estimate xyzs wacc using the following
John and jane doe are senior vice presidents of insurance : john and jane doe are senior vice presidents of insurance mutual of tampa. they co-manage the equity investments for
Question 1californian almond orchands are using : question 1californian almond orchands are using approximately one million bee hives each spring to pollinate the almond

Reviews

Write a Review

Application Programming Questions & Answers

  Cputer architecture question 1 evaluate 0xf00 0x100

computer architecture question 1 evaluate 0xf00 0x100 ? express the answer in hex notation. question 2 suppose

  Hubspot is currently at a crossroads with management

hubspot is currently at a crossroads with management looking for rapid acceleration of sales and profits. in their

  Question 1 detail for each of the four following mips

question 1. detail for each of the four following mips instructions which actions are being taken at each of their

  Write a paper on mcdonaldsethics and social responsibility

write a paper on mcdonalds.ethics and social responsibility at mcdonaldspaper includesabout mcdonaldscorporate social

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

  Questions mylocation sdword

questions mylocation sdword 14thetestnbspnbspnbspnbspnbspnbspnbsp sdword 8nbspnbsp nbspmovnbspnbsp

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  Part - 1 object-oriented designwrite a program that allows

part - 1 object-oriented designwrite a program that allows an instructor to keep a grade book. each students has scores

  In a typical cpu implementation the design-cycle starts

in a typical cpu implementation the design-cycle starts with a cc based instruction set simulator iss of the target

  Memory managementwrite a paper to provide depth knowledge

memory managementwrite a paper to provide depth knowledge of how memory is used in executing your programs and its

  Tavelling salesman tsp problem on the l1-metric plane

travelling salesman tsp problem on the l1-metric plane problem description a travelling salesman wants to make a tour

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd