background image

Pin Number

Name

Description

9

IRQ/GPIO

Interrupt request line and/or general purpose I/O

10

SPI_SS_B/
GPIO

Slave select for SPI and/or general purpose I/O

11

I

2

C_SDA

Data line for I

2

C interface. Always implemented, bus type.

12

I

2

C_SCL

Clock line for I

2

C interface. Always implemented, bus type.

13

UART_RX

Receiver line of target device UART

14

UART_TX

Transmitter line of target device UART

15

SPI_SS_A

Slave select for SPI. Should preferably be unique.

16

SPI_MOSI

Master out slave in line of serial peripheral interface. Always
implemented, bus type.

17

SPI_MISO

Master in slave out line of serial peripheral interface. Always
implemented, bus type.

18

SPI_SCK

Clock 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 the SAMC21N Xplained Pro kit. The kit will
automatically detect and switch to any external power if supplied. The power header can also be used as
supply for external peripherals or extension boards. Care must be taken not to exceed the total current
limitation of the on-board regulator when using the 3.3V or 5.0V pin.

Table 3-5. Xplained Pro Power Header

Pin Number

Pin Name

Description

1

VEXT_P5V0

External 5V input

2

GND

Ground

3

VCC_P5V0

Unregulated 5V (output, derived from one of the input
sources)

4

VCC_P3V3

Regulated 3.3V (output, used as main power supply for the
kit)

 SAMC21N Xplained Pro

©

 2017 Microchip Technology Inc.

 User Guide

DS70005318A-page 11

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: