Single Channel/Single Conversion Timing; Multiple Channel/Single Conversion Timing; Panasonic - Panasonic MN10285K User Manual

Panax series microcomputer
Table of Contents

Advertisement

Analog-to-Digital Converter
A/D Conversion Timing
MN102H75K/F75K/85K/F85K LSI User Manual
6.4.2

Single Channel/Single Conversion Timing

When ANMD[1:0] = b'00', the ADC converts one ADIN input signal a single
time. An interrupt occurs when the conversion ends. Load the number of the
channel to be converted to the AN1CH[3:0] field of the ADC control register
(ANCTR). (The ANNCH[3:0] field is ignored in this mode.)
When the software starts the conversion, write a 0 to the ANTC bit (disabling
conversion start at timer 1 underflow), then write a 1 to ANEN. (If ANTC = 1,
ANEN goes high upon a timer 1 underflow.) ANEN remains high during the con-
version, then clears to 0 when the conversion ends.
Start
Stop
Interrupt
request
Channel 0
Channel 1
State
conversion
conversion
ANEN
Figure 6-4 Single Channel/Single Conversion Timing
6.4.3

Multiple Channel/Single Conversion Timing

When ANMD[1:0] = b'01', the ADC converts multiple, consecutive ADIN input
signals a single time. An interrupt occurs when the conversion sequence ends.
Load 0s to the AN1CH[3:0] field of the ADC control register (ANCTR), then
load the number of the final channel in the sequence to the ANNCH[3:0] field.
The sequence always begins with channel 0.
When the software starts the conversion, write a 0 to the ANTC bit (disabling
conversion start at timer 1 underflow), then write a 1 to ANEN. (If ANTC = 1,
ANEN goes high upon a timer 1 underflow.) ANEN remains high during the con-
version, then clears to 0 when the conversion sequence ends. Note that the
AN1CH[3:0] field holds the number of the channel being converted. It clears to 0
when the sequence ends.
Start
Stop
Interrupt
request
Channel 0
Channel 1
State
conversion
conversion
ANEN
Figure 6-5 Multiple Channel/Single Conversion Timing
145

Panasonic

Channel 2
conversion
Channel 2
conversion
Panasonic Semiconductor Development Company

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn102f75kMn102f85kMn102h75kMn102h85k

Table of Contents