background image

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

P

IC18F

16Q

40

 C

u

rio

si

ty

 N

an

o

2020-04-03

P

IC1

8F

16

Q

40

_Cu

ri

os

ity

_N

an

o_

D

eb

ug

ge

r.S

ch

D

oc

Pr

oj

ec

t T

itl

e

PC

B

 A

ss

em

bly

 N

umber:

PC

B

A

 R

ev

ision:

File

:

PC

Nu

mber:

PCB 

Revision:

Design

ed w

ith

Drawn 

By:

M

L

Sh

ee

t T

itle

Deb

ug

ger

E

ng

ineer:

PB

A

08-3084

2

Size

A

3

A

09-3373

2

Pa

ge:

Date

:

A

lti

um

.c

om

DE

BUG

G

E

R

 U

S

M

IC

R

O

-B C

O

N

NE

C

T

O

R

GND

U

SBD_P

U

SBD_N

100n

C107

100n

C108

1k

R107

VCC_P3V3

SR

ST

ST

A

T

U

S_

L

ED

SH

IE

L

D

V

B

U

S

VCC_P3V3

GND

TP100

Te

st

po

in

t A

rray

1

2

3

4

5

6

7

8

9

1

0

TCK

TDO

T

M

S

Vsup

T

D

I

GND

T

R

ST

SR

ST

V

T

ref

GND

J102

GND

4.

7u

F

C100

D

B

G

0

DBG0

2

1

GR

EEN

 LED

SM

L

-P12MTT86R

D100

V

B

U

S

1

D

-

2

D

+

3

G

N

D

5

S

H

I

E

L

D1

6

S

H

I

E

L

D2

7

I

D

4

S

H

I

E

L

D3

8

S

H

I

E

L

D4

9

MU

-M

B0

14

2A

B2-269

J105

P

A

D

3

3

P

A

0

0

1

P

A

0

1

2

P

A

0

2

3

P

A

0

3

4

GN

D

10

VD

DA

NA

9

P

A

0

4

5

P

A

0

5

6

P

A

0

6

7

P

A

0

7

8

PA

08

11

PA

09

12

PA

10

13

PA

11

14

PA

14

15

PA

15

16

P

A

1

6

1

7

P

A

1

7

1

8

P

A

1

8

1

9

P

A

1

9

2

0

P

A

2

2

2

1

U

S

B

_

S

OF

/

P

A

2

3

2

2

U

S

B

_

D

M/

P

A

2

4

2

3

U

S

B

_

D

P/

P

A

2

5

2

4

PA

27

25

RE

SE

TN

26

PA

28

27

GN

D

28

VD

DC

OR

E

29

VD

DI

N

30

SW

DC

LK

/P

A3

0

31

SW

DI

O/

PA

31

32

SA

MD

21

E1

8A

-MUT

U100

V

O

U

T

1

V

O

U

T

2

GN

D

3

E

N

4

V

I

N

6

N

C

5

EP

7

M

IC5528-3.

3YMT

U101

VCC_P3V3

GND

U

SBD_P

U

SBD_N

GND

1u

C106

VCC_MC

U_COR

E

VCC_P3V3

VCC_P3V3

2.

2u

F

C101

GND

74

L

VC1T45FW

4-7

V

C

C

A

1

V

C

C

B

6

A

3

G

N

D

2

D

I

R

5

B

4

U103

VCC_P3V3

GND

74

L

VC1T45FW

4-7

V

C

C

A

1

V

C

C

B

6

A

3

G

N

D

2

D

I

R

5

B

4

U104

VCC_P3V3

GND

74

L

VC1T45FW

4-7

V

C

C

A

1

V

C

C

B

6

A

3

G

N

D

2

D

I

R

5

B

4

U105

VCC_P3V3

GND

GND

GND

GND

VCC_E

DGE

GND

74

L

VC1T45FW

4-7

V

C

C

A

1

V

C

C

B

6

A

3

G

N

D

2

D

I

R

5

B

4

U107

VCC_P3V3

GND

D

B

G

2

DB

G

3_

CT

RL

S1_0_TX

S1_1_RX

S0_2_TX

D

A

C

V

T

G

_A

DC

R

E

SE

R

VED

S0

_3

_C

L

K

DBG0_CTRL

CD

C_

TX

_C

TR

L

BOOT

D

E

B

U

G

G

E

R

 P

O

W

E

R

/S

T

A

T

U

S

 L

E

D

E

N

1

B

Y

P

6

V

O

U

T

4

G

N

D

2

V

I

N

3

N

C

/

A

D

J

5

G

N

D

7

M

IC5353

U102

100n

C102

GND

GND

47k

R101

27k

R104

GND

33

k

R106

2.

2u

F

C103

GND

1k

R108

J100

V

C

C

_L

E

V

E

L

VC

C_

RE

GU

LA

T

OR

74

L

VC1T45FW

4-7

V

C

C

A

1

V

C

C

B

6

A

3

G

N

D

2

D

I

R

5

B

4

U106

VCC_P3V3

GND

D

B

G

1

CDC_R

X

CDC_T

X

D

B

G

3

DBG1_CTRL

DE

BUG

G

E

R

 R

E

G

U

L

A

T

O

R

REG_ENABL

E

R

EG

_E

N

AB

L

E

47k

R103

V

C

C

_L

E

V

E

L

V

C

C

_L

E

V

E

L

V

C

C

_L

E

V

E

L

V

C

C

_L

E

V

E

L

V

C

C

_L

E

V

E

L

47k

R102

47k

R105

SW

C

L

K

GND

47k

R100

GND

DBG2

S0_0_RX

DB

G

1_

CT

RL

DB

G

0_

CT

RL

DBG

O

P

E

N

 DR

AI

N

T

A

R

G

E

T

 A

D

JU

ST

A

B

L

E

 R

E

G

U

L

A

T

O

R

SRS

T

DE

BUG

G

E

R

 T

E

ST

P

O

INT

DBG2_CTRL

VOFF

CD

C_

RX

_C

TR

L

47k

R109

DBG1

CD

C_

TX

_C

TR

L

CD

C_

RX

_C

TR

L

SW

C

L

K

REG_ADJUST

DBG2_GPIO

DB

G

3_

CT

RL

DB

G

2_

CT

RL

DBG3

1k

R

110

VBUS_ADC

1

2

3

DM

N6

5D

8L

FB

Q101

I

D

_

S

Y

S

V

O

F

F

1k

R112

VCC_P3V3

V

T

G

_A

DC

D

A

C

M

IC94163

V

I

N

B

2

V

O

U

T

A

1

V

I

N

A

2

E

N

C

2

G

N

D

C

1

V

O

U

T

B

1

U108

GND

ID

_S

Y

S

VTG_EN

VTG_EN

VBUS_ADC

SW

D

IO

ID

_S

Y

S

TP101

GND

SW

D

IO

VOFF

47k

R111

GND

ID P

IN

V

CC

_VB

US

MC36213

F100

V

CC

_VB

US

V

CC

_VB

US

J101

V

C

C

_T

A

RGET

47

k

R

113

DEBUGG

ER

UP

DI

U

PD

I

G

PI

O

G

PI

O

R

E

SET

Signa

l

D

B

G

0

D

B

G

1

D

B

G

2

D

B

G

3

IC

SP

Inter

fa

ce

D

A

T

C

L

K

G

PI

O

M

C

L

R

C

DC

 T

X

C

DC

 R

X

U

A

R

T

 RX

U

A

R

T

 TX

U

A

R

T

 RX

U

A

R

T

 TX

T

A

R

G

E

T

T

A

R

G

E

T

VC

C

-

-

SW

D

SW

D

A

T

SW

C

L

K

SW

O

/G

P

IO

R

E

SET

U

A

R

T

 RX

U

A

R

T

 TX

T

A

R

G

E

T

-

C

D

C

_

T

X

C

D

C

_

R

X

A

VR

 pr

ogr

am

m

in

g

conn

ecto

for

 f

acto

ry

pr

og

ra

m

m

in

of

DEBUGG

ER.

M

IC5528:

V

in: 2.5V t

5.

5V

V

ou

t: F

ix

ed

 3

.3

V

Im

ax:

 50

0mA

Drop

out: 

260m

V

 @ 500mA

M

IC5353:

V

in: 2.6V t

6V

V

out: 1.25V t

5.

1V

Im

ax:

 50

0mA

Dropout (typi

cal):

 50mV@

15

0mA

, 160mV

 @ 500mA

A

ccurac

y: 

2% 

initi

al

T

he

rm

al shutd

own and c

urrent l

imit

M

ax

im

um

 output vo

lta

ge is li

mited by 

the in

put vol

ta

ge and 

the dr

opo

ut vol

ta

ge in t

he 

regu

la

to

r.

(V

m

ax

 =

 V

in -

 d

ro

po

ut)

J100:

Cut-st

rap us

ed for

 fu

ll se

paration 

of 

targ

et powe

r from the level

 shifter

s and o

n-bo

ard regu

lator

s.

- Fo

r curren

t mea

su

re

men

ts 

usi

ng 

an

 e

xte

rna

l p

ow

er 

su

ppl

y, 

th

