Write an assembly code to configures the 8051

Assignment Help Other Engineering
Reference no: EM131559171

Q. The UART of an 8051 is to be tested for serial communication at different baud rates (9600, 4800, 2400, 1200). A piece of wire is used to connect the Transmitter pin with the receiver pin. To test the serial communication link a test message ‘Testing serial link' is transmitted across the serial link. The message received on the receiver side is saved in RAM. At the end of the reception the original message and the received message are compared to confirm the working of the communication link.The communication link canbe tested at any baud rate by selecting any one of the four different baud rates with the help of four switches connected to port 1. Connecting any one of the four switches to logic ‘H' allows the corresponding baud rate to be configured.

Write an 8051 assembly code which does the following

- Configures the 8051 in one of the four baud rates by reading the Port 1 switch status.
- Transmits and receives the test message.
- Compares the transmitted and received message and turns on a green LED connected to P1.7 if there is no error and a red LED connected to P1.6 if there is an error.

202_Figure2.jpg

Reference no: EM131559171

Questions Cloud

Describe important plot theme or character points : Description. In preparing to write your critique, describe important plot, theme, or character points that are relevant to your argument
Review case of voter turnout by income : VOTER TURNOUT BY INCOME Voter turnout drops steadily as income level declines. The following table gives the percent of eligible voters in a certain city.
When considering total liabilities for all banks : When considering total liabilities for all banks in the U.S., which of the following correctly lists (from large to small),
How does culture influence health : How does culture influence health? Give examples of dominant ethnic and biomedical cultural influences on the health of individuals or populations?
Write an assembly code to configures the 8051 : Configures the 8051 in one of the four baud rates by reading the Port 1 switch status. - Transmits and receives the test message
Implement a strategic plan : There are certain elements that must be present for a health care organization to successfully implement a strategic plan.
How pay for performance bonuses will be paid : As the team lead for your department, you have been asked to create a policy outline that details how pay for performance bonuses will be paid.
Describe the range of topics and the typical callers : Describe the range of topics and the typical callers/participants on the shows. Also consider the pace of each show, the musical intros and outros
Find probability that individual income is less or greater : THE SOCIAL LADDER The following table summarizes the results of a poll conducted with 1154 adults.

Reviews

Write a Review

Other Engineering Questions & Answers

  How fast will the driver be going when the stopped traffic

How fast will the driver be going when the stopped traffic is hit if the coefficient of rolling resistance is constant at 0.013? (assume minimum theoretical stopping distance and ignore aerodynamic resistance)

  What would happen if i removed one of the pop instructions

What would happen if I removed one of the POP instructions in MYSUBR? Would the program terminate at the HALT instruction? What is the address of the instruction with the comment "FIND THIS PROGRAM ADDRESS"?

  Describe in detail at least three instances during the

describe in detail at least three instances during the course of an average week that you are required to organize

  Compute the strains at the interface between laminae

Compute the strains ?x, ?y, γxy at the interface between laminae,- the stresses σx, σy, τxy on all laminae, right next to the interface,

  What is the expected error in the stage gain

In the quiescent state, what dc voltage must appear at the output of each of the error amplifiers? At what value of positive vO will QP be supplying all the load current? Repeat for negative vO and QN supplying all the load current.

  Magnitude of the force

A chain of length l and mass m lies in a pile on the floor. If its end A is raised vertically at a constant speed v, express in terms of the length y of chain which is off the floor at any given instant

  Create a half adder module and testbench in verilog

CMPE212 Fall16 Assignment. Create a Half Adder module and testbench in Verilog. Show your output as a truth table. Create a Full Adder using the Half Adder module, and a testbench for the Full Adder. Show your output as a truth table

  Compute the percent voltage regulation

If the applied voltage at the terminals of the primary is 1000 V, determine V2 at the load terminals of the transformer, neglecting magnetizing current.

  Find the set of rationalizable strategies

Find the set of rationalizable strategies

  Determine the shape of shafts and the size of shafts

Briefly describe the mechanisms involved in the excavation of rock - What parameters are used when determining the shape of shafts and the size of shafts?

  Calculate the voltage gain of your circuit

First create the circuit shown in Figure 9-1, and measure and record IDss. (Remember loss occurs when VGS = 0V) Calculate the voltage gain of your circuit and compare it to measured gain.

  Perform appropriate statistical analysis

If you keep a significant 2-factor interaction in the model, you must keep (in the model) both of those factors. For example, if you keep AB in the model, you must also keep A and B (even if either or both of those factors are not significant) - P..

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