Analog-to-digital converter – Lucent Technologies MN10285K User Manual

Page 149

Advertising
background image

Analog-to-Digital Converter

ADC Setup Examples

Panasonic Semiconductor Development Company

MN102H75K/F75K/85K/F85K LSI User Manual

148

Panasonic

AN6BUF (example)

x’00FF14’

6.5.2

Setting Up Hardware-Controlled Intermittent Three-Channel
A/D Conversion

This example illustrates multiple-channel conversion controlled by the hardware.

The ADIN2, ADIN1, and ADIN0 pins input analog voltage signals ( 0.0 V– 3.3
V) and the ADC converts the voltages to 8-bit digital values. It writes the results

to the registers periodically, each time timer 1 underflows.

Bit:

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

ANn

BUF7

ANn

BUF6

ANn

BUF5

ANn

BUF4

ANn

BUF3

ANn

BUF2

ANn

BUF1

ANn

BUF0

Figure 6-9 Timing of Software-Controlled Single-Channel A/D Conversion

Figure 6-10 Multiple-Channel A/D Conversion

1

2

3

4

10

11

12

VALID

ADIN6 converting

ANCTR

set

ANEN

State

Reference

clock

AN6BUF

AN6BUF

read

Interrupt

Slider 3

Slider 2

Slider 1

0

5

10

0

5

10

0

5

10

ch0

ch1

ch2

A/D converter data registers

Underflow

Timer 1

MN102

CPU core

MN102H75K

Advertising
This manual is related to the following products: