Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 4 Serial Port Assignment Design, write, and debug an MC8051 assembly program which does the following: 1. Configure the serial port to mode 1

Lab 4

Serial Port Assignment

Design, write, and debug an MC8051 assembly program which does the following:

1. Configure the serial port to mode 1 with enabled reception and 9600 BAUD rate for the DS89S420 microcontroller. Also configure Timer 1 for mode 2.

2. Configure port P1 for input and port P2 for output.

3. Configure Timer 0 for mode 1 maximum delay.

4. The serial port operation will wait for an ASCII character to be entered from the serial terminal (Keil simulated), increment it, and output the resulting ASCII character to the serial terminal.

5. The input port (P1) is red after each timer 0 overflow, the value get complemented, and output to port P2.

6. Timer 0 and the serial port operations are all accomplished through polling of TF0, RI, and TI respectively. Initially you need to start Timer 0 and Timer 1 for the full operation to take place.

7. Document your report and attach the list file along with the used Keil debugger interface shots or screen.

Please, I need the code and the output on printscreen form.

Thanks!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2017 Skopje Macedonia September 18 22 2017 Proceedings Part 3 Lnai 10536

Authors: Yasemin Altun ,Kamalika Das ,Taneli Mielikainen ,Donato Malerba ,Jerzy Stefanowski ,Jesse Read ,Marinka Zitnik ,Michelangelo Ceci ,Saso Dzeroski

1st Edition

3319712721, 978-3319712727

More Books

Students also viewed these Databases questions

Question

=+ Are unions company-wide, regional, or national?

Answered: 1 week ago

Question

=+j Explain the litigation risks in international labor relations.

Answered: 1 week ago

Question

=+j What rules will apply to the process of negotiations?

Answered: 1 week ago