is s

trap

 c

ou

ld

 b

cut 

fo

mo

re

acc

ur

ate m

ea

su

re

ments. L

ea

ka

ge 

bac

k t

hr

ou

gh t

he s

witc

is i

the 

mic

ro

amp

ere r

ang

e.

J101:

This 

is fo

otpri

nt

 fo

r a 1

x2 

10

0mil 

pitc

pin-

heade

th

at c

an b

e use

for

 easy

 c

ur

rent

 m

ea

su

re

me

nt

to the

 targ

et

 microc

ontroller and 

the L

ED

 / 

B

ut

to

n.

 T

use

 the

 f

oot

pr

int:

- Cut th

e track 

betw

een 

th

ho

les,

 and

 mo

unt a

 pi

n-h

eade

r

A

djusta

ble output and limita

tions:

- The D

EBUGGER can

 adjust

 the ou

tput vol

ta

ge of t

he reg

ulator be

twee

n 1.25

V and 5

.1V

 to th

e targ

et.

- T

he 

vo

lta

ge output 

is limited b

y the 

input (

USB), 

whic

h c

an v

ary betwe

en 4.40V

 to

 5

.2

5V

Th

le

vel shi

fters ha

ve a mi

ni

m

al

 v

ol

ta

ge 

le

vel of 1.

65V

 and wil

l limit t

he mi

ni

m

um

 op

erat

ing 

vo

lta

ge

 a

ll

ow

ed

 f

or

 t

he

ta

rg

et to 

still all

ow comm

unicat

ion.

Th

MI

C94163 ha

s a mi

ni

m

al

 vo

lat

eg

le

vel of 1.

70V

 and wil

l limit t

he mi

ni

m

um

 v

ol

ta

ge d

eli

vered to t

he targ

et

.

Fi

rm

ware

 con

figurati

on will

 limi

t the vo

lta

ge 

ran

ge to 

be w

ithi

th

the 

targ

et spe

cific

ation.

PTC Resett

able fu

se:

Hold curre

nt: 500mA

T

rip current

: 1000mA

R

113:

Pull down t

o preve

nt

D

B

G

3_

C

T

R

L

 f

ro

m

fl

oat

in

g when debugg

er

 i

s

no

t po

were

d.

 PIC18F16Q40 Curiosity Nano

Appendix

©

 2020 Microchip Technology Inc.

 User Guide

DS50003047A-page 32

Содержание EV70C97A

Страница 1: ...grate the device into a custom design The Curiosity Nano series of evaluation boards include an on board debugger No external tools are necessary to program and debug the PIC18F16Q40 MPLAB X IDE Softw...

Страница 2: ...External Supply 17 4 3 3 VBUS Output Pin 17 4 3 4 Power Supply Exceptions 18 4 4 Low Power Measurement 19 4 5 Programming External Microcontrollers 20 4 5 1 Supported Devices 20 4 5 2 Software Config...

Страница 3: ...oards 34 8 4 Disconnecting the On Board Debugger 35 The Microchip Website 37 Product Change Notification Service 37 Customer Support 37 Microchip Devices Code Protection Feature 37 Legal Notice 38 Tra...

Страница 4: ...lled 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 Microchip PIC1...

Страница 5: ...al programmer or debugger tool is required Tip The Kit Window can be opened in MPLAB X IDE through the menu bar Window Kit Window 2 1 3 MPLAB X IDE Device Family Packs Microchip MPLAB X IDE requires s...

Страница 6: ...data The Data Visualizer can receive data from various sources such as serial ports and on board debugger s Data Gateway Interface as found on Curiosity Nano and Xplained Pro boards Microchip PIC and...

Страница 7: ...0 Family such as 16 bit Pulse Width Modulators PWM 12 bit Analog to Digital Converter with Computation ADCC UART module Integrated Temperature Indicator module To get started with the application find...

Страница 8: ...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 an...

Страница 9: ...Terminal Receive Terminal Send Info As shown in Figure 4 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...

Страница 10: ...e 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...

Страница 11: ...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...

Страница 12: ...eviously programmed To erase the target device copy a text file starting with CMD ERASE onto the disk By default the CURIOSITY drive contains several read only files for generating icons as well as re...

Страница 13: ...provided this has no effect Debugger firmware v1 16 or newer Info The commands listed here are triggered by the content being sent to the mass storage emulated disk and no feedback is provided in the...

Страница 14: ...counter implemented in the Curiosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond 4 2 Curiosity Nano Standard Pinout The 12 edge connections close...

Страница 15: ...cording to the USB specification and will limit the maximum voltage to the target The figure below shows the entire power supply system on PIC18F16Q40 Curiosity Nano Figure 4 4 Power Supply Block Diag...

Страница 16: ...rd This supports a set of common target voltages See section 4 1 3 3 Special Commands for further details The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small packag...

Страница 17: ...xternal 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...

Страница 18: ...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...

Страница 19: ...ion on the VBUS pin to fix this issue 4 4 Low Power Measurement Power to the PIC18F16Q40 is connected from the on board power supply and VTG pin through a 100 mil pin header marked with POWER in silks...

Страница 20: ...ntrollers on external hardware 4 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...

Страница 21: ...on board debugger 4 5 3 Hardware Modifications The on board debugger is connected to the PIC18F16Q40 by default These connections must be removed before any external microcontroller can be programmed...

Страница 22: ...rs 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 can be ignored Pull down resistors are required...

Страница 23: ...ting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the PIC18F16Q40 Curiosity Nano to program debug the PIC18F16Q40 The on board debugger...

Страница 24: ...able of delivering high voltage on the MCLR pin R110 can be permanently damaged by the high voltage If R110 is broken the on board debugger can not enter Programming mode of the PIC18F16Q40 and will t...

Страница 25: ...ANC2 RA2 RA2 ANA2 DAC1 RC3 RC3 ANC3 GND GND DEBUGGER PIC18F16Q40 Analog Debug I2C SPI UART Peripheral Port PWM Power Ground Shared pin PIC18F16Q40 Curiosity Nano Info Peripheral signals shown in the...

Страница 26: ...e Important Once the pin headers are in place they are hard to remove by hand Use a set of pliers and carefully remove the pin headers to avoid damage to the pin headers and PCB 5 2 Peripherals 5 2 1...

Страница 27: ...e the chance of contention to the crystal and to remove excessive capacitance on the lines Disconnect the edge connector by cutting the two cut straps on the bottom side of the board marked RA4 and RA...

Страница 28: ...he target and the debugger are tri stated as long as the debugger is not actively using the interface Hence since there are little contaminations of the signals the pins can be configured to anything...

Страница 29: ...The Kit Window can be opened in MPLAB X IDE through the menu bar Window Kit Window The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifier...

Страница 30: ...Document Revision History Revision Date Description A 09 2020 Initial document release PIC18F16Q40 Curiosity Nano Document Revision History 2020 Microchip Technology Inc User Guide DS50003047A page 3...

Страница 31: ...ICSPDAT RA3_MCLR RC0_ANC0_SW0 RB7_UART_TX RB5_UART_RX TARGET BULK PROG DEBUG Pull 47k R204 47k R205 GND VTG 1 8V 5 5V VOFF ID_SYS ID_SYS VOFF DBG0 DBG1 CDC RX 3 CDC TX 4 DBG1 5 DBG2 6 0 TX 7 1 RX 8 2...

Страница 32: ...DBG1 CDC_TX_CTRL CDC_RX_CTRL SWCLK REG_ADJUST DBG2_GPIO DBG3_CTRL DBG2_CTRL DBG3 1k R110 VBUS_ADC 1 2 3 DMN65D8LFB Q101 ID_SYS VOFF 1k R112 VCC_P3V3 VTG_ADC DAC MIC94163 VIN B2 VOUT A1 VIN A2 EN C2 GN...

Страница 33: ...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 6 P A J 1 0 5 0 7 P A J 1 0 5 0 9 P A J 1 0 5 0 8 P A J 1 0 5 0 1 0 P A J 1 0 5 0 1 1 P A J 1 0 5 0 5 P A J 1 0...

Страница 34: ...C1 ANC1 PWM n LED0 RC2 RC2 ANC2 RA2 RA2 ANA2 DAC1 RC3 RC3 ANC3 GND GND DEBUGGER PIC18F16Q40 Analog Debug I2C SPI UART Peripheral Port PWM Power Ground Shared pin PIC18F16Q40 Curiosity Nano 1 AN PWM RS...

Страница 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...

Страница 36: ...Figure 8 6 On Board Debugger Connection Cut Straps GPIO straps bottom side Power Supply strap top side PIC18F16Q40 Curiosity Nano Appendix 2020 Microchip Technology Inc User Guide DS50003047A page 36...

Страница 37: ...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...

Страница 38: ...LAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip Designer QTouch SAM BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer Tachyon TempTrackr TimeSource tinyAV...

Страница 39: ...anagement System For information regarding Microchip s Quality Management Systems please visit www microchip com quality PIC18F16Q40 Curiosity Nano 2020 Microchip Technology Inc User Guide DS50003047A...

Страница 40: ...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...

Страница 41: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip EV70C97A...

Отзывы: