Home

Atmel SAM L21 Xplained Pro User Guide

image

Contents

1. 4 2 6 Cortex Debug Connector SAM L22 Xplained Pro has a 10 pin 50 mil Cortex Debug Connector that can be used to attach external debuggers to the ATSAML22N18A Table 4 11 Cortex Debug Connector Cortex Debug Pin Net Shared functionality Connector pin 1 VCC_TARGET_P3V3 ATSAML22N18A voltage 2 PA31 SWD data signal EDBG SWD GND Ground 4 PA30 SWD clock signal EDBG SWD 15 GND Ground 6 5 5 7 8 ci 9 GND Ground 10 RESETN Target reset signal 4 3 Peripherals 4 3 1 Crystal The SAM 122 Xplained Pro kit contains 32 768kHz crystal that can be used as clock source for the SAM L22 device The crystal has a cut strap next to it that can be used to measure the oscillator safety factor This is done by cutting the strap and adding a resistor across the strap More information about oscillator allowance and safety factor can be found in appnote AVR41001 Table 4 12 External 32 768kHz Crystal 32 XOUT32 4 3 2 Mechanical Buttons SAM L22 Xplained Pro contains two mechanical buttons One button is the RESET button connected to the SAM L22 reset line and the other is a generic user configurable button When a button is pressed it will drive the I O line to GND Info There is no pull up resistor connected to the generic user button Remember to enable the internal pull up in the SAM 122 to use the button Atmel Atmel SAM 122 Xplained Pro USER GUIDE 24 Atmel 42474A SAM L22 Xpl
2. GPIO0 SLCD Atmel Atmel 122 Xplained Pro USER GUIDE 17 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 6 GPIO2 PBO5 7 PWM 4 PC28 8 PWM PA27 9 IRQ GPIO PB06 10 5 55 B GPIO 07 11 TWI SDA PB30 12 TWI SCIL PB31 13 USART_RX PA13 14 USART_TX PA12 15 SPI_SS_A PA17 16 SPI_MOSI 18 17 SPI_MISO PA16 18 SPI_SCK PA19 19 GND 20 VCC Table 4 3 Extension Header EXT3 GPIO TCCO WO 4 TCCO WO 5 IRQ6 GPIO GPIO 5 PAD 0 SDA SERCOMS PAD 1 SCL SERCOM3 PAD 1 UART RX SERCOMS PAD 0 UART TX SERCOM1 PAD 1 SPI SS SERCOM1 PAD 2 SPI MOSI SERCOM 1 PAD 0 SPI MISO SERCOM 1 PAD 3 SPI EXT2 pin SAM 122 ERN Shared functionality pin EDBG GPIO1 and SLCD SLCD SLCD Shield and EDBG GPIO2 Shield and EDBG GPIO3 EXT1 Shield Crypto and EDBG lC EXT1 Shield Crypto and EDBG lC Ground Power for extension board EXT3 pin 122 Shared functionality 1 ID 2 GND E 3 ADC 06 4 ADC 07 5 GPIO1 PC16 6 GPIO2 PC17 7 PWM PB16 8 PWM PB47 9 IRQ GPIO PB18 10 5 SS B GPIO PB19 11 TWI SDA PB30 Atmel AIN 9 GPIO GPIO TC2 WOJO TC2 WO 1 IRQ2 GPIO GPIO SERCOMS PAD 0 I C SDA Communication line to the ID chip on an extension board Ground ISLCD SLCD SLCD SLCD SLCD
3. TPAD 8 5 406 4022 TDTP404 VCTP O07 40 5 L701 R707 C703 8 PCO3 PCO2 pd XPLAINED PRO EXTENSION HEADER PA22 PA23 PBOO 21 PBOI ppo2 R302 UCC ID GND ULCD PADS PAO4 PBO5 PB04 pc28 06 Atmel Corp 2015 PB31 pB30 12 E dies PCBA LABEL PAIS PAl7 A08 2598 Rev 1 Pals Pai6 UCC GND 9595 9 8 8g a T e e en a T T T mn a a a a e 8 E3 E4 ag 5s x ea eo T x A Atmel Atmel SAM 122 Xplained Pro USER GUIDE 32 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 4 6 1 Operation at Other Voltages The SAM L22 Xplained Pro board is operated at 3 3V by default but it also has the possibility of running at lower voltages from an external supply The EDBG is designed to run from a 3 3V supply and won t work on other voltages therefore all connections from the EDBG and the on board 3 3V regulator to the ATSAML22N18A has to be removed To completely disconnect the EDBG and the on board power supply from the ATSAML22N18A do the following e Cut J100 e Remove R400 R404 R405 R406 R407 R408 R414 R415 R416 R417 R418 R419 R420 R425 R426 R427 Figure 4 6 122 Xplained Pro EDBG disconnect on page 33 shows all components that
4. User Guide User guide containing more information about the on board Embedded Debugger Embedded Workbench for ARM This is a commercial C C compiler that is available for ARM There is a 30 day evaluation version as well as a code size limited kick start version available from their website The code size limit is 16KB for devices with MO and M1 cores 32KB for devices with other cores e Atmel QTouch Library QTouch Library for Atmel AVR ARM based microcontrollers Atmel QTouch Composer Tool for developing capacitive buttons sliders and wheels applications Atmel Data Visualizer Atmel Data Visualizer is a program used for processing and visualizing data Data Visualizer can receive data from various sources such as the Embedded Debugger Data Gateway Interface found on Xplained Pro boards and COM ports Segment LCD1 Xplained Pro Segment LCD1 Xplained Pro is a segment LCD Xplained Pro extension with 96 segments that uses 4 COM and 24 SEG signals An Xplained Pro MCU board with a Xplained Pro segment LCD connector is required to use the kit e Design Documentation Package containing CAD source schematics BOM assembly drawings 3D plots layer plots etc Atmel Atmel SAM L22 Xplained Pro USER GUIDE 6 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Hardware Users Guide PDF format PDF version of this User Guide Atmel Atmel SAM L22 Xplained Pro USER GUIDE 7
5. Al t el Atmel SMART Microcontrollers SAM L22 Xplained Pro USER GUIDE Preface The Atmel SAM L22 Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAML22N18A microcontroller Supported by the Atmel Studio integrated development platform the kit provides easy access to the features of the Atmel ATSAML22N18A 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 ATSAML22N18A The Xplained Pro extension kits offers additional peripherals to extend the features of the board and ease the development of custom designs Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Table of Contents 1 1 4 121 sean 4 1 2 4 2 Getting 6 2 1 Pro Quick Start ee dep aan p Ede 6 2 2 Design Documentation and Relevant 6 3 8 2 1 Embedded Eo er
6. Crypto and EDBG lC 10 PB31 SCL SERCOM5 PAD 1 EXT1 EXT2 SCL Crypto and EDBG Table 4 9 J900 SPI Pin on J900 SAM L22 pin Shared functionality 1 MISO SERCOM1 3 SLCD and Shield SPI MISO 2 p 5V VCC P5VO p 3 PC13 SCK PAD 1 SLCD and Shield SPI SCK 4 PC12 MOSI SERCOM1 PAD 0 SLCD and Shield SPI MOSI 5 RESETN RESET TARGET RESET 6 GND 424 USB The SAM L22 Xplained Pro has a Micro USB connector for use with the SAM L22 USB module labeled as TARGET USB on the kit To be able to detect when a target USB cable is connected in self powered mode a GPIO is used to detect the VBUS voltage on the connector USB function Table 4 10 USB Connections PC26 VBUS Detection PA24 USB D PA25 USB D 4 2 5 Current Measurement Header An angled 1x2 100mil pin header marked with MCU current measurement is located at the upper edge of the SAM 122 Xplained Pro All power to the ATSAML22N18A is routed through this header To measure the power consumption of the device remove the jumper and replace it with an ammeter ATSAML22N18A to be powered through its I O pins This may cause permanent damage to the Caution Removing the jumper from the pin header while the kit is powered may cause the device Atmel Atmel 122 Xplained Pro USER GUIDE 23 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015
7. HER 35 7 Document Revision 38 8 Evaluation Board kit Important 0 000020 39 Atmel Atmel SAM L22 Xplained Pro USER GUIDE 3 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 1 Introduction 1 1 Features e e ATSAML22N18A microcontroller One mechanical reset button One mechanical programmable button Xplained Pro segment LCD connector Eight COM signals Twenty seven SEG signals Six touch signals One QTouch button One yellow user LED Backup super capacitor 32 768kHz crystal USB interface device only Three Xplained Pro extension headers Embedded Debugger Auto ID for board identification in Atmel Studio One yellow status LED One green board power LED Symbolic debug of complex data types icluding scope information Programming and debugging including power measurements Data Gateway Interface SPI I C four GPIOs Virtual COM port CDC Embedded current measurement circuitry with Atmel Data Visualizer support for data visualization USB powered Supported with application examples in Atmel Software Framework 1 2 Kit Overview The Atmel SAM L22 Xplained Pro evaluation kit is a hardware platform to evaluate the Atmel ATSAML22N18A The kit offers a set of features that enables the ATSAML22N18A user to get started with the SAM L pe
8. LP 12 Shield Shield EXT3 EXT3 EXT3 EXT3 EXT3 Shield User SWO EDBG GPIO1 and EXT2 1 EDBG GPIOO and 2 2 2 Shield EXT3 EXT3 Atmel SAM L22 Xplained Pro USER GUIDE 20 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 5 SAM 122 pin Function Shared functionality 46 COM7 PA10 SLCD LP 13 47 Backlight VCC P3V3 48 Backlight GND V 49 Backlight 27 TC3 WO 1 User LEDO CTRL 50 ID Xplained Pro ID Communication line to ID chip on extension board 51 GND GND 4 2 3 Arduino Connector Footprint SAM 122 Xplained Pro implements Arduino shield connectors footprints based on the Arduino Uno All references to Arduino pin names are taken from the official Arduino schematics of the Arduino Uno Info Note that all pins do not have the exact same functionality as on the Arduino Uno on the shield connectors each shield should be checked for compatibility before it is connected Table 4 5 J902 Power on J902 SAM L22 pin Arduino pin name Function Shared functionality 1 RFU 2 IOREF TARGET P3 V3 3 RESETN RESET TARGET RESET 4 3 3V VCC_TARGET_P3 l V3 5 5V VCC P5VO 6 GND GND 7 GND GND 8 VIN EXT P5VO Table 4 6 J903 Analog Pin on J903 SAM L22 pin Arduino pin name Function Shared fu
9. 6 SEG6 11 12 SEG7 Segment 7 Segment 8 SEG8 13 14 5 9 Segment 9 10 SEG10 15 16 SEG11 Segment 11 Segment 12 SEG12 17 18 SEG13 Segment 13 Segment 14 SEG14 19 20 SEG15 15 16 SEG16 21 22 SEG17 Segment 17 Segment 18 SEG18 23 24 SEG19 Segment 19 Segment 20 SEG20 25 26 SEG21 Segment 21 Segment 22 SEG22 27 28 SEG23 Segment 23 Segment 24 SEG24 29 30 SEG25 Segment 25 Segment 26 SEG26 31 32 SEG27 27 Segment 28 SEG28 33 34 SEG29 Segment 29 Segment 30 SEG30 35 36 SEG31 Segment 31 Segment 32 SEG32 QT_X2 37 38 SEG33 2 Segment 33 QTouch X line 2 QTouch Y line 2 Segment 34 SEG34 QT_X1 39 40 SEG35 QT_Y1 Segment 35 QTouch X line 1 QTouch Y line 1 Segment 36 SEG36 0 41 42 SEG37 0 Segment 37 QTouch X line 0 QTouch Y line 0 Atmel Atmel 122 Xplained Pro USER GUIDE 13 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Description Function Function Description Common terminal 4 COMA 43 44 COMS5 Common terminal 5 Common terminal 6 COM6 45 46 COM7 Common terminal 6 Backlight anode Backlight V 47 48 Backlight V Backlight Cathode Backlight control Backlight CTRL 49 50 ID Xplained Pro ID Ground GND l1 3 5 3 Xplained Pro Power Header The power header can be used to connect external power to the SAM L22 Xplained Pro kit The kit will automatically detect and switch to any external power if suppl
10. Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 3 1 Xplained Pro Xplained Pro is an evaluation platform that provides the full Atmel microcontroller experience The platform consists of a series of Microcontroller MCU boards and extension boards which are integrated with Atmel Studio have Atmel Software Framework ASF drivers and demo code support data streaming and more Xplained Pro MCU boards support a wide range of Xplained Pro extension boards which are connected through a set of standardized headers and connectors Each extension board has an identification ID chip to uniquely identify which boards are connected to an Xplained Pro MCU board This information is used to present relevant user guides application notes datasheets and example code through Atmel Studio Embedded Debugger The SAM L22 Xplained Pro contains the Atmel Embedded Debugger EDBG for on board debugging The EDBG is a composite USB device of three interfaces a debugger Virtual COM Port and a Data Gateway Interface DGI Together with Atmel Studio the EDBG debugger interface can program and debug the ATSAML22N18A On SAM L22 Xplained Pro the SWD interface is connected between the EDBG and the ATSAML22N18A The Virtual COM Port is connected to a UART on the ATSAML22N18A and provides easy way to communicate with the target application through terminal software It offers variable baud rate parity and stop bit settings Note that the setting
11. LP 18 SLCD LP 19 SLCD LP 20 SLCD LP 21 SLCD LP 22 SLCD LP 23 SLCD LP 24 SLCD LP 25 EXT1 EXT2 Shield Crypto and EDBG lC SLCD SLCD SLCD SLCD SLCD SLCD Ground Power for extension board Shield Shield Shield and EXT3 Shield and EXT3 Shield and Shield 2 Shield and Shield 2 Shield and Shield 2 Shield Shield Shield Shield Shield Atmel SAM 122 Xplained Pro USER GUIDE 19 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 5 SAM 122 pin Function Shared functionality 17 SEG12 18 SEG13 19 SEG14 20 SEG15 21 SEG16 22 SEG17 23 SEG18 24 SEG19 25 SEG20 26 SEG21 27 SEG22 28 SEG23 29 SEG24 30 SEG25 31 SEG26 32 SEG27 33 SEG28 34 SEG29 35 SEG30 36 SEG31 37 SEG32 QT X2 38 SEG33 QT Y2 39 SEG34 QT X1 40 SEG35 QT Y1 41 SEG36 QT 42 SEG37 QT YO 43 COM4 44 5 45 COM6 Atmel PC14 PC15 PA14 PA15 PC16 PC17 PC18 PC19 PC20 PC21 PB16 PB17 PB18 PB19 PB20 1 05 00 4 28 27 7 PAO8 PA09 SLCD LP 26 SLCD LP 27 SLCD LP 30 SLCD LP 31 SLCD LP 36 SLCD LP 37 SLCD LP 38 SLCD LP 39 SLCD LP 40 SLCD LP 41 SLCD LP 42 SLCD LP 43 SLCD LP 44 SLCD LP 45 SLCD LP 46 PTC X 5 PTC X 14 PTC Y 10 PTC X 20 PTC Y 21 SLCD LP 10 SLCD LP 11 SLCD
12. Pro extensions have their female counterparts Note that all pins are not always connected All connected pins follow the defined pin out description in Table 3 4 Xplained Pro Standard Extension Header on page 12 The extension headers can be used to connect a variety of Xplained Pro extensions to Xplained Pro MCU boards or to access the pins of the target MCU on Xplained Pro MCU boards directly Table 3 4 Xplained Pro Standard Extension Header 1 2 3 10 11 12 13 14 15 16 17 18 19 20 Atmel ID GND ADC ADC GPIO1 GPIO2 PWM PWM IRQ GPIO SPI SS B GPIO 2 SDA eth UART RX UART TX SPI SS A SPI MOSI SPI MISO SPI SCK GND VCC Communication line to the ID chip on an extension board Ground Analog to digital converter alternatively positive part of differential ADC Analog to digital converter alternatively negative part of differential ADC General purpose I O General purpose I O Pulse width modulation alternatively positive part of differential PWM Pulse width modulation alternatively negative part of differential PWM Interrupt request line and or general purpose I O Slave select for SPI and or general purpose I O Data line for 2 interface Always implemented bus type Clock line for I C interface Always implemented bus type Receiver line of target device UART Transmitter line of target device UART Slave select for SPI Sho
13. SCL R414 330R EDBG CDC TX PC25 UART RX R415 OR EDBG SPI MOSI PB22 SPI MOSI R416 330R EDBG DGI_GPIOO PB04 GPIO R417 330R EDBG DGI_GPIO1 PB05 GPIO R418 330R EDBG DGI GPIO2 PB06 GPIO R419 330R EDBG DGI GPIO3 7 GPIO R420 330R EDBG SPI MISO PB24 SPI MISO R425 OR EDBG SPI SCK PB23 SPI SCK R426 OR EDBG SS PB25 SPI SS R427 OR TARGET RESET TARGET MCU RES Reset sense signal to EDBG SENSE ET used to detect external resets R900 OR TARGET MCU RESET UNO ATSAML22N18A reset signal to RESET Arduino connectors Atmel SAM 122 Xplained Pro USER GUIDE 30 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Atmel Figure 4 4 Assembly Drawing Atmel TARGET USB VBAT SELEC VCC 17103 05101 TARGET x 2 Ug SWO R3OORFSETR3LH R30 3 8 C303 R4 POWER 0 STATUS E 5 0V GND 1 5 0V J20 SAML22 CORTEX DEBUG 1 CURRENT MEASUREMENT AtmeL SAML22 X PLAINED x 1200 5 015 50 014 GND 5 D13 ga f MISO 012 MOSI 011 SS 010 D9 D8 2kHz CRYSTAL 07 5 SEGMENT LCD D6 05 2206 04 03 02 TXD 01 ATAES132 RXD DO QT BTN 1 EAR C316 GND MOSI UCC RESET SCK MISO Atmel SAM 122 Xplained Pro USER GUIDE 31 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Figure 4 5 Assembly Drawing Bottom Te301
14. shunt resistor is 100mV and the XAM will switch the range automatically before this limit is reached 3 3 Hardware Identification System All Xplained Pro compatible extension boards have an Atmel ATSHA204 CryptoAuthentication chip mounted This chip contains information that identifies the extension with its name and some extra data When an Xplained Pro extension is connected to an Xplained Pro MCU board the information is read and sent to Atmel Studio The Atmel Kits extension installed with Atmel Studio will give relevant information code examples and links to relevant documents Table 3 2 Xplained Pro ID Chip Content on page 10 shows the data fields stored in the ID chip with example content Table 3 2 Xplained Pro ID Chip Content Data field Data type Example content Manufacturer ASCII string Atmel O Product Name ASCII string Segment LCD1 Xplained 0 Atmel Atmel SAM 122 Xplained Pro USER GUIDE 10 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Data field Data type Example content Product Revision ASCII string 020 Product Serial Number ASCII string 1774020200000010 0 Minimum Voltage mV uinti t Maximum Voltage mV uint16_t 3600 Maximum Current mA uint16_t 0 Power Sources The SAM L22 Xplained Pro kit can be powered by several power sources listed in Table 3 3 Power Sources for SAM L22 Xplained Pro o
15. At least one GPIO that is connected to the EDBG from the target MCU is also connected to the current measurement unit to enable the user to sync current measurements with his application e Clock sync Synchronization signal to synchronize ADC measurements with EDBG Reference clock Reference clock for the 3 2 3 Sample Rate The raw sampling rate of the Xplained Pro analog module XAM is up to 250kHz and with the default averaging configuration average of 16 samples the actual output of the XAM is 16 67kSPS note that the XAM output sample rate is not an integer fraction of the raw sampling 3 2 4 Measurement Ranges and Accuracy The Xplained Pro analog module has four measurement ranges These are defined by two shunt resistors and two gain stages Measurement Hardware Resolution Accuracy Comments 1 Low current shunt 20nA 1 LSB 1 Below 1A the error will high gain stage increase Typical error for 300nA is 1 LSB 10 Range 2 Low current shunt and 150nA 1 LSB 1 low gain stage Range 3 High current shunt and 10pA 1 LSB 1 high gain stage Range 4 High current shunt and 100pA 1 LSB 1 Above 100mA the error will low gain stage increase to 1 LSB 5 at 400mA Maximum current is 400mA The ranges are switched automatically by the XAM to achieve best measurement results and the currently active range is visualized in the Atmel Data Visualizer frontend tool The maximum voltage drop over the
16. IDE 27 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Table 4 21 Interface Connections when using SPI 4 5 SAM L22 pin Function Shared functionality PB25 SERCOMS PAD 1 SPI SS Slave select SAM L22 is Master PB24 SERCOMS PAD 0 SPI MISO Master In Slave Out PB22 SERCOM5 PAD 2 SPI MOSI Master Out Slave in PB23 5 PAD 3 SPI SCK Clock Table 4 22 Interface Connections when using 2 SAM L22 pin Function Shared functionality PB30 SERCOM5 PAD 0 SDA Data line EXT2 EXT3 Shield and Crypto PB31 SERCOM5 PAD 1 SCL Clock line EXT1 EXT2 EXT3 Shield and Crypto Four GPIO lines are connected to the Embedded Debugger The EDBG can monitor these lines and time stamp pin value changes This makes it possible to accurately time stamp events in the SAM L22 application code For further information on how to configure and use the GPIO monitoring features see Atmel Data Visualizer and the EDBG User Guide Table 4 23 GPIO Lines Connected to the EDBG SAM L22 pin Function Shared functionality PB04 GPIOO SLCD and EXT2 GPIO1 SLCD and EXT2 2 Shield EXT2 7 Shield and EXT2 SAM L22 Xplained Pro XAM Configuration On the SAM L22 Xplained Pro the MCU and the MCU peripherals e g extensions are powered by its own regulator as shown in Figure 4 3 SAM L22 Xplained Pro XAM Implementation B
17. OMS SDA 1 EXT2 EXT3 Shield and EDBG 6 SCL PB31 SERCOMS 1 SCL 1 EXT2 EXT3 Shield and EDBG 7 INC E 8 VCC ie T GND Tamper Detection The ATSAML22N18A supports up to five selectable polarity external inputs and one output that can be used for tamper detection When tamper is detected a time stamp is logged and an interrupt is raised The output pin can be used for PCB active layer detection when enabled a bit pattern is applied to the output pin if this pattern is not detected at an input pin a tamper is detected PC01 one of the inputs is connected to the on board user button 01 the tamper output is connected to EXT1 together with several tamper inputs Pressing the user button or using a jumper on EXT1 between PB01 and an input can emulate for example the chassis of a product being opened or a modification to a PCB For more details about how the tamper functionality works see the SAM L22 data sheet Atmel SAM L22 Xplained Pro USER GUIDE 26 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Table 4 18 Tamper Detection SAM L22 pin Shared functionality IN 3 SLCD and 1 51 and User SWO 2 EXT1 pin IN O EXT pin 16 PBO1 EXT pin 18 02 IN 1 EXT1 pin 17 4 4 Embedded Debugger Implementation SAM 122 Xplained Pro contai
18. SLCD SLCD SLCD EXT1 EXT2 Shield Crypto and EDBG Atmel SAM L22 Xplained Pro USER GUIDE 18 Atmel 42474A SAM L22 Xplained Pro User Guide 08 2015 SAM 122 Shared functionality 4 2 2 12 TWI_SCL 13 USART_RX 14 USART TX 15 SPI SS 16 SPI MOSI 17 SPI MISO 18 SPI SCK 19 GND 20 VCC PB31 PA15 PA14 PAO PA10 Segment LCD Connector Extension connector EXT5 is a special connector for segment LCD displays SAM L22 Xplained Pro implements one segment LCD extension connector for Xplained Pro extensions and supports up to eight COM twenty seven SEG and six touch signals The connector has a standardized pin out as shown in Table 3 5 Xplained Pro Segment LCD Connector on page 13 SERCOMS PAD 1 SCL SERCOM4 PAD 3 UART RX SERCOM4 PAD 2 UART TX SERCOMO PAD 1 SPI SS SERCOMO PAD 2 SPI MOSI SERCOMO PAD 0 SPI MISO SERCOMO PAD 3 SPI SCK Table 4 4 Segment LCD Display Connector EXT5 EXT5 Pin SAM L22 pin Function Shared functionality 1 COM3 2 COM2 3 COM1 4 COMO 5 SEGO 6 SEG1 7 SEG2 8 SEG3 9 SEG4 10 SEG5 11 SEG6 12 SEG7 13 SEG8 14 SEG9 15 SEG10 16 SEG11 Atmel PC06 5 PAO6 PA11 8 09 10 PC11 PC12 PC13 PB11 PB12 PB13 PB14 PB15 SLCD LP 9 SLCD LP 8 SLCD LP 7 SLCD LP 6 SLCD LP 14 SLCD LP 15 SLCD LP 16 SLCD LP 17 SLCD
19. ained Pro_User Guide 08 2015 Table 4 13 Mechanical Buttons SAM 122 Silkscreen text Shared functionality RESET RESET 1 SWO SLCD 4 3 8 LED There is one yellow LED available on the SAM L22 Xplained Pro board that can be turned on and off The LED can be activated by driving the connected I O line to GND Table 4 14 LED Connection SAM L22 pin Function Shared functionality PC27 Yellow LEDO SLCD 4 3 4 QTouch Button There is one self capacitance button available on the SAM L22 Xplained Pro board that can be used as This QTouch button is intended to be driven by the built in Peripheral Touch Controller PTC of the device Info get started with QTouch refer to Atmel QTouch Library and Atmel QTouch Composer Table 4 15 QTouch Connection SAM L22 pin Silkscreen text Shared functionality PCOO 51 4 3 5 Backup Supercap The SAM L22 Xplained Pro has a backup super capacitor for use with the SAM L22 backup module The supercap can be connected to the device by placing a jumper over pin 1 2 on the 3 pin VBAT SELECT header By default the jumper is placed over pin 2 3 to select the board power supply This configuration is selected to avoid draining the supercap and can be used during development Due to the high capacitive load represented by the supercap 2200 limiting resistor is added to reduce inrush current The charging supply is the targets main supply and a low power opamp is is u
20. all 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 grade
21. e DEBUG USB port on the kit When the Atmel SAM L22 Xplained Pro is connected to your computer for the first time the operating system will perform a driver software installation The driver file supports both 32 and 64 bit versions of Microsoft Windows XP Windows Vista Windows 7 and Windows 8 Once the Xplained Pro MCU board is powered the green power LED will be lit and Atmel Studio will auto detect which Xplained Pro MCU and extension board s are connected Atmel Studio will present relevant information like datasheets and kit documentation The kit landing page in Atmel Studio also has the option to launch Atmel Software Framework ASF example applications for the kit The SAM L22 device is programmed and debugged by the on board Embedded Debugger and therefore no external programmer or debugger tool is needed 2 2 Design Documentation and Relevant Links The following list contains links to the most relevant documents and software for the SAM L22 Xplained Pro Xplained Pro products Atmel Xplained Pro is a series of small sized and easy to use evaluation kits for Atmel microcontrollers and other Atmel products It consists of a series of low cost MCU boards for evaluation and demonstration of features and capabilities of different MCU families Atmel Studio Free Atmel IDE for development of C C and assembler code for Atmel microcontrollers Atmel sample store Atmel sample store where you can order samples of devices e
22. ed Pro_User Guide 08 2015 6 1 Atmel Getting Started with IAR Embedded Workbench for ARM is a propriatory high efficiency compiler not based GCC Programming and debugging of Xplained Pro kits are supported in IAR Embedded Workbench for ARM using the common CMSIS DAP interface Some intial settings have to be set up in the project to get the programming and debugging to work The following steps will explain how to get your project ready for programming and debugging 1 Make sure you have opened the project you want to configure Open the OPTIONS dialog for the project In the category General Options select the Target tab Select the device for the project or if not listed the core of the device In the category Debugger select the Setup tab Select CMSIS DAP as the driver In the category Debugger select the Download tab Check the checkbox for Use flash loader s option In the category Debugger CMSIS DAP select the Setup tab Select System default as the reset method In the category Debugger CMSIS DAP select the JTAG SWD tab Select SWD as the interface and optionally select the SWD speed Figure 6 1 Select target device Options for node Getting Started and Xplained Pro Category General Options Runtime Checking C C Compiler Assembler Output Converter Custom Build Build Actions Linker Core Target Output Library Configuration Library Op
23. ede die reus 8 3 2 Xplained Pro Analog Module 9 EE SU 9 3 2 2 EDBGinterf ace nec rne e er teet Vae ea e abe 9 3 2 3 Sample Rate inerte te e ee 10 3 2 4 Measurement Ranges and 10 3 3 Hardware Identification 5 10 3 4 eism c 11 3 5 Xplained Pro Headers and 12 3 5 1 Xplained Pro Standard Extension 12 3 5 2 Xplained Pro Segment LCD 13 3 5 8 Pro Power 14 4 Hardware User pesa tna plebi ey Dra ER do Fes ER dta 15 41 e diligere E 15 4 2 15 4 2 1 Xplained Pro Standard Extension 16 4 2 2 Segment LCD 19 4 2 3 Arduino Connector 21 LP HEEL HE 23 4 2 5 Current Measurement 23 4250 Cortex icio peni eto eres nsa E pu secede sese ERA UR EA 24 4 3 JPeripl
24. ge 15 Atmel Atmel SAM L22 Xplained Pro USER GUIDE 33 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 5 Hardware Revision History and Known Issues 5 1 Identifying Product ID Revision The revision and product indentifier of Xplained Pro boards can be found in two ways either through Atmel Studio or by looking at the sticker on the bottom side of the PCB By connecting an Xplained Pro MCU board to a computer with Atmel Studio running an information window will pop up The first six digits of the serial number which is listed under kit details contain the product identifier and revision Information about connected Xplained Pro extension 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 as AO9 nnnn rr where nnnn is the identifier and rr is the revision Boards with limited space have a sticker with only a QR code which contains a serial number string The serial number string has the following format nnnnrrssssssssss n product identifier revision S serial number The product indentifier for SAM 122 Xplained Pro is 09 2547 5 2 Revision 2 Revision 2 is the initially released revision Segment LCD1 Xplained Pro ATSLCD1 XPRO is bundled and shipped together with revision 2 of SAM L22 Xplained Pro Atmel Atmel SAM 122 Xplained Pro USER GUIDE 34 Atmel 42474A SAM L22 Xplain
25. have to be removed from the bottom side of the PCB for operation at other voltages to locate the other components see the assembly drawing in the section above When the components are removed the kit can be supplied with a desired voltage through the pins marked 3V3 pin four and GND pin two on the Xplained Pro power header To program and debug the ATSAML22N18A the 2x5 50mil cortex debug connector has to be used with an external debugger Info Operating the ATSAML22N18A on other voltages than 3 3V requires physical modifications on the kit using a soldering iron an external debugger for programming the ATSAML22N18A The on board current measurement only works at 3 3V The on board LED is selected for 3 3V operation the light level at 1 8V opeartion is very low To increase the emitted light level the value of the series resistor can be lowered The EDBG functionality can be restored by re soldering the removed components and soldering 0 resistor over J100 ATSAML22N184A and the extension headers applying a voltage greater than 3 3V may damage EE Caution The voltage supplied through the power header is applied directly to the the board permanently Figure 4 6 SAM L22 Xplained Pro EDBG disconnect EDBG SWD disconnect DISCONNECT EDBG 12 GPIO RST CDC and SPI disconnect N a 4 Related Links Xplained Pro Power Header on page 14 Cortex Debug Connector on page 24 Connectors on pa
26. ibes the implementation of the relevant connectors and headers on SAM L22 Xplained Pro and their connection to the ATSAML22N18A The tables of connections in the sections also describes which signals are shared between the headers and on board functionality Figure 4 2 SAM L22 Xplained Pro Connector Overview on page 16 shows all available connectors and jumpers on SAM L22 Xplained Pro Atmel Atmel 122 Xplained Pro USER GUIDE 15 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Figure 4 2 SAM 122 Xplained Pro Connector Overview 5 a TARGET USB a DEBUG USB 8 3 g E 12 MEASURE _ jH measure Bypass Bypass SAM 122 e Cortex Debug 00000 CURRENT MEASUREMENT 1 2 CAPACITOR afo ojoo 5 pi v vec ojoo z ojoo 2 S ojs o 1 2 ojoo P Extension Header 5 oo LLLELEEELEELLELEL 2 l off 5 5 POE EEE EEL 5 5 95 o 1800 016 ou 00000000001 2 Extension Header 3 4 2 1 Xplained Pro Standard Extension Headers The SAM L22 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 header
27. ied 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 pin Table 3 6 Xplained Pro Power Header Pin number Pin name Description 1 P5VO External 5V input 2 GND Ground 3 P5VO Unregulated 5V output derived from one the input sources 4 VCC_P3V3 Regulated 3 3V output used as main power supply for the kit Atmel Atmel SAM 122 Xplained Pro USER GUIDE 14 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 4 1 4 2 Hardware User Guide Power Distribution SAM L22 Xplained Pro has three power sources EDBG USB Target USB and or external 5 0V the kit will automatically select a source to draw power from The kit has two on board 3 3V voltage regulators one for the EDBG and XAM and one for the ATSAML22N18A and other peripherals An on board supercap 47mF is charged to 3 3V from the target 3 3V net The supercap is connected to VBAT through a selection header and is intended for backup use in sleep modes Figure 4 1 Power Supply Block Diagram P5VO External 5V input Auto mux disable EDBG USB Target USB VCC_MC Power converter Power consumer Power source Power switch VCC TARGET Related Links Power Sources on page 11 Connectors The following sections descr
28. ieralS siss citet 24 24 4 3 2 8 rtp teni pe feine ipa 24 4 39 E D O O 25 434 25 4 3 5 Backup Supercap noe er REIR 25 DESEE SOGEPILUC E 26 4 37 Tamper Detection eei pie tope ed E MEO npa 26 4 4 Embedded Debugger 27 444 Seral Wire Debug ee hed Dover 27 442 Virtual BL Mp 27 4 4 3 Atmel Data Gateway Interface ee 27 Atmel Atmel SAM L22 Xplained Pro USER GUIDE Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 2 4 5 5 122 Xplained Pro 28 4 6 29 4 6 1 Operation at Other 33 5 Hardware Revision History and Known 155 66 34 5 1 Identifying Product ID and 34 Pu ure EN 34 0 ETE 35 6 1 Getting Started
29. ion in U S and or other countries ARM is registered trademark of ARM Ltd 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 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 sh
30. lock Diagram on page 29 All other parts of the board mainly embedded debugger and accompanying Xplained Pro Analog Module XAM are powered from a separate regulator The current to the MCU and peripherals can be measured by connecting them to the XAM output through jumper settings Atmel Atmel SAM 122 Xplained Pro USER GUIDE 28 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Figure 4 3 SAM 122 Xplained Pro Implementation Block Diagram Xplained Pro MCU power measurement jumper Target Peripherals Current measurement bypass jumper selection Xplained Pro Analog Module XAM Target Regulator On the SAM L22 Xplained Pro the XAM can be used in four configurations 1 Nocurrent measurement or external MCU current measurement is bypassed thus the MCU and peripherals are supplied directly by the regulator Set both jumpers in the BYPASS position In this configuration it is also possible to connect external measurement tools on the Xplained Pro MCU power measurement header to measure MCU current directly instead of using the XAM 2 MCU current measurement The XAM measures only the MCU current while the peripherals are supplied directly by the regulator For this configurations place the jumper for I O peripherals into the BYPASS position and the for MCU into the MEASURE position 3 Peripherals measurement The XAM measures only the peripherals current while the MCU is directly su
31. n page 11 3 4 Table 3 3 Power Sources for SAM L22 Xplained Pro External power Connector marking Current requirements PWR Voltage requirements 2 100 for Recommended USB host operation 4 3V to 5 5V if USB host operation is not required minimum is 1A to be able to provide enough current for connected USB devices and the board itself Recommended maximum is 2A due to the input protection maximum current specification 4 4V to 5 25V according 500mA according to to USB spec USB spec Embedded debugger DEBUG USB USB Target USB 4AN to 5 25V according 500mA according to to USB spec USB spec TARGET USB The kit will automatically detect which power sources are available and choose which one to use according to the following priority 1 External power 2 Embedded Debugger USB 3 Target USB Info External power is required when 500mA from a USB connector is not enough to power the board with possible extension boards A connected USB device in a USB host application might easily exceed this limit Atmel SAM L22 Xplained Pro USER GUIDE 11 Atmel 42474A SAM L22 Xplained Pro User Guide 08 2015 Atmel 3 5 Xplained Pro Headers Connectors 3 5 1 Xplained Pro Standard Extension Header All Xplained Pro kits have one or more dual row 20 pin 100mil extension header Xplained Pro MCU boards have male headers while Xplained
32. nctionality 1 PBO6 ADCO AIN14 EXT2 and EDBG GPIO2 2 7 ADC1 15 EXT2 and EDBG GPIO3 Atmel Atmel SAM 122 Xplained Pro USER GUIDE 21 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Pin 7903 SAM 122 pin Arduino pin name Shared functionality PA04 AIN4 EXT2 4 PAO5 5 EXT2 5 06 ADC4 AING EXT3 and SLCD 6 PA07 ADCS EXT3 and SLCD Table 4 7 J904 Digital Low Pin on J904 SAM L22 pin Arduino pin name Function Shared functionality 1 PB13 DO RXO SERCOM3 PAD 1 SLCD UART RX 2 12 1 SERCOMS PAD 0 5 00 UART TX 3 PB11 D2 GPIO SIC 4 PB14 D3 GPIO SECR 5 PB45 D4 GPIO SLCD 6 PC14 05 GPIO SECD 7 PC15 D6 GPIO SLCD 8 PB20 07 GPIO SLCD Table 4 8 J901 Digital High Pin on J901 SAM 122 pin Shared functionality 1 5 8 GPIO SLCD 2 06 9 GPIO SLCD 3 PCO7 010 SPI SS GPIO SLCD 4 PC12 D11 SPI MOSI SERCOM PAD 0 5 00 and Shield SPI MOSI 5 D12 SPIMISO SERCOM1 SLCD and Shield SPI MISO 6 PC13 D13 SPISCK SERCOM1PAD 1 SLCD and Shield SPI SCK 7 GND 5 8 PA03 AREF ADC DAC VREFA Atmel Atmel 122 Xplained Pro USER GUIDE 22 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 9901 SAM 122 pin Arduino pin name Shared functionality PB30 SDA 5 PADIO EXT1 EXT2 SDA EXT3
33. ns an Embedded Debugger that can be used to program and debug the ATSAML22N18A using Serial Wire Debug SWD The Embedded Debugger also include Virtual Com port interface over UART an Atmel Data Gateway Interface over SPI and TWI and it includes four of the SAM L22 GPIOs Atmel Studio can be used as a front end for the Embedded Debugger 4 4 4 Serial Wire Debug The Serial Wire Debug SWD use two pins to communicate with the target For further information on how to use the programming and debugging capabilities of the EDBG see Embedded Debugger on page 8 Table 4 19 SWD Connections SWD clock Cortex Debug PA31 SWD data Cortex Debug 442 Virtual COM Port The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAML22N18A UARTS For further information on how to use the Virtual COM port see Embedded Debugger page 8 Table 4 20 Virtual COM Port Connections SAM 122 pin Function Shared functionality PC24 SERCOM4 PAD 2 UART TXD SA L22 TX line PC25 SERCOM4 PAD 3 UART RXD SAM 122 line 4 4 3 Atmel Data Gateway Interface The Embedded Debugger features an Atmel Data Gateway Interface DGI by using either a SPI The DGI can be used to send a variety of data from the ATSAML22N18A to the host PC For further information on how to use the DGI interface see Atmel Data Visualizer and the EDBG User Guide Atmel Atmel SAM L22 Xplained Pro USER GU
34. per and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the handling or use of the goods Due to the open construction of the product it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge and any other technical or legal concerns EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER USER NOR ATMEL SHALL BE LIABLE TO EACH OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES No license is granted under any patent right or other intellectual property right of Atmel covering or relating to any machine process or combination in which such Atmel products or services might be or are used Mailing Address Atmel Corporation 1600 Technology Drive San Jose CA 95110 USA Atmel Atmel SAM L22 Xplained Pro USER GUIDE 39 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Atmel Enabling Unlimited Possibilities ODEO Atmel Corporation 1600 Technology Drive San Jose CA 95110 USA T 1 408 441 0311 F 1 408 436 4200 www atmel com 2015 Atmel Corporation Rev Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Atmel Atmel logo and combinations thereof Enabling Unlimited Possibilities AVR QTouch and others are registered trademarks or trademarks of Atmel Corporation in U S and other countries Windows and Windows Vista are registered trademarks of Microsoft Corporat
35. pplied by the regulator For this configuration place the jumper for MCU into the BYPASS position and the I O jumper into the MEASURE position 4 MCU and peripherals measurement In this configuration both MCU and peripherals are measured by the XAM Place both jumpers on I O and MCU headers in the MEASURE position 4 6 Kit Modifications SAM L22 Xplained Pro has several resistors that can be used to disconnect I O pins of the ATSAML22N18A from connectors and on board ICs and to disconnect power signals Atmel Atmel 122 Xplained Pro USER GUIDE 29 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Info Note that there are some resistors that aren t mounted by default on the kit listed the table below Table 4 24 Zero Ohm Resistors ae or J100 cut strap P3V3 P3V3 CM IN ATSAML22N18A peripherals and connectors power supply R107 OR U100 OUT XAM power supply R108 OR U100 OUT VCC_EDBG_P3V3 EDBG power supply R301 OR U302 AUTHO PC21 GPIO Allows complete or partial R305 08 U302 SDA PB30 2 SDA Pe R307 OR U302 SCL PB31 2 SCL R400 39R EDBG TARGET TARGET MCU Debug interface from the EDBG RESET RESET to the ATSAML22N18A R404 OR EDBG SWCLK PA30 SWCLK R405 OR EDBG SWDIO PA31 SWDIO R406 OR EDBG CDC RX PC24 UART TX EDBG CDC and interfaces R407 OR EDBG 2 SDA PB30 I2C SDA thew sales tse R408 OR EDBG 2 SCL PB31 2
36. ripherals right away and to get an understanding of how to integrate the device in their own design Atmel Atmel SAM L22 Xplained Pro USER GUIDE 4 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Figure 1 1 SAM 122 Xplained Pro Evaluation Kit Overview CURRENT MEASUREMENT SWO USER BUTTON HEADER RESET BUTTON TARGET USB d DEBUG USB yi i racy H Q RESET USER LEDO E A ae BACKUP SUPER sov vcc 3077 HEADER CAPACITOR i e contex CORTEX DEBUG MCU CURRENT 9 FOR EXTERNAL MEASUREMENT J CURRENT DEBUGGER SELECT JUMPER D 1 CURRENT Mo MEASUREMENT SELECT JUMPER m m EXTENSION 1 PBO3 VBAT Sal is HEADER 1 i SDA D14 J gt SELECT JUMPER BYERS ait z 32kHz CRYSTAL Sc O SAML22N18A MOS 0144 CY 55 010 07 pe 0211 ATAES132 ATAES132 CRYPTO DEVICE ARDUINO UNO QTOUCH BUTTON COMPATIBLE IE FOOTPRINT Atmel EXTENSION 3 HEADER Atmel SAM L22 Xplained Pro USER GUIDE 5 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 2 Getting Started 2 1 Xplained Pro Quick Start Three steps to start exploring the Atmel Xplained Pro platform 1 Download Atmel Studio 2 Launch Atmel Studio 3 Connect a USB cable Standard A to Micro B or Micro AB between the PC and th
37. s are based on the standard extension header specified in Table 3 4 plained Pro Standard Extension Header on page 12 The headers have a pitch of 2 54mm Atmel Atmel SAM 122 Xplained Pro USER GUIDE 16 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Table 4 1 Extension Header EXT1 EXT1 pin 122 Shared functionality 1 ID Communication line to the ID chip on an extension board 2 GND R Ground 3 ADC 02 AIN O 4 ADC AIN 1 Shield 5 GPIO 1 PA20 GPIO RTS 6 GPIO2 PA21 GPIO CTS 7 PWM 4 TCO WO O E 8 PWM 9 TCO WO 1 9 IRQ GPIO PCO02 IRQ10 GPIO 10 SPI SS B GPIO GPIO 11 TWI SDA PB30 SERCOM5 PAD 0 PC SDA EXT2 Shield Crypto and EDBG 12 TWI SCL PB31 SERCOM5 PAD 1 PC SCL EXT2 EXT3 Shield Crypto and EDBG 13 USART_RX PA23 SERCOM2 PAD 1 UART RX 14 USART TX PA22 SERCOM2 PAD 0 UART TX 15 SPI SS PB21 SERCOM3 PAD 1 SPI SS 16 SPI MOSI PBOO PAD 2 SPI MOSI 17 SPI MISO PB02 PAD 0 SPI MISO 18 SPI SCK PBO01 SERCOM3 PAD 3 SPI SCK 19 GND Ground 20 VCC Power for extension board Table 4 2 Extension Header EXT2 EXT2 pin 2 122 Pe Shared functionality 1 ID Communication line to the ID chip on an extension board 2 GND Ground 3 ADC PA04 Shield 4 ADC 05 AIN 5 Shield 5 GPIO1 4
38. s on the ATSAML22N18A must match the settings given in the terminal software Note If not set automatically data terminal ready DTR must be set in the terminal software The consists of several physical interfaces for communication with the host computer Communication over the interfaces is bidirectional It can be used to send events and values from the ATSAML22N18A or as a generic printf style data channel Traffic over the interfaces can be timestamped on the EDBG for more accurate tracing of events Note that timestamping imposes an overhead that reduces maximal throughput Atmel Data Visualizer is used to send and receive data through DGI The EDBG controls two LEDs on SAM L22 Xplained Pro a power LED and a status LED Table 3 1 EDBG LED Control on page 8 shows how the LEDs are controlled in different operation modes Table 3 1 EDBG LED Control Operation Mode Power LED Status LED Normal operation Power LED is lit when power is Activity indicator LED flashes applied to the board when any communication happens to the EDBG Bootloader mode idle The power LED and the status LED blinks simultaneously Bootloader mode firmware The power LED and the status LED blinks in an alternating pattern upgrade For further documentation on the EDBG see the EDBG User Guide Atmel Atmel SAM L22 Xplained Pro USER GUIDE 8 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 3 2 Xplained Pro Analog Module XAM 3 2 1 Over
39. sed for disconnecting the charger input when removing power This is added to avoid a current leak back to the main supply from the supercap when power is removed A full charge of the supercap from empty will take approximately 45 seconds and can supply the target device in backup mode with ULP running for up to 24 hours Other modes are not characherized but will reduce the available time in backup mode respectively For more information about the current consumption in other modes refer to the electrical characteristics chapter in the SAM L22 datasheet Atmel Atmel SAM 122 Xplained Pro USER GUIDE 25 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 4 3 6 4 3 7 Atmel Table 4 16 VBAT SELECT Header 1 Power from super capacitor 47mF 2 122 3 Power from board supply Crypto Device Several of the Atmel security devices requires only an 2 interface to work and they share the same packages and pinouts SAM 122 Xplained Pro implements DFN8 footprint for these devices so the user may test the mounted ATAES132A device or solder in other CryptoAuthentication devices Table 4 17 Crypto Device Connections on page 26 shows all the connections between the ATAES132A and the ATSAML22N18A Table 4 17 Crypto Device Connections 32A SAML22 NN Shared functionality 1 NC GND 2 AUTHO 21 GPIO EIC 3 NC 4 GND GND 5 SDA PB30 SERC
40. t JTAGjet J Link J Trace TI Stellaris Macraigor PE micro RDI ST LINK Third Party Driver XDS 100 200 ICDI Options for node Getting Started IAR and Xplained Pro Duration ms Delay after E Log communication SPROJ DIRS cspycomm log f C Overide default CPU Select Explicit probe configuration Multitarget debug system Target number or Multidrop ID b C Target with multiple CPUs CPU number on target Atmel SAM L22 Xplained Pro USER GUIDE Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 37 7 Document Revision History Date Comment 42474A 08 2015 Initial document release Atmel Atmel SAM 122 Xplained Pro USER GUIDE 38 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 8 Evaluation Board kit Important Notice This evaluation board kit is intended for use for FURTHER ENGINEERING DEVELOPMENT DEMONSTRATION OR EVALUATION PURPOSES ONLY It is not a finished product and may not yet comply with some or any technical or legal requirements that are applicable to finished products including without limitation directives regarding electromagnetic compatibility recycling WEEE FCC CE or UL except as may be otherwise noted on the board kit Atmel supplied this board kit AS IS without any warranties with all faults at the buyer s and further users sole risk The user assumes all responsibility and liability for pro
41. tions MISRAC 200 Processor variant ARM7TDMI 7 Debugger Simulator Device None Angel CMSIS DAP GDB Server IAR ROM monitor as Ijet JTAGjet Little 14 2 Big TI Stellaris BE32 Macraigor e PE micro EE RDI ST LINK Third Party Driver XDS 100 200 ICDI Atmel SAM L22 Xplained Pro USER GUIDE 35 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 Figure 6 2 Select debugger Figure 6 3 Configure flash loader Atmel Simulator CMSIS DAP GDB Server IAR ROM monitor Ijet JTAGjet J4ink J Trace TI Stellaris Macraigor PE micro RDI ST LINK Third Party Driver XDS 100 200 ICDI Angel CMSIS DAP GDB Server TAR ROM monitor Ijet JTAGjet J4ink J Trace TI Stellaris Macraigor PE micro RDI ST LINK Third Party Driver XDS 100 200 ICDI Options for node Getting Started IAR and Xplained Pro E Overide default STOOLKIT_DIRS CONFIG debugger Atmel ATSAMD21J18A Options for node Getting Started IAR and Xplained Pro See rn Atmel 122 Xplained Pro USER GUIDE Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 36 Figure 6 4 Configure reset CMSIS DAP GDB Server IAR ROM monitor Ijet JTAGjet J4ink J Trace TI Stellaris Macraigor PE micro RDI ST LINK Third Party Driver XDS 100 200 ICDI Figure 6 5 Configure interface Atmel CMSIS DAP GDB Server IAR ROM monitor Ije
42. uld preferably be unique Master out slave in line of serial peripheral interface Always implemented bus type Master in slave out line of serial peripheral interface Always implemented bus type Clock for serial peripheral interface Always implemented bus type Ground Power for extension board Atmel SAM L22 Xplained Pro USER GUIDE 12 Atmel 42474A SAM L22 Xplained Pro User Guide 08 2015 3 5 2 Xplained Pro Segment LCD Connector Xplained Pro MCU boards that have a microcontroller that supports segment LCDs can implement a 51 pin segment LCD extension connector This connector is implemented with HIROSE DF 9 series Xplained Pro MCU boards use the male version DF9 51P 1V 69 and Xplained Pro extension boards use the female counterpart DF9 51S 1V 69 The connector has a standardized pin out as shown in Table 3 5 Xplained Pro Segment LCD Connector on page 13 Note All pins are not connected on all Xplained Pro MCU boards it depends on how many segments and common terminals the target MCU supports Pin 37 38 39 40 41 and 42 can alternatively be used for QTouch signals When they are used for touch they should not be used for display segments Table 3 5 Xplained Pro Segment LCD Connector Common terminal COM2 Common terminal 2 Common terminal 1 COM1 3 4 COMO Common terminal 0 Segment 0 SEGO 5 6 SEG1 Segment 1 Segment 2 SEG2 7 8 SEG3 Segment 3 Segment 4 SEG4 9 10 5 5 Segment 5 Segment
43. view The Xplained Pro Analog Module XAM extends the embedded debugger with high dynamic range current measurement This enables power profiling of the target system Control Current output O Calibration ON OFF Pre amplifier Range selection Active filter with Current input Xplained Pro Analog Module XAM The XAM consists of e Calibration circuitry Voltage reference Analog frontend Shunt resistors with a range selection switch Pre amplifier Two active filters with gain Control MCU Analog to digital converter Signal processing Control communication interface to the EDBG The current measurement frontend is a high side shunt measurement with a pre amplifier and a second active filter stage with gain The wide dynamic range is achieved by four measurement ranges which are defined by two shunts and the two parallel second stage active filters with gain 3 2 2 Interface The Xplained Pro Analog Module XAM is connected to the EDBG with the following interfaces e 12 This is used to control and configure the Current measurement data is streamed to the EDBG via this interface This is a one way data transfer channel from the to the EDBG Atmel Atmel SAM L22 Xplained Pro USER GUIDE 9 Atmel 42474A SAM L22 Xplained Pro_User Guide 08 2015 SWD The MCU the is programmed via SWD from the EDBG e GPIO

Download Pdf Manuals

image

Related Search

Related Contents

, 一 ー50-SNCF00ーシリ一ズ(座椅子)取扱説明書 一  ダウンロード(約2.4MB)  ウォーキーコンパクト ウォーキーコンパクト 取扱説明書  LUFTIG Extractor hood  2013 OWNERS MANUAL  DEWALT DCB119 Use and Care Manual  

Copyright © All rights reserved.
Failed to retrieve file