aLec28_DAC - Introduction to Embedded Microcomputer Systems...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Embedded Microcomputer Systems Lecture 28.1 Jonathan W. Valvano Recap Synchronization: hardware/software, between threads SCI interrupts Fifo queue: what why how Overview Design a DAC Experimental method Output a sine wave Digital to Analog Conversion Signal generation (sound, image, touch…) Output to affect external devices (power, flow, heat…) The DAC precision is the number of distinguishable DAC outputs (e.g., 16 alternatives, 4 bits). The DAC range is the maximum and minimum DAC output (0 to 5V). The DAC resolution is the smallest distinguishable change in output. (5V/16 =0.31V) Range(volts) = Precision(alternatives) • Resolution(volts) The DAC accuracy is (Actual - Ideal) / Ideal For example, if we were to build a 2-bit DAC. Assume V OH of the 9S12 is 5, and its V OL is 0 N Q 1 Q 0 V 1 (V) V 2 (V) 0 0 0 0.00 0.00 1 0 5 1.25 1.67 2 5 0 2.50 3.33 3 5 5 3.75 5.00 Q 1 Q 0 10k Ω 20k Ω V 1 20k Ω Q 1 Q 0 10k Ω 20k Ω V 2 6812 bit3 bit2 bit1 bit0 static testing V out voltmeter I out speaker 6812 bit3 bit2 bit1 bit0 dynamic testing Figure 8.1. DAC allows the software to create music.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '11
  • YERRABALLI
  • DAC, Accuracy and precision, Digital-to-analog converter, Jonathan W. Valvano, Embedded Microcomputer Systems

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern