Microchip Technology ATtiny3217 Curiosity Nano Hardware User'S Manual Download Page 31

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

D

D

C

C

B

B

A

A

of

 4

A

Tt

in

y3

21

C

ur

io

si

ty

 N

an

o

27

/1

1/2019

A

Tt

in

y3

21

7_

C

uri

os

it

y_

N

an

o_

D

ebu

gg

er

.S

ch

D

oc

Pr

oj

ec

t T

itle

PC

B

 Asse

mbly 

Numbe

r:

PC

B

A

 Re

vis

ion:

File:

PCB 

Numb

er:

PC

Re

vi

si

on

:

D

es

ig

ne

w

ith

Dra

wn 

By

:

M.LOPER

Sh

ee

t T

itle

Deb

ug

ger

Engineer:

PB

 / 

TF

A08-3055

2

Size

A

3

A09-3333

2

Page:

Date:

Alt

ium

.co

m

GND

USBD_P

USBD_N

100n

C107

100n

C108

RX

TX

U

A

R

T

CD

C_

UA

RT

1k

R107

VCC_P3V3

SRST

ST

A

TUS_LED

SHIELD

VCC_P3V3

GND

TP100

Te

st

po

in

t Array

1

2

3

4

5

6

7

8

9

10

TCK

TDO

TMS

Vsup

TDI

GND

TRST

SRST

V

T

ref

GND

J102

GND

4.

7u

F

C100

DB

G0

DBG0

2

1

GRE

EN 

LED

SML-P12MTT86R

D100

VB

US

1

D-

2

D+

3

GN

D

5

SH

IE

LD

1

6

SH

IE

LD

2

7

ID

4

SH

IE

LD

3

8

SH

IE

LD

4

9

MU-MB0142AB2-269

J105

PA

D

33

PA

00

1

PA

01

2

PA

02

3

PA

03

4

G ND

10

VDD

ANA

9

PA

04

5

PA

05

6

PA

06

7

PA

07

8

PA08

11

PA09

12

PA10

13

PA11

14

PA14

15

PA15

16

PA

16

17

PA

17

18

PA

18

19

PA

19

20

PA

22

21

US

B_

SO

F/

PA

23

22

US

B_

DM

/PA

24

23

US

B_

DP/

PA

25

24

PA27

25

RES

ETN

26

PA28

27

G ND

28

VDD

COR

E

29

VDD

IN

30

SWD

CLK

/PA

30

31

SWD

IO

/PA

31

32

SAMD21E18A-MUT

U100

VO

UT

1

VO

UT

2

G ND

3

EN

4

VI

N

6

NC

5

EP

7

MIC5

528-3

.3YM

T

U101

VCC_VBUS

VCC_P3V3

GND

USBD_P

USBD_N

GND

1u

C106

VCC_MCU_CORE

VCC_P3V3

VCC_P3V3

2.

2u

F

C101

GND

74

L

VC1T45FW4-7

VC

CA

1

VC

CB

6

A

3

GN

D

2

DI

R

5

B

4

U103

VCC_P3V3

GND

74

L

VC1T45FW4-7

VC

CA

1

VC

CB

6

A

3

GN

D

2

DI

R

5

B

4

U104

VCC_P3V3

GND

74

L

VC1T45FW4-7

VC

CA

1

VC

CB

6

A

3

GN

D

2

DI

R

5

B

4

U105

VCC_P3V3

GND

GND

GND

GND

GND

74

L

VC1T45FW4-7

VC

CA

1

VC

CB

6

A

3

GN

D

2

DI

R

5

B

4

U107

VCC_P3V3

GND

DB

G2

DBG3_CTRL

S1_0_TX

S1_1_RX

S0_2_TX

DAC

VTG_ADC

R

E

SE

R

VED

S0_3_CLK

DBG0_CTRL

CDC_TX_CTRL

BOOT

D

E

B

U

GG

E

R

 P

O

W

E

R

/S

T

A

T

U

L

E

D

EN

1

BY

P

6

VO

UT

4

GN

D

2

VI

N

3

NC

/A

DJ

5

GN

D

7

MIC5353

U102

VCC_VBUS

100n

C102

GND

GND

47k

R101

27k

R104

GND

33k

R106

2.

2u

F

C103

GND

1k

R108

J100

VCC_LEVEL

V

C

C

_R

E

G

U

L

A

T

OR

74

L

VC1T45FW4-7

VC

CA

1

VC

CB

6

A

3

GN

D

2

DI

R

5

B

4

U106

VCC_P3V3

GND

DB

G1

CDC_RX

CDC_TX

DB

G3

DBG1_CTRL

D

E

B

U

G

G

E

R

 R

E

G

U

L

A

T

O

R

REG_ENABLE

REG_ENABLE

47k

R103

VCC_LEVEL

VCC_LEVEL

VCC_LEVEL

VCC_LEVEL

VCC_LEVEL

47k

R102

47k

R105

SWCLK

GND

47k

R100

GND

DBG2

S0_0_RX

DBG1_CTRL

DBG0_CTRL

D

B

G

O

P

E

N

 D

R

A

IN

TA

R

GE

T

 A

D

JU

ST

A

B

L

E

 R

E

G

U

L

A

T

O

R

SRST

D

E

B

U

GGE

R

 T

E

ST

PO

IN

T

s

DBG2_CTRL

VOFF

CDC_RX_CTRL

47k

R109

DBG1

CDC_TX_CTRL

CDC_RX_CTRL

SWCLK

REG_ADJUST

DBG2_GPIO

DBG3_CTRL

DBG2_CTRL

U

P

D

I

UPDI

GPIO

GPIO

RESET

Si

gn

al

D

B

G0

D

B

G1

D

B

G2

D

B

G3

IC

SP

In

te

rf

ac

e

D

A

T

CLK

GPIO

MCLR

DBG3

C

D

C

 T

X

C

D

C

 R

X

U

A

R

T

 R

X

U

A

R

T

 T

X

U

A

R

T

 R

X

U

A

R

T

 T

X

TA

R

G

E

T

TA

R

GE

T

1k

R

110

VBUS_ADC

DMN65D8LFB

1

2

3

Q101

V

C

C

-

-

ID

_S

YS

VO

FF

1k

R112

VCC_P3V3

VTG_ADC

DAC

MIC94163

VI

N

B2

VO

UT

A1

VI

N

A2

EN

C2

GN

D

C1

VO

UT

B1

U108

GND

ID_SYS

VTG_EN

VTG_EN

VBUS_ADC

SWDIO

ID_SYS

TP101

GND

SWDIO

VOFF

47k

R111

GND

ID

 P

IN

D

E

B

U

GG

E

R

 U

SB

 M

IC

R

O

-B

 C

O

N

N

E

C

T

O

R

VBUS

MC36213

F100

VCC_VBUS

VCC_EDGE

J101

V

C

C

_T

ARGET

47k

R

113

Pro

gram

mi

ng c

onn

ect

or

fo

fa

ct

or

pr

og

ra

mm

in

of

Debugger

MIC5528:

V

in: 2.5V 

to

 5

.5

V

V

ou

t:

 F

ix

ed

 3

.3

V

Ima

x: 

500

mA

Drop

out: 

260m

@

 5

00

m

A

Adju

sta

ble 

out

put 

and

 li

mita

tio

ns:

- T

he 

DEB

UGG

ER

 ca

n a

dj

ust

 th

out

put

 v

olt

age

 of

 the 

reg

ul

at

or 

be

twe

en 

1.

25V 

and

 5.

1V 

to 

the

 ta

rg

et

.

Th

vo

lt

ag

out

pu

t is 

li

mi

te

by

 the

 inp

ut

 (U

SB)

, w

hi

ch

 c

an 

va

ry

 be

tw

ee

4.4

0V

 to

 5

.2

5V

- T

he 

lev

el

 sh

ift

ers

 ha

ve 

a m

ini

ma

l vol

tag

le

vel

 of

 1

.65

V a

nd

 w

il

l li

mi

t th

mi

ni

mu

op

er

at

in

vo

lt

ag

al

lo

we

fo

th

e

ta

rge

t to

 s

ti

ll

 a

ll

ow

 c

om

mu

ni

ca

ti

on

.

- T

he

 MI

C94

163

 ha

s a

 m

ini

ma

l v

ol

ate

ge

 le

ve

l o

f 1

.70

an

d w

il

l l

im

it

 th

e m

in

im

um 

vol

ta

ge 

de

liv

ere

to 

the

 tar

ge

t.

Fir

mwa

re 

con

fig

ura

ti

on 

wil

l l

im

it

 the 

vol

ta

ge 

ran

ge 

to 

be

 wi

th

in

 the 

th

e t

ar

ge

t s

pec

if

ica

tio

n.

PTC

 Re

sett

abl

e fu

se:

Hol

d c

urr

ent

: 500

mA

T

rip

 c

urr

ent

: 1

000

mA

MIC5353:

V

in: 2.6V 

to

 6

V

V

out: 1.25V 

to

 5

.1

V

Ima

x: 

500

mA

Drop

out 

(typ

ical

): 5

0mV@

150m

A, 16

0mV 

@

 5

00

m

A

Acc

ura

cy:

 2%

 in

iti

al

The

rma

l shu

tdo

wn 

an

d c

urr

en

t l

im

it

Max

imu

m o

utpu

t v

olt

age

 is

 li

mit

ed 

by 

the

 in

put

 vol

tag

e a

nd 

the

 dr

opou

t v

olt

age

 in

 th

e r

egu

lat

or.

(V

m

ax

 = 

V

in

 -

 d

ro

po

ut

)

J100:

Cut

-st

rap

 us

ed 

for

 fu

ll

 se

par

ati

on 

of 

ta

rge

t po

we

fr

om

 the

 lev

el

 s

hi

ft

er

an

on

-b

oa

rd

 re

gu

la

to

rs.

- For c

urrent 

measur

ements 

using a

n exte

rnal po

wer supp

ly,

 thi

str

ap 

co

ul

be

 c

ut 

fo

m

or

e

ac

cu

ra

te

 m

ea

su

re

me

nt

s.

 L

ea

ka

ge

 b

ac

th

ro

ug

th

sw

it

ch

 is 

in

 the

 m

ic

ro

 a

mp

er

ra

ng

e.

J101:

Th

is

 is 

fo

ot

pr

in

t fo

1x

10

0m

il

 p

it

ch

 p

in

-h

ea

de

th

at

 c

an

 b

us

ed

 f

or

 e

as

cu

rr

en

t me

as

ur

em

en

t

to the target microcont

roller an

d the LED

 / Button

. To u

se 

th

foo

tp

ri

nt

:

Cu

t th

tra

ck

 b

et

we

en

 the

 h

ol

es

, an

mo

un

t a 

pi

n-

he

ad

er

R

113

 is 

re

qu

ir

ed

 to

 p

ul

l th

e

Q1

01

 g

ate

 to 

de

fin

ed

va

lue

 w

he

th

U1

00

 is 

no

t

powered

 ATtiny3217

Appendix

©

 2020 Microchip Technology Inc.

 User Guide

DS40002193A-page 31

Summary of Contents for ATtiny3217 Curiosity Nano

Page 1: ...features of the ATtiny3217 to explore how to integrate the device into a custom design The Curiosity Nano series of evaluation boards include an on board debugger No external tools are necessary to pr...

Page 2: ...3 1 3 4 Special Commands 11 3 1 4 Data Gateway Interface DGI 12 3 1 4 1 Debug GPIO 12 3 1 4 2 Timestamping 12 3 2 Curiosity Nano Standard Pinout 13 3 3 Power Supply 13 3 3 1 Target Regulator 14 3 3 2...

Page 3: ...tory 29 7 Appendix 30 7 1 Schematic 30 7 2 Assembly Drawing 32 7 3 Curiosity Nano Base for Click boards 33 7 4 Disconnecting the On board Debugger 34 7 5 Getting Started with IAR 35 The Microchip Webs...

Page 4: ...egulator controlled by the on board debugger 1 8 5 5V output voltage limited by USB input voltage 500 mA maximum output current limited by ambient temperature and output voltage 1 2 Kit Overview The M...

Page 5: ...ns on a PC Windows Mac OS Linux to develop applications for Microchip microcontrollers and digital signal controllers It is called an Integrated Development Environment IDE because it provides a singl...

Page 6: ...Solutions Microchip PIC and AVR Device Solutions contains complete applications for use with Microchip development boards ready to be adapted and extended ATtiny3217 Curiosity Nano website Kit inform...

Page 7: ...et application through terminal software A Data Gateway Interface DGI for code instrumentation with logic analyzer channels debug GPIO to visualize program flow The on board debugger controls a Power...

Page 8: ...et Send Terminal Receive Terminal Send Info As shown in Figure 3 1 the debugger s CDC TX pin is connected to a UART RX pin on the target for receiving characters from the host computer Similarly the d...

Page 9: ...packets that are already queued up for sending to the target will continue to be sent out but no further data will be accepted Remember Set up the terminal emulator to assert the DTR signal Without th...

Page 10: ...system that has several limitations partly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application The Curiosity Nano USB Device is USB Chapter 9...

Page 11: ...MPLAB X IDE which will automatically clear the CRC fuses after erasing 3 1 3 4 Special Commands Several utility commands are supported by copying text files to the mass storage disk The filename or e...

Page 12: ...application They are typically used to plot the occurrence of low frequency events on a time axis for example when certain application state transitions occur The figure below shows the monitoring of...

Page 13: ...ff input Disables the target regulator and target voltage when pulled low VTG Target voltage GND Common ground Figure 3 3 Curiosity Nano Standard Pinout USB DEBUGGER PS LED NC ID CDC RX CDC TX DBG1 DB...

Page 14: ...programming dialog Any change to the target voltage is persistent even through a power toggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program Info Voltage setti...

Page 15: ...detects the new situation and turns the target voltage regulator back on 3 3 2 External Supply ATtiny3217 Curiosity Nano can be powered by an external voltage instead of the on board target regulator...

Page 16: ...orst case current consumption of approximately 5 A Typical values may be as low as 100 nA 3 3 3 VBUS Output Pin ATtiny3217 Curiosity Nano has a VBUS output pin that can be used to power external compo...

Page 17: ...PS LED is Lit 2 This can be the issue if power jumper J100 and or J101 is cut and the target voltage regulator is set to a value within the specified voltage range for the target device To fix this so...

Page 18: ...they can be disconnected completely as described in 7 4 Disconnecting the On board Debugger 3 5 Programming External Microcontrollers The on board debugger on ATtiny3217 Curiosity Nano can be used to...

Page 19: ...s Info Atmel Studio allows any microcontroller and interface to be selected when Hide unsupported devices is set to False also microcontrollers and interfaces which are not supported by the on board d...

Page 20: ...ernal voltage as a reference for its level shifters Read more about the power supply in 3 3 Power Supply The on board debugger and level shifters actively drive data and clock signals DBG0 DBG1 and DB...

Page 21: ...3 6 Connecting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the ATtiny3217 Curiosity Nano to program debug the ATtiny3217 The on board d...

Page 22: ...Nano 2 3 4 5 6 7 8 1 VDD Ground DATA 2 VDD 3 Ground 4 PGD 5 Unused 6 Unused 7 Unused 8 Unused 1 Unused MPLAB PICkit 4 USB DEBUGGER PS LED NC ID CDC RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURI...

Page 23: ...D CDC RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURIOSITY NANO CAUTION To avoid contention between the external debugger and the on board debugger do not start any programming debug operation wi...

