AT90USBKey
.............................................................................................
Hardware User Guide
AT90USBKey Hardwar e User Guide User Guide 1
7627A–AVR–04/06
Section 1
Introduction...........................................................................................1-3
1.1 Overview...................................................................................................1-3
1.2 AT90USBKey Featur e s... ...................................... ...................................1-4
Section 2
Using the AT90USBKey .......................................................................2-5
2.1 Overview...................................................................................................2-5
2.2 Power Su p ply............................................................................................2-6
2.3 Reset.........................................................................................................2-8
2.4 On- b oard Re so ur ce s... ..............................................................................2-9
2.5 In-System Programm ing .........................................................................2-13
2.6 Debugging...............................................................................................2-14
Section 3
Troubleshooting Guide .......................................................................3-15
Section 4
Technical Specifications................... ..................................................4-16
Section 5
Technical Support.......... .....................................................................5-17
Section 6
Complete Sche matics.........................................................................6-18
AT90USBKey Hardwar e User Guide 1-3
7627A–AVR–04/06
Section 1
Introduction
Congratulations on acquiring the AVR® AT90USBKey. This kit is designed to give
designers a quick s tart to dev elop c ode on the A V R® and for prot ot yping and testing of
new designs with the AT90USB microcontrolle r family.
1.1 Overview
This document describes the AT90USBKey dedicated to the AT90USB AVR
microcont roller. T his board is designed to al low an easy evalu ation of t he prod uc t using
demon strat ion software.
To increase its demonstrative capabilities, this stand alone board has numerous on-
board resources: USB, joystick, data-flash and temperature sensor.
Figure 1-1 . AT90USBKey
Introduction
1-4 AT90USBKey Hardware User Guide
7627A–AVR–04/06
1.2 AT90USBKey Features
The AT90USBKey provid es the following features:
AT90USB QFN64
AVR Studio® software interface (1)
USB software interface for Devic e Firmware Upgrade (DFU bootloader) (2)
Power supply flagged by “VCC-ON” LED:
regulated 3.3V
from an external battery connector (for reduced host or OTG operation)
from the USB interface (USB device bus powered application)
JTAG interface (connec tor not mounted):
for on- chip ISP
for on-chip debugg ing using JTAG IC E
Serial interfaces:
1 USB full/low speed device/host/OTG interface
On-board res ources:
4+1-ways j oy sti ck
2 Bi-Color LEDs
temperature sensor
serial dataf lash memories
all microcontroller I/O ports access on 2x8pin headers (not mounted)
On-board RE SET button
On-board HWB button to force bootloader section execution at reset.
System clock:
8 MHz crystal
Notes: 1. The AVRUSBKey is supported by AVR Studio®, version 4.12 or higher. For up-to-
date information on this and other AVR tool products, please consult our web site.
The most recent version of AVR Studio®, AVR tools and this User Guide can be
found i n the AVR sect ion of the Atmel web site, http://www.atmel.com.
2. ATMEL Flip®, In System Program ming Version 3 or Higher shall be used for Device
Firmware Upgrade. Please consult Atmel web site to retrieve the latex version of Flip
and the DFU bootloader Hex file if needed.
AT90USBKey Hardwar e User Guide 2-5
7627A–AVR–04/06
Section 2
Using the AT90USBKey
This chapte r describes the AVRUSBKey and all its res ources .
2.1 Overview
Figure 2-1 . A T90 U SBKe y Ov e rview
Using the AT90USBKey
2-6 AT90USBKey Hardware User Guide
7627A–AVR–04/06
2.2 Power Supply
2.2.1 Pow er Supp l y Sources
The on-board power supply c ircuitry allows two power supply configurations:
from USB connector
from battery connector
USB powered W hen used as a USB d evice bus powere d appli cation, the AV RUS BKe y can be directly
powered via the USB VBUS powe r supply line.
Battery powered The external battery connector should be used when the AT90USBKey is used as a
USB host. This mode allows the AT90USBKey to provide a 5V power supply from its
VBUS pin.
Ne ed of a female battery clip
Input supply from 8 up to 15V DC (m in . 100mA )
Figure 2-2 . Power supply schematic
VCC3
IN
1
GND
2OUT 3
U5
LM340
VBUS
VBAT
D4
LL4148
-
C16
4.7uF
R19
124k 1%
U3out=1.25*(1+(R15+R18)/R19)
R18100k 1%
D3
LL4148
C17
220nF
VCC3
5V
R15
100k 1%
MTA
Ext power supply
1
2
J8
C18
100nF
OUT 1
IN
2
GND
3
OUT 4
FAULT 8
SHDN
7
CC 6
SET 5
U4
LP3982 C15
33nF
D6
LL4148
Using t he AT90USBKey
AT90USBKey Hardwar e User Guide 2-7
7627A–AVR–04/06
2.2.2 VBUS Generator
W hen using the AT90USB microcontroller i n U SB host mode , the AT90USBKey should
provide a 5V power supply over the VBUS pin of it s USB mini AB connector.
A couple of transistors allows the UVCON pin of the AT90USB to control the VBUS
generation (See Figure 2-3). In this mode the AT90USBKey is powered by external
battery power supply source.
Figure 2-3 . VBUS generator schematic
2.2.3 “POWER-ON“ LED
The POWER-ON LED (“D1”) is always lit when power is applied to AVRUSBKey
regardless of the power supply source.
R25
100k
Q1
BC847B -
C19
4.7uF
R24
10k M1
FDV304P/FAI
UVCON
VBUS
5V
Using the AT90USBKey
2-8 AT90USBKey Hardware User Guide
7627A–AVR–04/06
2.3 Reset
Although the AT90USB has its on-chip RESET circuitry (c.f. AT90USB Datasheet,
section “System Control and Reset), the AVRUSBKey provides to the AT90USB a
RESET signal witch can come from two different sources:
Figure 2-4 . Rese t I m p lem en tation
2.3.1 Power-o n RESET
The on-board RC netw ork acts as power-on RESET.
2.3 .2 RESET Push Butto n
By pressing the RESET push button on the AVRUSBKey, a warm RESET of the
AT 90USB is performed.
2.3.3 Main Clock XTAL
To use the US B i nterface o f the A T90 USB, the clock sourc e should always be a crystal
or external clock oscilla tor (the internal 8MHz RC oscilla tor can not be used to operate
with the USB interface). Only the following crystal frequency allows proper USB
operations: 2M Hz, 4 MHz , 6 MHz, 8MHz, 12MHz , 1 6 MHz. Th e AT90 U SBKe y co me s with
a def a ult 8MHz cr ystal os c illator .
RST
VCC
R6
47k C8
220nF RESET
Using t he AT90USBKey
AT90USBKey Hardwar e User Guide 2-9
7627A–AVR–04/06
2.4 On-board Resources
2.4.1 USB
The AVRUSBKey is supplied with a standard USB mini A-B receptacle. The mini AB
receptacle allows to connect both a mini A plug or a mini B plug connectors.
Figure 2-5 . USB mini A-B Recept acle
When connected to a mini B plug, the AT90USB operates as an “USB device” (the ID
pin of the plug is unconnected) and when connected to a mini A plug, the AT90USB
operates as a “USB host” (the ID pin of the A plug is tied to ground).
2.4.2 Joystick
The 4+1 ways joystick offers an easy user interface implementation for a USB
application (it can emulate mou se movem ent s, keyboard inputs...).
Pushing the push-button causes the corresponding signal to be pulled low, while
releasing (not pressed) causes an H.Z state on the signal. The user must enable
internal pull-ups on the microcontroller input pins, removing the need for an external
pull-up resistors on the push-button.
Figure 2-6 . J oystick Schematic
C7
1uF
VBUS
R4 0
GND
VBUS
1-V_BUS
3-D+
2-D-
4-ID
5-GND
SHIELDSHIELDSHIELDSHIELD
USB_MiniAB
J3 VBUS
VBUS
GND
R3 22
R2 22
D+
D-
UID
CR1
CR2
UCAP
Select 5
Left 7
Up 3
Right 6
Down 4
Com1
1
Com2
2
SW3
TPA511G
PE[7..0]
PB[7..0]
PB5
PB6
PB7
PE4
PE5
Select 5
Left 7
Up 3
Right 6
Down 4
Com1
1
Com2
2
SW3
TPA511G
PE[7..0]
PB[7..0]
PB5
PB6
PB7
PE4
PE5
Select 5
Left 7
Up 3
Right 6
Down 4
Com1
1
Com2
2
SW3
TPA511G
PE[7..0]
PB[7..0]
PB5
PB6
PB7
PE4
PE5
Using the AT90USBKey
2-10 AT90USBKey Hardware User Guide
7627A–AVR–04/06
2.4.3 LEDs
The AT90USBKey includes 2 bi-color LEDs (green/red) im plemented on one line. They
are connected to the high nibble of “Port D” of AT90USB (PORT D[4..7]).
To light on a LED, the corresponding port pin must drive a high level. To light off a LED,
the corresponding port pin must drive a low lev el .
Figure 2-7 . LEDs Implementation schem atic
Table 2-1 . Leds references
2.4.4 Temperature Sensor
The temperature se nsor uses a thermistor (R29), or tem perature-s ensitive resistor. This
thermisto r hav e a n egat ive temp eratu re c oefficient (NTC ), mea ning the resistance goes
up as temperature goes down. Of all passive temperature measurement sensors,
thermistors have the highest sensitivity (resistance change per degree of temperature
chan ge). Thermistors do not have a linear temperature/resistance curve.
The voltage ov er the NTC can be f ound using the A/D converter (connected to channe l
0). See the AT90USB Datasheet for how to use the ADC. The therm istor value (RT) is
calculate with the following expression:
Where: RT = Thermistor value (Ω) at T temperature (°Kelvin)
RH = Second resistor of the bridge -100 KΩ ±10 % at 25°C
VADC0 = Voltag e value on ADC-0 input (V)
VCC = Boar d power supply
LED Reference AT90USB Connection Color
D2 PORTD.4 Red
PORTD.5 Green
D5 PORTD.6 Green
PORTD.7 Red
D2
D5
R141k
R171k
LEDs
I n-line Grouped LED s
PD4
PD5
PD7
PD[7..0]
PD6
R221k
R231k
RTRHVADC0
()VCC VADC0
()=
Using t he AT90USBKey
AT90USBKey Hardwar e User Guide 2-11
7627A–AVR–04/06
The NTC thermistor used in AT90USBKey has a resist ance of 100 KΩ ±5% at 25°C (T0)
and a beta-value of 4250 ±3%. By the use of the following equation, the temperature (T)
can be calculated:
Where: RT = Thermistor value (Ω) at T temperature (°Kelvin)
ß = 4250 ±3%
R0 = 10 0 KΩ ±5% at 25 °C
T0 = 298 °K (273 °K + 25°K)
The following cross table also can be used. It is based on the above equation.
Table 2-2 . Thermistor Values versus Temperature
Temp.
(°C) RT
(KΩ)Temp.
(°C) RT
(KΩ)Temp.
(°C) RT
(KΩ)Temp.
(°C) RT
(KΩ)
-20 1263,757 10 212,958 40 50,486 70 15,396
-19 1182,881 11 201,989 41 48,350 71 14,851
-18 1107,756 12 191,657 42 46,316 72 14,329
-17 1037,934 13 181,920 43 44,380 73 13,828
-16 973,006 14 172,740 44 42,537 74 13,347
-15 912,596 15 164,083 45 40,781 75 12,885
-14 856,361 16 155,914 46 39,107 76 12,442
-13 803,984 17 148,205 47 37,513 77 12,017
-12 755,175 18 140,926 48 35,992 78 11,608
-11 709,669 19 134,051 49 34,542 79 11,215
-10 667,221 20 127,555 50 33,159 80 10,838
-9 627,604 21 121,414 51 31,840 81 10,476
-8 590,613 22 115,608 52 30,580 82 10,128
-7 556,056 23 110,116 53 29,378 83 9,793
-6 523,757 24 104,919 54 28,229 84 9,471
-5 493,555 25 100,000 55 27,133 85 9,161
-4 465,300 26 95,342 56 26,085 86 8,863
-3 438,854 27 90,930 57 25,084 87 8,576
-2 414,089 28 86,750 58 24,126 88 8,300
-1 390,890 29 82,787 59 23,211 89 8,035
0 369,145 30 79,030 60 22,336 90 7,779
1 348,757 31 75,466 61 21,498 91 7,533
2 329,630 32 72,085 62 20,697 92 7,296
3 311,680 33 68,876 63 19,930 93 7,067
4 294,826 34 65,830 64 19,196 94 6,847
Tβ
RT
R0
-------
ln
⎝⎠
⎛⎞
β
T0
------+
-------------------------------=
Using the AT90USBKey
2-12 AT90USBKey Hardware User Guide
7627A–AVR–04/06
Figure 2-8 . Thermistor Schematic
2.4.5 Data Flash memory
For mass-storag e cla ss demonstratio n purp o se , th e AT90 U SBKe y p ro vides two on- ch ip
serial Fla sh mem ories (AT45DB642D) connec te d to the AT90USB Serial Port Interface
(SPI).
The data-fl ash chip select signals are connected to PortE bit 0 and bit 1 of the AT90USB
(See Figure 2 -9).
Figure 2-9 . On-board data flash schematic
5 278,995 35 62,937 65 18,493 95 6,635
6 264,119 36 60,188 66 17,820 96 6,430
7 250,134 37 57,576 67 17,174 97 6,233
8 236,981 38 55,093 68 16,556 98 6,043
9 224,606 39 52,732 69 15,964 99 5,860
Temp.
(°C) RT
(KΩ)Temp.
(°C) RT
(KΩ)Temp.
(°C) RT
(KΩ)Temp.
(°C) RT
(KΩ)
PF[7..0]
R29
R27
100k
PF0
VCC
PE0
VCC3
VCC3
PB[7..0]
PB1
R9
100k
RESET
PB3
PB2 SI
1
SCK
2
RESET
3
CS
4WP 5
VCC 6
GND 7
SO 8
U2
AT45D B642D C ASON 8
PE1
VCC3
VCC3
RESET
PB1
R10
100k
PB3
PB2 SI
1
SCK
2
RESET
3
CS
4WP 5
VCC 6
GND 7
SO 8
U3
AT45D B642D C ASON 8
R12
100k
R11
100k
Using t he AT90USBKey
AT90USBKey Hardwar e User Guide 2-13
7627A–AVR–04/06
2.5 In-System Programming
2.5.1 Programming with USB bootload er: DFU (Device Firmware Upgrade)
AT 90USB part comes with a default factory pre-programmed USB bootloader located in
the on-chip boot section of the AT90USB. This is the easiest and fastest way to
reprogram the device directly over the USB interface. The “Flip” PC side application, is
available f rom the Atmel website, offers a flexible an user friendly interface to reprogram
the applic ation over the USB bus.
The HWB pin of the AT90USB allows to force the bootloader section execution after
reset. (Ref er to A T90 USB datasheet sect ion “boot loa der s uppo rt”). To force bootloader
execution , operate as follow:
Press both “RST” and “HWB ” push buttons
First release the “RST” push button
Release the “HWB” push button
For more information about the USB bootloader and “Flip” application, please refer to
the “USB bootload er datasheet docum ent ” and “Flip’s user manual”.
Note: The HWB pin is active only if the HWBE fuse is set (default factory configurati on).
2.5.2 Pro gram m ing with AVR JT AGIC EmK II
The AT90USB can be programmed using specific JTAG link. To use the AVR
JTAGICEmkII with an AT90USBKey an optional HE1 0 conn ector should be soldered to
J9 footprint. Then the JTAG probe can be con nected t o the AT90USBKey as sh own i n
Figure 2-10.
Note: When the JTAGEN Fuse is unprogra mmed, the four TAP pins are normal port pins, and
the TAP controller is in reset. When programmed, the input TAP signals are internally
pulled high and the JTAG is enabled for Boundary-scan and programming. The
AT90USB device i s shi pped with this fuse programmed.
Using the AT90USBKey
2-14 AT90USBKey Hardware User Guide
7627A–AVR–04/06
Figure 2-10 . Connecting AVR JTAG ICE to AVRUSBKey
The Flash, EEPROM and all Fuse and Lock Bit options ISP-programmable can be
programmed individually or with the sequential automatic programming option.
Note: See AVR Studio® on- line Help for inf orma ti on.
2.6 Debugging
2.6.1 Debugging with AVR JTAG ICE mkII
The AT90USBKey can be used for debugging with JTAG ICE MK II.
Connect the JTAG ICE mkII as shown in Figure 2-10, for debugging, please refer to
AVR Studio ® Help information.
When using JTAG ICE MK II for debugging, and as AT90USB parts are factory
configur ed with the higher security level set, a chip erase operation will be performed on
the part before debugging. Thus the on-chip flash bootloader will be erased. It can be
restored after the debug session using the bootloader hex file available from ATMEL
website.
AT90USBKey Hardwar e User Guide 3-15
7627A–AVR–04/06
Section 3
Troub leshooting Guide
Figure 3-1 . Troubleshooting Gui de
Problem Reason Solution
The Green “VCC-ON”
LED is not on No power suppl y Verify the power supply source (check
battery charge or USB connection).
AVRUSBKey does not
work
The AT90USB cannot be
programmed
The AVR JTAG ICE
probe is n ot
connected
Connect the JT AG ICE 10-PIN header to
the correct AVRUSBKey JTAG header
(page 13)
The memory lock bit s
are programmed Erase the memor y before programming
with JTAG ICE.
The fuse bits are
wrongly programmed Check the fuse bits with JTAG ICE
Can not connect to
USB bootlo ader
Force bootloader execution wit h HWB
under reset.
USB bootl oader erased after a JTAG
debugging session: reprogram the USB
bootloader with JTAG.
AVR Studio does not
detect the AVR JTAG
ICE.
Serial /USB cable is
not connected, or
power is off
Connect serial c able to RS232 (STK500 -
AVR ISP) and check power connections
Connect serial cabl e to USB (JATG ICE
MKII, AVR ISPmkIIl) and check power
connections
PC COM port is in
use
Disable other programs that are using
PC COM port.
Change PC COM port
AVR S tudio does not
detect COM por t.
Disable COM port auto-detection in AVR
Studio fil e men u. For ce CO M port t o
corr ect COM por t
AT90USBKey Hardwar e User Guide 4-16
7627A–AVR–04/06
Section 4
Technical Specifications
System Un it
Physical Dim ension s..................................................... L=90 x W= 30 x H=8 mm
We i g ht. ..........................................................................................................12 g
Operatin g Conditions
Internal Vol tage Supply . ............................ . ......................... ........................3.3V
Extern al Vol tage Supply ....... . ............. . .................. .......................... . ......8V -15V
Connections
USB C onnect or......... ................................. . ......................... ..Mi ni AB receptacle
USB C ommuni ca tions . ....................... .......................... .....Full speed/low speed
JTAG Connector.................................................... Footprint for HE10 connector
All ports connectors......... ..... ....... ..... ....... .. .......... .. ....... ..... ..J1, J2, J4, J5, J6, J7
Batte ry connector.............................. ............................ ............. MTA right angle
AT90USBKey Hardwar e User Guide 5-17
7627A–AVR–04/06
Section 5
Technical Support
For Technical support, please contact avr@atmel.com. When requesting technical
support, please include the following information:
W hich target AV R device is used (complete part number)
Target voltage and speed
Clock source and fuse setting of the AVR
Program m ing method (ISP, J TAG or spec ific Boot-Loader)
Hardware revisions of the AVR tools, found on the PCB
Version number of AVR Studio. This can be found in the AV R Studio help menu.
PC operating sy stem and version/bu ild
PC processor type and speed
A detailed description of the problem
AT90USBKey Hardwar e User Guide 6-18
7627A–AVR–04/06
Section 6
Complete Schematics
On the next pages , the following document s of AT90USB Key are shown:
Compl ete schematic s,
Bill of mater ials .
Complete Schematics
AT90USBKey Hardwar e User Guide 6-19
7627A–AVR–04/06
Figure 6-1 . Schematics, 1 of 2
C7
1uF
C3216-A
VBUS
RST
RST
DTSM-3
AVCC
PD[7..0]
PD[7..0]
PA0
U C AP C apac it or
C los ed t o t he MCU
VCC
PA1
R4 0
R0603
PE0
PF7
PE2
PE1
PE4
PE3
PE6
PE[7..0]
PE5
11
2
233
4
455
6
677
8
899
10
10 J2
1. 27 m m D ual
H1.27-10
PE7
PA3
UGND
(not mounted)
PE2
VCC
PA[7..0]PA[7..0]PA[7..0]
PF0
PA2
RESET
PA4
PF2
Reset Circuit
UVCON
VBUS
PA5
HWB
HWB
DTSM-3
R1 0
R0603
PF4
RESET
UGND
R8 0
R0603
PA6
AGND
C1
100nF
C0603
PF1
UCAP
PA7
(not mounted)
(not mounted)
(not mounted)
PF3
PE2
PF[7..0]
PC7
R5 0
R0603
VCC
C9
220nF
C0603
(not mounted)
PE4
VCC
PB[7..0] PB[7..0]PB[7..0]
PE5
PC6
VCC AVCC
C2
100nF
C0603
GND
Title
Size D oc um ent N um ber R ev
Date: Sheet of
<Doc> 1.0.0
CPU
A4
12Monday, J anuary 09, 2006
PE6PE6
PF6
PC5
PD0
PD2
PD1
PD4
PD3
PD6
PD[7..0]
PD5
(not mounted)
11
2
233
4
455
6
677
8
899
10
10 J4
1. 27 m m D ual
H1.27-10
PD7
PC4
QFN64
VCC
PB0
VCC
F errit e & c apac it ors
c los ed t o t he MCU
PB0
PB2
PB1
PB4
PB1
PB3
PB6
PB[7..0]
PB5
11
2
233
4
455
6
677
8
899
10
10 J6
1. 27 m m D ual
H1.27-10
PB7
PA0
1-V_BUS
3-D+
2-D-
4-ID
5-GND
SHIELDSHIELDSHIELDSHIELD
USB_MiniABF
<ASSEMBLY>J3
MINI_USBC
PA2
PA1
PA4
PA3
PA6
PA[7..0]
PB2
PA5
PC3
PF[7..0]
11
2
233
4
455
6
677
8
899
10
10 J7
1. 27 m m D ual
H1.27-10
PA7
R6
47k
R0603
PE7
2
UVcc
3
D-
4
D+
5
UGND
6
UCAP
7
VBUS
8
PE3
9
PB0
10
PB1
11
PB2
12
PB3
13
PB4
14
PB5
15
PB6
16
PB7
17
PD0
25
PD1
26
PD2
27
PD3
28
PD4
29
PD5
30
PD6
31
PD7
32
PE4
18
PE5
19 AREF 62
RESET
20
GND 53
GND 63
GND
22
XTAL2
23
XTAL1
24
PE0 33
PE1 34
PE6
1
PE2 43
PC0 35
PC1 36
PC2 37
PC3 38
PC4 39
PC5 40
PC6 41
PC7 42
PA7 44
PA6 45
PA5 46
PA4 47
PA3 48
PA2 49
PA1 50
PA0 51
PF7 54
PF6 55
PF5 56
PF4 57
PF3 58
PF2 59
PF1 60
PF0 61
VCC 52
VCC
21
AVCC 64
AT90USB128
U1
QFN64
PB3
UVCON PE7 C5
100nF
C0603
VCC
DECOUPLING CAPACITORS
C LOSED TO THE D EVI C E
MC U Pin3
VBUS
PC2
PB4
Y 1 8MHz CRY STAL
8MHz
49US C11
15pF
C0603
C10
15pF
C0603
PC1
PB5
PC0
PC2
PC1
PC4
PC3
PC6
PC[7..0]
PC5
11
2
233
4
455
6
677
8
899
10
10 J5
1. 27 m m D ual
H1.27-10
PC7
VBUS
AREF
PC0
PB6
PE[7..0]
PE1
PB7
VCC
PF0
PE0
C8
220nF
C0603
UGND UGNDUGNDUGNDUGND
PC[7..0]
PC[7..0]
C3
100nF
C0603
GND
PF1
R3 22
R0603
R7
47k
R0603
R2 22
R0603
RESET
D+
C4
100nF
C0603
D-
UID PE3
PF2
A90USB Key
VCC
GND
PD0
XTAL2
PD1
PD2
PF5
PF3
PD3
AGND
CR1
PGB0010603
R0603
PA[7..0]PA[7..0]PA[7..0]
CR2
PGB0010603
R0603
PD4
XTAL1
VCC
PD5
11
2
233
4
455
6
677
8
899
10
10 J1
1. 27 m m D ual
H1.27-10
PD6
DECOUPLING CAPACITORS
C LOSED TO THE D EVI C E
MCU Pin52
RESISTORS
C LOSED TO THE D EVI C E
PD7
PF4
VCC
XTAL2
VCC
UCAP
PF7
UVCC
D + D- R ESI STORS
C los ed t o t he MCU
PF5
Bootloader Activation
C6
100nF
C0603
VCC
PA[7..0]
VCC
AREF
DECOUPLING CAPACITORS
C LOSED TO THE D EVI C E
MCU Pin21
PF6
XTAL1
Complete Schem atics
6-20 AT90USBKey Hardware User Guide
7627A–AVR–04/06
Figure 6-2 . Schematics, 2 of 2
PE0
VCC3
!!! R21 not mounted
D2
IN
1
GND
2OUT 3
U5
LM340
-
C14
4.7uF
VCC3
When mounting R21:
R20 not mounted
U4 not mounted
Allows to generate 3.3V
from U1 internal regulator
CAUTION: R21 default not mounted !!!
VBU S generat or for OTG/ H OST mode
1F <C ap Vbus < 6F OTG Specific at ion
5V
VBUS
VBAT
RESET
D4
LL4148
PF[7..0]
JTAG Interface
VCC
DECOUPLING CAPACITOR
C LOSE TO THE C ON N EC TOR
TCK
1GND 2
TDO
3VCC 4
TMS
5RESET 6
VCC
7n.c. 8
TDI
9GND 10
CON 2x5
J9
CON 2x5
2.54 mm JTAG CON
C20
100nF
PF4PF4
PF7
PF6
PF5PF5
R26
0
VCC3
VCC
VCC3
R25
100k
-
C16
4.7uF
D1
TOPLED LP M676
POWER LED(RED)
R19
124k 1%
U3out=1.25*(1+(R15+R18)/R19)
Temp Sensor
PF[7..0]
R29
NCP18WF104J03RB
R27
100k
PF0
VCC
R28
220k
R18100k 1%
R13
1k
R30
100k
D3
LL4148
Data Flash
A90USB K ey
DECOUPLING CAPACITOR
C LOSE TO THE D EVI C E
C12
100nF
PB[7..0]
PB1
R9
100k
RESET
PB3
PB2
VBAT
VCC
Select 5
Left 7
Up 3
Right 6
Down 4
Com1
1
Com2
2
SW3
TPA511G
PE[7..0]
Q1
BC847B
PB[7..0]
PB6
PB5
PE5
PE4
PB7
Joystick Interface
D5
SI
1
SCK
2
RESET
3
CS
4WP 5
VCC 6
GND 7
SO 8
U2
AT45D B642D C ASON 8
R141k
PF3
Title
Size D oc um ent N um ber R ev
Date: Sheet of
<Doc> 1.0.0
Power & I nt erfac es
A4
22Sat urday, F ebruary 18, 2006
R171k
LEDs I n-line Grouped LED s
PD4
PD5
PD7
PD[7..0]
PD6
R221k
C17
220nF
VBat Mon.
VCC
R231k
VCC3
-
C19
4.7uF
5V
PE1
VCC3
VCC3
VCC3
DECOUPLING CAPACITOR
C LOSE TO THE D EVI C E
C13
100nF
RESET
PB1
R10
100k
PB3
PB2 SI
1
SCK
2
RESET
3
CS
4WP 5
VCC 6
GND 7
SO 8
U3
AT45D B642D C ASON 8
R12
100k
R24
10k
R15
100k 1%
MTA
Ext power supply
1
2
J8
C18
100nF
VCC
OUT 1
IN
2
GND
3
OUT 4
FAULT 8
SHDN
7
CC 6
SET 5
U4
LP3982 C15
33nF
R11
100k
(not mounted)
M1
FDV304P/FAI
D6
LL4148
R16
0R20
0
UCAP
UVCON
R21
0
VCC
VBUS
Complete Schematics
AT90USBKey Hardwar e User Guide 6-21
7627A–AVR–04/06
Table 6-1 . Bil l of material
Item Q.ty Reference Part Tech.
Characteristics Package
1 2 CR1,CR2 ESD protection (PGB0010603)
2 10 C1,C2,C3,C4,C5,C6,C12,
C13, C18, C20 100nF 50V-10% Ceramic CASE 0603
3 1 C7 1uF 10Vmin ±10% EIA/IECQ 3216
4 3 C8,C 9, C17 220nF 50V-10 % C eram ic CASE 0603
5 2 C10, C11 15pF 50V-5% Ceramic CASE 0603
6 3 C14, C16, C19 4.7uF 10Vmin ±10% EIA/IECQ 3216
7 1 C15 33nF 50V-5% Ceramic CASE 0603
8 2 D2,D5 LED BI-COL OUR/ LSGT670 I=10 mA_ PLCC-4
9 1 D1 TOP L ED / LP M 6 76 - K2M 1 I=1 0 mA _ PLCC- 2
10 2 D3,D4 DII LL4148-7 i=200mA max LL-34
11 1 J3 USB mini AB receptacle Surface mount
12 0 J9 CON 2x 5 ( 2.5 4m m ) (Not Mounted)
13 0 J1,J2,J4,J5,J 6,J7 1.27 mm Dual header (Not Mounted)
14 1 J8 Connect or MTA 2 cts right angle
15 1 M1 FDV304P/FAI SOT23
16 1 Q1 BC8 47B IC peak=200mA SOT23
17 2 R2,R3 22 1/16W-5% SMD CASE 0603
18 1 R5 68k 1/ 1 6W- 5 % SM D C AS E 0603
19 2 R6,R 7 47k 1/16W- 5 % SM D C AS E 0603
20 7 R1,R4,R5,R8,R16,R20, R26 0 CASE 0603
21 0 R21 0 (Not Mounted) CASE 0603
22 1 R28 220k 1/16W-5% SMD CASE 0603
23 7 R9,R10,R11,R12,R25,R27,R3
0100k 1/16W-5% SMD CASE 0603
24 5 R13,R14,R17,R22,R23 1k 1/16W-5% SMD CASE 0603
25 2 R24 , R28 10k 1/ 1 6W- 5 % SM D C AS E 0603
26 1 R29 N CP18WF104J03RB 100K - ß=4250 CASE 0603
27 2 R15,R18 100k 1% 1/16W-1% SMD CASE 0603
28 1 R19 120k 1% 1/16W-1% SMD CA SE 060 3
29 2 SW1, SW2 PUSH -BUTTON / DTSM31N 6x 3.5mm - 1.6N See DS
30 1 SW3 TPA511G 4 wa ys joys tick + center CMS mount
31 1 U1 AT90USB1287 QFN64
32 2 U2,U3 AT45DB642D CASON8
33 1 U4 LP3982IMM-ADJ Vin Max 6V, 300mA MSOP8
34 1 U6 LM340MP5.0
35 1 Y1 8 MHz CRYSTA L H=4mm HC49/4H
Print ed on recycled paper.
7627A–AVR–04/06 /xM
© A tmel Co rpora tion 20 06. All rights reserved. Atmel®, logo and combinations thereof, are registered trademarks, and Everywhere You Are®
ar e the tr a de ma r k s of A tm el C o rporatio n or its s u bs id iaries. O the r t er m s an d pr o du c t nam es m a y be tr a de m ar k s of othe r s.
Disclaimer: The information in this doc ument is provided in connection with Atmel products. No lice nse, express or implied, by estoppel or otherwise,to anyintellectu-
alproperty right is granted by this doc ument or in connection with the s ale of A tmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-TIONS O F
SALE LOCATED ON AT MEL’S WEB SITE, ATMEL AS SUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EX PRESS, IMPLIED OR STAT UTORYWAR-
RANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICU-
LARPURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL
OR INCIDEN-TA L DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPT ION, OR LOSS OF INFORMA-
TION) ARISING OUTOF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAM-
AGES. Atmel makes norepresentationsor warranties with res pect to the ac curacy or completeness of the c ontents of this document and reserves the ri ght to make
changes to specificationsand product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein.
Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended,
authorized, or warranted for usea s components in applications intended to support or sustainlife.
Atmel Corporation Atmel Operations
2325 O rchard Park way
San Jos e, CA 95131, USA
Tel: 1(4 08) 4 41-0311
Fax : 1(408) 487-260 0
Regional Headquarters
Europe
Atm el Sa rl
Rout e des Ars enau x 41
Case P ostale 8 0
CH- 1705 Fri bourg
Switzerland
Tel: (41 ) 26-4 26-55 55
Fax : (4 1) 26 -426- 5500
Asia
Room 121 9
Chin achem Gold en Plaza
77 Mod y Ro ad Tsims hatsu i
East Kowloon
Hong K ong
Tel: (85 2) 27 21-9778
Fax : (8 52) 2 722-136 9
Japan
9F, T onetsu Sh inkaw a Bl dg.
1-24 -8 Shi nkawa
Chuo- ku, Tok yo 10 4-0033
Japan
Tel: (81 ) 3-35 23-35 51
Fax : (8 1) 3-3 523- 7581
Memory
2325 O rch ard Parkw ay
San Jo se, C A 95131 , U SA
Tel : 1(408 ) 441-031 1
Fax: 1(408) 43 6-43 14
Microcontrollers
2325 O rch ard Parkw ay
San Jo se, C A 95131 , U SA
Tel : 1(408 ) 441-031 1
Fax: 1(408) 43 6-43 14
La Ch antrer ie
BP 70 602
44306 Na ntes Cede x 3, Fra nce
Tel : (33) 2-4 0-18 -18-18
Fax: (33) 2-40-18-19-60
ASIC/ASSP/Smart Cards
Zone Indus trie lle
13106 Rousse t Ced ex, France
Tel : (33) 4-4 2-53 -60-00
Fax: (33) 4-42-53-60-01
1150 E ast C heyenn e Mtn. Blvd.
Col orado Spri ngs, CO 8 0906, USA
Tel : 1(719 ) 576-330 0
Fax: 1(719) 54 0-17 59
Scottish Enterprise Technology Park
Maxwell Building
East Kilbrid e G7 5 0QR, S cotlan d
Tel : (44) 13 55-803- 000
Fax: (44) 1355 -242 -743
RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 H eilbr onn, Ge rmany
Tel: (49) 71-31-67-0
Fax : (4 9) 71 -31-67 -2340
1150 Ea st Ch eyenne M tn. B lvd.
Colo rado Spr ings, CO 80 906, USA
Tel: 1(7 19) 57 6-3300
Fax : 1 (719 ) 540-1759
Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom
Avenue de R ocheplei ne
BP 123
38521 S aint- Egreve Cedex, France
Tel: (33) 4-76-58-30-00
Fax : (3 3) 4-7 6-58-3 4-80
Literature Requests
www.atmel.com/literature
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Atmel:
AT90USBKEY2