ATSAMB11ZR ATSAMB11ZR Xplained Pro User Guide Description Microchip's ATSAMB11ZR Xplained Pro evaluation kit is a hardware platform used to evaluate the ATSAMB11-ZR210CA module. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the ATSAMB11ZR 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 ATSAMB11ZR. The Xplained Pro extension kits offer additional peripherals to extend the features of the board and ease the development of custom designs. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 1 ATSAMB11ZR Table of Contents Description.......................................................................................................................1 1. Introduction................................................................................................................4 1.1. 1.2. Features....................................................................................................................................... 4 Kit Overview................................................................................................................................. 4 2. Xplained Pro Getting Started.....................................................................................6 2.1. 2.2. Xplained Pro Quick Start.............................................................................................................. 6 Design Documentation and Relevant Links................................................................................. 6 3. Xplained Pro.............................................................................................................. 7 3.1. 3.2. 3.3. 3.4. 3.5. 3.6. Xplained Pro.................................................................................................................................7 Embedded Debugger................................................................................................................... 7 Xplained Pro Analog Module........................................................................................................8 Hardware Identification System....................................................................................................9 Power Sources........................................................................................................................... 10 Xplained Pro Headers and Connectors...................................................................................... 11 4. Hardware User Guide..............................................................................................13 4.1. 4.2. 4.3. Connectors................................................................................................................................. 13 Peripherals................................................................................................................................. 16 Embedded Debugger Implementation........................................................................................18 5. Regulatory Notice.................................................................................................... 21 5.1. United States..............................................................................................................................21 6. Hardware Revision History...................................................................................... 22 6.1. 6.2. Identifying Product ID and Revision........................................................................................... 22 Hardware Revision..................................................................................................................... 22 7. Document Revision History..................................................................................... 23 The Microchip Web Site................................................................................................ 24 Customer Change Notification Service..........................................................................24 Customer Support......................................................................................................... 24 Product Identification System........................................................................................ 25 Microchip Devices Code Protection Feature................................................................. 25 Legal Notice...................................................................................................................26 Trademarks................................................................................................................... 26 Quality Management System Certified by DNV.............................................................27 (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 2 ATSAMB11ZR Worldwide Sales and Service........................................................................................28 (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 3 ATSAMB11ZR 1. Introduction 1.1 Features * * * * * * * * * * * * 1.2 ATSAMB11-ZR210CA module Bluetooth(R) host and Device mode One mechanical reset button One mechanical programmable button One user LED (yellow) Battery header (1x2 100mil header) 32.768 kHz crystal Two Xplained Pro extension headers Embedded Debugger - Auto-ID for board identification in Atmel Studio - One status LED (yellow) - One power LED (green) - Symbolic debug of complex data types including scope information - Programming and debugging, including power measurements - Data Gateway Interface (DGI): SPI, I2C, four GPIOs - Virtual COM port (CDC) Embedded current measurement circuitry with support for data visualization USB-powered Supported with application examples in Advanced Software Framework Kit Overview The ATSAMB11ZR Xplained Pro evaluation kit is a hardware platform used to evaluate the ATSAMB11ZR210CA module. The kit offers a set of features that enable the user to get started with the ATSAMB11-ZR210CA module peripherals right away, and to understand how to integrate the device in their own design. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 4 ATSAMB11ZR (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 5 ATSAMB11ZR 2. Xplained Pro Getting Started 2.1 Xplained Pro Quick Start Steps to start exploring the Xplained Pro platform: 1. Download and install Atmel Studio. 2. Launch Atmel Studio. 3. Connect the Debug USB port on the evaluation kit to the computer using a USB cable (Standard-A to Micro-B or Micro-AB). When the Xplained Pro MCU kit is connected to the computer for the first time, the operating system (R) installs the driver software automatically. This driver supports 32-bit and 64-bit versions of Microsoft (R) (R) Windows XP, Windows Vista , Windows 7, Windows 8, Windows 10, and Windows Server 2012. When the Xplained Pro MCU board is powered, the power LED (green) glows and the Atmel Studio automatically detects the specific Xplained Pro MCU and extension board(s) that are connected. The landing page of the kit in the Atmel Studio has an option to launch the Atmel Software Framework (ASF) and the Atmel START example application codes for the kit. The ATSAMB11ZR device is programmed and debugged by the on-board embedded debugger and therefore no external programmer or debugger tool is required. 2.2 Design Documentation and Relevant Links The following list contains links to the most relevant documents and software for the ATSAMB11ZR Xplained Pro. * * * * * * * Xplained Products - Xplained evaluation kits are a series of easy-to-use evaluation kits for microcontrollers and other products. For low pin count devices, the Xplained Nano series provides a minimalistic solution with access to all I/O pins of the target microcontroller. Xplained Mini kits are for medium pin count devices and adds Arduino Uno compatible header footprint and a prototyping area. Xplained Pro kits are for medium to high pin count devices, and feature advanced debugging and standardized extensions for peripheral functions. All these kits have on board programmers/ debuggers which creates a set of low-cost boards for evaluation and demonstration of features and capabilities of different products. Atmel Studio - Atmel Studio presents Free Atmel IDE for development of C/C++ and assembler code for microcontrollers and relevant documentation. Microchip sample store - Microchip sample store where you can order samples of devices. EDBG User Guide - User guide containing more information about the on-board Embedded Debugger. IAR Embedded Workbench (R) for ARM (R) - 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 M0, M0+, and M1 cores and 32KB for devices with other cores. Data Visualizer - 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. ATSAMB11ZR Xplained Pro BluSDK - Software, firmware, applications, and tools packages. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 6 ATSAMB11ZR 3. Xplained Pro 3.1 Xplained Pro Xplained Pro is an evaluation platform which contains a series of microcontroller boards (evaluation kits) and extension boards. Atmel Studio is used to program and debug the microcontrollers on these boards. Atmel Studio includes Advanced Software Framework (ASF) and Atmel START, which has drivers and demo code, and Data Visualizer, which supports data streaming and advanced debugging. Xplained Pro evaluation kits can be connected to a wide range of Xplained Pro extension boards through standardized headers and connectors. Xplained Pro extension boards have identification (ID) chips to uniquely identify which boards are connected to the Xplained Pro evaluation kits. 3.2 Embedded Debugger The ATSAMB11ZR Xplained Pro contains an Embedded Debugger (EDBG) for on-board debugging. The EDBG is a USB composite device with the following interfaces: * * * Debugger Virtual COM Port Data Gateway Interface (DGI) The EDBG can program and debug the ATSAMB11ZR with the help of Atmel Studio. The SWD interface is connected between the EDBG and the ATSAMB11ZR on the ATSAMB11ZR Xplained Pro. The Virtual COM Port is connected to a UART on the ATSAMB11ZR and provides an easy way to communicate with the target application through terminal software. It offers variable baud rate, parity, and stop bit settings. The settings on the ATSAMB11ZR must match the settings given in the terminal software. Info: The Virtual COM Port in the EDBG requires the terminal software to set the Data Terminal Ready (DTR) signal to enable the UART pins connected to the ATSAMB11ZR. If the DTR signal is not enabled, the UART pins on the EDBG are kept in tri-state (high-z) to render the COM Port not usable. The DTR signal is automatically set by some terminal software, but it may have to be manually enabled in your terminal. The DGI consists of several physical interfaces for bidirectional communication with the host computer. Communication over the interfaces is bidirectional. It can be used to send event values and data from the ATSAMB11ZR. Traffic over the interfaces can be timestamped by the EDBG for more accurate tracking of events, but timestamping reduces the maximal data throughput. The Data Visualizer is used to send and receive data through DGI. The EDBG controls two LEDs on the ATSAMB11ZR Xplained Pro, a power LED and a status LED. The following table provides details on how the LEDs are controlled in different operation modes. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 7 ATSAMB11ZR Table 3-1. EDBG LED Control Mode Power LED Status LED Normal mode The power LED is ON when power is applied to the board. Activity indicator, the LED flashes when any communication happens to the EDBG. Bootloader mode (idle) The power LED and the status LED blink simultaneously. Bootloader mode (firmware upgrade) The power LED and the status LED blink in an alternating pattern. For additional information on the EDBG, see the EDBG User Guide. 3.3 Xplained Pro Analog Module 3.3.1 Overview The Xplained Pro Analog Module (XAM) extends the embedded debugger with high dynamic range current measurement. This enables power profiling of the target system. Current output Figure 3-1. XAM Block Diagram Calibration circuitry GPIO(s) Control MCU Sync GPIO I2C Calibration ON/OFF GPIO EDBG SPI Clock sync Range selection voltage reference 2.7V SWD AREF 100 Ohm 100 mOhm Pre-amplifier 2x ADC0 ADC1 20x20x S&H ADC 16x GND Active filter with gain Current input GPIO Xplained Pro Analog Module (XAM) The XAM consists of: * * * * Calibration circuitry Voltage reference circuitry Analog front-end: - Shunt resistors with a range selection switch - Pre-amplifier - Two active filters with gain Control MCU (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 8 ATSAMB11ZR - - - Analog-to-Digital Converter Signal processing Control/communication interface to the EDBG The current measurement front-end is a high side shunt measurement with a pre-amplifier and a second active filter stage with gain as shown in Figure 3-1. The wide dynamic range is achieved by four measurement ranges, which are defined by two shunt resistors and the two parallel second stage active filters with gain. 3.3.2 Sample Rate The raw sampling rate of the XAM is up to 250 kHz and with the default averaging configuration (average of 16 samples), the actual output of the XAM is 16.67 ksps. Info: The XAM output sample rate is not an integer fraction of the raw sampling. 3.3.3 Measurement Ranges and Accuracy The XAM has four measurement ranges. These are defined by two shunt resistors and two gain stages. Table 3-2. XAM Measurement Ranges and Accuracy Measurement Range Hardware Resolution Accuracy Comments Range 1 Low current shunt and high gain stage 20 nA 1 LSB 1% Accuracy will decrease below 1 A. Typical accuracy for 300 nA is 1 LSB 10%. Range 2 Low current shunt and low gain stage 150 nA 1 LSB 1% Range 3 High current shunt and high gain stage 10 A 1 LSB 1% Range 4 High current shunt and low gain stage 100 A 1 LSB 1% Accuracy will decrease above 100 mA. Typical accuracy is 1 LSB 5% at 400 mA. Maximum current is 400 mA. The ranges are automatically switched by the XAM to achieve the best measurement results and the currently active range is visualized in the Data Visualizer front-end tool. The maximum voltage drop over the shunt resistor is 100 mV, and the XAM switches the range automatically before reaching this limit. 3.4 Hardware Identification System TM All Xplained Pro extension boards come with an identification chip (ATSHA204A CryptoAuthentication chip) to uniquely identify the boards that are connected to the Xplained Pro evaluation kit. 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 evaluation kit, the information is read and sent to the Atmel Studio. The following table shows the data fields stored in the ID chip with example content. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 9 ATSAMB11ZR Table 3-3. Xplained Pro ID Chip Content 3.5 Data Field Data Type Example Content Manufacturer ASCII string Microchip'\0' Product name ASCII string Segment LCD1 Xplained Pro'\0' Product revision ASCII string 02'\0' Product serial number ASCII string 1774020200000010'\0' Minimum voltage [mV] uint16_t 3000 Maximum voltage [mV] uint16_t 3600 Maximum current [mA] uint16_t 30 Power Sources The ATSAMB11ZR Xplained Pro kit can be powered by several power sources as listed in the table below. Table 3-4. Power Sources for ATSAMB11ZR Xplained Pro Power input Voltage requirements Current requirements Connector marking External power 5V 2% (100 mV) for USB host operation. 4.3V to 5.5V if USB host operation is not required. Recommended 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. PWR Embedded debugger USB 4.4V to 5.25V (according 500 mA (according to to USB spec.) USB spec.) DEBUG USB Battery header is another power input, refer to Battery Header. The kit will automatically detect which power sources are available and choose which one to use according to the following priority: 1. 2. External power. Embedded Debugger USB. Note: The selection for the supply of the Target MCU has a separate connector. The above priority selects which supply is used to power the EDBG and the VCC_P3V3_CON. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 10 ATSAMB11ZR 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. 3.6 Xplained Pro Headers and Connectors 3.6.1 Xplained Pro Standard Extension Header All Xplained Pro kits have many dual row, 20-pin, 100-mil extension headers. The Xplained Pro MCU boards have male headers, while the Xplained Pro extensions have their female counterparts. The following table provides the pin description of all the connected pins. Info: Not all pins are always connected on all extension headers. 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 microcontroller on the Xplained Pro boards. Table 3-5. Xplained Pro Standard Extension Header Pin Number Pin Name Description 1 ID Pin to communicate with the ID chip on an extension board. 2 GND Ground 3 ADC(+) Analog-to-Digital Converter; alternatively, a pin for the positive terminal of a differential ADC. 4 ADC(-) Analog-to-Digital Converter; alternatively, a pin for the negative terminal of a differential ADC. 5 GPIO1 General purpose I/O pin. 6 GPIO2 General purpose I/O pin. 7 PWM(+) Pulse width modulation; alternatively, a pin for the positive part of a differential PWM. 8 PWM(-) Pulse width modulation; alternatively, a pin for the negative part of a differential PWM. 9 IRQ/GPIO Interrupt request pin and/or general purpose I/O pin. 10 SPI_SS_B/ GPIO Slave select pin for Serial Peripheral Interface (SPI) and/or general purpose I/O pin. 11 I2C_SDA Data pin for I2C interface. Always connected, bus type. 12 I2C_SCL Clock pin for I2C interface. Always connected, bus type. 13 UART_RX Receiver pin of target device UART. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 11 ATSAMB11ZR Pin Number 3.6.2 Pin Name Description 14 UART_TX Transmitter pin of target device UART. 15 SPI_SS_A Slave select for SPI. This pin should preferably not be connected to anything else. 16 SPI_MOSI SPI master out slave in pin. Always connected, bus type. 17 SPI_MISO SPI master in slave out pin. Always connected, bus type. 18 SPI_SCK SPI clock pin. Always connected, bus type. 19 GND Ground pin for extension boards. 20 VCC Power pin for extension boards. Xplained Pro Power Header The power header can be used to connect external power to the ATSAMB11ZR Xplained Pro kit. The kit automatically detects and switches to any external power if supplied. The power header can also be used to supply power to external peripherals or extension boards. Ensure that the total current does not exceed the recommended current limit of the on-board regulator when using the 3.3V pin. Table 3-6. Xplained Pro Power Header Pin Number Pin Name Description 1 VEXT_P5V0 External 5V input pin 2 GND Ground pin 3 VCC_P5V0 Unregulated 5V pin (an output, derived from one of the input sources) 4 VCC_P3V3 Regulated 3.3V pin (an output, used as main power supply for the kit) (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 12 ATSAMB11ZR 4. Hardware User Guide 4.1 Connectors The following sections describe the implementation of the relevant connectors and headers on ATSAMB11ZR Xplained Pro and their connection to the ATSAMB11ZR. The tables of connections in the sections also describe which signals are shared between the headers and on-board functionality. Figure 4-1. SAMB11ZR Xplained Pro Connector Overview 4.1.1 Xplained Pro Extension Headers The ATSAMB11ZR Xplained Pro headers EXT1 and EXT3 offer 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 . The headers have a pitch of 2.54mm Table 4-1. Extension Header EXT1 EXT1 pin ATSAMB11ZR pin Function Shared functionality 1 [ID] - - Communication line to the ID chip on an extension board 2 [GND] - - Ground (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 13 ATSAMB11ZR EXT1 pin ATSAMB11ZR pin Function Shared functionality 3 [ADC(+)] GPIO_MS1 ADC 4 [ADC(-)] GPIO_MS2 ADC 5 [GPIO1] LP_GPIO_5 GPIO/UART1_RTS EXT3 6 [GPIO2] LP_GPIO_4 GPIO/UART1_CTS EXT3 7 [PWM(+)] LP_GPIO_17 GPIO/SPI1_SCK EDBG GPIO,EXT3 8 [PWM(-)] LP_GPIO_18 GPIO/SPI1_MISO EDBG GPIO,EXT3 9 [IRQ/GPIO] AO_GPIO_0 IRQ/GPIO USER BUTTON 10 [SPI_SS_B/GPIO] AO_GPIO_2 GPIO Temperature Sensor, EXT3 11 [TWI_SDA] LP_GPIO_8* / AO_GPIO_1 IC SDA EDBG IC, Temperature Sensor 12 [TWI_SCL] LP_GPIO_9 IC SCL EDBG IC, Temperature Sensor 13 [USART_RX] LP_GPIO_2 UART1 RXD EDBG UART 14 [USART_TX] LP_GPIO_3 UART1 TXD EDBG UART 15 [SPI_SS_A] LP_GPIO_12 SPI_SSN EDBG SPI 16 [SPI_MOSI] LP_GPIO_11 SPI MOSI EDBG SPI 17 [SPI_MISO] LP_GPIO_13 SPI MISO EDBG SPI 18 [SPI_SCK] LP_GPIO_10 SPI SCK EDBG SPI 19 [GND] - - Ground 20 [VCC] - - Power for extension board Table 4-2. Extension Header EXT3 EXT3 pin ATSAMB11ZR pin Function Shared functionality 1 [ID] - - Communication line to the ID chip on an extension board 2 [GND] - - Ground 3 [ADC(+)] GPIO_MS3 ADC 4 [ADC(-)] GPIO_MS4 ADC 5 [GPIO1] LP_GPIO_5 GPIO/UART1_RTS EXT1 6 [GPIO2] LP_GPIO_4 GPIO/UART1_CTS EXT1 7 [PWM(+)] - - 8 [PWM(-)] - - 9 [IRQ/GPIO] AO_GPIO_1 IRQ/GPIO (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 14 ATSAMB11ZR EXT3 pin ATSAMB11ZR pin 10 [SPI_SS_B/GPIO] AO_GPIO_2 Function Shared functionality GPIO Temperature Sensor,EXT1 11 [TWI_SDA] LP_GPIO_14*/ IC SDA AO_GPIO_1 DEBUG IC,Crypto Authentication Device 12 [TWI_SCL] LP_GPIO_15 IC SCL DEBUG IC,Crypto Authentication Device 13 [USART_RX] LP_GPIO_6/ LP_GPIO_2 UART2 RX/UART1 RX * EDBG UART 14 [USART_TX] LP_GPIO_7/ LP_GPIO_3 UART2 TX/ UART1 TX * EDBG UART 15 [SPI_SS_A] LP_GPIO_16 SPI1 SSN EDBG GPIO,USER LED 16 [SPI_MOSI] LP_GPIO_19 SPI1 MOSI EDBG GPIO 17 [SPI_MISO] LP_GPIO_18 SPI1 MISO EDBG GPIO, EXT1 18 [SPI_SCK] LP_GPIO_17 SPI1 SCK EDBG GPIO, EXT1 19 [GND] - - Ground 20 [VCC] - - Power for extension board Note : * denotes that particular pin connected by default. 4.1.2 Current Measurement Header An right-angled 1x2, 100-mil pin header marked with the MCU current measurement is located at the upper edge of the ATSAMB11ZR Xplained Pro. All power to the ATSAMB11ZR is exclusively routed through this header (excluding power to extension headers and peripherals). To measure the power consumption of the device, remove the jumper and replace it with an ammeter. Caution: Removing the jumper from the pin header while the kit is powered may cause the ATSAMB11ZR to be powered through its I/O pins. This may cause permanent damage to the device. 4.1.3 Cortex Debug Connector (R) ATSAMB11ZR Xplained Pro has a 10-pin 50-mil Cortex Debug Connector that can be used to attach external debuggers to the ATSAMB11ZR. Table 4-3. Cortex Debug Connector Cortex Debug Connector pin Pin / Net Function 1 VCC_TARGET_P3V3 ATSAMB11ZR voltage 2 GPIO_1 SWD data signal 3 GND Ground 4 GPIO_2 SWD clock signal (c) 2017 Microchip Technology Inc. User Guide Shared functionality EDBG SWD EDBG SWD DS70005334B-page 15 ATSAMB11ZR Cortex Debug Connector pin Pin / Net Function Shared functionality 5 GND Ground 6 - - 7 - - 8 - - 9 GND Ground 10 CHIP EN Target reset signal Reset Button Note: The Target reset (CHIP EN pin on the ATSAMB11-ZR210CA module) is isolated from the Cortex Debug Connector by R300 (0 Ohm link) which is not mounted by default in the PCBA. 4.2 Peripherals 4.2.1 Crystals The ATSAMB11ZR Xplained Pro kit contains one mounted 32.768kHz crystal that can be used as a clock source for the ATSAMB11ZR. The crystal has cut-straps 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. Information about oscillator allowance and safety factors can be found in application note AVR41001. Table 4-4. External 32.768kHz Crystal 4.2.2 ATSAMB11ZR pin Function Shared functionality RTC_CLKP XIN32 - RTC_CLKN XOUT32 - Mechanical Buttons ATSAMB11ZR Xplained Pro contains two mechanical buttons: * RESET button connected to the ATSAMB11ZR reset line - When the RESET button is pressed it drives the I/O line to ground * Generic user configurable button - When the user button is pressed it drives the I/O line to target voltage Note: There is no pull up resistor connected to the generic user button. Remember to enable the internal pull up in the ATSAMB11ZR to use the button. Table 4-5. Mechanical Buttons 4.2.3 ATSAMB11ZR pin Silkscreen text Shared functionality CHIP EN RESET EDBG SWD AO_GPIO_0 SW0 EXT1 LED There is one yellow LED available on the ATSAMB11ZR Xplained Pro board that can be turned on and off. The LED can be activated by driving the connected I/O line to GND. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 16 ATSAMB11ZR Table 4-6. LED Connection 4.2.4 ATSAMB11ZR pin Function Shared functionality LP_GPIO_16 EDBG GPIO, EXT3 Yellow LED0 Debug I2C and UART Headers Debug I2C and UART headers are used for debugging the BLE stack in the ATSAMB11ZR boards. Both these headers are not mounted on the production variant. The following table provides the Debug I2C pin description: Table 4-7. Debug I2C Pin description Specification ATSAMB11ZR pin Function Shared functionality I2C SCL Clock line for I2C EXT3, Crypto Authentication Device GND Ground I2C SDA Data line for I2C EXT3, Crypto Authentication Device NC The following table provides the Debug UART pin description: Table 4-8. Debug UART Pin description Specification ATSAMB11ZR pin Function UART TXD UART TX pin UART RXD UART RX pin Shared functionality GND Note: Debug information is not supported in the BluSDK Smart. This section will be updated once support for this is available. 4.2.5 Battery Header The ATSAMB11ZR Xplained Pro has a BATTERY HEADER for connecting the battery to power the ATSAMB11-ZR210CA module. The battery header has a VCC and GND pin and is reverse polarity protected. The battery power supply can be given to the device by placing a jumper over pin 1-2 on the 3pin 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 battery and can be used during development. Table 4-9. VBAT SELECT Header VBAT SELECT pin Function 1 Power from battery 2 VCC pin of ATSAMB11ZR board, powers both MCU and Extensions 3 Power from board supply (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 17 ATSAMB11ZR 4.2.6 Temperature Sensor The ATSAMB11ZR Xplained Pro has an on-board temperature sensor AT30TSE758A, powered by the VCC_TARGET_P3V3 of the board. The temperature sensor is IC controlled and is available on the address 0x48 (7-bit MSB address). AT30TSE758A also has a serial EEPROM accessible through I2C. 4.2.7 ATSAMB11ZR pin Function Shared functionality LP_GPIO_8 SDA (Data line) EXT1, EDBG IC LP_GPIO_9 SCL (Clock line) EXT1, EDBG IC AO_GPIO_2 ALERT EXT1, EXT3 Crypto Authentication Device The ATSAMB11ZR Xplained Pro has a Crypto Authentication Device (ATECC508A) connected to the I2C bus. The table below shows all the connections between the ATECC508A and ATSAMB11-ZR210CA module. Table 4-10. ATECC508A Connections 4.3 ATSAMB11ZR pin ATECC508A pin Function Shared Functionality 4 5 UART2_CTS/I2C1_SDA DEBUG IC, EXT3 5 6 UART2_RTS/I2C1_SCL DEBUG IC, EXT3 Embedded Debugger Implementation ATSAMB11ZR Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and debug the ATSAMB11ZR using Serial Wire Debug (SWD). The Embedded Debugger also includes a Virtual Com port interface over UART, a Data Gateway Interface (DGI) over SPI, and I2C , and also includes four of the ATSAMB11ZR GPIOs. The kit also includes a XAM extension processor to the Embedded Debugger for on-board current measurement. Atmel Studio can be used as a front-end for the Embedded Debugger. 4.3.1 Serial Wire Debug The Serial Wire Debug (SWD) uses 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. Table 4-11. SWD Connections 4.3.2 ATSAMB11ZR pin Function LP_GPIO_0 SWD clock LP_GPIO_1 SWD data Virtual COM Port The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAMB11ZR UARTs. For further information on how to use the Virtual COM port, see Embedded Debugger. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 18 ATSAMB11ZR Table 4-12. Virtual COM Port Connections 4.3.3 ATSAMB11ZR pin Function Shared functionality LP_GPIO_2 RX line EXT1,EXT3 LP_GPIO_3 TX line EXT1,EXT3 Data Gateway Interface The Embedded Debugger features an Data Gateway Interface (DGI) by using either an SPI or IC. The DGI can be used to send a variety of data from the ATSAMB11ZR to the host PC. Table 4-13. DGI Interface Connections When Using SPI ATSAMB11ZR pin Function Shared functionality LP_GPIO_12 GPIO/SPI SS (Slave select) (ATSAMB11ZR is Master) EXT1 LP_GPIO_13 SPI MISO (Master In, Slave Out) EXT1 LP_GPIO_11 SERCOM5 PAD[2] SPI MOSI (Master Out, Slave in) EXT1 LP_GPIO_10 SERCOM5 PAD[3] SPI SCK (Clock Out) EXT1 Table 4-14. DGI Interface Connections When Using IC ATSAMB11ZR pin Function Shared functionality LP_GPIO_8 SDA (Data line) EXT1, Temperature Sensor LP_GPIO_9 SCL (Clock line) EXT1, Temperature Sensor 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 ATSAMB11ZR application code. Table 4-15. GPIO Lines Connected to the EDBG 4.3.4 ATSAMB11ZR pin Function Shared functionality LP_GPIO_16 GPIO0 EXT3, USER LED LP_GPIO_17 GPIO1 EXT1, EXT3 LP_GPIO_18 GPIO2 EXT1, EXT3 LP_GPIO_19 GPIO3 EXT3 ATSAMB11ZR Xplained Pro XAM Configuration On the ATSAMB11ZR Xplained Pro the MCU and the MCU peripherals (e.g., extensions) are powered by their own regulator, as shown in the following figure. All other parts of the board, mainly the 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. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 19 ATSAMB11ZR Figure 4-2. ATSAMB11ZR XAM Implementation Block Diagram On the ATSAMB11ZR Xplained Pro the XAM can be used in four configurations: 1. No current measurement or external MCU current measurement: The XAM is bypassed and 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 configuration, 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 supplied 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. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 20 ATSAMB11ZR 5. Regulatory Notice 5.1 United States The ATSAMB11ZR Xplained Pro contains the ATSAMB11-ZR210CA module which has received Federal Communications Commission (FCC) CFR47 Telecommunications, Part 15 Subpart C "Intentional Radiators" single-modular approval in accordance with Part 15.212 Modular Transmitter approval. Contains Transmitter Module FCC ID: 2ADHKBZR. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 21 ATSAMB11ZR 6. Hardware Revision History 6.1 Identifying Product ID and Revision The revision and product identifier of the 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. When an Xplained Pro MCU board is connected to a computer with Atmel Studio running, an information window with the serial number is shown. The first six digits of the serial number contain the product identifier and revision. Information about connected Xplained Pro extension boards is also shown in the window. The same information can be found on the sticker on the bottom side of the PCB. Most kits have stickers that have the identifier and revision printed in plain text as A09-nnnn\rr, where nnnn is the identifier and rr is the revision. Boards with limited space have a sticker with only a data matrix code, which contains a serial number string. The serial number string has the following format: "nnnnrrssssssssss" n = product identifier r = revision s = serial number The product identifier for the ATSAMB11ZR Xplained Pro is A09-2691. 6.2 Hardware Revision Revision 4 is the initially released revision. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 22 ATSAMB11ZR 7. Document Revision History Rev B - 09/2017 Section Document Changes * * Editorial updates Added Regulatory Notice Rev A - 09/2017 Section Changes Document Initial Release (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 23 ATSAMB11ZR 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 (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 24 ATSAMB11ZR Product Identification System To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. [X](1) PART NO. Device - X Tape and Reel Temperature Option Range /XX XXX Package Pattern Device: PIC16F18313, PIC16LF18313, PIC16F18323, PIC16LF18323 Tape and Reel Option: Blank = Standard packaging (tube or tray) T = Tape and Reel(1) I = -40C to +85C (Industrial) E = -40C to +125C (Extended) JQ = UQFN P = PDIP ST = TSSOP SL = SOIC-14 SN = SOIC-8 RF = UDFN Temperature Range: Package:(2) Pattern: QTP, SQTP, Code or Special Requirements (blank otherwise) Examples: * * PIC16LF18313- I/P Industrial temperature, PDIP package PIC16F18313- E/SS Extended temperature, SSOP package Note: 1. Tape and Reel identifier only appears in the catalog part number description. This identifier is used for ordering purposes and is not printed on the device package. Check with your Microchip Sales Office for package availability with the Tape and Reel option. 2. Small form-factor packaging options may be available. Please check http://www.microchip.com/ packaging for small-form factor package availability, or contact your local Sales Office. 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. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 25 ATSAMB11ZR * Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as "unbreakable." Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip's code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Legal Notice Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated. Trademarks The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, 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, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A. Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. 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. All other trademarks mentioned herein are property of their respective companies. (c) 2017, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 26 ATSAMB11ZR ISBN: 978-1-5224-2204-4 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 (R) (R) and India. The Company's quality system processes and procedures are for its PIC MCUs and dsPIC (R) DSCs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip's quality system for the design and manufacture of development systems is ISO 9001:2000 certified. (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 27 Worldwide Sales and Service 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 (c) 2017 Microchip Technology Inc. User Guide DS70005334B-page 28