Page 24: ...PA5 ADC0 AIN5 PTC XY1 TCA0 WO5 PA6 PA6 ADC0 AIN6 PTC XY2 PA7 PA7 ADC0 AIN7 PTC XY3 PB5 PB5 ADC0 AIN8 PTC XY12 GND GND PB6 PB6 PB7 PB7 SW0 DEBUGGER ATtiny3217 Analog Debug I2C SPI UART Peripheral Port...

Page 25: ...abled on pin PB7 Table 4 2 Mechanical Switch ATtiny3217 Pin Description Shared Functionality PB7 User switch SW0 Edge connector On board debugger 4 2 3 Crystal The ATtiny3217 Curiosity Nano Board has...

Page 26: ...d debugger for programming and debugging MPLAB Data Visualizer can be used as a front end for the CDC and debug GPIO 4 2 4 1 On Board Debugger Connections The table below shows the connections between...

Page 27: ...ATtiny3217 Pin Debugger Pin Function Shared Functionality PA0 DBG3 RESET J202 not connected by default Edge connector ATtiny3217 Hardware User Guide 2020 Microchip Technology Inc User Guide DS4000219...

Page 28: ...six digits of the serial number which is listed under kit information contain the product identifier and revision Tip The Kit Window can be opened in MPLAB X IDE through the menu bar Window Kit Windo...

Page 29: ...6 Document Revision History Doc rev Date Comment A 03 2020 Initial document release ATtiny3217 Document Revision History 2020 Microchip Technology Inc User Guide DS40002193A page 29...

Page 30: ...29 PWM 3 24 ADC 2 23 ADC 1 22 ADC 0 21 GND 20 3 19 2 18 ADC 7 28 ADC 6 27 ADC 5 26 PWM 4 25 DEBUGGER TARGET ID 2 VOFF 33 RESERVED 1 VBUS 34 CNANO34 pin edge connector J200 PB2_USART0_TX PB3_USART0_RX...

Page 31: ...NTs DBG2_CTRL VOFF CDC_RX_CTRL 47k R109 DBG1 CDC_TX_CTRL CDC_RX_CTRL SWCLK REG_ADJUST DBG2_GPIO DBG3_CTRL DBG2_CTRL UPDI UPDI GPIO GPIO RESET Signal DBG0 DBG1 DBG2 DBG3 ICSP Interface DAT CLK GPIO MCL...

Page 32: ...0 5 P A J 1 0 2 0 4 P A J 1 0 2 0 3 P A J 1 0 2 0 2 P A J 1 0 2 0 1 C O J 1 0 2 P A J 1 0 5 0 1 1 P A J 1 0 5 0 1 0P A J 1 0 5 0 8 P A J 1 0 5 0 9 P A J 1 0 5 0 7 P A J 1 0 5 0 6 P A J 1 0 5 0 1 P A J...

Page 33: ...CA0 WO1 PA5 PA5 ADC0 AIN5 PTC XY1 TCA0 WO5 PA6 PA6 ADC0 AIN6 PTC XY2 PA7 PA7 ADC0 AIN7 PTC XY3 PB5 PB5 ADC0 AIN8 PTC XY12 GND GND PB6 PB6 PB7 PB7 SW0 DEBUGGER ATtiny3217 Analog Debug I2C SPI UART Peri...

Page 34: ...supply strap will disconnect the on board power supply Tip Any connection that is cut can be reconnected using solder alternatively a 0 0402 resistor can be mounted Tip When the debugger is disconnec...

Page 35: ...g 1 Make sure you have opened the project you want to configure Open the OPTIONS dialog for the project 2 In the category General Options select the Target tab Select the device for the project or if...

Page 36: ...Figure 7 7 Select Target Device Figure 7 8 Select Debugger ATtiny3217 Appendix 2020 Microchip Technology Inc User Guide DS40002193A page 36...

Page 37: ...Figure 7 9 Configure Interface ATtiny3217 Appendix 2020 Microchip Technology Inc User Guide DS40002193A page 37...

Page 38: ...is available through the website at http www microchip com support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices Microchip pr...

Page 39: ...lus 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 A...

Page 40: ...7252 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 7...

Reviews: