Home

User`s Manual

image

Contents

1. AT90USB162 Enhanced Development Board User s manual 1 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual 1 INTRODUCTION Thank you for choosing the DBAT90USB162 Atmel AT90USB162 enhanced development board This board is designed to give both professionals and hobbyists a quick start to develop code and for hardware prototyping and testing 1 1 OVERVIEW embeddedglow com This document describes the DBAT90USB162 development board a simple yet feature rich flexible and easily configurable development tool designed to allow easy coding and prototyping The DBAT90USB162 is an enhanced Atmel AT90USB162 development board which also accepts AT90USB82 Offering modular design this board is a cost effective yet feature rich highly compatible flexible and easily configurable development tool designed to give a quick start to develop code and for hardware prototyping and testing Its design provides configurability and flexibility not available with other products The board provides all the basic circuitry needed to work with AT90USB162 USB connector and circuit crystal and clock configuration circuitry Reset and HWB buttons status LED user button and LED power source voltage configuration circuitry configurable voltage regulator isolation resistors to combine ISP lines with other functions The board either accepts a MCU directly or uses additional header boards for MCU installation g
2. DBAT90USB162 Enhanced Development Board User s Manual 2 2 10 ISP and JTAG connectors embeddedglow com Both ISP 6 pin P15 and JTAG 10 pin P16 connectors offer identical functionality for in circuit programming and debugging via debugWIRE RST pin If these connectors are in use it is not recommended although is possible to use corresponding MCU pins as generic I Os ISP and JTAG connectors pin to pin connected as follows ISP 6 pin JTAG 10 pin In circuit Debugging via programming debugWIRE Pin 3 SCK Pin6GND Pin2GND X X 1 80 Pin3TDO X Pin 4 VTref Pin 6 nSRST Pin 9 TDI ss ISP connector pinout JTAG connector pinout 1 2 1 2 MISO VCC VTG SCK TCK GND SCK MOSI MISO TDO VTref VCC RST GND nSRST RST MOSI TDI The JTAG connector is intended for use with devices like JTAGICE mkll and AVR ONE but only offers in circuit programming and debugging via debugWIRE as the full JTAG interface is not supported by AT90USB162 The JTAG 10 pin connector pinout is different from ISP 10 pin connector pinout which is not implemented here DO NOT CONNECT ISP 10 WIRE CABLES TO THE JTAG CONNECTOR The debugWIRE interface uses only one pin the RST pin for communication with the target device To enable the debugWIRE interface on an AVR device the DWEN fuse must be programmed DWEN 0 AVR devices featuring debugWIRE are shipped with the DWEN fuse unprogrammed ISP or High V
3. PROGRAM Debug Wire COUNTER ON CHIP DEBUG fa PROGRAMMING LOGIC ANALOG COMPARATOR POR BOD RESET t PROGRAM 4 FLASH I INSTRUCTION GENERAL REGISTER PURPOSE REGISTERS INSTRUCTION DECODER CONTROL m LINES STATUS REGISTER UVcc ON CHIP 3 3V REGULATOR UCap D SCK D SDATA 0 A AAAARAB 91 7 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual 1 5 3 Memory map Program Memory Data Memory 0000 001F 64 Registers 0020 005 160 E xt I O Reg 0060 00FF 0100 Internal S RAM 512 x 8 2FF Boot Flash Section 0x3FFF 16KBytes 0x1FFF 8KBytes 1 6 DEMO PROGRAM The DBAT90USB162 comes with a simple demo program installed It makes LED1 blink while pressing BUT1 changes the blinking rate This program doesn t provide USB compatibility AVR GCC source file is available for download at http embeddedglow com products DBAT90USB162 DBAT90USB162 Demo c HEX file is available for download at http embeddedglow com products DBAT90USB162 DBAT90USB162 Demo hex 2 USING THE DBAT90USB162 This section describes the board
4. gf m p mm 5 6 mms 7 8 RST C8 C9 C12 100nF 100nF P13 P14 P20 _LEDI MCUD PCS 8 PC4 GND EE fisssum 2 4 VCC P7 PWRI1 twf INS819 bo 330 Regulator Voltage J5 3 3V 9 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual LED1 Bl PBO PBI PB2 PB3 PB4 5 PB7 PDO PDI PD2 PD3 PD4 PDS PD6 PD7 PCO PC2 PC4 PCS PC6 PC7 EXTCLK RSTDW GND P21 EXT Ch Ww he 10 11 13 14 15 16 17 18 19 20 21 2j 23 24 26 27 28 2 2 SCHEMATIC DESCRIPTION AND CONFIGURATION 2 2 1 Clock Depending on jumper configuration clock source is either internal from 0 9 16 MHz crystal oscillator or internal calibrated RC oscillator or external via EXTCLK P2 For using external clock CKSEL fuses must be programmed see AT90USB162 datasheet J2 EXTCLK ile Internal crystal open short short _ External short open open short Note 1 Default is 8 MHz crystal other is possible by request 2 XTAL2 PCO be used as generic I O depending on MCU configuration 2 2 2 Reset button S2 Cold reset is done either manually by RST button S2 or externally via RSTDW P11 P21 27 Optionally a parallel capacitor C5 can be installed to the RST button S2 The PCB accepts thru hole an
5. 1 3 0 V to 3 6 V can be supplied via VREG P12 instead of using the built in voltage regulator 2 3 4 V to 5 5 V can be supplied via VREG P12 instead of using the built in voltage regulator 12 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual VCC presence no matter what the power source is is indicated by the green VCC ON LED D5 2 2 Built in voltage regulator The built in voltage regulator depending on J5 produces 3 3 V or 5 V from a source connected to PWH1 P7 PWR2 P8 Based LM1117 the voltage regulator can deliver up to 0 8 A from 5 2 V to 20 V input Please obey maximum power dissipation which is around 1 2 W otherwise thermal shutdown may occur VREG 3V short Power jack PWR1 P7 pinout a Shottky diode D1 serves as a reverse polarity protection 2 2 8 User button BUT1 BUT1 can be used as a general use button or for debugging purposes It can be detached from PC2 by leaving J11 open To use PC2 pin for other purposes leave J11 open BUT1 signal is available via header P13 Optionally capacitor C13 can be used The PCB accepts thru hole and 0805 SMD _ short_ 2 2 9 User LED LED1 LED1 can be used as a general use LED or for debugging purposes It can be detached from PC4 by leaving J12 open To use PC4 pin for other purposes leave J11 open LED1 signal is available via header P14 _ short 13 embeddedglow com
6. Atmel third party signed drivers can be downloaded from the net Tip After programming is complete press the RST button LUFA bootloader is also supported 2 2 4 USB connector Use either Type B USB or Mini B USB P1 USB Type B connector pinout USB Mini connector pinout 2 D Data 4 ID NCfortype B 2 D Data 11 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual USB signals are available via headers as follows Note 1 Type B and Mini USB connectors cannot be used simultaneously 2 New unprogrammed AT90USB162 device is seen via USB as AT90USB162 DFU To use USB driver installation is required USB drivers be downloaded from Atmel s site htip atmel com Third party drivers are also available on the net 2 2 5 USB data lines transient voltage suppression Data lines protection is available by using optional transils D2 and D3 2 2 6 Power supply Both 3 3 V and 5 V VCC power can be used supplied from USB built in regulator or other source via VREG P12 3 V open short open open short 5 V open open short open short 9 010 3 6 V self powered short short short open open open 3 4 to 5 5 V I O self powered open short open open short open J J7 J8 J9 J1 Are 7 te Note
7. and all its features 8 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual 2 1 SCHEMATIC P2 PS Pil EXTCLK HWB RSTDW RSTDW 15 ISP Yl 10k MISO 9 VCC 0 9 16MHz R PBI 2 PB3 Bypass 3 MOS i Est 3 GND mms ppn 330 E zz rin 2 XTALI R13 10k SCK 1 GND R4 330 XI XTAL2 PCO aes g 814 10k 3 4 PBO PCINTO SS 5 6 amp e i amp Reset PC1 dW PBI PCINTISCLK 8 PB2 PCINT2 MOSU PDI 9 10 22 7 22 22pF O Optional Optional PC2 PCINTI1 PB3 PCINT3 MISO PDO i SI d 2 Source PCINTIO PB4 PC INT4I1 19 PBS 17 MCU Socket i 6 somes PCS PCINT9 OC 1B PBS PCINTS k Qua ERU DURER HWB RST 16 EXT 20 MCUA 17 UCAP PC6 OC 1A PCINTS PB6 PCINT6 51 PRI XTALI XTAL2 m INTA ICPI CLKO PCINT7 OC 0A OC 1C paS g SCCN 400 Te Kom 3 4 USER Bes GU UCAP INTO OC 0B s Vrs d UGND INTI AINO F 7 8 8 PD2 PD2 INTYAINI RXD1 faz c e 3 3 TXD UVec Source ee TNR PD4 P18 D SDATA INTS Ke J9 VCC X 4 PDS MCUB VBUS EDS 112 auo PDS PD3 PD4 VBUS LIO NM UVCC PD6 INTGRTS t 2 E T amp T pec SSS e GND F j 4 j C R PD7 Bypass P19 Pl AT90USB162 MCUC MISO 5 PB4
8. d 0805 SMD C5 1 2 2 3 HWB button S1 The hardware boot button allows forcing bootloader execution after reset see AT90USB162 datasheet thus allowing MCU programming via USB without external programmer The HWB mode is active only when the HWBE fuse is enabled In that case PD7 HWB pin is configured as input during reset and sampled during reset rising edge Optionally a parallel capacitor C4 can be installed The PCB accepts thru hole and 0805 SMD 10 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual Programming USB is based pre programmed USB bootloader located in the on chip boot section of the AT90USB162 This is the easiest and fastest way to reprogram the device directly over the USB interface but with certain limitations To force bootloader execution operate as follows e Press both RST and HWB buttons e Release the RST button e Release the HWB button FLIP Flexible In system Programmer is the software provided by Atmel to do in system programming of Flash devices through RS232 USB or CAN For further details regarding programming via USB please refer to FLIP documentation Note In order to use FLIP driver installation is required USB drivers come with FLIP and can be found in its install folder If Windows operating system is used depending on its version digitally signed drivers might be required As they may not be supplied by
9. eripheral Features PS 2 compliant pad One 8 bit Timer Counters with Separate Prescaler and Compare Mode two 8 bit PWM channels One 16 bit Timer Counter with Separate Prescaler Compare and Capture Mode three 8 bit PWM channels USART with SPI master only mode and hardware flow control RTS CTS 5 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual embeddedglow com Master Slave SPI Serial Interface Programmable Watchdog Timer with Separate On chip Oscillator On chip Analog Comparator Interrupt and Wake up on Pin Change On Chip Debug Interface debugWIRE opecial Microcontroller Features Power On Reset and Programmable Brown out Detection Internal Calibrated Oscillator External and Internal Interrupt Sources Five Sleep Modes Idle Power save Power down Standby and Extended Standby and Packages 22 Programmable Lines QFN32 5 5 mm TQFP32 packages Operating Voltages 2 7 5 5V Operating temperature Industrial 40 C to 85 C Maximum Frequency 8 MHz at 2 7 V Industrial range 16 MHz at 4 5 V Industrial range 6 DBAT90USB162 Enhanced Development Board User s Manual 1 5 2 Block diagram 5 PD7 PDO PC7 PCO PB7 PBO x x 77 x x rad EN P UE rv v v v Y PORTD DRIVERS PORTC DRIVERS PORTB DRIVERS DATA REGISTER DATA DIR DATA REGISTER DATA DIR PORTD REG PORTD PORTC REG PORTC LE
10. evices providing access to all I O pins and virtually all signals Dedicated headers for some signals USB D D VBUS RST DW HWB EXTCLK LED1 BUT1 Flexible I O connections virtually any 100 mil universal or breadboard can be attached using various connectors allows using the board for more than one project USB full soeed 12 Mbps Device mode supported Type B and Mini USB connectors Built in 0 9 16 MHz crystal default 8 MHz Internal or external clock Optional transient voltage suppression for USB data lines Reset RST button Hardware boot HWB button allows forcing bootloader stock Atmel or third party execution at reset see AT90USB82 AT90USB162 datasheet allows MCU programming via USB without external programmer I O pin is still useable for other purposes Detachable user button BUT1 general use button and or used for debugging purposes Can be disconnected to free I O pin Detachable user LED LED1 general use LED and or used for debugging purposes be disconnected to free I O pin FR 4 1 5 mm PCB with all terminals and components clearly marked accepting TQFP 32 7x7 mm body size 0 8 mm lead pitch and QFN 32 5x5 mm body size 0 5 mm lead pitch ISP 6 pin and JTAG 10 pin connectors both supporting in circuit programming and debugging via debugWIRE Switchable insulation resistors for all ISP pins SCK MOSI MISO and for HWB pin 3 DBAT90USB162 Enhanced Deve
11. icrocontroller Advanced RISC Architecture 125 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation Upto 16 MIPS Throughput at 16 MHz Non volatile Program and Data Memories 8K 16K Bytes of In System Self Programmable Flash e Endurance 10 000 Write Erase Cycles Optional Boot Code Section with Independent Lock Bits e USB boot loader programmed by default in the factory In System Programming by on chip Boot Program hardware activated after reset e True Read While Write Operation 512 Bytes EEPROM e Endurance 100 000 Write Erase Cycle 512 Bytes Internal SRAM Programming Lock for Software Security USB 2 0 Full speed Device Module with Interrupt on Transfer Completion Complies fully with Universal Serial Bus Specification REV 2 0 48 MHz PLL for Full soeed Bus Operation data transfer rates at 12 Mbit s Fully independent 176 bytes USB DPRAM for endpoint memory allocation Endpoint 0 for Control Transfers from 8 up to 64 bytes 4 Programmable Endpoints e Nor Out Directions e Bulk Interrupt and Isochronous Transfers e Programmable maximum packet size from 8 to 64 bytes e Programmable single or double buffer Suspend Resume Interrupts Microcontroller reset on USB Bus Reset without detach USB Bus Disconnection on Microcontroller Request USB pad multiplexed with PS 2 peripheral for single cable capability P
12. istributed in any way without the permission of the copyright holder All rights are reserved Atmel logo and combinations thereof and AVR are registered trademarks or trademarks of Atmel Corporation or its subsidiaries Windows is a registered trademark of Microsoft Corporation this document provides links to web pages and or resources the inclusion of those links is for reader s convenience only and should not be interpreted as an endorsement of the owner sponsor of the site or the content of the site 18 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual
13. iving the developer the freedom of using one development board with several MCUS eventually programmed with different code The board either accepts a MCU directly or uses additional header boards for MCU installation giving the developer the freedom of using one development board with several MCUs eventually programmed with different code An extension header is available allowing connection of various size universal boards such as the usually included UB100288 or breadboards holding the rest of the circuitry and eventually using different hardware or direct interfacing with other devices Furthermore most board components are detachable or configurable via jumpers The board offers flexible power both 3 3 V and 5 V USB powered or from external supply The board also features a built in voltage regulator configurable to 3 3 V and 5 V with overcurrent and thermal protection Board design makes it compatible with virtually all design development software and libraries including open source 2 DBAT90USB162 Enhanced Development Board User s Manual 1 2 FEATURES embeddedglow com Flexible power 3 3 V or 5 V from built in voltage regulator USB bus or external 3 0 V to 5 5 V All MCU I O pins are accessible Headers for MCU header board allows use of several MCUs holding different firmware with one development board 100 mil extension header for connection to universal or breadboards or direct interfacing with other d
14. lopment Board User s Manual 1 3 SPECIFICATIONS Processor Flash memory Max frequency RAM AT90USB162 8 MHz at 2 7 V 16 MHz at 4 5 V 512 Bytes static 16 kBytes 10 000 write cycles EEPROM 512 Bytes 100 000 write cycles USB USB 2 0 full soeed 12 Mbps Device mode USB DPRAM 176 Bytes Timers 1 8 bit 1 16 bit PWM channels USART SPI port _ Via USB and hardware initiated bootloader or ISP connector Debuggino Via debugWIRE interface ISP connector Operating voltage 2 Vto5 5V Operating temperature Industrial 40 C to 85 C Dimensions 61 x 76x 19 mm 2 4 x 3 0 in 95 x 76 mm 3 7 x 3 0 x 0 75 in with UB100288 universal board 31 4 g bare 1 4 COMPATIBILITY lines 5 I Programming 39 25 g with UB100288 As all MCU I O pins are accessible and all MCU powering and clocking options are available the SBAT90USB162a is compatible with virtually every project and development tool designed for AT90USB162 and particularly for AVR MCUs 4 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual 1 5 MCU OVERVIEW The AT90USB162 is a low power CMOS 8 bit microcontroller based on the AVR enhanced RISC architecture By executing powerful instructions in a single clock cycle the AT90USB162 achieves throughputs approaching 1 MIPS per MHz allowing optimization of power consumption versus processing speed 1 5 1 Features High Performance Low Power AVR 8 Bit M
15. mation in this document is provided in connection with embeddedglow com products No license express or implied by estoppel or otherwise to any intellectual property right is granted by this document or in connection with the sale of embeddedglow com products EXCEPT AS SET FORTH IN EMBEDDEDGLOW COM TERMS AND CONDITIONS OF SALE WEBSITE OWNER ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO HIS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT WILL WEBSITE OWNER BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL PUNITIVE SPECIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF PROFITS BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT Website owner makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice Website owner does not make any commitment to update the information contained herein Embeddedglow com products are not intended authorized or suitable for and shall not be used in automotive applications and or as components in applications intended to support or sustain life The content of this document is protected by Copyright It cannot be copied or d
16. oltage Programming is required to enable debugWIRE In order to use the ISP interface the SPIEN fuse must be programmed 14 DBAT90USB162 Enhanced Development Board User s Manual 2 2 11 MCU headers P17 P20 Provide support for optional header boards for MCU allowing the use of several differently programmed MCUs O m 4 Q gt mae Qam Ya ee Os 310 O e P19 C10 900mil ax 2 2 12 R13 R16 isolation resistors Provide isolation for SCK MISO MOSI and HWB pins if they have to be used for other purposes not recommended Isolation resistors can be shorted by jumpers 1 16 PB3 MISO Generic short PB1 Generic lO short PD7 HWB Generic short PB2 Generic O short 15 embeddedglow com DBAT90USB162 Enhanced Development Board User s Manual 2 2 13 Extension header P21 embeddedglow com Provides connection to other devices and circuitry allowing access to all MCU I O pins power supply and most other signals Fits any 100mil 2 54mm linear connector thus providing connectivity with virtually any 100mil 2 54mm universal or breadboard Example 1 Use male female headers and connect universal board like UB100288 or any third party universal or breadboard Example 2 Use a 100 mil 2 54 mm terminal header to connect wires directly Example 3 Use a 100 mil SIP socket to connec
17. t single parts like sensors directly EXT header pinout 1 m VCC 2 LED 4 3 BUT1 4 PB0 R 5 PB1 p 6 PB2 7 PB3 8 4 gt 9 5 10 PB6 11 7 12 PDO 13 PD1 z 14 PD2 2 15 PD3 16 PD4 bil ped Di 17 PD5 Ros E Piol 20 PCO 2 21 2 sala 22 PC4 23 5 1 24 PC6 25 PC7 4 26 27 RSTDW 28 GND 16 DBAT90USB162 Enhanced Development Board User s Manual 3 BOARD LAYOUT AND DIMENSIONS 900 23mm er 9 sr r or E Fl gu 70 70 S O 00 000 5 20209 z 3 este e J13J14 uff WOOXVOXVWMMM 934A oB 370 9mm iED1 BUTI DBAT90USB162 embeddedglow com pitch 27 28 25 26 27 28 eM HSS ee 21 22 23 24 15 16 17 18 19 20 3 0 3 0 76mm I l lI j D DT DI DI DI DI jD I DD DT DT DI lD DI DI D I lI I TI U E 2 4 5 608100288 10 11 12 43 14 15 16 47 18 19 20 21 22 100mil Lk v S 9 8 6 bk LE SL WOOXVOXVWMMM Ee v X 39 13 EH dl 111141 EERE EERE 1 l EERE ee EERE Ee EERE EE EERE EE EERE EE EERE EE I I I 1 I I 1 1 ABCDEF Optional UB100288 17 DBAT90USB162 Enhanced Development Board User s Manual Disclaimer All infor

Download Pdf Manuals

image

Related Search

Related Contents

Scuola Secondaria di I grado Keller - Via Nizza 151 - Bandi on-line  Manual de Usuario de la Ventanilla Única (VU) de  Whirlpool TUD8700R User's Manual    Graco 332091A User's Manual  EXs15 Classical and Ambient Choir Manuel d`utilisation  PX410R - Support  GE Lighting Luminaire Renewal Parts  取扱説明書(本体)  Instruction  

Copyright © All rights reserved.
Failed to retrieve file