Docsity

Microprocessor Systems - Introduction to Microprocessor Systems - Lecture Sli, Lecture notes of Computer Science

Partial preview of the text

Download Microprocessor Systems - Introduction to Microprocessor Systems - Lecture Sli and more Lecture notes Computer Science in PDF only on Docsity!

Introduction to

Microprocessor Systems

  • Why do PC UARTs include data FIFOs?
  • Write 2 subroutines (in/out) with a data area to implement a circular queue of size N=2 n^. Why is it better to have N=2 n^? If this queue is being used by a serial transmitter ISR and the main program, what hazards could occur?
  • What are the differences between synchronous and asynchronous comm?
  • How does an asynchronous receiver know when to sample each bit? Synchronous?
  • What sorts of things does the RS- standardize?
  • On an RS-232 link, what information needs to be known in advance at both ends?
  • If an ADC is operating with FS =48KHz, what range of frequencies can it convert correctly?
  • What could you do if there were higher frequencies present in the signal?
  • How does a successive-approximation ADC work?

Review R

2R

2R

2R

2R

R

+8V V (^) OUT

Rf

I (^) TOT I (^) REF^ I^ SUM

  • What is IREF? Currents through all 2R?
  • How do the switches affect the 2R currents?
  • Write a general equation for VOUT.
  • What is the digital input value?
  • What is the value of VOUT? Range of VOUT?
  • What is the digital coding scheme?
  • What would happen if we made R=Rf =10K Ω?

Assume R=Rf =1kΩ and the switches are as shown.

Assume a 10-bit ADC with V (^) REF = 2.048V

using an unsigned binary coding scheme.

What is its resolution?

What is the smallest input change that

you are guaranteed to detect? (Ideal)

What is the maximum binary output, and

what voltage does it correspond to?

If reading a temperature sensor with a

10mV/°C output (0°C-200°C), how many

bits needed to be accurate to +/-0.2°C?Docsity.com