Advertisement

Quick Links

SAMC21N Xplained Pro
SAMC21N Xplained Pro

Preface

The SAMC21N Xplained Pro evaluation kit is a hardware platform to evaluate ATSAMC21N18A
microcontroller.
Supported by the Atmel Studio integrated development platform, the kit provides easy access to the
features 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 necessary to program or debug the ATSAMC21N18A.
The Xplained Pro extension series evaluation kits offers additional peripherals to extend the features of
the board and ease the development of custom designs.
User Guide
DS70005318A-page 1
©
2017 Microchip Technology Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SAMC21N Xplained Pro and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology SAMC21N Xplained Pro

  • Page 1: Preface

    SAMC21N Xplained Pro SAMC21N Xplained Pro Preface The SAMC21N Xplained Pro evaluation kit is a hardware platform to evaluate ATSAMC21N18A microcontroller. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the ATSAMC21N18A and explains how to integrate the device in a custom design.
  • Page 2: Table Of Contents

    SAMC21N Xplained Pro Table of Contents Preface..........................1 1. Introduction........................4 1.1. Features............................4 1.2. Kit Overview..........................4 2. Getting Started......................6 2.1. Xplained Pro Quick Start......................6 2.2. Design Documentation and Relevant Links................. 6 3. Xplained Pro......................8 3.1. Embedded Debugger........................8 3.2.
  • Page 3 SAMC21N Xplained Pro Worldwide Sales and Service..................41 User Guide DS70005318A-page 3 © 2017 Microchip Technology Inc.
  • Page 4: Introduction

    Supported with application examples in Atmel Software Framework Kit Overview The SAMC21N Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAMC21N18A. The kit offers a set of features that enables the ATSAMC21N18A user to get started with the SAM C peripherals right away and to get an understanding of how to integrate the device in their own design.
  • Page 5 SAMC21N Xplained Pro Figure 1-1. SAMC21N Xplained Pro Evaluation Kit Overview User Guide DS70005318A-page 5 © 2017 Microchip Technology Inc.
  • Page 6: Getting Started

    Embedded Debugger and therefore no external programmer or debugger tool is needed. Design Documentation and Relevant Links The following list contains links to the most relevant documents and software for SAMC21N Xplained Pro: • Xplained products - Xplained evaluation kits are a series of easy-to-use evaluation kits for Microchip microcontrollers and other Microchip products.
  • Page 7 SAMC21N Xplained Pro • Design Documentation - Package containing CAD source, schematics, BOM, assembly drawings, 3D plots, layer plots etc • SAMC21N Xplained Pro in Microchip website User Guide DS70005318A-page 7 © 2017 Microchip Technology Inc.
  • Page 8: Xplained Pro

    Data Visualizer is used to send and receive data through DGI. The EDBG controls two LEDs on SAMC21N Xplained Pro; a power LED and a status LED. The table below shows how the LEDs are controlled in different operation modes.
  • Page 9: Hardware Identification System

    3600 Maximum Current [mA] uint16_t Power Sources The SAMC21N Xplained Pro kit can be powered by several power sources as listed in the table below. Table 3-3. Power Sources for SAMC21N Xplained Pro Power Input Voltage Requirements Current Requirements Connector Marking External power 5V ±2% (±100mV) for...
  • Page 10: Xplained Pro Headers And Connectors

    SAMC21N Xplained Pro Power Input Voltage Requirements Current Requirements Connector Marking maximum is 2A due to the input protection maximum current specification. Embedded debugger 4.4V to 5.25V (according 500mA (according to DEBUG USB to USB spec.) USB spec.) The kit will automatically detect which power sources are available and choose which one to use according to the following priority: External power.
  • Page 11 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.
  • Page 12: Hardware Users Guide

    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 support this voltage, doing so may result in permanent damage.
  • Page 13 4.2.1 Xplained Pro Extension Headers The SAMC21N Xplained Pro headers EXT1, EXT2, and EXT3 offers access to the I/O of the microcontroller in order to expand the board e.g. by connecting extensions to the board. These headers are based on the standard extension header specified in Xplained Pro Standard Extension Header.
  • Page 14 SAMC21N Xplained Pro Pin on EXT1 SAMC21N pin Function Shared functionality 8 [PWM(-)] PB13 TC4/WO[1] or X[13]/Y[29] 9 [IRQ/GPIO] PA22 IRQ6 or TC4/WO[0] or TCC1/ EDBG GPIO1 WO[0] or X[10]/Y[26] 10 [SPI_SS_B/GPIO] PA23 GPIO or TC4/WO[1] or TCC1/ WO[1] or X[11]/Y[27]...
  • Page 15 SAMC21N Xplained Pro Pin on EXT2 SAMC21N pin Function Shared functionality 12 [TWI_SCL] PA17 SERCOM1 PAD[1] I C SCL EXT3, Shield, EDBG I Crypto Device 13 [USART_RX] PB21 SERCOM3 PAD[1] UART RX 14 [USART_TX] PB20 SERCOM3 PAD[0] UART TX 15 [SPI_SS_A]...
  • Page 16 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. Providing higher voltages like 5V to an I/O pin when the ATSAMC21N18A is powered by 3.3V could damage the board.
  • Page 17 SAMC21N Xplained Pro Table 4-5. J803 - Analog Pin on J803 SAMC21N pin Arduino pin Function Shared functionality name PB09 ADC0 ADC0_AIN3 or EXT1 SDADC_INP[1] or Y[15] PB08 ADC1 ADC0_AIN2 or EXT1 SDADC_INN[1] or Y[14] PC00 ADC2 ADC0_AIN8 PC01 ADC3 ADC0_AIN9...
  • Page 18 4.2.4 VREF Header SAMC21N Xplained Pro has a 6-pin header labeled VREF on the board. This header can be used to select / apply a voltage reference to the ADC, DAC, and SDADC. Jumpers can be used to tie SADC VREF and ADC/DAC VREF to the kit target voltage from pin 1-3 and 2-4, or external voltages can be applied across pin 3-5 and 4-6.
  • Page 19 ADC / DAC voltage reference Ground Ground 4.2.5 DAC Header SAMC21N Xplained Pro has a 2-pin header labeled DAC-OUT on the board that is connected to the DAC output of the ATSAMC21N18A and ground. Table 4-11. DAC Header DAC header pin Pin / Net...
  • Page 20: Peripherals

    Target reset signal Peripherals 4.3.1 There is one yellow LED available on the SAMC21N Xplained Pro board that can be turned on and off. The LED is activated by driving the connected I/O line to low. Table 4-13. LED Connection SAMC21N pin...
  • Page 21 SAMC21N Xplained Pro Table 4-16. External Crystal Footprint SAMC21N pin Function Shared functionality PA14 EXT3 Shield PA15 XOUT EXT3 Shield 4.3.4 ATSAMC21N18A has two CAN modules that performs communication according to ISO11898-1 (Bosch CAN specification 2.0 part A,B) and Bosch CAN FD specification V1.0.
  • Page 22 4.3.6 QTouch Button There is one self capacitance button available on the SAMC21N Xplained Pro board that 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.
  • Page 23: Kit Modifications

    EDBG I VCC_TARGET_P3V3 PADDLE Kit Modifications SAMC21N Xplained Pro has several resistors and jumpers that can be removed/cut to disconnect I/O pins of the ATSAMC21N18A from connectors and on-board ICs and to disconnect/measure power to different sections. Table 4-27. Resistors Designator...
  • Page 24 SAMC21N Xplained Pro Figure 4-3. Resistors Top User Guide DS70005318A-page 24 © 2017 Microchip Technology Inc.
  • Page 25 SAMC21N Xplained Pro Figure 4-4. Resistors Bottom Table 4-28. Jumpers Designator From Comment J101 VCC_TARGET_X_P3V3_P5V VCC_MCU_P3V3_P5V0 Remove this jumper (JS100) to measure current to the MCU section J102 VCC_P5V0 (pin 1) and VCC_TARGET_SWITCH_P3 Use this jumper (JS101) to VCC_P3V3 (pin 3) V3_P5V0 select either 5.0V or 3.3V...
  • Page 26 SAMC21N Xplained Pro Designator From Comment MCU sections. The footprint is 0603 sized. J105 3.3V linear regulator output VCC_EDBG_P3V3 Cut this jumper to measure for EDBG section current to the EDBG section. The footprint is 0603 sized. J106 VCC_TARGET_X_P3V3_P5V VCC_TARGET_P3V3_P5V0 Cut this jumper to measure current to the Target section.
  • Page 27 SAMC21N Xplained Pro Figure 4-5. Jumpers Top User Guide DS70005318A-page 27 © 2017 Microchip Technology Inc.
  • Page 28: Embedded Debugger Implementation

    Figure 4-6. Jumpers Bottom Embedded Debugger Implementation SAMC21N Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and debug the ATSAMC21N18A using Serial Wire Debug (SWD). The Embedded Debugger also include a Virtual Com port interface over UART, an Atmel Data Gateway Interface over SPI, and TWI and it includes four of the SAMC21N GPIOs.
  • Page 29 SAMC21N Xplained Pro 4.5.2 Virtual COM Port The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAMC21N18A UARTs. For further information on how to use the Virtual COM port, see Embedded Debugger. Table 4-30. Virtual COM Port Connections...
  • Page 30 SAMC21N Xplained Pro SAMC21N pin Function Shared functionality PC24 DGI_GPIO2 EXT2 PA28 DGI_GPIO3 or EXTINT[8] EXT3 User Guide DS70005318A-page 30 © 2017 Microchip Technology Inc.
  • Page 31: Appendix

    SAMC21N Xplained Pro Appendix Getting Started with IAR ® ® IAR Embedded Workbench for ARM is a proprietary high efficiency compiler not based on GCC. ™ Programming and debugging of Xplained Pro kits are supported in IAR Embedded Workbench for ARM using the common CMSIS-DAP interface.
  • Page 32 SAMC21N Xplained Pro Figure 5-2. Select Debugger Figure 5-3. Configure Flash Loader User Guide DS70005318A-page 32 © 2017 Microchip Technology Inc.
  • Page 33 SAMC21N Xplained Pro Figure 5-4. Configure Reset Figure 5-5. Configure Interface User Guide DS70005318A-page 33 © 2017 Microchip Technology Inc.
  • Page 34: Connecting A Sam-Ice To An Xplained Pro Board

    SAMC21N Xplained Pro Connecting a SAM-ICE to an Xplained Pro Board ™ Xplained Pro kits featuring a 10-pin 50mil debug connector can use external debug tools like SAM-ICE or Atmel-ICE instead of the built-in EDBG. Devices using SWD interface on-board will have a connector...
  • Page 35 SAMC21N Xplained Pro Figure 5-7. SAM-ICE using an Atmel-ICE Adapter Important:  If contention with the on-board EDBG occur, power the Xplained Pro board 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 cutting the tracks to the EDBG can also be done.
  • Page 36: Hardware Revision History And Known Issues

    = revision s = serial number The product identifier for SAMC21N Xplained Pro is A09-2682. Revision Revision 4 is the initial released revision for the SAMC21N Xplained Pro. There are no known issues. User Guide DS70005318A-page 36 © 2017 Microchip Technology Inc.
  • Page 37: Document Revision History

    SAMC21N Xplained Pro Document Revision History Revision Date Comment 05/2017 Initial document release. User Guide DS70005318A-page 37 © 2017 Microchip Technology Inc.
  • Page 38: The Microchip Web Site

    SAMC21N Xplained Pro 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: •...
  • Page 39: Legal Notice

    SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
  • Page 40: Quality Management System Certified By Dnv

    SAMC21N Xplained Pro ISBN: 978-1-5224-1778-1 Quality Management System Certified by DNV ISO/TS 16949 Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California ® ®...
  • Page 41 Sweden - Stockholm Tel: 408-735-9110 Tel: 86-29-8833-7252 Tel: 66-2-694-1351 Tel: 46-8-5090-4654 Tel: 408-436-4270 Fax: 86-29-8833-7256 Fax: 66-2-694-1350 UK - Wokingham Canada - Toronto Tel: 44-118-921-5800 Tel: 905-695-1980 Fax: 44-118-921-5820 Fax: 905-695-2078 User Guide DS70005318A-page 41 © 2017 Microchip Technology Inc.

Table of Contents