using módé 2. 37. Assuming that XTAL = 11.0592 MHz and that we are generating a square wave on pin P1.3, find the highest square wave frequency that we can gener- ate using mode 2. %3D bet YTA I- 16 MHz ond that wo oro on

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
21. Assume that XTAL 16 MHz. Find the TH1,TL1 value to generate a time
delay of 5 ms. Timer 1 is programmed in mode I.
22. Assuming that XTAL = 11.0592 MHz, program Timer 0 to generate a time
delay of 2.5 ms.
23. Assuming that XTAL 11.0592 MHz, program Timer 1 to generate a time
delay of 0.2 ms.
24. Assuming that XTAL 20 MHz, program Timer 1 to generate a time delay of
100 ms.
25. Assuming that XTAL = 11.0592 MHz, and we are generating a square wave on
pin P1.2, find the lowest square wave frequency that we can generate using
mode 1.
26. Assuming that XTAL = 11.0592 MHz, and we are generating a square wave on
pin P1.2, find the highest square wave frequency that we can generate using
mode 1.
27. Assuming that XTAL = 16 MHz, and we are generating a square wave on pin
P1.2, find the lowest square wave frequency that we can generate using
mode 1.
28. Assuming that XTAL = 16 MHz, and we are generating a square wave on pin
P1.2, find the highest square wave frequency that we can generate using
mode 1.
29. In mode 2 assuming that TH1 = FIH, indicate which states timer 2 goes
through until TF1 is raised. How many states is that?
30. Program Timer 1 to generate a square wave of 1 kHz. Assume that XTAL =
11.0592 MHz.
31. Program Timer 0 to generate a square wave of 3 kHz. Assume that XTAL =
11.0592 MHz.
32. Program Timer 0 to generate a square wave of 0.5 kHz. Assume that XTAL =
20 MHz.
33. Program Timer 1 to generate a square wave of 10 kHz. Assume that XTAL =
20 MHz.
34. Assuming that XTAL= 11.0592 MHz, show a program to generate a 1-second
time delay. Use any timer you want.
35. Assuming that XTAL = 16 MHz, show a program to generate a 0.25-second
time delay. Use any timer you want.
36. Assuming that XTAL 11.0592 MHz and that we are generating a square
wave on pin P1.3, find the lowest square wave frequency that we can generate
using mode 2.
37. Assuming that XTAL = 11.0592 MHz and that we are generating a square
wave on pin P1.3, find the highest square wave frequency that we can gener-
ate using mode 2.
38. Assuming that XTAL 16 MHz and that we are generating a square wave on
pin P1.3, find the lowest square wave frequency that we can generate using
mode 2.
39. Assuming that XTAL 16 MHz and that we are generating a square wave on
pin P1.3, find the highest square wave frequency that we can generate using
mode 2.
40. Find the value (in hex) loaded into TH in each of the following.
Transcribed Image Text:21. Assume that XTAL 16 MHz. Find the TH1,TL1 value to generate a time delay of 5 ms. Timer 1 is programmed in mode I. 22. Assuming that XTAL = 11.0592 MHz, program Timer 0 to generate a time delay of 2.5 ms. 23. Assuming that XTAL 11.0592 MHz, program Timer 1 to generate a time delay of 0.2 ms. 24. Assuming that XTAL 20 MHz, program Timer 1 to generate a time delay of 100 ms. 25. Assuming that XTAL = 11.0592 MHz, and we are generating a square wave on pin P1.2, find the lowest square wave frequency that we can generate using mode 1. 26. Assuming that XTAL = 11.0592 MHz, and we are generating a square wave on pin P1.2, find the highest square wave frequency that we can generate using mode 1. 27. Assuming that XTAL = 16 MHz, and we are generating a square wave on pin P1.2, find the lowest square wave frequency that we can generate using mode 1. 28. Assuming that XTAL = 16 MHz, and we are generating a square wave on pin P1.2, find the highest square wave frequency that we can generate using mode 1. 29. In mode 2 assuming that TH1 = FIH, indicate which states timer 2 goes through until TF1 is raised. How many states is that? 30. Program Timer 1 to generate a square wave of 1 kHz. Assume that XTAL = 11.0592 MHz. 31. Program Timer 0 to generate a square wave of 3 kHz. Assume that XTAL = 11.0592 MHz. 32. Program Timer 0 to generate a square wave of 0.5 kHz. Assume that XTAL = 20 MHz. 33. Program Timer 1 to generate a square wave of 10 kHz. Assume that XTAL = 20 MHz. 34. Assuming that XTAL= 11.0592 MHz, show a program to generate a 1-second time delay. Use any timer you want. 35. Assuming that XTAL = 16 MHz, show a program to generate a 0.25-second time delay. Use any timer you want. 36. Assuming that XTAL 11.0592 MHz and that we are generating a square wave on pin P1.3, find the lowest square wave frequency that we can generate using mode 2. 37. Assuming that XTAL = 11.0592 MHz and that we are generating a square wave on pin P1.3, find the highest square wave frequency that we can gener- ate using mode 2. 38. Assuming that XTAL 16 MHz and that we are generating a square wave on pin P1.3, find the lowest square wave frequency that we can generate using mode 2. 39. Assuming that XTAL 16 MHz and that we are generating a square wave on pin P1.3, find the highest square wave frequency that we can generate using mode 2. 40. Find the value (in hex) loaded into TH in each of the following.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY