Datasheet

Table Of Contents
Table 27-4. Boundary-scan Signals for the Analog Comparator
Signal
Name
Direction as
Seen from the
Comparator
Description Recommended Input
when not in Use
Output values when
Recommended Inputs
are Used
AC_IDLE Input Turns off Analog
comparator when
true
1 Depends upon μC code
being executed
ACO Output Analog Comparator
Output
Will become input to
μC code being
executed
0
ACME Input Uses output signal
from ADC mux
when true
0 Depends upon μC code
being executed
ACBG Input Bandgap Reference
enable
0 Depends upon μC code
being executed
27.13.6. Scanning the ADC
The figure below shows a block diagram of the ADC with all relevant control and observe signals. The
Boundary-scan cell from Figure 27-8 is attached to each of these signals. The ADC need not be used for
pure connectivity testing, since all analog inputs are shared with a digital port pin as well.
Figure 27-12. Analog to Digital Converter
10-bit DAC +
-
AREF
PRECH
DACO UT
COMP
MUXEN_7
ADC_7
MUXEN_6
ADC_6
MUXEN_5
ADC_5
MUXEN_4
ADC_4
MUXEN_3
ADC_3
MUXEN_2
ADC_2
MUXEN_1
ADC_1
MUXEN_0
ADC_0
NEGS EL_2
ADC_2
NEGS EL_1
ADC_1
NEGS EL_0
ADC_0
EXTCH
+
-
+
-
10x 20x
G10
G20
ST
ACLK
AMPEN
2.56V
ref
IREFEN
AREF
VCCREN
DAC_9..0
ADCEN
HOLD
PRECH
GNDEN
PAS S EN
ACTEN
COMP
SCTEST
ADCBGEN
To Compa rator
1.22V
ref
AREF
The signals are described briefly in the following table.
Atmel ATmega32A [DATASHEET]
Atmel-8155I-ATmega32A_Datasheet_Complete-08/2016
297