Datasheet
ADC
+
ADCR
temp+ temp
=
ADCH
+
ADCR
temp
+ temp
Given a temperature sensor ADC conversion value ADC
m
, we can infer a coarse value of the
temperature temp
C
as:
temp
= temp
+
ADC
1
2
12
+ 1
+ ADC
INT1
2
12
+ 1
temp
+ temp
ADC
INT1
2
12
+ 1
+ ADC
INT1
2
12
+ 1
[Equation 1]
Note:
1. In the previous expression, we have added the conversion of the ADC register value to be
expressed in V.
2. This is a coarse value because we assume INT1V=1V for this ADC conversion.
Using the (temp
R
, INT1V
R
) and (temp
H
, INT1V
H
) points, using a linear interpolation we have the following
equation:
INT1 + INT1
temp+ temp
=
INT1
+ INT1
temp
+ temp
Then using the coarse temperature value, we can infer a closer to reality INT1V value during the ADC
conversion as:
INT1
= INT1
+
INT1
+ INT1
temp
+ temp
temp
+ temp
Back to [Equation 1], if we replace INT1V=1V by INT1V = INT1V
m
, we can deduce a finer temperature
value as:
temp
= temp
+
ADC
INT1
2
12
+ 1
+ ADC
INT1
2
12
+ 1
temp
temp
ADC
INT1
2
12
+ 1
+ ADC
INT1
2
12
+ 1
[Equation 1bis]
SAM D21 Family
Electrical Characteristics
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 1013