background image

Character format:

 Only 8-bit characters are supported

Parity:

 Can be odd, even, or none

Hardware flow control:

 Not supported

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 back the 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 the hardware on the debugger. Asserting a 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. Disserting 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

In CDC Override mode in normal operation, the on-board 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 baud rate last used 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 divided 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, since the debugger buffers per frame, not byte. 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 the 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.

3.2 

Curiosity Nano Standard Pinout

The twelve edge connections closest to the USB connector on the Curiosity Nano kits have a standardized pinout.
The program/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

 EV76S68A

Curiosity Nano

©

 2020 Microchip Technology Inc.

 User Guide

DS70005432A-page 6

Summary of Contents for EV76S68A

Page 1: ...ment Environment IDE The evaluation kit provides easy access to the features of the SAME51J20A to integrate the device into a custom design The Curiosity Nano series of evaluation kits includes an On...

Page 2: ...t 10 4 Hardware 11 4 1 Connectors 11 4 2 Peripherals 12 4 3 On Board Debugger Implementation 13 5 Hardware Revision History 15 5 1 Identifying Product ID and Revision 15 6 Schematics 16 7 Revision His...

Page 3: ...ser switch On board debugger Board identification in MPLAB X IDE One Green power status LED Programming and debugging Virtual COM port CDC One logic analyzer DGI GPIO USB powered Adjustable target vol...

Page 4: ...pports both 32 bit and 64 bit versions of Microsoft Windows XP Windows Vista Windows 7 Windows 8 and Windows 10 The drivers for the kit are included with MPLAB X IDE Once the Curiosity Nano board is p...

Page 5: ...ED is lit constant Programming Activity indicator the LED flashes slowly during programming or debugging Fault The LED flashes fast if a power fault is detected Sleep Off LED is Off The on board debug...

Page 6: ...s been configured the baud rate last used 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 divided into 64 byte USB...

Page 7: ...o 5 25V according to the USB specification and will limit the maximum voltage to the target The following figure shows the entire power supply system on the SAME51J20A Curiosity Nano Figure 3 2 Power...

Page 8: ...age instead of the on board target regulator When the Voltage Off VOFF pin is shorted to ground GND the on board debugger firmware disables the target regulator and it is safe to apply an external vol...

Page 9: ...following figure Figure 3 5 Location of GPIO Straps and VTG Strap Tip 1 Cutting the connections to the debugger will disable programming debugging data streaming and the target power supply The signal...

Page 10: ...nector and an external power supply for easy measurement Alternatively an external power supply can be used as described in External Supply Important The on board level shifters will draw a small amou...

Page 11: ...5 PAD0 RX PB22 PB22 SOF_1kHz PB15 PB15 SERCOM4 PAD3 CAN1 RX X29 Y29 VBUS VBUS VOFF VOFF DBG3 DBG3 RESET DBG0 DBG0 SWDIO GND GND VTG VTG PA7 PA7 ADC0 AIN 7 TC1 WO0 X5 Y5 PA4 PA4 ADC0 AIN 4 TC0 WO0 X3 Y...

Page 12: ...22 PB5 PB5 ADC1 AIN 7 X23 Y23 PB6 PB6 ADC1 AIN 8 X24 Y24 PB7 PB7 ADC1 AIN 9 X25 Y25 PB1 PB1 ADC0 AIN 13 X31 Y31 PB0 PB0 ADC0 AIN 12 TC7 WO0 X30 Y30 PA27 PA27 X18 Y18 PA5 PA5 DAC1 GND GND PB23 PB23 TC7...

Page 13: ...ed as a front end for the CDC and DGI GPIO 4 3 1 On Board Debugger Connections The following table shows the connections between the target and the debugger section All connections between the target...

Page 14: ...in Port Functions 45 PA24 USB DM CAN0 TX TC5 WO 0 SERCOM3 SERCOM5 PAD 2 CCL IN 8 46 PA25 USB DP CAN0 RX TC5 WO 1 SERCOM3 SERCOM5 PAD 3 CCL OUT 2 EV76S68A Hardware 2020 Microchip Technology Inc User Gu...

Page 15: ...uter with MPLAB X IDE running an information window will pop up The first six digits of the serial number which is listed under kit details contains the product identifier and revision The same inform...

Page 16: ...DBG3 DBG2 VOFF ID_SYS S2 SAME51_Curiosity_Nano_Target_MCU_R3 SchDoc Debugger SAME51J20A S3 SAME51_Curiosity_Nano_Rev_History_R3 SchDoc A09 3357 Product PCBA A09 3360 Populated PCB w label A09 3358 ES...

Page 17: ...10_CON3_5 PB11_CON3_4 PB14_CON1_2 PB15_CON3_3 PB13_RxD S4P1 PA12_I2C SDA S2P0 PA13_I2C SCL S2P1 PB4_CON1_7 PB5_CON1_6 PB8_ADC2 PB9_ADC5 PA4_ADC6 PA5_CON2_4 PB6_CON1_5 PB7_CON1_4 PA3_CON3_6 PA6_CON1_3...

Page 18: ...TDI GND TRST SRST VTref GND J102 SWCLK DEBUGGER TESTPOINT DBG2_CTRL VOFF CDC_RX_CTRL 47k 47k 47k R109 DBG1 CDC_TX_CTRL CDC_RX_CTRL SWCLK REG_ADJUST DBG2_GPIO DBG3_CTRL DBG2_CTRL Signal DBG0 DBG1 DBG2...

Page 19: ...7 Revision History Rev A 08 2020 This is the initial released version of this document EV76S68A Revision History 2020 Microchip Technology Inc User Guide DS70005432A page 19...

Page 20: ...s available through the website at www microchip com support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices Microchip products...

Page 21: ...C Plus ProASIC Plus logo Quiet Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProvider Vite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the U S...

Page 22: ...China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7160 J...

Reviews: