background image

The Microchip Web Site

Microchip provides online support via our web site at 

http://www.microchip.com/

. This web site is used as

a means to make files and information easily available to customers. Accessible by using your favorite
Internet browser, the web site contains the following information:

Product Support

 – Data sheets and errata, application notes and sample programs, design

resources, user’s guides and hardware support documents, latest software releases and archived
software

General Technical Support

 – Frequently Asked Questions (FAQ), technical support requests,

online discussion groups, Microchip consultant program member listing

Business of Microchip

 – Product selector and ordering guides, latest Microchip press releases,

listing of seminars and events, listings of Microchip sales offices, distributors and factory
representatives

Customer Change Notification Service

Microchip’s customer notification service helps keep customers current on Microchip products.
Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata
related to a specified product family or development tool of interest.

To register, access the Microchip web site at 

http://www.microchip.com/

. Under “Support”, click on

“Customer Change Notification” and follow the registration instructions.

Customer Support

Users of Microchip products can receive assistance through several channels:

Distributor or Representative

Local Sales Office

Field Application Engineer (FAE)

Technical Support

Customers should contact their distributor, representative or Field Application Engineer (FAE) for support.
Local sales offices are also available to help customers. A listing of sales offices and locations is included
in the back of this document.

Technical support is available through the web site at: 

http://www.microchip.com/support

Microchip Devices Code Protection Feature

Note the following details of the code protection feature on Microchip devices:

Microchip products meet the specification contained in their particular Microchip Data Sheet.

Microchip believes that its family of products is one of the most secure families of its kind on the
market today, when used in the intended manner and under normal conditions.

There are dishonest and possibly illegal methods used to breach the code protection feature. All of
these methods, to our knowledge, require using the Microchip products in a manner outside the
operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is
engaged in theft of intellectual property.

Microchip is willing to work with the customer who is concerned about the integrity of their code.

 SAMC21N Xplained Pro

©

 2017 Microchip Technology Inc.

 User Guide

DS70005318A-page 38

Summary of Contents for SAMC21N Xplained Pro

Page 1: ...res of the ATSAMC21N18A and explains how to integrate the device in a custom design The Xplained Pro MCU series evaluation kits include an on board embedded debugger and no external tools are necessar...

Page 2: ...rals 20 4 4 Kit Modifications 23 4 5 Embedded Debugger Implementation 28 5 Appendix 31 5 1 Getting Started with IAR 31 5 2 Connecting a SAM ICE to an Xplained Pro Board 34 6 Hardware Revision History...

Page 3: ...Worldwide Sales and Service 41 SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 3...

Page 4: ...able target voltages 3 3V 5 0V Level converters between target section and EDBG section 32 768kHz crystal mounted 16MHz crystal footprint not mounted 2 CAN transceivers 1 LIN transceiver Wake up butto...

Page 5: ...Figure 1 1 SAMC21N Xplained Pro Evaluation Kit Overview SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 5...

Page 6: ...Nano used for low pin count devices and provides a minimalistic solution with access to all I O pins of the target microcontroller Xplained Mini used for medium pin count devices and adds Arduino Uno...

Page 7: ...ation Package containing CAD source schematics BOM assembly drawings 3D plots layer plots etc SAMC21N Xplained Pro in Microchip website SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS...

Page 8: ...n the ATSAMC21N18A and provides an easy way to communicate with the target application through terminal software It offers variable baud rate parity and stop bit settings Note that the settings on the...

Page 9: ...l give relevant information code examples and links to relevant documents The table below shows the data fields stored in the ID chip with example content Table 3 2 Xplained Pro ID Chip Content Data f...

Page 10: ...d Pro extensions have their female counterparts Note that all pins are not always connected All connected pins follow the defined pin out description in the table below The extension headers can be us...

Page 11: ...ock for serial peripheral interface Always implemented bus type 19 GND Ground 20 VCC Power for extension board 3 4 2 Xplained Pro Power Header The power header can be used to connect external power to...

Page 12: ...ided to the ATSAMC21N18A on board peripherals and connectors Caution As the SAMC21N Xplained Pro can be powered by 5 0V care must be taken not to connect any Xplained Pro extensions that does not supp...

Page 13: ...tandard Extension Header The headers have a pitch of 2 54mm Table 4 1 Extension Header EXT1 Pin on EXT1 SAMC21N pin Function Shared functionality 1 ID Communication line to the ID chip on an extension...

Page 14: ...SO 18 SPI_SCK PA19 SERCOM1 PAD 3 SPI SCK or X 7 Y 23 19 GND Ground 20 VCC Power for extension board Table 4 2 Extension Header EXT2 Pin on EXT2 SAMC21N pin Function Shared functionality 1 ID Communica...

Page 15: ...tension Header EXT3 Pin on EXT3 SAMC21N pin Function Shared functionality 1 ID Communication line to the ID chip on an extension board 2 GND Ground 3 ADC PB07 ADC1_AIN 9 or SDADC_INP 2 or Y 13 4 ADC P...

Page 16: ...rduino schematics of the Arduino Uno Caution The target section of SAMC21N Xplained Pro can be powered by 3 3V or 5 0V The maximum voltage the I O pins can tolerate depends on the supply voltage Provi...

