background image

7. 

Appendix

7.1 

Schematic

Figure 7-1. ATmega4809 Curiosity Nano Schematic

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

T

m

ega

48

09 

Cu

riosi

ty

 Na

n

o

17

.0

8.

20

20

A

T

m

eg

a4

80

9_

C

ur

io

si

ty

_N

an

o_

Ta

rg

et

_M

C

U

.S

ch

D

oc

Pr

oj

ec

t T

itle

PC

B

 A

ss

em

bly

 N

umber:

PC

B

A

 R

evision:

File:

PC

Nu

mber:

PC

Re

vision:

Desig

n

ed w

ith

Dra

wn 

By

:

Mi

cr

oc

hip

 No

rwa

y

Sh

ee

t T

itle

Ta

rg

et

 M

C

U

E

ng

ineer:

H

N/

T

F

A

08-2838

7

Size

A

3

A

09-3094

8

Pa

ge:

Date:

A

lti

um

.c

om

A

T

m

eg

a4

80

9-

AF

R

P

A

5

1

P

A

6

2

P

A

7

3

P

B

0

4

P

B

1

5

P

B

2

6

P

B

3

7

P

B

4

8

P

B

5

9

P

C

0

1

0

P

C

1

1

1

P

C

2

1

2

PC

3

13

VD

D

14

GN

D

15

PC

4

16

PC

5

17

PC

6

18

PC

7

19

PD

0

20

PD

1

21

PD

2

22

PD

3

23

PD

4

24

P

D

5

2

5

P

D

6

2

6

P

D

7

2

7

A

V

D

D

2

8

G

N

D

2

9

P

E

0

3

0

P

E

1

3

1

P

E

2

3

2

P

E

3

3

3

(

T

O

S

C

1

)

P

F

0

3

4

(

T

O

S

C

2

)

P

F

1

3

5

P

F

2

3

6

PF

3

37

PF

4

38

PF

5

39

PF

6

40

UP

DI

41

VD

D

42

GN

D

43

(E

XT

CL

K)

PA

0

44

PA

1

45

PA

2

46

PA

3

47

PA

4

48

U200

GND

V

C

C

_T

A

RGET

100n

C201

10p

C203

N

.M

13pF

C204

N

.M

GND

PA

5_

SP

I_

M

IS

O

PA

6_

SP

I_

SCK

PA

7_

SP

I_

SS

PB

0_

U

A

R

T3_TX

PB

1_

U

A

R

T3_RX

PB2

PB3

PB4

PB5

PC

0_

U

A

R

T1_TX

PC

1_

U

A

R

T1_RX

PC2

PC3

PC4

PC5

PC6

PC7

PD0_AIN0

PD1_AIN1

PD2_AIN2

PD3_TCA0WO3

PD4_TCA0WO4

PA3_I

2C_SCL

PA1_UAR

T0_RX

UPDI

PF5

PF3

PF2

PF

1_

T

O

SC2

PF

0_

T

O

SC1

PE3

PE2

PE1

PE0

PD

5_

A

IN5

PD

6_

A

IN6

PD

7_

A

IN7

GND

V

C

C

_T

A

RGET

100n

C202

GND

V

C

C

_T

A

RGET

100n

C200

PF1_TOS

C2

PF0_TOS

C1

PA2_I

2C_SDA

PA0_UAR

T0_TX

PF4

PA4_S

PI_MOS

I

GND

PA

7_

SP

I_

SS

PA

6_

SP

I_

SCK

PA

5_

SP

I_

M

IS

O

PA

4_

SP

I_

M

O

SI

PA

3_

I2

C

_S

C

L

PA

2_

I2

C

_S

D

A

PA

1_

U

A

R

T0_RX

PA

0_

U

A

R

T0_TX

PB

0_

U

A

R

T3_TX

PB

1_

U

A

R

T3_RX

PB2

PB3

PB4

PB5

PD

7_

A

IN7

PD

6_

A

IN6

PD

5_

A

IN5

PD

4_

T

CA

0WO4

PD

3_

T

CA

0WO3

PD

2_

A

IN2

PD

1_

A

IN1

PD

0_

A

IN0

PF5

PF4

PF3

PF2

32

kH

C

ry

st

al

PB

0_

U

A

R

T3_TX

PB

1_

U

A

R

T3_RX

1k

R203

U

SE

R

 L

E

D

V

C

C

_T

A

RGET

PF6

PF6

PF5

GND

U

SE

R

 BU

T

T

O

N

PF

1_

T

O

SC2

PF

0_

T

O

SC1

PE3

PE2

PE1

PE0

PC

0_

U

A

R

T1_TX

PC

1_

U

A

R

T1_RX

PC2

PC3

PC4

PC5

PC6

PC7

1k

R202

YELL

OWL

ED

SML

-D12Y1WT86

2

1

D200

TS604VM1-035CR

1

3

4

2

SW200

GND

GND

GND

GND

GND

U

PD

I

PF6

J207

J208

J209

PF3

PF2

B

L

M1

8P

G

47

1S

N1

L

200

A

Tmega4

809

2.

2u

F

C205

GND

D

B

G

0

C

D

C

_

U

A

R

T

TX

RX

U

A

R

T

CDC_TX

CDC_RX

DBG2

D

B

G

1

D

B

G

3

D

B

G

2

DE

BUG

G

E

R

 C

O

NNE

C

T

IO

NS

DBG1

DBG3

DBG0

V

O

F

F

I

D

_

S

Y

S

ID_S

YS

VOFF

T

A

R

G

E

T

 B

UL

K

100k 
R200

V

C

C

_T

A

RGET

R

E

SE

T

 P

u

ll

V

B

U

S

C

D

C

 R

X

3

CDC

 T

X

4

D

B

G

1

5

D

B

G

2

6

T

X

7

R

X

8

SD

A

9

3 S

CL

1

0

4 M

OS

I

1

1

5 M

IS

O

1

2

S

C

K

1

3

S

S

1

4

GN

D

1

5

(T

X

)

1

6

1 (RX

)

1

7

2

1

8

3

1

9

0

2

0

GN

D

2

4

D

B

G

3

5

4

D

B

G

0

5

3

GN

D

5

2

V

C

C

5

1

P

W

M

 3

4

6

A

D

C

 2

4

5

A

D

C

 1

4

4

A

D

C

 0

4

3

GN

D

4

2

4

3

8

4

3

4

GN

D

3

3

A

D

C

 7

5

0

A

D

C

 6

4

9

A

D

C

 5

4

8

P

W

M

 4

4

7

DEBUGGER

TA

RGET

ID

2

VOFF

5

5

1

2

1

2

2

2

3

2

3

0

2

5

1

2

6

2

2

7

3

2

8

4

2

9

5

3

0

6

3

1

7

3

2

5

3

5

6

3

6

7

3

7

5

3

9

6

4

0

7

4

1

R

E

SE

R

V

E

D

1

V

B

U

S

5

6

C

N

A

NO56

-pin

 edge con

nec

tor

J200

J201

J203

J205

J206

J202

J204

NC

J211

J210

XOUT

XIN

VCC_EDGE

VCC_EDGE

A

T

m

ega

4809

U

PD

I

G

PI

O1

G

PI

O0

R

E

SE

T

D

B

G

0

D

B

G

1

D

B

G

2

D

B

G

3

De

bu

gg

er

C

DC

 T

X

C

DC

 R

X

U

A

R

T

RX

U

A

R

T

T

X

V

T

G

1.

8V 

- 5

.5V

P

F

3

P

F

2

P

F

6

UP

DI

P

B0

P

B1

N

am

e

P

in

32

.76

8k

Hz

XC200

N

.M

Cryst

al d

atash

eet:

Ccry

stal

 = 7

pF

m

ax

 E

SR

 = 

70k

O

hm

A

cc

ura

cy

±2

0p

pm

A

T

m

eg

a480

9 da

tash

eet

:

Cx

in

 =

 5

.5

pF

Cx

ou

t = 5

.5

pF

C

l

1/

(1

/5

.5

pF

)+

 (

1/

5.

5p

F)

 )

2.7

5p

F

M

ax

im

um

 L

oa

12

.5

pF

M

ax

im

um

 E

SR 

80k

O

hm

E

st

im

at

ed

 C

pc

0.

5p

F

E

st

im

at

ed 

lo

ad

