ATmega32(L)
ATmega32 Boundary-
scan Order
Table 93 shows the scan order between TDI and TDO when the Boundary-scan chain is
selected as data path. Bit 0 is the LSB; the first bit scanned in, and the first bit scanned
out. The scan order follows the pin-out order as far as possible. Therefore, the bits of
Port A is scanned in the opposite bit order of the other ports. Exceptions from the rules
are the Scan chains for the analog circuits, which constitute the most significant bits of
the scan chain regardless of which physical pin they are connected to. In Figure 116,
PXn. Data corresponds to FF0, PXn. Control corresponds to FF1, and PXn.
Pullup_enable corresponds to FF2. Bit 2, 3, 4, and 5 of Port C is not in the scan chain,
since these pins constitute the TAP pins when the JTAG is enabled.
Table 93. ATmega32 Boundary-scan Order
Bit Number
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
Signal Name
AC_IDLE
ACO
Module
Comparator
ACME
ACBG
COMP
ADC
PRIVATE_SIGNAL1(1)
ACLK
ACTEN
PRIVATE_SIGNAL2(2)
ADCBGEN
ADCEN
AMPEN
DAC_9
DAC_8
DAC_7
DAC_6
DAC_5
DAC_4
DAC_3
DAC_2
DAC_1
DAC_0
EXTCH
G10
G20
GNDEN
HOLD
IREFEN
239
2503J–AVR–10/06