AT89C5131 Hardware User Guide

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 22

DownloadAT89C5131 Hardware User Guide
Open PDF In BrowserView PDF
AT90USBKey
.............................................................................................

Hardware User Guide

Section 1
Introduction ........................................................................................... 1-3
1.1
1.2

Overview ...................................................................................................1-3
AT90USBKey Features............................................................................1-4

Section 2
Using the AT90USBKey ....................................................................... 2-5
2.1
2.2
2.3
2.4
2.5
2.6

Overview ...................................................................................................2-5
Power Supply ............................................................................................2-6
Reset.........................................................................................................2-8
On-board Resources.................................................................................2-9
In-System Programming .........................................................................2-13
Debugging...............................................................................................2-14

Section 3
Troubleshooting Guide ....................................................................... 3-15
Section 4
Technical Specifications ..................................................................... 4-16
Section 5
Technical Support ............................................................................... 5-17
Section 6
Complete Schematics ......................................................................... 6-18

AT90USBKey Hardware User Guide User Guide

1
7627A–AVR–04/06

Section 1
Introduction
Congratulations on acquiring the AVR® AT90USBKey. This kit is designed to give
designers a quick start to develop code on the AVR® and for prototyping and testing of
new designs with the AT90USB microcontroller family.

1.1

Overview
This document describes the AT90USBKey dedicated to the AT90USB AVR
microcontroller. This board is designed to allow an easy evaluation of the product using
demonstration software.
To increase its demonstrative capabilities, this stand alone board has numerous onboard resources: USB, joystick, data-flash and temperature sensor.

Figure 1-1 . AT90USBKey

AT90USBKey Hardware User Guide

1-3
7627A–AVR–04/06

Introduction

1.2

AT90USBKey Features
The AT90USBKey provides the following features:
AT90USB QFN64
AVR Studio® software interface (1)
USB software interface for Device 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 (connector not mounted):
– for on-chip ISP
– for on-chip debugging using JTAG ICE
Serial interfaces:
– 1 USB full/low speed device/host/OTG interface
On-board resources:
–
–
–
–
–

4+1-ways joystick
2 Bi-Color LEDs
temperature sensor
serial dataflash memories
all microcontroller I/O ports access on 2x8pin headers (not mounted)

On-board RESET button
On-board HWB button to force bootloader section execution at reset.
System clock:
– 8 MHz crystal
Notes:

1-4
7627A–AVR–04/06

1. The AVRUSBKey is supported by AVR Studio®, version 4.12 or higher. For up-todate 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 in the AVR section of the Atmel web site, http://www.atmel.com.
2. ATMEL Flip®, In System Programming 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 Hardware User Guide

Section 2
Using the AT90USBKey
This chapter describes the AVRUSBKey and all its resources.

2.1

Overview
Figure 2-1 . AT90USBKey Overview

AT90USBKey Hardware User Guide

2-5
7627A–AVR–04/06

Using the AT90USBKey

2.2

Power Supply

2.2.1

Power Supply Sources
The on-board power supply circuitry allows two power supply configurations:
from USB connector
from battery connector
USB powered When used as a USB device bus powered application, the AVRUSBKey can be directly
powered via the USB VBUS power 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.
– Need of a female battery clip
– Input supply from 8 up to 15V DC (min. 100mA)

Figure 2-2 . Power supply schematic
D3

U4
5V

VBUS

2
7

IN
SHDN

LL4148
3
D4
LL4148

GND

VCC3
OUT
OUT
FAULT
CC
SET

1
4
8
6
5

VCC3
R15
100k 1%

LP3982

33nF
C15
U3out=1.25*(1+(R15+R18)/R19)

100k 1% R18
R19
124k 1%

D6

U5

J8

VBAT
2
1

LL4148

C16
4.7uF

220nF
C17

1
2

IN

OUT

GND

3
100nF
C18

LM340

MTA
Ext power supply

2-6
7627A–AVR–04/06

AT90USBKey Hardware User Guide

Using the AT90USBKey

2.2.2

VBUS Generator
When using the AT90USB microcontroller in USB host mode, the AT90USBKey should
provide a 5V power supply over the VBUS pin of its 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
FDV304P/FAI
VBUS

