background image

AMERICAS

ASIA/PACIFIC

ASIA/PACIFIC

EUROPE

Corporate Office

2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:

www.microchip.com/support

Web Address:

www.microchip.com

Atlanta

Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455

Austin, TX

Tel: 512-257-3370

Boston

Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088

Chicago

Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075

Dallas

Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924

Detroit

Novi, MI
Tel: 248-848-4000

Houston, TX

Tel: 281-894-5983

Indianapolis

Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Tel: 317-536-2380

Los Angeles

Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Tel: 951-273-7800

Raleigh, NC

Tel: 919-844-7510

New York, NY

Tel: 631-435-6000

San Jose, CA

Tel: 408-735-9110
Tel: 408-436-4270

Canada - Toronto

Tel: 905-695-1980
Fax: 905-695-2078

Australia - Sydney

Tel: 61-2-9868-6733

China - Beijing

Tel: 86-10-8569-7000

China - Chengdu

Tel: 86-28-8665-5511

China - Chongqing

Tel: 86-23-8980-9588

China - Dongguan

Tel: 86-769-8702-9880

China - Guangzhou

Tel: 86-20-8755-8029

China - Hangzhou

Tel: 86-571-8792-8115

China - Hong Kong SAR

Tel: 852-2943-5100

China - Nanjing

Tel: 86-25-8473-2460

China - Qingdao

Tel: 86-532-8502-7355

China - Shanghai

Tel: 86-21-3326-8000

China - Shenyang

Tel: 86-24-2334-2829

China - Shenzhen

Tel: 86-755-8864-2200

China - Suzhou

Tel: 86-186-6233-1526

China - Wuhan

Tel: 86-27-5980-5300

China - Xian

Tel: 86-29-8833-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-7160

Japan - Tokyo

Tel: 81-3-6880- 3770

Korea - Daegu

Tel: 82-53-744-4301

Korea - Seoul

Tel: 82-2-554-7200

Malaysia - 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-7830

Taiwan - Taipei

Tel: 886-2-2508-8600

Thailand - Bangkok

Tel: 66-2-694-1351

Vietnam - Ho Chi Minh

Tel: 84-28-5448-2100

Austria - Wels

Tel: 43-7242-2244-39
Fax: 43-7242-2244-393

Denmark - Copenhagen

Tel: 45-4485-5910
Fax: 45-4485-2829

Finland - Espoo

Tel: 358-9-4520-820

France - Paris

Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79

Germany - Garching

Tel: 49-8931-9700

Germany - Haan

Tel: 49-2129-3766400

Germany - Heilbronn

Tel: 49-7131-72400

Germany - Karlsruhe

Tel: 49-721-625370

Germany - Munich

Tel: 49-89-627-144-0
Fax: 49-89-627-144-44

Germany - Rosenheim

Tel: 49-8031-354-560

Israel - Ra’anana

Tel: 972-9-744-7705

Italy - Milan

Tel: 39-0331-742611
Fax: 39-0331-466781

Italy - Padova

Tel: 39-049-7625286

Netherlands - Drunen

Tel: 31-416-690399
Fax: 31-416-690340

Norway - Trondheim

Tel: 47-72884388

Poland - Warsaw

Tel: 48-22-3325737

Romania - Bucharest

Tel: 40-21-407-87-50

Spain - Madrid

Tel: 34-91-708-08-90
Fax: 34-91-708-08-91

Sweden - Gothenberg

Tel: 46-31-704-60-40

Sweden - Stockholm

Tel: 46-8-5090-4654

UK - Wokingham

Tel: 44-118-921-5800
Fax: 44-118-921-5820

Worldwide Sales and Service

©

 2020 Microchip Technology Inc.

 User Guide

DS50003047A-page 40

Содержание 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...

Отзывы: