Atmel SAM4L8 Xplained Pro User Manual Download Page 9

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

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

Atmel-42103B-SAM4L8-Xplained-Pro_User Guide-04/2016

9

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 from

Arrow.com.

Downloaded from

Arrow.com.

Summary of Contents for SAM4L8 Xplained Pro

Page 1: ...ures of the Atmel ATSAM4LC8CA and explains how to integrate the device in a customer design The Xplained Pro MCU series evaluation kits include an on board Embedded Debugger and no external tools are...

Page 2: ...4 1 2 Segment LCD Extension Connector 17 4 1 3 Current Measurement Header 19 4 2 Peripherals 19 4 2 1 QTouch Button 19 4 2 2 Crystals 19 4 2 3 Mechanical Buttons 19 4 2 4 LED 20 4 3 Embedded Debugger...

Page 3: ...istory 27 8 Evaluation Board Kit Important Notice 28 Atmel SAM4L8 Xplained Pro USER GUIDE Atmel 42103B SAM4L8 Xplained Pro_User Guide 04 2016 3 Downloaded from Arrow com Downloaded from Arrow com Down...

Page 4: ...host and device function target Touch One Atmel QTouch button Three possible power sources External power Embedded debugger USB Target USB 12MHz crystal 32kHz crystal 1 2 Kit Overview The Atmel SAM4L8...

Page 5: ...ion Kit Overview Atmel SAM4L8 Xplained Pro USER GUIDE Atmel 42103B SAM4L8 Xplained Pro_User Guide 04 2016 5 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Page 6: ...tmel SAM4L8 Xplained Pro USER GUIDE Atmel 42103B SAM4L8 Xplained Pro_User Guide 04 2016 6 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downlo...

Page 7: ...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 they features advanced de...

Page 8: ...n of this User Guide Design Documentation Package containing CAD source schematics BOM assembly drawings 3D plots layer plots etc SAM4L8 Xplained Pro on the Atmel website Atmel website link Atmel SAM4...

Page 9: ...he terminal software to set the data terminal ready DTR signal to enable the UART pins connected to the ATSAM4LC8CA If the DTR signal is not enabled the UART pins on the EDBG is kept in high z tristat...

Page 10: ...ources The SAM4L8 Xplained Pro kit can be powered by several power sources as listed in the table below Table 3 3 Power Sources for SAM4L8 Xplained Pro Power input Voltage requirements Current require...

Page 11: ...ip on an extension board 2 GND Ground 3 ADC Analog to digital converter alternatively positive part of differential ADC 4 ADC Analog to digital converter alternatively negative part of differential AD...

Page 12: ...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...

Page 13: ...ct external power to the SAM4L8 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 14: ...ip on extension board 2 GND 3 PA04 ADCIFE AD 0 4 PA05 ADCIFE AD 1 5 PB12 GPIO LCD connector EXT5 6 PC02 GPIO 7 PC00 TC 1 A0 8 PC01 TC 1 B0 9 PC25 EIC EXTINT 2 LCD connector EXT5 10 PB13 SPI NPCS 1 LCD...

Page 15: ...ctor EXT5 18 PC30 SPI SCK EXT1 and LCD connector EXT5 19 GND 20 VCC Table 4 3 Extension Header EXT3 Pin on EXT3 SAM4L8 pin Function Shared functionality 1 Communication line to ID chip on extension bo...

Page 16: ...6 4 PC10 ADCIFE AD 7 USB_ID 5 PC17 GPIO LCD connector EXT5 6 PC18 GPIO LCD connector EXT5 7 PA12 TC 0 A2 LCD connector EXT5 8 PA13 TC 0 B2 LCD connector EXT5 9 PA16 GPIO LCD connector EXT5 10 PA15 GP...

Page 17: ...SEG0 EXT3 6 PC16 SEG1 EXT3 7 PC17 SEG2 EXT4 8 PC18 SEG3 EXT4 9 PC19 SEG4 10 PA13 SEG5 EXT4 11 PA14 SEG6 12 PA15 SEG7 EXT4 13 PA16 SEG8 EXT4 14 PA17 SEG9 EXT3 15 PC20 SEG10 16 PC21 SEG11 17 PC22 SEG12...

Page 18: ...PA24 SEG39 EXT1 45 Not Connected 46 Not Connected 47 VCC_P3V3 48 GND 49 PC05 Backlight EXT2 50 ID 51 GND Related Links Xplained Pro Segment LCD Connector on page 12 Atmel SAM4L8 Xplained Pro USER GUID...

Page 19: ...e SAM4L8 device Each 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 informati...

Page 20: ...ata 4 3 2 Virtual COM Port The Embedded Debugger act as a Virtual Com Port gateway by using one of the ATSAM4LC8CA UARTs For further information on how to use the Virtual COM port see the EDBG user gu...

Page 21: ...e regulator in the target MCU It can be either LDO mode which is a linear regulator or BUCK mode which is a switch mode regulator If LDO mode is selected the LDO jumper should be mounted as well 4 4 2...

Page 22: ...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 from Arrow com Download...

Page 23: ...icker with only a QR 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 identifie...

Page 24: ...ck the check box for Use flash loader s option 5 In the category Debugger CMSIS DAP select the Setup tab Select System default as the reset method 6 In the category Debugger CMSIS DAP select the JTAG...

Page 25: ...row 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 from Arrow com Downloaded...

Page 26: ...ded 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 from Arrow com...

Page 27: ...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 from Arrow com Downloaded fr...

Page 28: ...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...

Page 29: ...s 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 shall not be u...

Reviews: