Microchip Technology DM320119 User Manual Download Page 6

• Stop bits: One or two bits are supported.

3.1.1.3 

Signaling

During USB enumeration, the host OS will start both communication and data pipes of the CDC interface. At this
point, it is possible to set and read baud rate and other UART parameters of the CDC, but data sending and receiving
will not be enabled. When a terminal connects on the host, it must assert the DTR signal. This is a virtual control
signal that is implemented on the USB interface but not in hardware on the debugger. Asserting DTR from the host
will indicate to the debugger that a CDC session is active, and it will enable its level shifters (if available), and start
the CDC data send and receive mechanisms. Deasserting the DTR signal will not disable the level shifters, but it will
disable the receiver, hence no further data will be streamed to the host. Data packets that are already queued up for
sending to the target will continue to be sent out, but no further data will be accepted.

3.1.1.4 

Advanced Use

When the CDC Override mode is in normal operation, the On-Board Nano Debugger is a true UART bridge between
the host and the device. However, under certain use cases, the debugger can override the Basic Operating mode
and use the CDC pins for other purposes. Dropping a text file (with extension 

.txt

) into the debugger’s mass

storage drive can be used to send characters out of the CDC TX pin. The text file must start with the characters:

CMD:SEND_UART=

. The maximum message length is 50 characters, and all remaining data in the frame is ignored.

The default baud rate used in this mode is 9600 bps, but if the CDC is already active or has been configured, the
recently used baud rate still applies.

USB-Level Framing Considerations

Sending data from the host to the CDC can be done byte-wise or in blocks, which will be chunked into 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 frames, not bytes. A maximum of 4 x 64-
byte frames can be active at any time, the debugger will throttle the incoming frames accordingly. Sending full 64-
byte frames containing data is the most efficient. When receiving data from the target, the debugger will queue up
incoming bytes into 64-byte frames, which are sent to the USB queue for transmission to the host when they are full.
Incomplete frames are also pushed to the USB queue at approximately 100 ms intervals, triggered by USB start-of-
frame tokens. Up to 8 x 64-byte frames can be active at any time. If the host or software running on it, fails to receive
data fast enough, an overrun will occur. When this happens the last-filled buffer frame will be recycled instead of
being sent to the USB queue, and a full frame of data will be lost. To prevent this occurrence, the user must ensure
that the CDC data pipe is being read continuously, or the incoming data rate must be reduced.

Note: 

 Mass storage disk is not supported during this release.

3.1.2 

Mass Storage Disk

Not supported at this time.

3.2 

Curiosity Nano Standard Pinout

The twelve edge connections closest to the USB connector on Curiosity Nano kits have a standardized pinout. The
program and debug pins have different functions depending on the target programming interface as shown in the
following table and figure.

Table 3-2. Curiosity Nano Standard Pinout

Debugger Signal

ICSP Target

Description

NC

-

No connect.

ID

-

ID line for extensions.

CDC RX

UART TX

USB CDC RX line.

CDC TX

UART RX

USB CDC TX line.

DBG1

SWCLK

Debug clock line

DBG2

GPIO

DGI GPIO

 SAM D21

Curiosity Nano

©

 2020 Microchip Technology Inc.

 User Guide

DS70005409C-page 6

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: