Atmel SAM R21 Xplained Pro User Manual Download Page 15

 

Atmel SAM R21 Xplained Pro [USER GUIDE]

42243A-MCU-02/2014

15

4.4.1

Serial Wire Debug

The Serial Wire Debug (SWD) use two pins to communicate with the target. For further information on how to

use the programming and debugging capabilities of the EDBG, see 

“Embedded Debugger” on page 6

.

Table 4-11. SWD Connections

Pin on SAM R21

Function

PA30

SWD clock

PA31

SWD data

4.4.2

Virtual COM port

The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAMR21G18A UARTs.

For further information on how to use the Virtual COM port see 

“Embedded Debugger” on page 6

.

Table 4-12. Virtual COM Port Connections

Pin on SAM R21

Function

PA04

SERCOM0 PAD[0] UART TXD (SAM R21 TX line)

PA05

SERCOM1 PAD[1] UART RXD (SAM R21 RX line)

4.4.3

Atmel Data Gateway Interface

The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a SPI or I²C port.

The DGI can be used to send a variety of data from the SAM R21 to the host PC. For further information on

how to use the DGI interface see 

“Embedded Debugger” on page 6

.

Table 4-13. DGI Interface Connections When Using SPI

Pin on SAM R21

Function

PA27

GPIO SPI SS (Slave select) (SAM R21 is Master)

PB02

SERCOM5 PAD[0] SPI MISO (Master In, Slave Out)

PB22

SERCOM5 PAD[2] SPI MOSI (Master Out, Slave in)

PB23

SERCOM5 PAD[3] SPI SCK (Clock Out)

Table 4-14. DGI Interface Connections When Using I²C

Pin on SAM R21

Function

PA16

SERCOM1 PAD[0] I²C SDA (Data line)

PA17

SERCOM1 PAD[1] I²C SCL (Clock line)

Four GPIO lines are connected to the Embedded Debugger. The EDBG can monitor these lines and time

stamp pin value changes. This makes it possible to accurately time stamp events in the SAM R21 application

code. For further information on how to configure and use the GPIO monitoring features see 

“Embedded

Debugger” on page 6

.

Table 4-15. GPIO Lines Connected to the EDBG

Pin on SAM R21

Function

PA08

GPIO0

PA09

GPIO1

PA12

GPIO2

PA14

GPIO3

Summary of Contents for SAM R21 Xplained Pro

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

Page 2: ...Connectors 10 4 1 1 I O Extension Headers 10 4 1 2 Other Headers and Connectors 11 4 2 Peripherals 11 4 2 1 Crystal 11 4 2 2 Mechanical Buttons 12 4 2 3 LED 12 4 2 4 USB 12 4 2 5 RF 12 4 3 1 8V Operat...

Page 3: ...anical buttons user and reset button One user LED Two extension headers Antenna One ceramic chip antenna 2450AT18D0100 One SMA connector for external antenna Three possible power sources External powe...

Page 4: ...Atmel SAM R21 Xplained Pro USER GUIDE 42243A MCU 02 2014 4 Figure 1 1 SAM R21 Xplained Pro Evaluation Kit Overview...

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

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

Page 7: ...urces are available and choose which one to use according to the following priority 1 External power 2 Embedded debugger USB 3 Target USB Note External power is required when the 500mA through the USB...

Page 8: ...wire interface Always implemented bus type 13 USART_RX Receiver line of Universal Synchronous and Asynchronous serial Receiver and Transmitter 14 USART_TX Transmitter line of Universal Synchronous and...

Page 9: ...r Pin name Description 4 VCC_P3V3 Regulated 3 3V output used as main power for the kit Note If the board is powered from a battery source it is recommended to use the PWR header If there is a power so...

Page 10: ...e 4 1 Extension Header EXT1 Pin on EXT1 SAM R21 pin Function Shared functionality 1 ID Communication line to ID chip on extension board 2 GND GND 3 ADC PA06 AIN 6 4 ADC PA07 AIN 7 5 GPIO1 PA13 GPIO 6...

Page 11: ...als Header Pin on header Pin on SAM R21 Function 1 PA09 RFCTRL1 positive antennae switch control signal 2 PA12 RFCTRL2 negative antennae switch control signal 3 PA27 GPIO chip select on the EDBG DGI S...

Page 12: ...tton connected to the SAM R21 reset line and the other is a generic user configurable button When a button is pressed it will drive the I O line to GND Table 4 7 Mechanical Buttons Pin on SAM R21 Silk...

Page 13: ...AM R21 Xplained Pro board is operated at 3 3V by default but it also has the possibility of running at lower voltages from an external supply The EDBG is designed to run from a 3 3V supply and won t w...

Page 14: ...removed components they are all 0 ohm resistors Important The voltage supplied through the power header is applied directly to the ATSAMR21G18A and the extension headers applying a voltage greater th...

Page 15: ...either a SPI or I C port The DGI can be used to send a variety of data from the SAM R21 to the host PC For further information on how to use the DGI interface see Embedded Debugger on page 6 Table 4 1...

Page 16: ...M R21 Xplained Pro The data can be read through the I 2 C interface connected to the EDBG for detailed information see the EDBG User Guide 1 All data is stored as little endian Table 5 1 MAC64Register...

Page 17: ...s FCC 2 1093 requires separate equipment authorization Important Modifications not expressly approved by this company could void the user s authority to operate this equipment FCC section 15 21 Import...

Page 18: ...Industrie Canada pour un environnement non contr l Cet quipement doit tre install et utilis avec un minimum de 20 cm de distance entre le dispositif et l utilisateur ou des tiers Important Any changes...

Page 19: ...List of Antennas Tested With This Product Table 6 1 List of Tested Antennas Antenna Number Make Model Part Antenna Gain dBi Type of Antenna Antenna 1 Johanson Technology 2450AT18D0100 1 5dBi Ceramic...

Page 20: ...formation about connected Xplained Pro extension boards will also appear in the Atmel Kits window The same information can be found on the sticker on the bottom side of the PCB The sticker on SAM R21...

Page 21: ...Atmel SAM R21 Xplained Pro USER GUIDE 42243A MCU 02 2014 21 8 Document revision history Document revision Date Comment 42243A 02 2014 Initial document release...

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

Page 23: ...TY 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 OR...

Page 24: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip ATSAMR21 XPRO...

Reviews: