Atmel SAM4S Xplained Pro User Manual Download Page 6

 

Atmel SAM4S Xplained Pro [USER GUIDE]

Atmel-42075B-MCU-Atmel SAM4S Xplained Pro-USER GUIDE-03/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 SAM4S 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 ATSAM4SD32C.

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

“Embedded Debugger

implementation” on page 16

 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 16

 for available interfaces and pinout.

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

ATSAM4SD32C, 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 SAM4S 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.

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’

Minimum Voltage [mV]

uint16_t

3000

1

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

Summary of Contents for SAM4S Xplained Pro

Page 1: ...elopment platform the kit provides easy access to the features of the Atmel ATSAM4SD32C and explains how to integrate the device in a custom design The Xplained Pro MCU series evaluation kits include...

Page 2: ...ension header 7 3 4 2 Xplained Pro LCD connector 8 3 4 3 Power header 10 4 Hardware user guide 11 4 1 Connectors 11 4 1 1 I O extension headers 11 4 1 2 LCD extension connector 12 4 1 3 Other headers...

Page 3: ...ical buttons user and reset button One user LED Three extension headers LCD display header USB interface for host and device function target 2Gb NAND Flash for non volatile storage SD card connector A...

Page 4: ...Atmel SAM4S Xplained Pro USER GUIDE Atmel 42075B MCU Atmel SAM4S Xplained Pro USER GUIDE 03 2013 4 Figure 1 1 SAM4S Xplained Pro evaluation kit overview...

Page 5: ...relevant documents and software for SAM4S 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 I...

Page 6: ...ection Embedded Debugger implementation on page 16 for available interfaces and pinout Communication over the interfaces are bidirectional It can be used to send events and values from the ATSAM4SD32C...

Page 7: ...mbedded debugger USB 3 Target USB Note External power is required when the 500mA through the USB connector is not enough to power a connected USB device in a USB host application 3 3 1 Measuring SAM4S...

Page 8: ...of Universal Synchronous and Asynchronous serial Receiver and Transmitter 15 SPI_SS_A Slave select for SPI Should be unique if possible 16 SPI_MOSI Master out slave in line of Serial peripheral interf...

Page 9: ...ine 31 D23 Data line 32 GND Ground 33 PCLK CMD_DATA_SEL Pixel clock Command and data select One address line of the MCU for displays where it is possible to select either the register or the data inte...

Page 10: ...plied The power header can also be used as supply for external peripherals or extension boards Care must be taken not to exceed the total current limitation of the on board regulator for the 3 3V regu...

Page 11: ...n Header All headers have a pitch of 2 54 mm Table 4 1 Extension header EXT1 Pin on EXT1 SAM4S pin Function Shared functionality 1 Communication line to ID chip on extension board 2 GND 3 PA17 AD 0 4...

Page 12: ...M4S pin Function Shared functionality 1 Communication line to ID chip on extension board 2 GND 3 PC29 AD 13 4 PC30 AD 14 5 PC21 GPIO 6 PC22 GPIO DGI_GPIO1 on EDBG 7 PC20 PWMH2 8 PA16 PWML2 PIOD Header...

Page 13: ...nication line to ID chip on extension board 2 GND 3 PC0 D0 NAND Flash 4 PC1 D1 NAND Flash 5 PC2 D2 NAND Flash 6 PC3 D3 NAND Flash 7 GND 8 PC4 D4 NAND Flash 9 PC5 D5 NAND Flash 10 PC6 D6 NAND Flash 11...

Page 14: ...2 PA9 PWMF10 EXT2 3 PA26 TI0A2 SD Card and PIOD Interface header 4 PA27 TI0B2 SD Card and PIOD Interface header 5 PA28 TCLK1 SD Card and PIOD Interface header 6 PA29 TCLK2 SD Card and PIOD Interface h...

Page 15: ...Card connections SAM4S pin Function SD Card function Shared functionality PA26 MCDA2 DAT2 SPARE Signal and PIOD Interface headers PA27 MCDA3 DAT3 SPARE Signal and PIOD Interface headers PA28 MCCDA CMD...

Page 16: ...pin header is available to measure the reference voltage for the AREF pin of the SAM4S The voltage output range for the reference is 0V 3 36V 4 3 Embedded Debugger implementation SAM4S Xplained Pro c...

Page 17: ...ing SPI Pin on SAM4S Function PA5 Slave select SAM4S is Master PA12 SPI MISO Master In Slave Out PA13 SPI MOSI Master Out Slave in PA14 SPI SCK Clock Out Table 4 16 DGI interface connections when usin...

Page 18: ...urce EXT1 EXT2 EXT3 and EDBG and routed in a star like layout A series terminator resistor of 43ohm is placed on each clock net close to the SPI clock pin This reduces any issues that might be caused...

Page 19: ...ned Pro USER GUIDE Atmel 42075B MCU Atmel SAM4S Xplained Pro USER GUIDE 03 2013 19 6 Document revision history Doc Rev Date Comment B 15 03 2013 Added information about changes done on rev 5 A 11 02 2...

Page 20: ...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 handling or use of the...

Page 21: ...SUMES NO LIABILITY WHATSOEVER 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 PARTIC...

Reviews: