12.07.2015 Views

Interfacing the M68HC05 MCU to the MC145051 A/D Converter

Interfacing the M68HC05 MCU to the MC145051 A/D Converter

Interfacing the M68HC05 MCU to the MC145051 A/D Converter

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Freescale Semiconduc<strong>to</strong>r, Inc.Application NoteAnalog InterfaceThe analog input consists of <strong>the</strong> converter's high and low voltagereference pins and all 11 analog input pins. The analog specificationsare listed in Table 1.Table 1. Analog SpecificationsSymbol Parameter Min MaxV REF DC Reference Voltage V AG +4.0 V DD +0.1V AG Analog Ground V SS –0.1 V REF –4.0nc...Freescale Semiconduc<strong>to</strong>r, IV AI Analog Input Voltage V AG V REFThe <strong>MC145051</strong> will take <strong>the</strong> voltage it samples off its analog input pinand convert it <strong>to</strong> a number equivalent <strong>to</strong> <strong>the</strong> ratio of <strong>the</strong> input voltage and<strong>the</strong> difference between <strong>the</strong> V REF and V AG . This number is <strong>the</strong> converter'sdigital representation of <strong>the</strong> sampled voltage input. Figure 4 illustratesthis ratio and describes an equation that predicts <strong>the</strong> ADC's conversionvalue. For example, if V AI = 2.34 volts, <strong>the</strong>n <strong>the</strong> 10-bit representation ofthat voltage is 479 or $1DF.V REFV AIV AGV AIV REF –V AG=V AIFigure 4. A/D Conversion Ratio?102 –1x 1023 = ?V REF –V AGAN1228 — Rev. 2.06 MOTOROLAFor More Information On This Product,Go <strong>to</strong>: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!