(C

cr

ys

ta

l-

 C

pa

ra

 -

 C

pc

b)

C

 =

 2

 (

7pF

 - 

2.7

5pF

 - 

0.

5p

F)

7.5

pF

Selected in desi

gn after verifica

tion

C= 10/13pF

NOTE on UAR

T/CDC:

RX

/T

on

 the

 h

ea

de

de

no

te

th

e

inpu

t/out

put 

direc

tion

 of t

he si

gn

al

re

sp

ec

tive to it

's

 s

ou

rce

.

CDC TX is output from t

he

 D

EB

UG

GE

R.

CD

RX

 is 

in

pu

t to

 the

 D

E

BU

GG

ER

.

TX is

 outpu

t from

 th

T

A

R

G

E

T

 d

ev

ic

e.

RX

 is 

in

put

 to

 th

e T

A

R

G

E

T

 d

ev

ic

e.

NOTE on I2C:

No

 p

ul

l-

up

on

 b

oa

rd

. Pu

ll

-u

ps

 s

ho

ul

be

m

ount

ed cl

ose to

 slave d

ev

ic

e(

s)

.

NOT

E o

n C

rys

tal

 ca

lcu

lat

io

ns:

Th

ca

lc

ul

at

io

ns

 a

re

 b

as

ed

 o

cr

ys

ta

l

use

d o

n a

n e

arl

ier

 re

vi

si

on

 o

th

is

 b

oa

rd

.

 ATmega4809 Curiosity Nano

Appendix

©

 2020 Microchip Technology Inc.

 User Guide

DS50002804B-page 31

Summary of Contents for ATmega4809 Curiosity Nano

Page 1: ...osity Nano series of evaluation boards include an on board debugger No external tools are necessary to program and debug the ATmega4809 MPLAB X IDE and Atmel Studio Software to discover configure deve...

Page 2: ...als 26 4 3 On Board Debugger Implementation 28 5 Hardware Revision History and Known Issues 29 5 1 Identifying Product ID and Revision 29 5 2 Revision 8 29 5 3 Revision 7 29 5 4 Revision 5 29 6 Docume...

Page 3: ...Quality Management System 41 Worldwide Sales and Service 42 ATmega4809 Curiosity Nano 2020 Microchip Technology Inc User Guide DS50002804B page 3...

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

Page 5: ...mel Studio 7 will auto detect which boards are connected The Kit Window in MPLAB X IDE and Atmel Studio 7 will present relevant information like data sheets and board documentation The ATmega4809 devi...

Page 6: ...sources such as serial ports and on board debugger s Data Gateway Interface as found on Curiosity Nano and Xplained Pro boards Studio Data Visualizer Studio Data Visualizer is a program used for proce...

Page 7: ...ation 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 and Statu...

Page 8: ...rminal 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 debugger s...

Page 9: ...he following behavior Debugger UART receiver is disabled so no further data will be transferred to the host computer Debugger UART transmitter will continue to send data that is queued for sending but...

Page 10: ...th explicit baud rates CMD SEND_9600 CMD SEND_115200 CMD SEND_460800 USB Level Framing Considerations Sending data from the host to the CDC can be done byte wise or in blocks which will be chunked int...

Page 11: ...get will still contain the application that has been previously programmed To erase the target device copy a text file starting with CMD ERASE onto the disk By default the CURIOSITY drive contains sev...

Page 12: ...wer CMD 5V0 Sets the target voltage to 5 0V If external power is provided this has no effect Debugger firmware v1 16 or newer Info The commands listed here are triggered by the content being sent to t...

Page 13: ...tamp counter implemented in the Curiosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond 3 2 Curiosity Nano Standard Pinout The 12 edge connections...

Page 14: ...cording to the USB specification and will limit the maximum voltage to the target The figure below shows the entire power supply system on ATmega4809 Curiosity Nano Figure 3 4 Power Supply Block Diagr...

Page 15: ...and text file to the board This supports a set of common target voltages See section 3 1 3 3 Special Commands for further details The MIC5353 supports a maximum current load of 500 mA It is an LDO reg...

Page 16: ...external voltage is applied without pulling the VOFF pin low and an external supply pulls the voltage lower than the monitoring window s lower limit target voltage setting 100 mV the on board debugger...

Page 17: ...t From Setting This can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the target voltage differs more than 100 mV over under the voltage setting it will...

Page 18: ...ption on the VBUS pin to fix this issue 3 4 Low Power Measurement Power to the ATmega4809 is connected from the on board power supply and VTG pin through a 100 mil pin header marked with POWER in silk...

Page 19: ...ntrollers on external hardware 3 5 1 Supported Devices All external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on board debugger with Atmel Studio External SA...

Page 20: ...e on board debugger 3 5 3 Hardware Modifications The on board debugger is connected to the ATmega4809 by default These connections must be removed before any external microcontroller can be programmed...

Page 21: ...wer Supply The on board debugger and level shifters actively drive data and clock signals DBG0 DBG1 and DBG2 used for programming and debugging and in most cases the external resistor on these signals...

Page 22: ...ecting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the ATmega4809 Curiosity Nano to program debug the ATmega4809 The on board debugger...

Page 23: ...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 CURIOSITY NA...

Page 24: ...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 with th...

Page 25: ...PB0 USART3 TX CDC RX PB1 PB1 USART3 RX CDC TX PB2 PB2 PB3 PB3 GND GND PE0 PE0 PE1 PE1 PE2 PE2 PE3 PE3 VBUS VBUS VOFF VOFF DBG3 DBG3 PF6 SW0 DBG0 DBG0 UPDI GND GND VTG VTG PD7 PD7 AIN7 PD6 PD6 AIN6 PD...

Page 26: ...them in Tip For applications where the pin headers will be used permanently it is still recommended to solder them in place Important Once the pin headers are in place they are hard to remove by hand...

Page 27: ...O lines routed to the edge connector are disconnected by default to both reduce the chance of contention to the crystal as well as removing excessive capacitance on the lines when using the crystal To...

Page 28: ...ions 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 Hence since there are li...

Page 29: ...he bottom side of the PCB Most boards will have the identifier and revision printed in plain text as A09 nnnn rr where nnnn is the identifier and rr is the revision Boards with limited space have a st...

Page 30: ...sion History Doc rev Date Comment B 10 2020 New hardware revisions A 10 2018 Initial document release ATmega4809 Curiosity Nano Document Revision History 2020 Microchip Technology Inc User Guide DS500...

Page 31: ...7 1k R202 YELLOW LED SML D12Y1WT86 2 1 D200 TS604VM1 035CR 1 3 4 2 SW200 GND GND GND GND GND UPDI PF6 J207 J208 J209 PF3 PF2 BLM18PG471SN1 L200 ATmega4809 2 2uF C205 GND DBG0 CDC_UART TX RX UART CDC_T...

Page 32: ...DRAIN TARGET ADJUSTABLE REGULATOR SRST DEBUGGER TESTPOINT 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 Sig...

Page 33: ...2 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...

Page 34: ...PD1 PD1 AIN1 PD0 PD0 AIN0 GND GND PC7 PC7 PC6 PC6 PC5 PC5 PC4 PC4 PF1 PF1 TOSC2 PF0 PF0 TOSC1 PB5 PB5 PB4 PB4 GND GND PF5 PF5 LED0 PF4 PF4 PF3 PF3 PF2 PF2 DEBUGGER ATmega4809 Analog Debug I2C SPI UART...

Page 35: ...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 disconnected an e...

Page 36: ...e 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 not lis...

Page 37: ...Figure 7 7 Select Target Device Figure 7 8 Select Debugger ATmega4809 Curiosity Nano Appendix 2020 Microchip Technology Inc User Guide DS50002804B page 37...

Page 38: ...Figure 7 9 Configure Interface ATmega4809 Curiosity Nano Appendix 2020 Microchip Technology Inc User Guide DS50002804B page 38...

Page 39: ...A listing of sales offices and locations is included in this document Technical support is available through the website at www microchip com support Microchip Devices Code Protection Feature Note the...

Page 40: ...PLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip Designer QTouch SAM BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer Tachyon TempTrackr TimeSource tinyA...

Page 41: ...Management System For information regarding Microchip s Quality Management Systems please visit www microchip com quality ATmega4809 Curiosity Nano 2020 Microchip Technology Inc User Guide DS50002804B...

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