Explanation Of 8-/10-Bit A/D Converter Operation; Fig. 19.7 Setting In Single-Shot Conversion Mode - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

MB90420/5 (A) SERIES F

19.6 Explanation of 8-/10-bit A/D Converter Operation

The 8-/10-bit A/D converter has three modes: single-shot conversion, continuous conversion, and pause-
conversion. The operation of each mode is explained.
n Operation of single-shot conversion mode
In the single-shot conversion mode, the analog input set for the ANS bit and for the ANE bit are converted
sequentially, and A/D conversion stops when conversion for up to the ending channel that was set for the
ANE bit is completed. When the starting and ending channels are the same (ANS = ANE), conversion is
performed for only the channel specified for the ANS bit.
conversion mode, the setting shown in Figure 19.7 is needed.
bit 15 bit 14bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
ADCS
BUSY INT INTE PAUS STS1 STS0 STRT
ADCR S10 ST1 ST0 CT1 CT0
ADER
: Used bit
: 1 set for bit corresponding to pin used
0 : 0 set
Reference:
An example of the conversion order in the single-shot conversion mode is given below:
When ANS = 000
and ANE = 011
B
When ANS = 110
and ANE = 010
B
When ANS = 011
and ANE = 011
B
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
Reserved
0

Fig. 19.7 Setting in Single-shot Conversion Mode

: AN0 → AN1 → AN2 → AN3 → End
B
: AN6 → AN7 → AN0 → AN1 → AN2 → End
B
: AN3 → End
B
To perform conversion in the single-shot
MD1 MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0
Converted data stored
19-16

Advertisement

Table of Contents
loading

Table of Contents