background image

 

MT­DB­U1

   

                            Manual

 

December 30, 2015

1

http://www.mattairtech.com/

Содержание MT-DB--U1

Страница 1: ...MT DB U1 Manual December 30 2015 1 http www mattairtech com...

Страница 2: ...7 14 What s New 14 Summary 14 Special Notes 15 Pin Configurations 15 MT DB U6 AT90USB64 AT90USB128 16 MT DB U4 ATmega32U4 17 MT DB U1 MT DB U2 AT90USB162 ATmega32U2 17 Pin Capabilities 18 Using Ardui...

Страница 3: ...erial Driver 26 CDC Bootloader 26 DFU Bootloader FLIP dfu programmer 28 FLIP 29 dfu programmer 31 Running Demo Program 32 Schematic 33 Troubleshooting FAQ 34 Support Information 34 Acknowledgments 34...

Страница 4: ...e with HV programming The USB connections are also routed to header pins which allows for panel mount USB connectors The PCB is high quality with ENIG gold plated finish red soldermask and white scree...

Страница 5: ...ory Endpoint 0 for Control Transfers from 8 up to 64 bytes 4 Programmable Endpoints IN or Out Directions Bulk Interrupt and IsochronousTransfers Programmable maximum packet size from 8 to 64 bytes Pro...

Страница 6: ...5x5mm TQFP32 packages Operating Voltages 2 7 5 5V Operating temperature Industrial 40 C to 85 C Maximum Frequency 8 MHz at 2 7V Industrial range 16 MHz at 4 5V Industrial range December 30 2015 6 htt...

Страница 7: ...MT DB U1 Manual MT DB U1 Hardware MT DB U1 Hardware Layout Header Pins December 30 2015 7 http www mattairtech com...

Страница 8: ...MT DB U1 Manual Solder Jumpers December 30 2015 8 http www mattairtech com...

Страница 9: ...to this pin when solder jumper J2 is set The LED is connected to ground through a 240 ohm resistor The user application is free to use this LED Drive the pin high to turn on the LED D7 HWB This pin i...

Страница 10: ...external clock is is used solder jumper J6 can be switched to connect the microcontroller pin directly to header pin rather than the onboard crystal An external clock signal can then be applied to pi...

Страница 11: ...ullup on the reset line ISP Header The ISP header is configured by default to allow ISP programming using an external programmer That is RESET is routed to pin 5 Pin 1 is marked on the board it is the...

Страница 12: ...3V Vcc 5V UVcc Vcc Disable 8 MHz WARNING Care must be taken when configuring the solder jumpers It is possible to cause permanent damage to the device or the power supply by improperly setting the ju...

Страница 13: ...Externally Powered 3 0V to 3 6V In this configuration solder jumper J8 is set such that both UVcc and 3 3V are connected to Vcc Vcc is then supplied externally with 3 0V to 3 6V on the Vcc header pin...

Страница 14: ...etween CDC and CDC HID will require re selecting the COM port More detailed memory usage at end of compilation see below Merged in upstream updates Summary Feature MT DB U6 MT DB U4 MT DB U2 MT DB U1...

Страница 15: ...Windows This may become automatic in a future release Include platform specific libraries You may need to manually include platform specific libraries such as SPI h Wire h and HID h EXCEPTION_FOR_5760...

Страница 16: ...O B6 25 25 TC1B 14 ADC3 14 F3 O O B5 24 24 TC1A 15 ADC2 15 F2 PWR IN B4 23 23 TC2A 16 ADC1 16 F1 B3 22 MISO 17 ADC0 17 F0 O O B2 21 MOSI 18 INT6 18 E6 O O B1 20 SCLK Aref O O B0 19 SS Vbus ISP 3 3V D...

Страница 17: ...____ Vcc D 5V Gnd USB Gnd Because of the unusual layout of the ATmega32U4 all pins can be used with analogRead 12 of these pins are actual analog inputs 1 used by LED the rest connect to the internal...

