17 12-BIT A/D CONVERTER (ADC12A)
S1C17M12/M13 TECHNICAL MANUAL
Seiko Epson Corporation
17-5
(Rev. 1.2)
(1) One-time conversion mode (ADC12_nTRG.CNVMD bit = 0)
A/D conversion for ADINn0 (ADC12_nTRG.STAAIN[2:0] bits = 0x0, ADC12_nTRG.ENDAIN[2:0] bits = 0x0)
External trigger (ADC12_nTRG.CNVTRG[1:0] bits = 0x3)
ADC12_nCTL.ADST
#ADTRGn pin (trigger)
ADC12_nCTL.BSYSTAT
ADC12_nCTL.ADSTAT[2:0]
A/D conversion operations
ADC12_nAD0D.AD0D[15:0]
ADC12_nINTF.AD0CIF
ADC12_nINTF.AD0OVIF
ADINn0
ADINn0
Sampling
A/D converting
A/D converting
A/D converting
Conversion
ADINn0
ADINn0
Sampling Conversion
Cleared
ADINn0 conversion result (first)
ADINn0 conversion result (second)
0x0 (ADINn0)
0x1 (ADINn1)
0x0 (ADINn0)
0x1 (ADINn1)
0x0 (ADINn0)
Overwrite
ADINn0
ADINn0
Sampling Conversion
(2) One-time conversion mode (ADC12_nTRG.CNVMD bit = 0)
A/D conversion for ADINn2–4 (ADC12_nTRG.STAAIN[2:0] bits = 0x2, ADC12_nTRG.ENDAIN[2:0] bits = 0x4)
External trigger (ADC12_nTRG.CNVTRG[1:0] bits = 0x3)
ADC12_nCTL.ADST
#ADTRGn pin (trigger)
ADC12_nCTL.BSYSTAT
ADC12_nCTL.ADSTAT[2:0]
A/D conversion operations
ADC12_nAD2D.AD2D[15:0]
ADC12_nAD3D.AD3D[15:0]
ADC12_nAD4D.AD4D[15:0]
ADC12_nINTF.AD2CIF
ADC12_nINTF.AD3CIF
ADC12_nINTF.AD4CIF
ADINn2
ADINn2
Sampling
A/D converting
Conversion
ADINn3
ADINn3
Sampling Conversion
ADINn4
ADINn4
Sampling Conversion
Cleared
Cleared
Cleared
ADINn2 conversion result
0x2 (ADINn2)
0x3 (ADINn3)
0x4 (ADINn4)
0x5 (ADINn5)
ADINn3 conversion result
ADINn4 conversion result
Invalid trigger
(3) Continuous conversion mode (ADC12_nTRG.CNVMD bit = 1)
A/D conversion for ADINn3–4 (ADC12_nTRG.STAAIN[2:0] bits = 0x3, ADC12_nTRG.ENDAIN[2:0] bits = 0x4)
Software trigger (ADC12_nTRG.CNVTRG[1:0] bits = 0x0)
ADC12_nCTL.ADST
ADC12_nCTL.BSYSTAT
ADC12_nCTL.ADSTAT[2:0]
A/D conversion operations
ADC12_nAD3D.AD3D[15:0]
ADC12_nAD4D.AD4D[15:0]
ADC12_nINTF.AD3CIF
ADC12_nINTF.AD4CIF
ADINn3
ADINn3
Sampling
A/D converting
Conversion
ADINn4
ADINn4
Sampling Conversion
ADINn4
ADINn4
Sampling Conversion
ADINn3
ADINn3
Sampling Conversion
Cleared
Cleared
0x3 (ADINn3)
0x4 (ADINn4)
0x4 (ADINn4)
0x3 (ADINn3)
0x5 (ADINn5)
ADINn4 conversion result
(second)
Cleared
Cleared
ADINn3 conversion result (first)
ADINn4 conversion result (first)
ADINn3 conversion result (second)
Figure 17.4.4.1 A/D Conversion Operations