Rainbow-electronics ATmega32L Uživatelský manuál Strana 227

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 313
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 226
227
ATmega32(L)
2503C–AVR–10/02
Boundary-scan Chain The Boundary-scan chain has the capability of driving and observing the logic levels on
the digital I/O pins, as well as the boundary between digital and analog logic for analog
circuitry having Off-chip connection.
Scanning the Digital Port Pins Figure 116 shows the Boundary-scan Cell for a bi-directional port pin with pull-up func-
tion. The cell consists of a standard Boundary-scan cell for the Pull-up Enable – PUExn
– function, and a bi-directional pin cell that combines the three signals Output Control –
OCxn, Output Data – ODxn, and Input Data – IDxn, into only a two-stage Shift Register.
The port and pin indexes are not used in the following description.
The Boundary-scan logic is not included in the figures in the Data Sheet. Figure 117
shows a simple digital Port Pin as described in the section “I/O Ports” on page 47. The
Boundary-scan details from Figure 116 replaces the dashed box in Figure 117.
When no alternate port function is present, the Input Data – ID – corresponds to the
PINxn register value (but ID has no synchronizer), Output Data corresponds to the
PORT register, Output Control corresponds to the Data Direction – DD Register, and the
Pull-up Enable – PUExn – corresponds to logic expression PUD
· DDxn · PORTxn.
Digital alternate port functions are connected outside the dotted box in Figure 117 to
make the scan chain read the actual pin value. For Analog function, there is a direct
connection from the external pin to the analog circuit, and a scan chain is inserted on
the interface between the digital logic and the analog circuitry.
Figure 116. Boundary-scan Cell for Bidirectional Port Pin with Pull-up Function.
DQ DQ
G
0
1
0
1
DQ DQ
G
0
1
0
1
0
1
0
1
DQ DQ
G
0
1
Port Pin (PXn)
VccEXTESTTo Next CellShiftDR
Output Control (OC)
Pullup Enable (PUE)
Output Data (OD)
Input Data (ID)
From Last Cell
UpdateDRClockDR
FF2 LD2
FF1 LD1
LD0FF0
Zobrazit stránku 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 312 313

Komentáře k této Příručce

Žádné komentáře