Страница 18: ...can be configured with external interrupts 6 pins MT DB U6 5 pins MT DB U4 or 8 pins MT DB U2 MT DB U1 Available using the attachInterrupt function Serial 1 pair of pins can be configured for TTL ser...

Страница 19: ...2 There are several libraries included with Arduino Some of these need simple changes to work with MattairTech boards Usually only pin mappings need to be changed Serial Monitor To print to the Serial...

Страница 20: ...s the output from the nm utility The values on the left are in bytes The letters stand for T t text D d data B b bss and everything else ie W resides in flash in most cases USB Technical Notes Note th...

Страница 21: ...combinations that include CDC as well as a CDC only device Each supported combination has a unique USB VID PID pair and these are listed in the inf file Once the first device is installed the CDC onl...

Страница 22: ...n below AVR Core Installation To update from a previous version click on MattairTech AVR Boards in Boards Manager then click Update 1 The MattairTech AVR Core requires Arduino 1 6 7 2 In the Arduino I...

Страница 23: ...reset was from the watchdog timer unless the boot key is enabled and the key matches as is the case with Arduino auto reset the Arduino core uses a watchdog reset to enter the bootloader The default C...

Страница 24: ...be installed before pressing reset to run the bootloader Possible Future Additions Features for lower power consumption MSC Mass Storage USB Device Class Host mode CDC Better OS X support PCINT suppor...

Страница 25: ...Lesser General Public License as published by the Free Software Foundation either version 2 1 of the License or at your option any later version This library is distributed in the hope that it will be...

Страница 26: ...blems ie a delayed response to user input then change both buffer sizes to 1 CDC Bootloader The CDC bootloader uses the AVR109 protocol and can be used withing the Arduino environment or directly with...

Страница 27: ...rently list the bootloader directory as caterina the bootloader used on the Leonardo The actual bootloader is a modified version of the LUFA CDC bootloader by Dean Camera lufa lib org It resides in th...

Страница 28: ...3886 and install Once FLIP is installed the DFU bootloader drivers can be loaded Install the HWB jumper and power up the board or press reset This will enter the DFU bootloader The LED should be puls...

Страница 29: ...mper and power up the board or press reset This will enter the DFU bootloader The LED should be pulsing Now launch the FLIP utility When it has loaded click on the chip icon and select the AT90usb162...

Страница 30: ...e quickly loaded onto the AT90usb162 You may also program the EEPROM If so click on Select EEPROM at the bottom Then click on the File menu and open the appropriate eep file You will have to change th...

Страница 31: ...wnload version 0 5 4 or higher from http dfu programmer sourceforge net The following commands can be used dfu programmer AT90usb162 erase dfu programmer AT90usb162 flash eeprom YourHex eep if applica...

Страница 32: ...cludes many examples that can be easily compiled for the AT90USB162 See the CDC Bootloader section for details on installing the CDC Serial driver The old demo requires an ANSI terminal to allow drawi...

Страница 33: ...MT DB U1 Manual Schematic Schematic December 30 2015 33 http www mattairtech com...

Страница 34: ...port forum is planned Support for AVRs in general can be found at AVRfreaks http www avrfreaks net There I monitor the forums section as the user physicist Justin Mattair MattairTech LLC PO Box 1079 H...

Страница 35: ...RATION OR EVALUATION PURPOSES ONLY It is not a finished product and may not yet comply with some or any technical or legal requirements that are applicable to finished products including without limit...

Страница 36: ...tor to power itself be sure not to exceed the regulator maximum current output CAUTION The MT DB U1 contains static sensitive components Use the usual ESD procedures when handling CAUTION Improper fus...

Страница 37: ...8KB SRAM 5V 500mA LDO regulator 3V 30V input Auto power source selection IC USB External 16MHz and 32 768KHz crystals Arduino compatible CDC or DFU bootloader MT DB X4 USB AVR XMEGA board ATxmega128A...

Отзывы: