1043
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
40.6.9
Input Gain and Offset
The ADC has a built in Programmable Gain Amplifier (PGA) and Programmable Offset.
The Programmable Gain Amplifier can be set to gains of 1/2, 1, 2 and 4. The Programmable
Gain Amplifier can be used either for single ended applications or for fully differential
applications.
If ANACH is set in ADC_MR the ADC can apply different gain and offset on each channel. Oth-
erwise the parameters of CH0 are applied to all channels.
The gain is configurable through the GAIN bit of the Channel Gain Register (ADC_CGR) as
shown in
To allow full range, analog offset of the ADC can be configured by the OFFSET bit of the Chan-
nel Offset Register (ADC_COR). The Offset is only available in Single Ended Mode.
Table 40-6.
Gain of the Sample and Hold Unit: GAIN Bits and DIFF Bit.
GAIN<0:1>
GAIN (DIFF = 0)
GAIN (DIFF = 1)
00
1
0.5
01
1
1
10
2
2
11
4
2
Table 40-7.
Offset of the Sample and Hold Unit: OFFSET DIFF and Gain (G)
OFFSET Bit
OFFSET (DIFF = 0)
OFFSET (DIFF = 1)
0
0
0
1
(G-1)Vrefin/2
Summary of Contents for SAM4S Series
Page 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Page 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...