Q.2 (a) A character 0x70 is transmitted through UART. Sketch the waveform that appears at the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q.2 (a) A character 0x70 is transmitted through UART. Sketch the waveform that appears at the RXD terminal of the receiver (LPC1769), assuming that the word length is 7 bits, baud rate is 115200, no parity and 2 stop bits are used. Indicate the start, stop and data bits, as well as the moments at which the receiver samples the incoming data. Indicate clearly the voltage level of the line before and after the character is received. Also, explain how UART is able to recover the timing information from the received data without the need for an external clock. (7 marks) (b) Using an appropriate diagram, detail the sequence of actions performed by the master and the slave devices when the master is sending 1 byte, followed by receiving 2 bytes from the slave using the IC interface. You need not include details of the registers involved or show voltage waveforms. (6 marks) (c) In an ARM Cortex M3 based SoC, only 4 bits (out of a maximum of 8) are implemented in the Interrupt Priority Register (IPR). Which are the priority groups effectively not supported on the SoC? You may refer to Table Q.2(c) for the allocation of bits in the preempt priority and subpriority fields of the IPR. Also, briefly explain the considerations in the selection of a priority group for a particular application. Priority Group ON 10 ON 6 7 Preempt Priority Field Bit [7:1] Bit [7:2] Bit [7:3] Bit [7:4] Bit [7:5] Bit [7:6] Bit [7] None Subpriority Field Bit [0] Bit [1:0] Bit [2:0] Bit [3:0] Bit [4:0] Bit [5:0] Bit [6:0] Bit [7:01 Table Q.2(c). Allocation of bits in the preempt priority and subpriority fields of the IPR for each priority group (6 marks) (d) There are 3 interrupts - A, B and C enabled in an ARM Cortex M3 based system. A has a higher preempt priority (lower priority level) than B and C. B and C have the same preempt priority, but B has a higher subpriority. Interrupts A, B, A, C, B arrive at 1 ms, 3 ms, 7 ms, 10 ms and 12 ms respectively. Each handler takes 5 ms to execute and will also clear the interrupt request. All overheads associated with interrupt processing are assumed to be negligible. What is the total time spent by the processor executing ISR of B in interval [0 ms, 20 ms]? (6 marks) Q.2 (a) A character 0x70 is transmitted through UART. Sketch the waveform that appears at the RXD terminal of the receiver (LPC1769), assuming that the word length is 7 bits, baud rate is 115200, no parity and 2 stop bits are used. Indicate the start, stop and data bits, as well as the moments at which the receiver samples the incoming data. Indicate clearly the voltage level of the line before and after the character is received. Also, explain how UART is able to recover the timing information from the received data without the need for an external clock. (7 marks) (b) Using an appropriate diagram, detail the sequence of actions performed by the master and the slave devices when the master is sending 1 byte, followed by receiving 2 bytes from the slave using the IC interface. You need not include details of the registers involved or show voltage waveforms. (6 marks) (c) In an ARM Cortex M3 based SoC, only 4 bits (out of a maximum of 8) are implemented in the Interrupt Priority Register (IPR). Which are the priority groups effectively not supported on the SoC? You may refer to Table Q.2(c) for the allocation of bits in the preempt priority and subpriority fields of the IPR. Also, briefly explain the considerations in the selection of a priority group for a particular application. Priority Group ON 10 ON 6 7 Preempt Priority Field Bit [7:1] Bit [7:2] Bit [7:3] Bit [7:4] Bit [7:5] Bit [7:6] Bit [7] None Subpriority Field Bit [0] Bit [1:0] Bit [2:0] Bit [3:0] Bit [4:0] Bit [5:0] Bit [6:0] Bit [7:01 Table Q.2(c). Allocation of bits in the preempt priority and subpriority fields of the IPR for each priority group (6 marks) (d) There are 3 interrupts - A, B and C enabled in an ARM Cortex M3 based system. A has a higher preempt priority (lower priority level) than B and C. B and C have the same preempt priority, but B has a higher subpriority. Interrupts A, B, A, C, B arrive at 1 ms, 3 ms, 7 ms, 10 ms and 12 ms respectively. Each handler takes 5 ms to execute and will also clear the interrupt request. All overheads associated with interrupt processing are assumed to be negligible. What is the total time spent by the processor executing ISR of B in interval [0 ms, 20 ms]? (6 marks)
Expert Answer:
Related Book For
Analysis and Design of Analog Integrated Circuits
ISBN: 978-0470245996
5th edition
Authors: Paul R. Gray, ? Paul J. Hurst Stephen H. Lewis, ? Robert G. Meyer
Posted Date:
Students also viewed these programming questions
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
A space-filling curve is a continuous curve in the unit square that passes through every point. Write a recursive Turt le client that produces these recursive patterns, which approach a space-filling...
-
A particle revolves in a horizontal circle of radius 1.95 m. At a particular instant, its acceleration is 1.05 m/s2, in a direction that makes an angle of 25.0 to its direction of motion. Determine...
-
Indicate whether each of the following statements describes a stationary or a non-stationary series. a. A series that has a trend b. A series whose mean and variance remain constant over time c. A...
-
Rudiger is sitting at his desk in his seventh-floor corner office in the city, gazing out over London and reflecting on life. At 43, he is at the top of his game. He has everything he could wish fora...
-
The area shown is revolved about the x axis to form a homogeneous solid of revolution of mass m. Determine by direct integration the mass moment of inertia of the solid with respect to (a) The x...
-
Required information [The following information applies to the questions displayed below] Wemerwoods Company uses a periodic inventory system. It entered into the following purchases and sales...
-
AnderSet Laboratories produces rough lenses that will ultimately be ground into precision lenses for use in laboratory equipment. The company has developed the following thickness measures, based on...
-
Define and describe the methods for mitigation and/or resolution which methods are available to the Builder, Owner, and both parties. Describe the similarities and/or differences between the two...
-
Explain two examples of how the advantages and disadvantages of an annuity and a lump-sum distribution counter, or offset, each other. Why is this important to understand when choosing a of...
-
What happens if an investor receives a margin call? How would this relate to the margin requirement or the maintenance margin?
-
How do the services and costs vary with the different types of full-service, discount service, deep discount, and online brokerage accounts?
-
Compare the rates for a given amount of auto insurance (by interviewing an agent, visiting a Web site, or calling a toll-free information line) for: a. An unmarried male and an unmarried female of...
-
Finance professors often assert that the stock market is efficient. Explain market efficiency and provide an example of a contradiction to the theory. Explain why the average investor is often unable...
-
Calhoun, Inc. purchased equipment at the beginning of 2017 for $180,000, Calhoun decided to depreciate the equipment over a five-year period using the double declining-balance method. Calhoun...
-
Nate prepares slides for his microscope. In 1 day he prepared 12 different slides. Which equation best represents y, the total number of slides Nate prepares in x days if he continues at this rate? A...
-
A CMOS feedback amplifier is shown in Fig. 8.53. If the dc input voltage is zero, calculate the overall gain o / i and the output resistance. Compare your answer with a SPICE simulation. Use n C ox...
-
Use half-circuit concepts to determine the differential-mode and common-mode gain of the circuit shown in Fig. 3.80. Neglect r o , r μ , and r b . Calculate the differential-mode and...
-
The ac schematics of a common-source stage and a common-sourcecommon-gate (cascode) stage are shown in Fig. 7.43 with R S = 10 kΩ and R L = 20 kΩ. Using the transistor and...
-
Define and distinguish between an open and a closed adoption.
-
Define and distinguish between an independent and an agency adoption.
-
Define and give an example of an equitable adoption.
Study smarter with the SolutionInn App