background image

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 SAM HA1G16A 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 SAM HA1G16A 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 SAM HA1G16A 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 SAM HA1G16A Xplained Pro [USER GUIDE]

Atmel-9426A-SAM-HA1G16A-Xplained-Pro_User Guide-10/2016

6

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Содержание SAM HA1G16A Xplained Pro

Страница 1: ...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 and no external...

Страница 2: ...ation 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 Hardware Revision H...

Страница 3: ...Feature list SAMHA1G16A System in Package One mechanical reset button One mechanical programmable button One yellow user LED Two Xplained Pro extension headers One High Voltage extension header Embedd...

Страница 4: ...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...

Страница 5: ...PDF format PDF version of this User Guide SAM HA1G16A Xplained Pro in the Atmel store Atmel Store link Atmel SAM HA1G16A Xplained Pro USER GUIDE Atmel 9426A SAM HA1G16A Xplained Pro_User Guide 10 201...

Страница 6: ...irtual 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 pin...

Страница 7: ...d 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 0 Product Name ASCII string Segment LCD1 Xplained Pro...

Страница 8: ...ng priority 1 External power 2 Embedded Debugger USB 3 External HV input Note The selection for the supply of the Target MCU has a separate connector The above priority selects which supply is used to...

Страница 9: ...line of target device UART 14 UART_TX Transmitter line of target device UART 15 SPI_SS_A Slave select for SPI Should preferably be unique 16 SPI_MOSI Master out slave in line of serial peripheral inte...

Страница 10: ...d Pro HV Extension Header Pin Number Name Description 1 ID Communication line to the ID chip on an extension board 2 GND Ground 3 NC 4 NC 5 LIN_GND GND of LIN SBC 6 NC 7 LIN LIN Bus signal 8 NC 9 VS B...

Страница 11: ...2 GND Ground 3 ADC PA02 AIN 0 4 ADC PA03 AIN 1 5 GPIO1 PB06 GPIO 6 GPIO2 PB07 GPIO 7 PWM PA18 TC3 WO 0 DGI_SPI_SS 8 PWM PA19 TC3 WO 1 9 IRQ GPIO PA17 IRQ1 GPIO DGI_SPI_SCK 10 SPI_SS_B GPIO PA16 GPIO D...

Страница 12: ...I_MOSI PA21 SERCOM3 PAD 3 SPI MOSI DGI_SPI_MOSI 17 SPI_MISO PA16 SERCOM3 PAD 0 SPI MISO 18 SPI_SCK PA17 SERCOM3 PAD 1 SPI SCK 19 GND Ground 20 VCC Power for extension board Table 4 3 Extension Header...

Страница 13: ...the ATSAMHA1G16A to be powered through its I O pins This may cause permanent damage to the device 4 1 3 VCC_SEL Header A 1x3 100mil pin header marked with MCU VCC SEL header is located at the upper l...

Страница 14: ...oltage 2 SWDIO SWD data signal 3 GND Ground 4 SWCLK SWD clock signal 5 GND Ground 6 7 8 9 GND Ground 10 RESETN Target reset signal 4 2 Peripherals 4 2 1 Mechanical buttons SAM HA1G16A Xplained Pro con...

Страница 15: ...de can t be controlled by the microcontroller Always fail safe Open The internal pull down resistor keeps the SBC in fail safe mode Useful when no LIN communication is needed but the SBC is used to su...

Страница 16: ...e The Embedded Debugger features an Atmel Data Gateway Interface DGI by using either an SPI or I C The DGI can be used to send a variety of data from the ATSAMHA1G16A to the host PC For further inform...

Страница 17: ...tionality PB03 GPIO0 SW0 PB16 GPIO1 EXT3 PB17 GPIO2 EXT3 PA01 GPIO3 EXT3 Atmel SAM HA1G16A Xplained Pro USER GUIDE Atmel 9426A SAM HA1G16A Xplained Pro_User Guide 10 2016 17 Downloaded from Arrow com...

Страница 18: ...dentifier 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...

Страница 19: ...19 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Страница 20: ...arge 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 CONSEQU...

Страница 21: ..._User Guide 10 2016 21 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow...

Страница 22: ...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 con...

Отзывы: