Atmel SAMHA1G16A Xplained Pro User Manual Download Page 6

3. 

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.

3.1. 

Embedded Debugger

The SAMHA1G16A 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 ATSAMHA1G16A.

On SAMHA1G16A Xplained Pro, the SWD interface is connected between the EDBG and the

ATSAMHA1G16A.
The Virtual COM Port is connected to a UART on the ATSAMHA1G16A and provides an easy way to

communicate with the target application through terminal software. It offers variable baud rate, parity, and

stop bit settings. Note that the settings on the ATSAMHA1G16A 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 ATSAMHA1G16A. If the DTR

signal is not enabled the UART pins on the EDBG is kept in high-z (tristate) rendering the COM

port unusable. The DTR signal is set automatically by some terminal software, but it may have

to be manually enabled in your terminal.

The DGI 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

ATSAMHA1G16A 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 SAMHA1G16A Xplained Pro; a power LED and a status LED. The

table below 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

applied to the board.

Activity indicator, LED flashes

when any communication

happens to the EDBG.

Bootloader mode (idle)

The power LED and the status LED blinks simultaneously.

Bootloader mode (firmware

upgrade)

The power LED and the status LED blinks in an alternating pattern.

Atmel SAMHA1G16A Xplained Pro [USER GUIDE]

Atmel-00001-SAMHA1G16A-Xplained-Pro_User Guide-11/2014

6

Summary of Contents for SAMHA1G16A Xplained Pro

Page 1: ...s easy access to the features of the Atmel ATSAMHA1G16A and explains how to integrate the device in a custom design The Xplained Pro MCU series evaluation kits include an on board Embedded Debugger an...

Page 2: ...are Identification System 7 3 3 Power Sources 7 3 4 Xplained Pro Headers and Connectors 8 4 Hardware User Guide 11 4 1 Connectors 11 4 2 Peripherals 14 4 3 Embedded Debugger Implementation 16 5 Hardwa...

Page 3: ...away and to get an understanding of how to integrate the device in their own design Figure 1 1 SAMHA1G16A Xplained Pro Evaluation Kit Overview 1 2 SAMHA1G16A Xplained Pro Feature list SAMHA1G16A Syste...

Page 4: ...board power LED Programming and debugging Data Gateway Interface I2C SPI and four GPIOs Virtual COM port CDC USB powered Supported with application examples in Atmel Software Framework Atmel SAMHA1G16...

Page 5: ...aluation 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...

Page 6: ...ATSAMHA1G16A 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 pi...

Page 7: ...on code examples and links to relevant documents The table below shows the data fields stored in the ID chip with example content Table 3 2 Xplained Pro ID Chip Content Data field Data type Example co...

Page 8: ...tomatically 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 External HV input Note The selection for...

Page 9: ...ce Always implemented bus type 12 I2C_SCL Clock line for I2C interface Always implemented bus type 13 UART_RX Receiver line of target device UART 14 UART_TX Transmitter line of target device UART 15 S...

Page 10: ...output derived from one of the input sources 4 VCC_P3V3 Regulated 3 3V output used as main power supply for the kit 3 4 3 COMMON Xplained Pro HV Header Enter a short description of your topic here opt...

Page 11: ...Table 4 1 Extension Header EXT1 EXT1 pin SAMHA1 pin Function Shared functionality 1 ID Communication line to the ID chip on an extension board 2 GND Ground 3 ADC PA02 AIN 0 4 ADC PA03 AIN 1 5 GPIO1 PB...

Page 12: ...EDBG I2C 13 USART_RX PA28 SERCOM1 PAD 1 UART RX EDBG CDC UART RX 14 USART_TX PA27 SERCOM1 PAD 0 UART TX EDBG CDC UART TX 15 SPI_SS_A PA20 SPI Master SS 16 SPI_MOSI PA21 SERCOM3 PAD 3 SPI MOSI DGI_SPI_...

Page 13: ...e 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 ATSAMHA1G16A to be powered...

Page 14: ...onnector that can be used to attach external debuggers to the ATSAMHA1G16A Table 4 5 Cortex Debug Connector Cortex Debug Connector pin Pin Net Function 1 VCC_TARGET_P3V3 ATSAMHA1G16A voltage 2 SWDIO S...

Page 15: ...ode of the SBC During startup SBC stays in failsafe due to PB22 being in tri state and EN pin having a pull down resistor Always normal mode VCC SBC_EN SBC goes into normal mode after startup Mode can...

Page 16: ...port see Embedded Debugger Table 4 12 Virtual COM Port Connections SAM HA1 pin Function PA27 SERCOM1 PAD 0 UART TXD SAM HA1 TX line PA28 SERCOM1 PAD 1 UART RXD SAM HA1 RX line 4 3 3 Atmel Data Gateway...

Page 17: ...plication 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 15 GPIO Lines Connected to the EDBG SAMHA1 pin...

Page 18: ...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 tex...

Page 19: ...6 SAMHA1G16A Xplained Pro Revision History Doc rev Date Comment A 01 2016 Initial release Atmel SAMHA1G16A Xplained Pro USER GUIDE Atmel 00001 SAMHA1G16A Xplained Pro_User Guide 11 2014 19...

Page 20: ...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 a...

Page 21: ...8 FCC_note Atmel SAMHA1G16A Xplained Pro USER GUIDE Atmel 00001 SAMHA1G16A Xplained Pro_User Guide 11 2014 21...

Page 22: ...INESS 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 w...

Reviews: