Datasheet
167
ATmega323(L)
1457E–11/01
ATmega323 Boundary-
scan Order
Table 64 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
89, PXn.Data corresponds to FF0, PXn.Control corresponds to FF1, and PXn.
Pullup_dissable 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 58. ATmega323 Boundary-scan Order
Bit Number Signal Name Module
131 SIG_PRIVATE0
Privat Section 1
130 SIG_PRIVATE1
129 SIG_PRIVATE2
128 SIG_PRIVATE3
127 SIG_PRIVATE4
Privat Section 2
126 SIG_PRIVATE5
125 SIG_PRIVATE6
124 SIG_PRIVATE7
123 SIG_PRIVATE8
122 SIG_PRIVATE9
121 SIG_PRIVATE10
120 SIG_PRIVATE11
119 SIG_PRIVATE12
118 SIG_PRIVATE13
117 SIG_PRIVATE14
116 SIG_PRIVATE15
115 SIG_PRIVATE16
114 SIG_PRIVATE17
113 SIG_PRIVATE18
112 SIG_PRIVATE19
111 SIG_PRIVATE20
110 SIG_PRIVATE21
109 SIG_PRIVATE22
108 SIG_PRIVATE23
107 SIG_PRIVATE24
106 SIG_PRIVATE25
105 SIG_PRIVATE26