AT90USBKey .............................................................................................
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 ...............................
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.
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.
Section 2 Using the AT90USBKey This chapter describes the AVRUSBKey and all its resources. 2.1 Overview Figure 2-1 .
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.
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.
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.
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 .
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 .
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 .
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.
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.
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.
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.
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 .........................................................................
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.
Section 6 Complete Schematics On the next pages, the following documents of AT90USBKey are shown: Complete schematics, Bill of materials.
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.
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..
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.
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.