5V
R24
10k

M1

R25
Q1
BC847B

UVCON

-

C19
4.7uF

100k

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.

AT90USBKey Hardware User Guide

2-7
7627A–AVR–04/06

Using the AT90USBKey

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 . Reset Implementation
VCC
R6
47k

C8
220nF
RESET

RST

2.3.1

Power-on RESET
The on-board RC network acts as power-on RESET.

2.3.2

RESET Push Button
By pressing the RESET push button on the AVRUSBKey, a warm RESET of the
AT90USB is performed.

2.3.3

Main Clock XTAL
To use the USB interface of the AT90USB, the clock source should always be a crystal
or external clock oscillator (the internal 8MHz RC oscillator can not be used to operate
with the USB interface). Only the following crystal frequency allows proper USB
operations: 2MHz, 4MHz, 6MHz, 8MHz, 12MHz, 16MHz. The AT90USBKey comes with
a default 8MHz crystal oscillator.

2-8
7627A–AVR–04/06

AT90USBKey Hardware User Guide

Using the AT90USBKey

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 Receptacle
J3
1-V_BUS
2-D3-D+
5-GND

VBUS

R2 22

VBUS

R3 22
VBUS

4-ID
SHIELD

DD+
GND
UCAP
VBUS
UID

C7
1uF

USB_MiniAB
CR2

R4 0

GND

CR1

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 mouse movements, 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 . Joystick Schematic
PB[7..0]
SW3

1
2

Select
Lef t
Up
Right
Down
Com1
Com2

5
7
3
6
4

PB5
PB6
PB7
PE4
PE5
PE[7..0]

TPA511G

AT90USBKey Hardware User Guide

2-9
7627A–AVR–04/06

Using the AT90USBKey

2.4.3

LEDs
The AT90USBKey includes 2 bi-color LEDs (green/red) implemented on one line. They
are connected to the high nibble of “Port D” of AT90USB (PORTD[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 level.

Figure 2-7 . LEDs Implementation schematic
LEDs

In-line Grouped LEDs
D2

1k

R14

1k

R17

PD4

PD[7..0]

PD5

D5

1k

R22

1k

R23

PD6
PD7

Table 2-1 . Leds references
LED Reference

AT90USB Connection

Color

D2

PORTD.4

Red

PORTD.5

Green

PORTD.6

Green

PORTD.7

Red

D5

2.4.4

Temperature Sensor
The temperature sensor uses a thermistor (R29), or temperature-sensitive resistor. This
thermistor have a negative temperature coefficient (NTC), meaning 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
change). Thermistors do not have a linear temperature/resistance curve.
The voltage over the NTC can be found using the A/D converter (connected to channel
0). See the AT90USB Datasheet for how to use the ADC. The thermistor value (RT) is
calculate with the following expression:
R T = ( R H ⋅ V ADC 0 ) ⁄ ( V CC – V ADC 0 )
Where:

R T = Thermistor value (Ω) at T temperature (°Kelvin)
R H = Second resistor of the bridge -100 KΩ ±10% at 25°C
VADC0 = Voltage value on ADC-0 input (V)
VCC = Board power supply

2-10
7627A–AVR–04/06

AT90USBKey Hardware User Guide

Using the AT90USBKey

The NTC thermistor used in AT90USBKey has a resistance 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:
β
T = ------------------------------R
β
⎛ ln T⎞ + ----------⎝ R ⎠
T0
0
Where:

R T = Thermistor value (Ω) at T temperature (°Kelvin)

ß = 4250 ±3%
R 0 = 100 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

AT90USBKey Hardware User Guide

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

2-11
7627A–AVR–04/06

Using the AT90USBKey

Temp.
(°C)

RT
(KΩ)

Temp.
(°C)

RT
(KΩ)

Temp.
(°C)

RT
(KΩ)

Temp.
(°C)

RT
(KΩ)

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

Figure 2-8 . Thermistor Schematic
PF[7..0]
PF0

VCC
R27
100k

R29

2.4.5

Data Flash memory
For mass-storage class demonstration purpose, the AT90USBKey provides two on-chip
serial Flash memories (AT45DB642D) connected to the AT90USB Serial Port Interface
(SPI).
The data-flash 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
PB[7..0]
VCC3
VCC3
R9
100k

R10
100k
VCC3

PE0
PB1
PB2
PB3
RESET

VCC3

U2
1
2
3
4

SI
SO
SCK
GND
RESET VCC
CS
WP

8
7
6
5

AT45DB642D CASON8

R11
100k

PE1
PB1
PB2
PB3
RESET

U3
1
2
3
4

SI
SO
SCK
GND
RESET VCC
CS
WP

8
7
6
5

R12
100k

AT45DB642D CASON8

2-12
7627A–AVR–04/06

AT90USBKey Hardware User Guide

Using the AT90USBKey

2.5

In-System Programming

2.5.1

Programming with USB bootloader: DFU (Device Firmware Upgrade)
AT90USB 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 from the Atmel website, offers a flexible an user friendly interface to reprogram
the application over the USB bus.
The HWB pin of the AT90USB allows to force the bootloader section execution after
reset. (Refer to AT90USB datasheet section “boot loader support”). 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 bootloader datasheet document” and “Flip’s user manual”.
Note:

2.5.2

The HWB pin is active only if the HWBE fuse is set (default factory configuration).

Programming with AVR JTAGICEmKII
The AT90USB can be programmed using specific JTAG link. To use the AVR
JTAGICEmkII with an AT90USBKey an optional HE10 connector should be soldered to
J9 footprint. Then the JTAG probe can be connected to the AT90USBKey as shown in
Figure 2-10.
Note:

AT90USBKey Hardware User Guide

When the JTAGEN Fuse is unprogrammed, 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 is shipped with this fuse programmed.

2-13
7627A–AVR–04/06

Using the AT90USBKey

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 information.

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
configured 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.

2-14
7627A–AVR–04/06

AT90USBKey Hardware User Guide

Section 3
Troubleshooting Guide
Figure 3-1 . Troubleshooting Guide
Problem

Reason

The Green “VCC-ON”
LED is not on
No power supply

Verify the power supply source (check
battery charge or USB connection).

The AVR JTAG ICE
probe is not
connected

Connect the JTAG ICE 10-PIN header to
the correct AVRUSBKey JTAG header
(page 13)

The memory lock bits
are programmed

Erase the memory before programming
with JTAG ICE.

The fuse bits are
wrongly programmed

Check the fuse bits with JTAG ICE

AVRUSBKey does not
work

The AT90USB cannot be
programmed

Solution

Force bootloader execution with HWB
under reset.
Can not connect to
USB bootloader

Serial/USB cable is
not connected, or
power is off
AVR Studio does not
detect the AVR JTAG
ICE.

PC COM port is in
use

USB bootloader erased after a JTAG
debugging session: reprogram the USB
bootloader with JTAG.

Connect serial cable to RS232 (STK500 AVR ISP) and check power connections
Connect serial cable to USB (JATG ICE
MKII, AVR ISPmkIIl) and check power
connections
Disable other programs that are using
PC COM port.
Change PC COM port

AVR Studio does not
detect COM port.

AT90USBKey Hardware User Guide

Disable COM port auto-detection in AVR
Studio file menu. Force COM port to
correct COM port

3-15
7627A–AVR–04/06

Section 4
Technical Specifications
System Unit
– Physical Dimensions .....................................................L=90 x W=30 x H=8 mm
– Weight ...........................................................................................................12 g

Operating Conditions
– Internal Voltage Supply ............................................................................... 3.3V
– External Voltage Supply .........................................................................8V -15V

Connections
– USB Connector ......................................................................Mini AB receptacle
– USB Communications .......................................................Full speed/low speed
– JTAG Connector.................................................... Footprint for HE10 connector
– All ports connectors.............................................................J1, J2, J4, J5, J6, J7
– Battery connector ....................................................................... MTA right angle

AT90USBKey Hardware User Guide

4-16
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:
Which target AVR device is used (complete part number)
Target voltage and speed
Clock source and fuse setting of the AVR
Programming method (ISP, JTAG or specific Boot-Loader)
Hardware revisions of the AVR tools, found on the PCB
Version number of AVR Studio. This can be found in the AVR Studio help menu.
PC operating system and version/build
PC processor type and speed
A detailed description of the problem

AT90USBKey Hardware User Guide

5-17
7627A–AVR–04/06

Section 6
Complete Schematics
On the next pages, the following documents of AT90USBKey are shown:
Complete schematics,
Bill of materials.

AT90USBKey Hardware User Guide

6-18
7627A–AVR–04/06

R8 0
R0603

R5 0
R0603

R0603

PGB0010603

CR1

UGND

VBUS

RESISTORS
CLOSED TO THE DEVICE

UGND

AGND

MINI_USBC

USB_MiniABF

4-ID
SHIELD

1-V_BUS
2-D3-D+
5-GND

J3 

D+ D- RESISTORS
Closed to the MCU

100nF
C2
C0603

C7
1uF
C3216-A

10
8
6
4
2

9
7
5
3
1

9
7
5
3
1

1.27 mm Dual
H1.27-10

10
8
6
4
2

J6

PE[7..0]

PB[7..0]

R4 0
R0603
UCAP Capacitor
Closed to the MCU

R0603

PGB0010603

CR2

R3 22
UCAP
R0603

R2 22
R0603

VCC

PF[7..0]
AREF

PF6
PF4
PF2
PF0

PB[7..0]

(not mounted)

VCC

PB[7..0]

PB7

PE6
UVCON PE7
UVCC
DD+
GND UGND
UCAP
VBUS
VBUS
UID PE3
PB0
PB1
PB2
PB3
PB4
PB5
PB6

UVCON

C3
100nF
C0603

9
7
5
3
1

9
7
5
3
1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

100nF
C0603
AVCC

AGND

AREF

1.27 mm Dual
H1.27-10

10
8
6
4
2

J1

C4

10
8
6
4
2

(not mounted)

VCC

VCC

PF[7..0]

PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7

AVCC

R1 0
R0603

VBUS

VCC

PB6
PB4
PB2
PB0

PF1
PF3
PF5
PF7

PE6
PE7
UVcc
DD+
UGND
UCAP
VBUS
PE3
PB0
PB1
PB2
PB3
PB4
PB5
PB6
GND

10
8
6
4
2

VCC

C10
15pF
C0603

XTAL2

PA6
PA4
PA2
PA0

UGND

PB1
PB3
PB5
PB7

QFN64

AT90USB128
QFN64

9
7
5
3
1

9
7
5
3
1
1.27 mm Dual
H1.27-10

10
8
6
4
2

J7

8MHz
49US

C11
15pF
C0603

Y 1 8MHz CRY STAL

XTAL1

(not mounted)

VCC

9
7
5
3
1

VCC

PC[7..0]

PA[7..0]

PD[7..0]

PA3
PA4
PA5
PA6
PA7
PE2
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
PE1
PE0

PA[7..0]

U1

48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33

9
7
5
3
1

PE1
PE3
PE5
PE7

PE[7..0]

DTSM-3

R6
47k
R0603

Date:

Size
A4

Title

A90USB Key

9
7
5
3
1

9
7
5
3
1

9
7
5
3
1

VCC

VCC

VCC

HWB

HWB

DTSM-3

PE2

Sheet

1

of

2

Rev
1.0.0

Bootloader Activation

RESET

C0603
C9
220nF

PC[7..0]

PD[7..0]

R7
47k
R0603

VCC

VCC

C5
100nF
C0603

C6
100nF
C0603

C1
100nF
C0603

1.27 mm Dual (not mounted)
H1.27-10

10
8
6
4
2

J5

Monday , January 09, 2006

Document Number


CPU

9
7
5
3
1

1.27 mm Dual
H1.27-10
(not mounted)

10
8
6
4
2

J4

C0603
C8
220nF
RESET

10
8
6
4
2

10
8
6
4
2

DECOUPLING CAPACITORS
CLOSED TO THE DEVICE
MCU Pin3

DECOUPLING CAPACITORS
CLOSED TO THE DEVICE
MCU Pin21

DECOUPLING CAPACITORS
CLOSED TO THE DEVICE
MCU Pin52

Reset Circuit

RST

RST

VCC

PC[7..0]

VCC

GND

1.27 mm Dual
H1.27-10 (not mounted)

10
8
6
4
2

J2

PA[7..0]

10
8
6
4
2

PD[7..0]

PA3
PA4
PA5
PA6
PA7
PE2
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
PE1
PE0

PE6
PE4
PE2
PE0

PA0
PA1
PA2

64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
PE4
PE5
RESET

PD6
PD4
PD2
PD0
PC6
PC4
PC2
PC0

AVCC
GND
AREF
PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7
GND
VCC
PA0
PA1
PA2

PB7
PE4
PE5
RESET
VCC
GND
XTAL2
XTAL1
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
XTAL2
XTAL1
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PA1
PA3
PA5
PA7

PD1
PD3
PD5
PD7

AT90USBKey Hardware User Guide
PC1
PC3
PC5
PC7

Ferrite & capacitors
closed to the MCU

Complete Schematics

Figure 6-1 . Schematics, 1 of 2

6-19

7627A–AVR–04/06

6-20

7627A–AVR–04/06

D5

D2

R23

1k

PF[7..0]

1
2

TPA511G

Com1
Com2

SW3

5
7
3
6
4

VCC

R26
0

1
3
5
7
9

J9

1
2
3
4

GND
VCC
RESET
n.c.
GND

PE[7..0]

PB[7..0]

PD7

PD6

PD5

PD4

2.54 m m JTAG CON

CON 2x5

RESET

VCC

DECOUPLING CAPACITOR
CLOSE TO THE CONNECTOR
2
4
6
8
10

R11
100k

C20
100nF

JTAG Interface

PD[7..0]

AT45DB642D CASON8

8
7
6
5

VCC3

DECOUPLING CAPACITOR
CLOSE TO THE DEVICE

C12
100nF

SI
SO
SCK
GND
RESET VCC
CS
WP

U2

VCC3

CON 2x5

TCK
TDO
TMS
VCC
TDI

(not mounted)

PF7

PF4
PF6
PF5

Select
Lef t
Up
Right
Down

PB5
PB6
PB7
PE4
PE5

R22

R17

1k

1k

R14

1k

In-line Grouped LEDs

R9
100k

Data Flash

Joystick Interface

LEDs

RESET

PE0
PB1
PB2
PB3

VCC3

2
1

R10
100k

VBUS

PF[7..0]

1
2
3
4

LL4148

D6

D4
LL4148

LL4148

D3

R29

R27
100k

NCP18WF104J03RB

VCC

5V

3

2
7

U4

GND

IN
SHDN

OUT
OUT
FAULT
CC
SET

1
4
8
6
5

R12
100k

220nF
C17

R30
100k

R28
220k

VBAT

VBat Mon.

C16
4.7uF

Date:

Size
A4

Title

VBAT

LP3982
33nF
C15
U3out=1.25*(1+(R15+R18)/R19)

AT45DB642D CASON8

8
7
6
5

VCC3

DECOUPLING CAPACITOR
CLOSE TO THE DEVICE

C13
100nF

SI
SO
SCK
GND
RESET VCC
CS
WP

U3

VCC3

Temp Sensor

MTA
Ext power supply

J8

RESET

PE1
PB1
PB2
PB3

VCC3

PF0
PF3

PB[7..0]

U5
OUT

100k

R25

100nF
C18

3

A90USB Key

UVCON

LM340

GND

IN

R19
124k 1%

VCC

R13
1k

TOPLED LP M676
D1

POWER LED(RED)

VCC

M1

-

C19
4.7uF

FDV304P/FAI
VBUS

VCC

UCAP

VCC3

Sheet

2

of

2

Rev
1.0.0

VBUS generator f or OTG/HOST mode
1 F 

Power & Interf aces

2

1

-

100k 1% R18

R15
100k 1%

VCC

Complete Schematics

Figure 6-2 . Schematics, 2 of 2

AT90USBKey Hardware User Guide

Complete Schematics

Table 6-1 . Bill of material
Item

Q.ty

1

2

2

10

3
4

Reference

Part

Tech.
Characteristics

Package

50V-10% Ceramic

CASE 0603

10Vmin ±10%

EIA/IECQ 3216

CR1,CR2

ESD protection (PGB0010603)

C1,C2,C3,C4,C5,C6,C12,
C13, C18, C20

100nF

1

C7

1uF

3

C8,C9, C17

220nF

50V-10% Ceramic

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-COLOUR/ LSGT670

I=10 mA_

PLCC-4

9

1

D1

TOPLED/ LPM676-K2M1

I=10 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 2x5 (2.54mm)

(Not Mounted)
(Not Mounted)

13

0

J1,J2,J4,J5,J6,J7

1.27 mm Dual header

14

1

J8

Connector MTA 2 cts right angle

15

1

M1

FDV304P/FAI

16

1

Q1

BC847B

IC peak=200mA

SOT23

17

2

R2,R3

22

1/16W-5% SMD

CASE 0603

18

1

R5

68k

1/16W-5% SMD

CASE 0603

19

2

R6,R7

47k

1/16W-5% SMD

CASE 0603

20

7

R1,R4,R5,R8,R16,R20, R26

0

21

0

R21

0

(Not Mounted)

22

1

R28

220k

1/16W-5% SMD

CASE 0603

23

7

R9,R10,R11,R12,R25,R27,R3
0

100k

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/16W-5% SMD

CASE 0603

26

1

R29

NCP18WF104J03RB

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

CASE 0603

29

2

SW1,SW2

PUSH-BUTTON / DTSM31N

6x3.5mm - 1.6N

See DS

30

1

SW3

TPA511G 4 ways joystick + center CMS mount

31

1

U1

AT90USB1287

QFN64

32

2

U2,U3

AT45DB642D

CASON8

33

1

U4

LP3982IMM-ADJ

34

1

U6

LM340MP5.0

35

1

Y1

8MHz CRYSTAL

AT90USBKey Hardware User Guide

SOT23

CASE 0603
CASE 0603

Vin Max 6V, 300mA

MSOP8

H=4mm

HC49/4H

6-21
7627A–AVR–04/06

Atmel Corporation
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600

Regional Headquarters
Europe
Atmel Sarl
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
Tel: (41) 26-426-5555
Fax: (41) 26-426-5500

Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369

Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581

Atmel Operations
Memory
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314

RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 Heilbronn, Germany
Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340

Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
La Chantrerie
BP 70602
44306 Nantes Cedex 3, France
Tel: (33) 2-40-18-18-18
Fax: (33) 2-40-18-19-60

ASIC/ASSP/Smart Cards

1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759

Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
Tel: (33) 4-76-58-30-00
Fax: (33) 4-76-58-34-80

Zone Industrielle
13106 Rousset Cedex, France
Tel: (33) 4-42-53-60-00
Fax: (33) 4-42-53-60-01
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Scottish Enterprise Technology Park
Maxwell Building
East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743

Literature Requests
www.atmel.com/literature

Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise,to anyintellectualproperty right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-TIONS OF
SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORYWARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULARPURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL
OR INCIDEN-TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUTOF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes norepresentationsor warranties with respect to the accuracy or completeness of the contents of this document and reserves the right 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 useas components in applications intended to support or sustainlife.

© Atmel Corporation 2006. All rights reserved. Atmel ® , logo and combinations thereof, are registered trademarks, and Everywhere You Are®
are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.

Printed on recycled paper.
7627A–AVR–04/06

/xM



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Page Mode                       : UseOutlines
XMP Toolkit                     : 3.1-702
Producer                        : Acrobat Distiller 7.0.5 (Windows)
Create Date                     : 2006:04:13 13:53:15Z
Creator Tool                    : FrameMaker 7.0
Modify Date                     : 2006:04:13 14:53:25+02:00
Metadata Date                   : 2006:04:13 14:53:25+02:00
Format                          : application/pdf
Title                           : AT89C5131 Hardware User Guide
Creator                         : Atmel Corporation
Document ID                     : uuid:e5b2ae2b-cfa9-4f5c-bb67-b3e08870776d
Instance ID                     : uuid:b5a85a8e-41db-4d66-bf7c-c767c739f3c8
Has XFA                         : No
Page Count                      : 22
Author                          : Atmel Corporation
EXIF Metadata provided by EXIF.tools

Navigation menu