Atmel SAM D20 Xplained Pro Скачать руководство пользователя страница 6

 

Atmel SAM D20 Xplained Pro [USER GUIDE]

42102C-MCU-02/2014

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 SAM D20 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 Data Gateway

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

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

“Embedded Debugger

Implementation” on page 11

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

application through 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. See section

“Embedded Debugger Implementation” on page 11

 for available interfaces and pinout. Communication

over the interfaces are bidirectional. It can be used to send events and values from the ATSAMD20J18A, 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 SAM D20 Xplained Pro, a power LED and a status LED. 

Table 3-1, “EDBG

LED Control” on page 6

 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 CryptoAuthentication™ 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” on page 6

 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

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

Страница 1: ...atform the kit provides easy access to the features of the Atmel ATSAMD20J18A and explains how to integrate the device in a custom design The Xplained Pro MCU series evaluation kits include an on boar...

Страница 2: ...nectors 7 3 4 1 Xplained Pro Standard 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 2 Peripherals 10 4 2 1 Crystal 10 4...

Страница 3: ...to target via SPI and TWI Four GPIOs connected to target for code instrumentation Digital I O Two mechanical buttons user and reset button One user LED Three extension headers Two possible power sour...

Страница 4: ...Atmel SAM D20 Xplained Pro USER GUIDE 42102C MCU 02 2014 4 Figure 1 1 SAM D20 Xplained Pro Evaluation Kit Overview...

Страница 5: ...all sized and easy to use evaluation kits for 8 and 32 bit Atmel microcontrollers It consists of a series of low cost MCU boards for evaluation and demonstration of features and capabilities of differ...

Страница 6: ...lable interfaces and pinout Communication over the interfaces are bidirectional It can be used to send events and values from the ATSAMD20J18A or as a generic printf style data channel Traffic over th...

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

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

Страница 9: ...aders have a pitch of 2 54 mm Table 4 1 Extension Header EXT1 Pin on EXT1 SAM D20 pin Function Shared functionality 1 Communication line to ID chip on extension board 2 GND 3 PB00 AIN 8 4 PB01 AIN 9 5...

Страница 10: ...PIO Onboard SW0 7 PA12 TC2 WO 0 8 PA13 TC2 WO 1 9 PA28 EXTINT 8 10 PA27 GPIO 11 PA08 SERCOM2 PAD 0 I C SDA EXT1 EXT2 and EDBG 12 PA09 SERCOM2 PAD 1 I C SCL EXT1 EXT2 and EDBG 13 PB11 SERCOM4 PAD 3 UAR...

Страница 11: ...and TWI and it monitors four of the SAM D20 GPIOs Atmel Studio can be used as a front end for the Embedded Debugger 4 3 1 Serial Wire Debug The Serial Wire Debug SWD use two pins to communicate with t...

Страница 12: ...3 4 External Programming and Debugging The SAM D20 Xplained Pro features a Cortex Debug Connector 10 pin for programming and debugging an external target The connector is limited to the SWD interface...

Страница 13: ...lained Pro has revision C of the SAMD20J18A device mounted Known issues VDDCORE decoupling capacitor The VDDCCORE output pin on SAMD20J18A has two decoupling capacitors one 100nF and one 4 7 F This mi...

Страница 14: ...ision History Document revision Date Comment 42102C 02 2014 Updated Hardware Revision History and Known Issues on page 13 and Table 4 3 Extension Header EXT3 on page 10 42102B 10 2013 Updated Hardware...

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

Страница 16: ...BILITY 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 PARTICULAR PURPOSE...

Страница 17: ...401 Building No 5 JiuGe Business Center Lane 2301 Yishan Rd Minhang District Shanghai China Sales Direct 86 21 6401 6692 Email amall ameya360 com QQ 800077892 Skype ameyasales1 ameyasales2 Customer Se...

Отзывы: