background image

4.2 

Peripherals

4.2.1 

LED

One yellow LED is available on the SAM D21 Curiosity Nano evaluation kit, which can be controlled either with a
GPIO or PWM. The LED can be activated by driving the connected I/O line to the GND.

Table 4-1. LED Connection

SAMD21G17D

Function

Shared Functionality

PB10

Yellow LED0

None

4.2.2 

Mechanical Switch

The SAM D21 Curiosity Nano has one mechanical switch, a generic user configurable switch. When this switch is
pressed, it will drive the I/O line to ground (GND).

Note: 

 No pull-up resistor is connected to the generic user switch. Ensure that the internal pull-up is enabled in the

SAMD21G17D to use the switch.

Table 4-2. Mechanical Switch

SAMD21G17D

Function

Shared Functionality

PB11

User switch SW0

DBG2 and Edge connector

4.2.3 

Crystal

The SAM D21 Curiosity Nano board has the option for a 32.768 kHz crystal, and by default this crystal is not
connected to the SAMD21G17D, as GPIOs are routed out to the edge connector. To use the crystal, some hardware
modifications are required. The two I/O lines routed to the edge connector must be disconnected to reduce the
chance of contention to the crystal, and to remove excessive capacitance on the lines.

Table 4-3. Crystal Connections

SAMD21G17D pin

Function

Shared Functionality

PA00

XIN32

Edge connector

PA01

XOUT32

Edge connector

4.3 

On-Board Nano Debugger Implementation

The SAM D21 Curiosity Nano features an On-Board Nano Debugger that can be used to program and debug the
SAMD21G17D using a Serial wire debug (SWD). The On-Board Nano Debugger also includes a Virtual Com port
interface over UART and DGI GPIO. MPLAB X IDE can be used as a front-end for the On-Board Nano Debugger for
programming and debugging. Data Visualizer can be used as a front-end for the CDC and DGI GPIO.

4.3.1 

On-Board Nano Debugger Connections

The following table provides the connection details between the target and the debugger section. All connections
between the target and the debugger are tri-stated as long as the debugger is not actively using the interface,
therefore little contamination of the signals and the pins can be configured to the application requirements. For
additional information on how to use the capabilities of the On-Board Nano Debugger, see 

Curiosity Nano

.

Table 4-4. Connection Details between the Target and Debugger Section

SAMD21G17D pin

Debugger pin

Function

Shared Functionality

PB22

CDC TX

UART TX (SAMD21G17D RX line)

Edge Connector

PA22

CDC RX

UART RX (SAMD21G17D TX line

Edge Connector

 SAM D21

Hardware

©

 2020 Microchip Technology Inc.

 User Guide

DS70005409C-page 14

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.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Summary of Contents for DM320119

Page 1: ...lopment Environment IDE The evaluation kit provides an easy access to the features of the SAMD21G17D to integrate the device into a custom design The Curiosity Nano series of evaluation kits include a...

Page 2: ...4 2 Peripherals 14 4 3 On Board Nano Debugger Implementation 14 5 Hardware Revision History 16 5 1 Identifying Product ID and Revision 16 6 Schematics 17 7 Document Revision History 20 The Microchip W...

Page 3: ...Nano Debugger Board identification in MPLAB X IDE One green power status LED Programing and debugging Virtual COM port CDC One logic analyzer DGI GPIO USB powered Adjustable target voltage MIC5353 LD...

Page 4: ...indows Vista Windows 7 Windows 8 and Windows 10 The drivers for the kit are included with MPLAB X IDE After the Curiosity Nano board is powered the green status LED will be lit and MPLAB X IDE will au...

Page 5: ...a power fault is detected Sleep Off LED is OFF The On Board Nano Debugger is either in Sleep mode or Power Down mode This will occur only if the kit is externally powered 3 1 1 Virtual COM Port A gen...

Page 6: ...64 byte USB frames Each frame will be queued up for sending to the CDC TX pin Sending a small amount of data per frame can be inefficient particularly at low baud rates because the debugger buffers fr...

Page 7: ...an adjustable regulator for the target The voltage from the USB connector can vary between 4 4V 5 25V according to the USB specification and will limit the maximum voltage to the target The following...

Page 8: ...e shows the safe operation area for the regulator with an input voltage of 5 1V and an ambient temperature of 23 C Figure 3 3 Target Regulator Safe Operation Area 3 3 2 External Supply The SAM D21 Cur...

Page 9: ...disconnected To disconnect the target regulator cut the VTG strap Notes 1 Cutting the connections to the debugger will disable programming debugging data streaming and the target power supply The sign...

Page 10: ...lternatively an external power supply can be used as described in External Supply Tip The on board level shifters will draw a small amount of current even when they are not in use Disconnect the On Bo...

Page 11: ...C3 WO4 SERCOM0 PAD2 Y4 PA05 PA05 ADC AIN 5 TC0 WO1 SERCOM0 PAD1 TCC3 WO3 Y3 PA04 PA04 ADC AIN 4 TC0 WO0 SERCOM0 PAD0 TCC3 WO2 Y2 PB09 PB09 ADC AIN 3 SERCOM4 PAD1 TC4 WO0 TCC3 WO7 Y15 PB08 PB08 ADC AIN...

Page 12: ...TCC3 WO5 SERCOM0 PAD3 Y5 PA06 PA06 ADC AIN 6 TCC3 WO4 SERCOM0 PAD2 Y4 PA05 PA05 ADC AIN 5 TC0 WO1 SERCOM0 PAD1 TCC3 WO3 Y3 PA04 PA04 ADC AIN 4 TC0 WO0 SERCOM0 PAD0 TCC3 WO2 Y2 PB09 PB09 ADC AIN 3 SER...

Page 13: ...3 3V 5V GND GND PB08 PA05 PB23 PA23 PA28 PA09 PA17 PA08 PA19 PA13 PA16 PA12 3 3V 5V GND GND ID GND PA03 PB08 PB03 PB23 PA04 PA05 PB02 PA28 PA12 PA13 PA21 PA20 PA27 PA16 PA19 PA17 GND 3 3V SAM D21 Har...

Page 14: ...Curiosity Nano features an On Board Nano Debugger that can be used to program and debug the SAMD21G17D using a Serial wire debug SWD The On Board Nano Debugger also includes a Virtual Com port interf...

Page 15: ...d Edge Connector SAM D21 Hardware 2020 Microchip Technology Inc User Guide DS70005409C page 15 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com D...

Page 16: ...n be found on the sticker on the bottom of the PCB Most kits will print the identifier and revision in plain text as A09 nnnn rr where nnnn is the identifier and rr is the revision Boards with limited...

Page 17: ...matics 2020 Microchip Technology Inc User Guide DS70005409C page 17 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Do...

Page 18: ...G1 5 DBG2 6 0 TX 7 1 RX 8 2 SDA 9 3 SCL 10 4 MOSI 11 5 MISO 12 6 SCK 13 7 SS 14 GND 15 0 TX 16 1 RX 17 2 18 3 19 0 20 GND 24 DBG3 46 DBG0 45 GND 44 VCC 43 PWM 3 38 ADC 2 37 ADC 1 36 ADC 0 35 GND 34 4...

Page 19: ...SHIELD1 6 SHIELD2 7 ID 4 SHIELD3 8 SHIELD4 9 MU MB0142AB2 269 J105 VOUT 1 VOUT 2 GND 3 EN 4 VIN 6 NC 5 EP 7 MIC5528 3 3YMT U101 VCC_VBUS VCC_P3V3 GND GND 4 7uF C100 VOUT 1 VOUT 2 GN G D 3 EN 4 VIN 6 N...

Page 20: ...Document Revision History 2020 Microchip Technology Inc User Guide DS70005409C page 20 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloade...

Page 21: ...t Microchip believes that its family of products is one of the most secure families of its kind on the market today when used in the intended manner and under normal conditions There are dishonest and...

Page 22: ...BlueSky BodyCom CodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEM dsPICDEM net Dynamic Average Matching DAM ECAN EtherGREEN In Circuit Serial Programming ICSP...

Page 23: ...Kuala Lumpur Tel 60 3 7651 7906 Malaysia Penang Tel 60 4 227 8870 Philippines Manila Tel 63 2 634 9065 Singapore Tel 65 6334 8870 Taiwan Hsin Chu Tel 886 3 577 8366 Taiwan Kaohsiung Tel 886 7 213 783...

Reviews: