Home
ATSAMD10 Xplained Mini User Guide (USER
Contents
1. 2 42387A MCU 01 2015 1 1 1 2 1 3 1 3 1 1 3 2 1 3 3 1 4 1 4 1 1 4 2 1 5 Getting Started Features The ATSAMD10 Xplained Mini evaluation board provides a development platform for the Atmel ATSAMD10 Design Documentation and Related Links The most relevant documents and software for the evaluation board is available here http www atmel com tools SAMD10 XMINI aspx Board Assembly The Xplained Mini board is very flexible and can be used in a number of ways E g as your own prototype for SW development and HW verification In Customer Development Assembly The ATSAMD10 Xplained Mini board can be wired into the customer prototype assembly by using the on board connector grid where the target signals are available Connecting an Arduino Shield By assembling receptacles in the marked positions J200 J201 J202 and J203 Arduino shields can be mounted Standalone Node The ATSAMD10 Xplained Mini board can be used as a standalone node use the 4xAAA or 2xAAA battery pack available in Atmel store to provide power Connecting the Kit How to connect the evaluation board Connect the Kit to Atmel Studio How to connect the ATSAMD10 Xplained Mini board to Atmel Studio 1 Download and install Atmel Studio version 6 2 or later 2 Launch Atmel Studio 3 Connect the board to the USB port and it will be visible in Atmel Studio Connect the Target UART to the mEBDG COM Port All Xplained Mini b
2. DOCUMENT EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel 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 products 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 products are not intended authorized or warranted for use as components in applications intended to support or sustain life SAFETY CRITICAL MILITARY AND AUTOMOTIVE APPLICATIONS DISCLAIMER Atmel products are not designed for and will not be used in connection with any applications where the failure of such products would reasonably be expected to result in significant personal injury or death Safety Critical Applications without an Atmel officer s specific written consent Safety Critical Applications include without limitation life support devices and systems equipment or systems for the operation of nuclear facilities and weapons systems Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military grade Atmel products are not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive
3. MCU 01 2015 Note BOOTRST CKDIV8 CKOUT X SUT_CKSEL EXTXOSC_8MHZ_XX_258CK_65MS CKOUT must be enabled the provide external clock to the target 1 5 5 Programming the ATmega32U4 Using a Bootloader This section describes how to use the bootloader to program the ATmega32U4 1 gt o DN pi 9 Install the Bootloader interface on the PC as described in How to Install the Bootloader PC tool on page 5 Start the Bootloader PC GUI FLIP Short strap J102 Connect the board USB connector to the PC Select Device ATmega32U4 Device Select Select USB communication Ctrl U Select memory area to program Use the toggle memory button bellow the Atmel logo Select Load Hex file CtrI L Select Programming Options 10 Click Run observe status in status field 1 5 6 How to Install the Bootloader PC tool How to install the Bootloader PC GUI tool 1 Download the FLIP in system programming tool installer from http www atmel com tools FLIP aspx ay _ m amp www atmel com tools FLIP aspx Cc m Products Applications v Microcontrollers Home gt Products gt Microcontrollers gt Atmel AVR Atmel AVR 8 and 32 bit 32 bit AVR UC3 FLIP AVR XMEGA Microcontroller megaAVR Microcontroller E oa a tinyAVR v Battery Management Automotive AVR ARM based Solutions 5 http www atmel com tools FLIP aspx Atmel ATSAMD10 Xplained Mini User Guide
4. grade
5. to VCC_P5V0 via R300 2 VCC_P5V0 Input voltage 4 3 to 16V for the fixed output voltage regulator U300 3 VCC_VIN Alternative power source for the board 4 3 to 16V from J202 8 study U300 data sheet for detail requirements L Table 2 9 J301 Board Power Supply Selection J301 Description pin a VCC_VIN Board external power source enable connection of external source to ATSAMD10 2 VCC_BOARD Power supply for ATmega32U4 and ATSAMD10 3 VCC_P3V3 Board 3 3V power supply from U300 by default connected to VCC_BOARD via R302 Target SPI J204 The J204 header enable direct connection to ISP for programming of the ATSAMD10 or to use the SPI bus to connect external equipment Table 2 10 J204 SPI Header MISO PA24 VCC target ATSAMD10 SCK PA09 MOSI PA22 RESET GND O O A OON Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 10 42387A MCU 01 2015 2 3 8 Extension Headers The marked area on the grid I7 to R8 can be used for strapping in a Xplained PRO extension header and a few other headers based on the SPI bus PBO PB1 PB2 PB3 PB4 PB5 GNDAREFPC4 PC5 The general bus connections for a Xplained PRO Extension board is indicated in the Table 2 12 detailed wiring can be found in the selected Extension board documentation Table 2 11 Xplained Pro Extension Header Typical pC Typical Extension signal description signal gri
6. 01 J101 is a Micro B USB connector connected to the embedded debugger ATmega32U4 Table 2 2 J101 USB Connector ONH eS 1 VBUS 2 D 3 D 4 NC 5 GND 2 3 3 USART J104 The ATmega32U4 USART signals are available on J104 USART header The mEDBG CDC COM port is connected to these signals Table 2 3 J104 USART Header J104 pin ATmega32U4 ATSAMD10 Function 1 UART TXD PD3 PA11 RxD TxD out from ATmega32U4 2 UART RXD PD2 PA10 TxD RxD in to ATmega32U4 2 3 4 Target Digital I O J200 and J201 The J200 and J201 headers provide access to ATSAMD10 digital I O pins Table 2 4 J200 I O High Header J200 pin ATSAMD10 pin J200 1 NC E D8 Easy to strap to any ATSAMD10 pin J200 2 NC D9 Easy to strap to any ATSAMD10 pin J200 3 PA23 SPI SS D10 SPI SERCOM1 or PWM TCCO WO 5 J200 4 PA22 SPI MOSI D11 SPI SERCOM1 or PWM TCCO WO 4 J200 5 PA24 SPI MISO D12 SPI SERCOM1 or PWM TCCO WO 2 J200 6 PA09 SCK D13 Yellow USER LED D200 connected SPI SERCOM1 J200 7 GND J200 8 PA03 AREF J200 9 PA14 SDA TWI Serial Data SERCOM2 J200 10 PA15 SCL TWI Serial Clock SERCOM2 Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 8 42387A MCU 01 2015 Table 2 5 J201 I O Low Header J201 pin ATSAMD10 pin J201 1 PA11 RxD DO Target USART Receive Pin SERCOMO J201 2 PA10 TxD D1 Target USART Transmit Pin SERCOMO J201 3 PA16 p2 J201 4 PA17 D3 PWMTCCO WO 7 J201 5 PA27 D4 J2
7. 01 6 PA25 D5 PWM TCC1 WO 5 3201 7 PA30 l D6 PWM TC2 WO 0 J201 8 PA31 D7 2 3 5 Target Analogue I O J203 The ATSAMD10 analogue I O pins are available in the J203 header Table 2 6 J200 Analogue Header J203 1 PA02 AIN O J203 2 PA03 AIN 1 J203 3 PAO4 AIN 2 J203 4 PA05 AIN 3 _J203 5 PA06 AIN 4 J203 6 PA07 AIN 5 2 3 6 Power J202 J300 J301 The J300 and J301 headers enables selection of power sources and target supply power the J202 header enables connection to the power system Table 2 7 J202 Power Header 1 NC 2 VCC_TARGET ATSAMD10 supply voltage 3 RESET_SENSE RESET from external source monitored by the mEDBG if pulled low the target RESET line will be pulled low This functionality is NOT available during a debugging session 4 VCC_P3V3 3 3V from on board DC DC converter U300 5 VCC_P5VO Voltage from the selected power source default VBUS 6 GND iz GND 8 VCC_VIN The externally connected power source if any 2 3 6 1 Power Supply Configuration The J300 and J301 headers enables Power supply configuration Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 9 42387A MCU 01 2015 2 3 7 vec_VINO VCC_BOARD O NM POWER SUPPLY 3 3V VvcG_P3Vv3 O vcc_P5v0 U300 LP2985 33DBV vcc VIN NM Table 2 8 J300 Board External Power Selection J300 Description pin 1 VCC_VBUS VBUS Pin of USB Connector via fuse F100 by default connected
8. 42387A 02 2015 Initial document release Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 14 42387A MCU 01 2015 Atmel Enabling Unlimited Possibilities FoOneoO ww Atmel Corporation 1600 Technology Drive San Jose CA 95110 USA T 1 408 441 0341 F 1 408 436 4200 www atmel com 2015 Atmel Corporation Rev 42387A MCU 01 2015 Atmel Atmel logo and combinations thereof Enabling Unlimited Possibilities AVR and others are registered trademarks or trademarks of Atmel Corporation in U S and other countries Other terms and product names may be trademarks of others DISCLAIMER The information in this document is provided in connection with Atmel 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 Atmel products EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL PUNITIVE SPECIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS AND PROFITS BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS
9. Se Atmel USER GUIDE ATSAMD10 Xplained Mini User Guide VIN GND GND 5V 3V3 RST VCC NC AB CREF GH PA7 PAG PAS PA4 PA3 PA2 Q Introduction This user guide describes how to get started with the Atmel ATSAMD10 Xplained Mini board The ATSAMD10 Xplained Mini evaluation kit is a hardware platform to evaluate the Atmel ATSAMD10 microcontroller The evaluation kit comes with a fully integrated debugger that provides seamless integration with Atmel Studio 6 2 and later version The kit provides access to the features of the ATSAMD10 enabling easy integration of the device in a custom design 42387A MCU 01 2015 Atmel Table of Contents NniigololUTeitLO n ae N E E E 1 1 Getting Start d srik irine eener aae tetas EEES 3 WAS Feats qi lenssaas ocactuiiedineaancs E ne aE A Ea E aE 3 1 2 Design Documentation and Related Links ecccccccceneneee 3 1 3 Board ASSOMDIY cscs cteng cnccaste aenesaeeaaecssepearetasndaccenelaenasanpaeaestive 3 1 3 1 In Customer Development Assembly eeeeeeee ees 3 1 3 2 Connecting an Arduino Shield eceeeeeeeeeeeeeea eee 3 1 3 3 Standalone NOG seereis isdn cena ieai onerata enini 3 1 4 Connecting the Kit cc sssiisrierniekie irreg een rE EREE A 3 1 4 1 Connect the Kit to Atmel Studio n a 3 1 4 2 Connect the Target UART to the mEBDG COM Port 3 1 5 Programming and Debugging eessesseserersrrrrrirrererererrerersrernrs 3 1 5 1 Programming the T
10. USER GUIDE 5 42387A MCU 01 2015 2 Run the FLIP Installer Atmel Welcome to the Flip 3 4 7 Setup Wizard This wizard will guide you through the installation of Flip 3 4 7 It is recommended that you close all other applications before starting Setup This will make it possible to update relevant system files without having to reboot your computer Click Next to continue ATSAMD10 Xplained Mini User Guide USER GUIDE 6 42387A MCU 01 2015 2 Hardware User Guide 2 1 Board Overview Figure 2 1 ATSAMD10 XMINI Overview J203 J202 Soo Oeoeeoedooedeao 2 PA11PA10PA16 PA17PA27PA25PA30PA31NC NC PA23PA22 PA24 PAOQQGNDAREF PA14 PA15 o J201 J200 amp Q S gt G 2 2 Clock Distribution The ATmega32U4 mEDBG has an external 16MHz XTAL The ATmega32U4 provides an external 8MHz clock to the ATSAMD10 target this 8MHz clk is connected to PAOS The external 8Mhz clk can be used as a accurate clk reference 2 3 Headers and Connectors The board headers and connectors 2 3 1 JTAG J100 J100 is the JTAG programming header typically used by the JTAGICE for programming of the ATmega32U4 mEDBG Table 2 1 J100 JTAG Header J100 pin Signal function 1 JTAG TICK Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 7 42387A MCU 01 2015 J100 pin Signal function GND JTAG_TDO VCC 5V0 JTAG_TMS RESET NC NC JTAG_TDI GND fa Oe Ea S Ea e 2 3 2 USB J1
11. arget Using MEDBG o c 4 1 5 2 Debugging the Target Using mEDBG eee 4 1 5 3 Programming the Target Using an External PrOGramMIMGl iese e a aE E aa E ER DOLAS 4 1 5 4 Programming the ATmega32U4 Using an External Programmer 3scece sass ceanstas isrener niana eaire naiai 4 1 5 5 Programming the ATmega32U4 Using a Bootloader 5 1 5 6 How to Install the Bootloader PC tool l c 5 2 Hardware User Guide cccsccccccesesssenceeeeeeessssseeeeeeesensees 7 2 1 Bo rd OVErViIEW 6 iissssetesctaastecsemnrecescangedde intel ensieens eea ane T 2 2 IClOCK DISIDUTIOMN catis eyranu etaan a a Sa T 7 2 3 Headers and Connectors cee ceeeeeee eee e neces eee eeeeeeeeeaeeaees 7 2M JTAG CMO erea e E REEE 7 2 3 2 USB JO enseres naanin iane ies a 8 2 3 3 USART J10 ceren meen aa ia 8 2 3 4 Target Digital I O J200 and J201 ccce 8 2 3 5 Target Analogue VO J203 rris sirrinin rgia obe 9 2 3 6 Power J202 J300 JIO cernsreeir cennsa deoensenese 9 2 3 7 Target SPI J204 tuisi isan niena a 10 2 3 8 Extension Headers ccceeceeeeeeeeee tenes eee eeeeeeaeenenes 11 24 Boardi GU keserenan EE ERR EREN EEA 12 241 LEDS insc csdecsie vee chien redenen aa E iaaa AATE SESTE a 12 ZAZ BUWONS Aenor e e E A EE A ES 12 2 5 Factory Programmed Data cspern irei un dae eeni 13 3 Document Revision History c cceeeeeeeeeeeeeeeeenneeeeeeeeeeee 14 ATSAMD10 Xplained Mini User Guide USER GUIDE
12. d pin 1 ID NC Communication line to the ID chip on extension board GND Ground ADC Analogue to digital converter positive part of differential ADC 4 ADC Analogue to digital converter negative part of differential ADC 5 GPIO1 General purpose I O GPIO2 General purpose O PWM Pulse width modulation alternatively positive part of differential PWM RESET to RF Extension board 8 PWM Pulse width modulation alternatively positive part of differential PWM 9 IRQ IGPIO Interrupt request line from extension board 10 SPI_SS B Slave select for SPI and or general purpose I O Wake up GPIO interrupt to RF extension SLP_TR 11 gt TWILSDA PC4 SDA M6 to Data line for two wire interface Q12 12 TWI_SCL PC5 SCL M9 to Clock line for two wire interface R12 Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 11 42387A MCU 01 2015 2 4 2 4 1 2 4 2 Typical pC Typical Extension signal description signal grid pin 13 USART_RX PDO RXD L6 to USART Input Pin from extension board remove R107 if A12 used 14 USART_TX PD1 TXD L9 to USART Output Pin to extension board remove R108 if B12 used 15 SPI_SS_A PB2 SS K6 to Slave select for Serial peripheral interface K5 5 16 SPI_MOSI PB3 MOSI K9 to Master out slave in line of Serial peripheral interface K10 17 SPI_MISO PB4 MISO J6 to Master in slave out line of Serial peripheral interface J5 5 18 SPI_SCK PB5 SCK J9 to Clock for Serial peri
13. n is started with a break in main debugging can start 1 5 3 Programming the Target Using an External Programmer How to program the target ATSAMD10 using the Atmel ICE 1 2 3 4 Connect the External Programmer to the PC Connect the External Programme to the evaluation board SWD connector Go to Atmel Studio Tools Device Programming and select the External Programmer connected as Tool Select Device ATSAMD10 Interface SWD and click Apply Select Memories and locate the source hex or elf file and click Program 1 5 4 Programming the ATmega32U4 Using an External Programmer How to program the ATmega32U4 using the AVR JTAGICE mkll JTAGICE3 or other Atmel Programmers To restore the mEDBG FW use the tools smEDBG mEDBG_fw zip from the Studio installation 1 2 Atmel Connect the External Programmer to the PC Connect the External Programmer to the board connector J100 Go to Atmel Studio Tools Device Programming and select the External Programmer connected as Tool select Device ATmega32U4 Interface JTAG and click Apply Select Memories and locate the source hex or elf file and click Program If the source contain fuse settings go to Production file and upload the elf file and program the fuses Recommended fuse setting BODLEVEL 2 6V HWBE X OCDEN JTAGEN X SPIEN X WDTON EESAVE X BOOTSZ 2048W_3800 ATSAMD10 Xplained Mini User Guide USER GUIDE 4 42387A
14. oards have an embedded debugger mEBDG with a number of features among them a CDC COM port which enables the user to connect the ATSAMD10 UART to the PC 1 Connect the mEDBG USB to the PC 2 Use the Device Manager to find the COM port number 3 Default COM port settings are 9600baud N81 The COM port settings can be changed using the Device Manager a1 Ports COM amp LPT ECP Printer Port LPT1 Programming and Debugging How to program and debug the Xplained Mini board http www atmel com tools atmelstudio aspx Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 3 42387A MCU 01 2015 1 5 1 Programming the Target Using mEDBG Using the Embedded Debugger on the Xplained Mini board to program the ATmega328 via the SPI bus 1 2 3 Connect the mEDBG USB to the PC Go to Atmel Studio click Tools select Device Programming and select the connected mEDBG as Tool with Device ATSAMD10 and Interface SWD click Apply Select Memories and locate the source hex or elf file and click Program 1 5 2 Debugging the Target Using mEDBG Using the Embedded Debugger on the Xplained Mini board to debug the ATSAMD10 via SWD 1 PO IN 5 6 Start Atmel Studio Connect the mEDBG USB to the PC Open your project In the Project menu select the project properties page select the Tools tab and select mEDBG as debugger and SWD as interface In the Debug menu click Start Debugging and Break A debug sessio
15. pheral interface J10 19 GND I6 to Ground GND 20 VCC 19 to Power for extension board VCC A number of Xplained PRO Extensions can be found at http www atmel com products microcontrollers avr xplainedpro Using Pin 11 to 20 enables connection of the 10 pin connector used on the RZ600 wireless modules and the 10 pin Xplained sensor modules Board GUI LEDs There are One LED available for use by the application SW and one for the mEDBG Table 2 12 LEDs LED Function D100 Green mEDBG will light during enumeration programming and debug D200 User LED ATSAMD10 PA09 Yellow vst a a o T 7a D SW200 D200 Buttons A mechanical and a touch button is available for general use by application SW Table 2 13 Buttons ATSAMD10 pin SW200 User defined high signal press to ground PA25 negate QT200 Qtouch button PAO7 Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 12 42387A MCU 01 2015 2 5 Factory Programmed Data The ATmega32U4 is preprogrammed with the mEDBG The ATSAMD10 is preprogrammed with a demo program ReMorse When the CDC COM port is connected to a terminal window 9600 N81 the text you write will be transmitted via the LED in Morse code Any Morse code transmitted by using the switch will be displayed as text in the terminal window Atmel ATSAMD10 Xplained Mini User Guide USER GUIDE 13 42387A MCU 01 2015 3 Document Revision History Document Comment revision
Download Pdf Manuals
Related Search
Related Contents
ガラスの美しさを引き立たせる新発想。 Foxconn A9DA-S motherboard HAPPY HOLIDAYS!! Télécharger JJ JL JC Copyright © All rights reserved.
Failed to retrieve file