Page 17: ...0 SERCOM0 PAD 0 UART TX 3 PC20 D2 GPIO 4 PA14 D3 TC3 WO 0 Crystal Foot Print 5 PC21 D4 GPIO 6 PA15 D5 TC3 WO 1 Crystal Foot Print 7 PB30 D6 TC0 WO 0 EXT2 8 PB04 D7 GPIO Table 4 7 J801 Digital High Pin...

Page 18: ...ader labeled VCC_SEL on the board This header can be used to select between 3 3V and 5 0V as the supply voltage for the ATSAMC21N18A peripherals and extension headers by placing a jumper on pin 1 2 or...

Page 19: ...Xplained Pro All power to the ATSAMC21N18A is exclusively routed through this header excluding power to headers and peripherals To measure the power consumption of the device remove the jumper and re...

Page 20: ...tton Remember to enable the internal pull up in the SAMC21N to use the button Table 4 14 Mechanical Buttons SAMC21N pin Function Shared functionality RESETN RESET Shield Shield 2 and EDBG PB19 GPIO fo...

Page 21: ...2 100 mil pin headerw labeled CAN 0 and CAN 1 Table 4 17 CAN 0 Transceiver ATA6561 Connections SAMC21Npin Function ATA6561 function Shared functionality PA24 CAN0 TX TXD PA25 CAN0 RX RXD Table 4 18 C...

Page 22: ...hat can be used as I O This QTouch button is intended to be driven by the built in Peripheral Touch Controller PTC of the device Note To get started with QTouch refer to QTouch Tools Table 4 25 QTouch...

Page 23: ...wer to different sections Table 4 27 Resistors Designator From To Comment R313 PA14 Arduino shield D3 Remove when using external crystal R314 PA15 Arduino Shield D5 R609 RESETN RESET NET Remove to dis...

Page 24: ...Figure 4 3 Resistors Top SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 24...

Page 25: ...RGET_SWITCH_P3 V3_P5V0 Use this jumper JS101 to select either 5 0V or 3 3V voltage to the Target section Default setting in production is 5 0V J103 VCC_IN_P5V0 VCC_P5V0 Cut this jumper to measure curr...

Page 26: ...or to VS voltage Mount this jumper JS501 to set the LIN transceiver as Master node Default setting in production is mounted J502 VS_LIN VCC_TARGET_P3V3_P5V0 Mount this jumper JS500 to power the LIN tr...

Page 27: ...Figure 4 5 Jumpers Top SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 27...

Page 28: ...Interface over SPI and TWI and it includes four of the SAMC21N GPIOs Atmel Studio can be used as a front end for the Embedded Debugger 4 5 1 Serial Wire Debug The Serial Wire Debug SWD use two pins t...

Page 29: ...C12 SERCOM7 PAD 0 SPI MISO Master In Slave Out EXT3 Shield and Shield 2 PC14 SERCOM7 PAD 2 SPI MOSI Master Out Slave In EXT3 Shield and Shield 2 PC11 SERCOM7 PAD 3 SPI SCK Clock Out EXT3 Shield and Sh...

Page 30: ...SAMC21N pin Function Shared functionality PC24 DGI_GPIO2 EXT2 PA28 DGI_GPIO3 or EXTINT 8 EXT3 SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 30...

Page 31: ...to configure Open the OPTIONS dialog for the project 2 In the category General Options select the Target tab Select the device for the project or if not listed the core of the device 3 In the categor...

Page 32: ...Figure 5 2 Select Debugger Figure 5 3 Configure Flash Loader SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 32...

Page 33: ...Figure 5 4 Configure Reset Figure 5 5 Configure Interface SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 33...

Page 34: ...ing either an Atmel ICE adapter SAM ICE adapter or a 10 pin 50 mil header to squid cable When using a squid cable see the table and figures below for how to connect the SAM ICE to the Xplained Pro boa...

Page 35: ...oard from another input like the external power header or from the target USB Physically removing the connection between the EDBG and the debug header by removing 0 resistors where available or cuttin...

Page 36: ...ension boards will also appear in the Atmel Kit s window The same information can be found on the sticker on the bottom side of the PCB Most kits will print the identifier and revision in plain text a...

Page 37: ...7 Document Revision History Revision Date Comment A 05 2017 Initial document release SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 37...

Page 38: ...ollow the registration instructions Customer Support Users of Microchip products can receive assistance through several channels Distributor or Representative Local Sales Office Field Application Engi...

Page 39: ...lox KeeLoq KeeLoq logo Kleer LANCheck LINK MD maXStylus maXTouch MediaLB megaAVR MOST MOST logo MPLAB OptoLyzer PIC picoPower PICSTART PIC32 logo Prochip Designer QTouch RightTouch SAM BA SpyNIC SST S...

Page 40: ...regon and design centers in California and India The Company s quality system processes and procedures are for its PIC MCUs and dsPIC DSCs KEELOQ code hopping devices Serial EEPROMs microperipherals n...

Page 41: ...9 8833 7252 Fax 86 29 8833 7256 China Xiamen Tel 86 592 2388138 Fax 86 592 2388130 China Zhuhai Tel 86 756 3210040 Fax 86 756 3210049 India Bangalore Tel 91 80 3090 4444 Fax 91 80 3090 4123 India New...

Reviews: