background image

AMERICAS

ASIA/PACIFIC

ASIA/PACIFIC

EUROPE

Corporate Office

2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://www.microchip.com/
support
Web Address:
www.microchip.com

Atlanta

Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455

Austin, TX

Tel: 512-257-3370

Boston

Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088

Chicago

Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075

Dallas

Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924

Detroit

Novi, MI
Tel: 248-848-4000

Houston, TX

Tel: 281-894-5983

Indianapolis

Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Tel: 317-536-2380

Los Angeles

Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Tel: 951-273-7800

Raleigh, NC

Tel: 919-844-7510

New York, NY

Tel: 631-435-6000

San Jose, CA

Tel: 408-735-9110
Tel: 408-436-4270

Canada - Toronto

Tel: 905-695-1980
Fax: 905-695-2078

Asia Pacific Office

Suites 3707-14, 37th Floor
Tower 6, The Gateway
Harbour City, Kowloon

Hong Kong

Tel: 852-2943-5100
Fax: 852-2401-3431

Australia - Sydney

Tel: 61-2-9868-6733
Fax: 61-2-9868-6755

China - Beijing

Tel: 86-10-8569-7000
Fax: 86-10-8528-2104

China - Chengdu

Tel: 86-28-8665-5511
Fax: 86-28-8665-7889

China - Chongqing

Tel: 86-23-8980-9588
Fax: 86-23-8980-9500

China - Dongguan

Tel: 86-769-8702-9880

China - Guangzhou

Tel: 86-20-8755-8029

China - Hangzhou

Tel: 86-571-8792-8115
Fax: 86-571-8792-8116

China - Hong Kong SAR

Tel: 852-2943-5100
Fax: 852-2401-3431

China - Nanjing

Tel: 86-25-8473-2460
Fax: 86-25-8473-2470

China - Qingdao

Tel: 86-532-8502-7355
Fax: 86-532-8502-7205

China - Shanghai

Tel: 86-21-3326-8000
Fax: 86-21-3326-8021

China - Shenyang

Tel: 86-24-2334-2829
Fax: 86-24-2334-2393

China - Shenzhen

Tel: 86-755-8864-2200
Fax: 86-755-8203-1760

China - Wuhan

Tel: 86-27-5980-5300
Fax: 86-27-5980-5118

China - Xian

Tel: 86-29-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 Delhi

Tel: 91-11-4160-8631
Fax: 91-11-4160-8632

India - Pune

Tel: 91-20-3019-1500

Japan - Osaka

Tel: 81-6-6152-7160
Fax: 81-6-6152-9310

Japan - Tokyo

Tel: 81-3-6880- 3770
Fax: 81-3-6880-3771

Korea - Daegu

Tel: 82-53-744-4301
Fax: 82-53-744-4302

Korea - Seoul

Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934

Malaysia - Kuala Lumpur

Tel: 60-3-6201-9857
Fax: 60-3-6201-9859

Malaysia - Penang

Tel: 60-4-227-8870
Fax: 60-4-227-4068

Philippines - Manila

Tel: 63-2-634-9065
Fax: 63-2-634-9069

Singapore

Tel: 65-6334-8870
Fax: 65-6334-8850

Taiwan - Hsin Chu

Tel: 886-3-5778-366
Fax: 886-3-5770-955

Taiwan - Kaohsiung

Tel: 886-7-213-7830

Taiwan - Taipei

Tel: 886-2-2508-8600
Fax: 886-2-2508-0102

Thailand - Bangkok

Tel: 66-2-694-1351
Fax: 66-2-694-1350

Austria - Wels

Tel: 43-7242-2244-39
Fax: 43-7242-2244-393

Denmark - Copenhagen

Tel: 45-4450-2828
Fax: 45-4485-2829

Finland - Espoo

Tel: 358-9-4520-820

France - Paris

Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79

France - Saint Cloud

Tel: 33-1-30-60-70-00

Germany - Garching

Tel: 49-8931-9700

Germany - Haan

Tel: 49-2129-3766400

Germany - Heilbronn

Tel: 49-7131-67-3636

Germany - Karlsruhe

Tel: 49-721-625370

Germany - Munich

Tel: 49-89-627-144-0
Fax: 49-89-627-144-44

Germany - Rosenheim

Tel: 49-8031-354-560

Israel - Ra’anana

Tel: 972-9-744-7705

Italy - Milan

Tel: 39-0331-742611
Fax: 39-0331-466781

Italy - Padova

Tel: 39-049-7625286

Netherlands - Drunen

Tel: 31-416-690399
Fax: 31-416-690340

Norway - Trondheim

Tel: 47-7289-7561

Poland - Warsaw

Tel: 48-22-3325737

Romania - Bucharest

Tel: 40-21-407-87-50

Spain - Madrid

Tel: 34-91-708-08-90
Fax: 34-91-708-08-91

Sweden - Gothenberg

Tel: 46-31-704-60-40

Sweden - Stockholm

Tel: 46-8-5090-4654

UK - Wokingham

Tel: 44-118-921-5800
Fax: 44-118-921-5820

Worldwide Sales and Service

©

 2017 Microchip Technology Inc.

 User Guide

DS70005318A-page 41

Содержание SAMC21N Xplained Pro

Страница 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...

Страница 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...

Страница 3: ...Worldwide Sales and Service 41 SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 3...

Страница 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...

Страница 5: ...Figure 1 1 SAMC21N Xplained Pro Evaluation Kit Overview SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 5...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 24: ...Figure 4 3 Resistors Top SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 24...

Страница 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...

Страница 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...

Страница 27: ...Figure 4 5 Jumpers Top SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 27...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 32: ...Figure 5 2 Select Debugger Figure 5 3 Configure Flash Loader SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 32...

Страница 33: ...Figure 5 4 Configure Reset Figure 5 5 Configure Interface SAMC21N Xplained Pro 2017 Microchip Technology Inc User Guide DS70005318A page 33...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: