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 G55 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 ATSAMG55J19.
On SAM G55 Xplained Pro, the SWD interface is connected between the EDBG and the ATSAMG55J19.

The Virtual COM Port is connected to a UART on the ATSAMG55J19 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 ATSAMG55J19 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 ATSAMG55J19. 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
ATSAMG55J19 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 G55 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 G55 Xplained Pro [USER GUIDE]

Atmel-42389B-SAM-G55-Xplained-Pro_User Guide-04/2016

7

Summary of Contents for SAM G55 Xplained Pro

Page 1: ...s to the features of the Atmel ATSAMG55J19 It provides the information to integrate the device in a customer design The Xplained Pro MCU series evaluation kits include an on board Embedded Debugger an...

Page 2: ...d TWI Interface 13 4 1 3 Current Measurement Header 14 4 2 Peripherals 14 4 2 1 Crystals 14 4 2 2 Mechanical Buttons 14 4 2 3 LED 14 4 2 4 USB 15 4 3 Embedded Debugger Implementation 15 4 3 1 Serial W...

Page 3: ...luding one reset button One user LED Three extension headers I2C interface for SAM G55 high speed I2C slave Three possible power sources External power Embedded debugger USB Target USB 32kHz crystal 1...

Page 4: ...Figure 1 1 SAM G55 Xplained Pro Evaluation Kit Overview Atmel SAM G55 Xplained Pro USER GUIDE Atmel 42389B SAM G55 Xplained Pro_User Guide 04 2016 4...

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

Page 6: ...SAM G55 Xplained Pro on the Atmel website Atmel website link Atmel SAM G55 Xplained Pro USER GUIDE Atmel 42389B SAM G55 Xplained Pro_User Guide 04 2016 6...

Page 7: ...ATSAMG55J19 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 8: ...g 1774020200000010 0 Minimum Voltage mV uint16_t 3000 Maximum Voltage mV uint16_t 3600 Maximum Current mA uint16_t 30 3 3 Power Sources The SAM G55 Xplained Pro kit can be powered by several power sou...

Page 9: ...ained Pro MCU boards directly Table 3 4 Xplained Pro Standard Extension Header Pin number Name Description 1 ID Communication line to the ID chip on an extension board 2 GND Ground 3 ADC Analog to dig...

Page 10: ...t external power to the SAM G55 Xplained Pro kit The kit will automatically detect and switch to any external power if supplied The power header can also be used as supply for external peripherals or...

Page 11: ...extension header specification The headers have a pitch of 2 54mm Table 4 1 Extension Header EXT1 Pin on EXT1 SAM G55 pin SAM G55 Peripheral Function Shared Functionality 1 ID Communication line to I...

Page 12: ...USART6 RXD EDBG DGI USART 14 USART_TX PB00 USART0 TXD EDBG DGI USART 15 SPI_SS_A PA05 SPI NPCS1 16 SPI_MOSI PA13 SPI MOSI EXT1 connector SPI MOSI 17 SPI_MISO PA12 SPI MISO EXT1 connector SPI MISO 18...

Page 13: ...I2C targets I2C hosts that want to connect to the SAM G55 high speed I2C slave interface Besides I2C communication a GPIO and the SAM G55 reset are available The GPIO can serve as a IRQ to the host a...

Page 14: ...ross the strap More information about oscillator allowance and safety factor can be found in application note AVR4100 Table 4 5 External 32 768kHz Crystal Pin on SAM G55 Function PA07 XIN32 PA08 XOUT3...

Page 15: ...uses two pins to communicate with the target For further information on how to use the programming and debugging capabilities of the EDBG see the EDBG user guide Table 4 10 SWD Connections Pin on SAM...

Page 16: ...ble 4 14 GPIO Lines Connected to EDBG Pin on SAM G55 Function PA02 GPIO0 PA06 GPIO1 PA24 GPIO2 PB14 GPIO3 4 4 Jumper Description The SAM G55 Xplained Pro contains two jumpers that can be used to confi...

Page 17: ...nfigure Open the OPTIONS dialog for the project 2 In the category General Options select the Target tab Select the device for the project or if not listed the core of the device 3 In the category Debu...

Page 18: ...Figure 5 2 Select Debugger Figure 5 3 Configure Flash Loader Atmel SAM G55 Xplained Pro USER GUIDE Atmel 42389B SAM G55 Xplained Pro_User Guide 04 2016 18...

Page 19: ...Figure 5 4 Configure Reset Figure 5 5 Configure Interface Atmel SAM G55 Xplained Pro USER GUIDE Atmel 42389B SAM G55 Xplained Pro_User Guide 04 2016 19...

Page 20: ...ther an Atmel ICE adapter SAM ICE adapter or a 10 pin 50 mil header to squid cable When using a squid cable see the table and figures below for how to connect the SAM ICE to the Xplained Pro board Tab...

Page 21: ...rom another input like the external power header or from the target USB Physically removing the connection between the EDBG and the debug header by removing 0 resistors where available or cutting the...

Page 22: ...on 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 A0...

Page 23: ...ment Revision History Doc rev Date Comment 42389B 04 2016 Added appendix 42389A 02 2015 Initial Document Release Atmel SAM G55 Xplained Pro USER GUIDE Atmel 42389B SAM G55 Xplained Pro_User Guide 04 2...

Page 24: ...f 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...

Page 25: ...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 o...

Page 26: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Atmel ATSAMG55 XPRO...

Reviews: