Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA640 Datasheet(PDF) 297 Page - Microchip Technology

Part # ATMEGA640
Description  8-bit Microcontroller with 16/32/64KB In-System Programmable Flash
PDF  436 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATMEGA640 Datasheet(HTML) 297 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 293Page - Microchip Technology ATMEGA640 Datasheet HTML 294Page - Microchip Technology ATMEGA640 Datasheet HTML 295Page - Microchip Technology ATMEGA640 Datasheet HTML 296Page - Microchip Technology ATMEGA640 Datasheet HTML 297Page - Microchip Technology ATMEGA640 Datasheet HTML 298Page - Microchip Technology ATMEGA640 Datasheet HTML 299Page - Microchip Technology ATMEGA640 Datasheet HTML 300Page - Microchip Technology ATMEGA640 Datasheet HTML 301Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 297 / 436 page
background image
297
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
Figure 28-2. Reset Register
28.3.4
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 connections.
See “Boundary-scan Chain” on page 298 for a complete description.
28.4 Boundary-scan Specific JTAG Instructions
The Instruction Register is 4-bit wide, supporting up to 16 instructions. Listed below are the JTAG instructions use-
ful for Boundary-scan operation. Note that the optional HIGHZ instruction is not implemented, but all outputs with
tri-state capability can be set in high-impedant state by using the AVR_RESET instruction, since the initial state for
all port pins is tri-state.
As a definition in this datasheet, the LSB is shifted in and out first for all Shift Registers.
The OPCODE for each instruction is shown behind the instruction name in hex format. The text describes which
Data Register is selected as path between TDI and TDO for each instruction.
28.4.1
EXTEST; 0x0
Mandatory JTAG instruction for selecting the Boundary-scan Chain as Data Register for testing circuitry external to
the AVR package. For port-pins, Pull-up Disable, Output Control, Output Data, and Input Data are all accessible in
the scan chain. For Analog circuits having off-chip connections, the interface between the analog and the digital
logic is in the scan chain. The contents of the latched outputs of the Boundary-scan chain is driven out as soon as
the JTAG IR-Register is loaded with the EXTEST instruction.
The active states are:
•
Capture-DR: Data on the external pins are sampled into the Boundary-scan Chain
•
Shift-DR: The Internal Scan Chain is shifted by the TCK input
•
Update-DR: Data from the scan chain is applied to output pins
28.4.2
IDCODE; 0x1
Optional JTAG instruction selecting the 32-bit ID-Register as Data Register. The ID-Register consists of a version
number, a device number and the manufacturer code chosen by JEDEC. This is the default instruction after power-
up.
The active states are:
•
Capture-DR: Data in the IDCODE Register is sampled into the Boundary-scan Chain
•
Shift-DR: The IDCODE scan chain is shifted by the TCK input
DQ
From
TDI
ClockDR · AVR_RESET
To
TDO
From Other Internal and
External Reset Sources
Internal reset



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com