background image

 

Atmel SAM4N Xplained Pro [USER GUIDE]

42104A-MCU-06/2013

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 that 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 that are connected through

a set of standardized headers and connectors. Each extension board has an identification (ID) chip to uniquely

identify which boards are mounted on a Xplained Pro MCU board. This information is used to present relevant

user guides, application notes, datasheets and example code through Atmel Studio. Available Xplained Pro

MCU and extension boards can be purchased in the 

Atmel Web Store

1

.

3.1

Embedded Debugger

The SAM4N Xplained Pro contains the Atmel

®

 Embedded Debugger (EDBG) for on-board debugging. The

EDBG is a composite USB device of 3 interfaces; a debugger, Virtual COM Port and Data Gateway Interface

(DGI).
In conjunction with Atmel Studio, the EDBG debugger interface can program and debug the ATSAM4N16C. On

the SAM4N Xplained Pro, the SWD interface is connected between the EDBG and the ATSAM4N16C.
The Virtual COM Port is connected to a UART port on the ATSAM4N16C (see section 

“Embedded Debugger

implementation” on page 12

 for pinout), and provides an easy way to communicate with the target

application through a simple terminal software. It offers variable baud rate, parity and stop bit settings. Note

that the settings on the target device UART must match the settings given in the terminal software.
The DGI consists of several physical data interfaces for communication with the host computer. Please,

see section 

“Embedded Debugger implementation” on page 12

 for available interfaces and pinout.

Communication over the interfaces are bidirectional. It can be used to send events and values from the

ATSAM4N16C, 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. The DGI uses a proprietary protocol, and is thus only compatible with Atmel Studio.
The EDBG controls two LEDs on SAM4N Xplained Pro, a power LED and a status LED. 

Table 3-1, “EDBG LED

control”

 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

every time something happens on

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.

For further documentation on the EDBG, see the 

EDBG User Guide

2

.

3.2

Hardware identification system

All Xplained Pro compatible extension boards have an Atmel ATSHA204 crypto authentication chip mounted.

This chip contains information that identifies the extension with its name and some extra data. When an

Xplained Pro extension board is connected to an Xplained Pro MCU board the information is read and sent

to Atmel Studio. The Atmel Kits extension, installed with Atmel Studio, will give relevant information, code

examples and links to relevant documents. 

Table 3-2, “Xplained Pro ID chip content”

 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 Content

Manufacturer

ASCII string

Atmel’\0’

Product Name

ASCII string

Segment LCD1 Xplained Pro’\0’

Product Revision

ASCII string

02’\0’

Product Serial Number

ASCII string

1774020200000010’\0’

1

 http://store.atmel.com/CBC.aspx?q=c:100113

2

 http://www.atmel.com/Images/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdf

Summary of Contents for SAM4N Xplained Pro

Page 1: ...tform the kit provides easy access to the features of the Atmel ATSAM4N16C and explains how to integrate the device in a custom design The Xplained Pro MCU series evaluation kits include an on board E...

Page 2: ...s and connectors 7 3 4 1 Xplained Pro extension header 7 3 4 2 Xplained Pro power header 8 4 Hardware user guide 9 4 1 Connectors 9 4 1 1 I O extension headers 9 4 1 2 Other headers 10 4 2 Peripherals...

Page 3: ...get for code instrumentation Digital I O Two mechanical buttons user and reset button One user LED Three extension headers Three spare signal headers Two possible power sources External power Embedded...

Page 4: ...Atmel SAM4N Xplained Pro USER GUIDE 42104A MCU 06 2013 4 Figure 1 1 SAM4N Xplained Pro evaluation kit overview...

Page 5: ...d software for SAM4N Xplained Pro 1 Xplained Pro products 3 Atmel Xplained Pro is a series of small sized and easy to use evaluation kits for 8 and 32 bit Atmel microcontrollers It consists of a serie...

Page 6: ...for available interfaces and pinout Communication over the interfaces are bidirectional It can be used to send events and values from the ATSAM4N16C or as a generic printf style data channel Traffic o...

Page 7: ...easure its power consumption Because the device has a separate power plane VCC_MCU_P3V3 on this board it is possible to measure the current consumption by measuring the current that is flowing into th...

Page 8: ...ine of Serial peripheral interface Always implemented bus type 17 SPI_MISO Master in slave out line of Serial peripheral interface Always implemented bus type 18 SPI_SCK Clock for Serial peripheral in...

Page 9: ...andard extension header specified in Xplained Pro Standard Extension Header All headers have a pitch of 2 54 mm Table 4 1 Extension header EXT1 Pin on EXT1 SAM4N pin Function Shared functionality 1 Co...

Page 10: ...A2 8 PA27 TIOB2 9 PB2 WKUP12 10 PB3 GPIO 11 PA3 TWD0 EXT1 12 PA4 TWCK0 EXT1 SPARE HEADER1 13 PB10 URXD3 14 PB11 UTXD3 15 PC7 NPCS2 16 PA13 SPI_MOSI EXT1 EXT2 17 PA12 SPI_MISO EXT1 EXT2 18 PA14 SPI_SCK...

Page 11: ...PC13 AD10 2 PC15 AD11 3 PA2 DATRG 4 PB13 DAC0 5 VCC 6 GND 4 2 Peripherals 4 2 1 Crystals The SAM4N Xplained Pro kit contains two crystals that can be used as clock sources for the SAM4N device Each cr...

Page 12: ...Note The ADREF pin can only be used for measuring and must not be used as an input for an external voltage reference 4 3 Embedded Debugger implementation SAM4N Xplained Pro contains an Embedded Debugg...

Page 13: ...4 13 DGI interface connections when using USART Pin on SAM4N Function PC10 USART TXD SAM4N TX line PC9 USART RXD SAM4N RX line PC14 USART CLK Table 4 14 DGI interface connections when using TWI Pin o...

Page 14: ...he identifier 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 nnnnrrssssssss...

Page 15: ...Atmel SAM4N Xplained Pro USER GUIDE 42104A MCU 06 2013 15 6 Document revision history Doc Rev Date Comment A 07 2013 First release...

Page 16: ...uyer s and further users sole risk The user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the handl...

Page 17: ...ATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON I...

Reviews: