background image

 PIC18F57Q43 Curiosity Nano

 PIC18F57Q43 Curiosity Nano Hardware User Guide

Preface

The PIC18F57Q43 Curiosity Nano Evaluation Kit is a hardware platform to evaluate microcontrollers in the PIC18-
Q43 family. This board has the PIC18F57Q43 microcontroller (MCU) mounted.

Supported by Microchip MPLAB

®

 X Integrated Development Environment (IDE), the board provides easy access to

the features of the PIC18F57Q43 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
program and debug the PIC18F57Q43.

MPLAB

®

 X IDE

 - Software to discover, configure, develop, program, and debug Microchip microcontrollers.

Code examples on GitHub

 - Get started with code examples.

PIC18F57Q43 website

 - Find documentation, data sheets, sample, and purchase microcontrollers.

PIC18F57Q43 Curiosity Nano website

 - Find schematics, design files, and purchase this kit.

©

 2020 Microchip Technology Inc.

 

DS40002186A-page 1

Summary of Contents for PIC18F57Q43 Curiosity Nano

Page 1: ...IC18F57Q43 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 program and debug the PIC18F57Q43 MPLAB X IDE Software to discover configure develop program and debug Microchip microcontrollers Code examples on GitHub Get started with code examples PIC18F57Q43 website Find document...

Page 2: ... 1 Connectors 21 4 2 Peripherals 22 5 Hardware Revision History and Known Issues 24 5 1 Identifying Product ID and Revision 24 5 2 Revision 3 24 6 Document Revision History 25 7 Appendix 26 7 1 Schematic 26 7 2 Assembly Drawing 28 7 3 Curiosity Nano Base for Click boards 29 7 4 Disconnecting the On board Debugger 30 The Microchip Website 32 Product Change Notification Service 32 Customer Support 3...

Page 3: ...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 Kit Overview The Microchip PIC18F57Q43 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC18F57Q43 microcontroller Figure 1 1 PIC18F57Q43 Curiosity Nano Evaluation Kit Overview Micro USB Connector Debugger ...

Page 4: ...r the PIC18F57Q43 Curiosity Nano Board MPLAB X IDE MPLAB X IDE is a software program that runs 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 single integrated environment to develop code for embedded microcontrollers MPLAB Code Configurator MPLAB Code Co...

Page 5: ... the target 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 and Status LED marked PS on the PIC18F57Q43 Curiosity Nano Board The table below shows how the LED is controlled in different operation modes Table 3 1 On Board Debugger LED Control Operation...

Page 6: ...t 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 debugger s CDC RX pin is connected to a UART TX pin on the target for transmitting characters to the host computer 3 1 2 2 Operating System Support On Windows machines the CDC will enumerate as Curiosit...

Page 7: ...ackets 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 the signal the on board debugger will not send or receive any data through its UART Tip The on board debugger s CDC TX pin will not be driven until the CDC interface is enabled by the host computer Also ...

Page 8: ...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 compliant as a mass storage device but does not in any way fulfill the expectations of a general purpose mass storage device This behavior is intentional When using the Windows operating system the on ...

Page 9: ...of the target device Debugger firmware v1 16 or newer CMD POWERTOGGLE Powers down the target and restores power after a 100 ms delay If external power is provided this has no effect Debugger firmware v1 16 or newer CMD 0V Powers down the target device by disabling the target supply regulator If external power is provided this has no effect Debugger firmware v1 16 or newer CMD 3V3 Sets the target v...

Page 10: ... used is up to about 2 kHz Attempting to capture signals above this frequency will result in data saturation and overflow which may cause the DGI session to be aborted 3 1 4 2 Timestamping DGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in the Curiosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsec...

Page 11: ...VOFF DBG3 DBG0 GND VTG CURIOSITY NANO 3 3 Power Supply The board is powered through the USB port and contains two LDO regulators one to generate 3 3V for the on board debugger and an adjustable LDO regulator for the target microcontroller PIC18F57Q43 and its peripherals The voltage from the USB connector can vary between 4 4V to 5 25V according to the USB specification and will limit the maximum v...

Page 12: ... 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 settings that are set up in Microchip MPLAB X IDE are not immediately applied to the board The new voltage setting is applied to the board when the debugger is accessed in any way like pushing the Refresh Debug Tool Status b...

Page 13: ...ects the new situation and turns the target voltage regulator back on 3 3 2 External Supply PIC18F57Q43 Curiosity Nano can be powered by an external voltage 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 voltage to the VTG pin It is also safe to apply an...

Page 14: ...rst case current consumption of approximately 5 µA Typical values may be as low as 100 nA 3 3 3 VBUS Output Pin PIC18F57Q43 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5V supply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuse is a voltage drop on the VBUS output with higher current loads T...

Page 15: ...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 solder a wire bridge between the pads for J100 J101 or add a jumper on J101 if a pin header is mounted VBUS Output Voltage is Low or Not Present This is most lightly caused by a high current drain on VBUS ...

Page 16: ...ey can be disconnected completely as described in 7 4 Disconnecting the On board Debugger 3 5 Programming External Microcontrollers The on board debugger on PIC18F57Q43 Curiosity Nano can be used to program and debug microcontrollers 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 ...

Page 17: ...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 debugger 3 5 3 Hardware Modifications The on board debugger is connected to the PIC18F57Q43 by default These connections must be removed before any external microcontroller can be programmed or debugged ...

Page 18: ...ifters 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 on the ICSP data and clock signals to debug PIC microcontrollers DBG3 is an open drain connection and requires a pull up resistor to function PIC18F57Q43 Curiosity Nano has pull down resistors R20...

Page 19: ... Connecting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the PIC18F57Q43 Curiosity Nano to program debug the PIC18F57Q43 The on board debugger keeps all the pins connected to the PIC18F57Q43 and board edge in tri state when not actively used Therefore the on board debugger will not interfere with any external debug tools PIC18F57Q43 C...

Page 20: ...pable 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 PIC18F57Q43 and will typically fail at reading the device ID CAUTION To avoid contention between the external debugger and the on board debugger do not start any programming debug operation with the on board debugger thro...

Page 21: ...NB0 PWM 2 3 RA2 RA2 ANA2 RA1 RA1 ANA1 RA0 RA0 ANA0 GND GND RD7 RD7 RD6 RD6 RD5 RD5 RB5 RB5 RF7 RF7 RF6 RF6 RF5 RF5 RF4 RF4 GND GND RE1 RE1 RE0 RE0 RC1 RC1 SOSCI RC0 RC0 SOSCO DEBUGGER PIC18F57Q43 Analog Debug I2C SPI UART Peripheral Port PWM Power Ground Shared pin PIC18F57Q43 Curiosity Nano Info Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others are shown at speci...

Page 22: ...ound GND Tip There is no externally connected pull up resistor on the switch To use the switch make sure that an internal pull up resistor is enabled on pin RB4 Table 4 2 Mechanical Switch PIC18F57Q43 Pin Description Shared Functionality RB4 User switch SW0 Edge connector On board debugger 4 2 3 Crystal The PIC18F57Q43 Curiosity Nano Board has a 32 768 kHz crystal footprint made for standard 3 2mm...

Page 23: ...ections The table below shows the connections 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 little contaminations of the signals the pins can be configured to anything the user wants For further information on how to use the capabilities of the on board...

Page 24: ...f 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 Window The same information can be found on the sticker on the 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 re...

Page 25: ...6 Document Revision History Doc rev Date Comment A 03 2020 Initial document release PIC18F57Q43 Curiosity Nano Document Revision History 2020 Microchip Technology Inc DS40002186A page 25 ...

Page 26: ...RE3_MCLR PIC18F57Q43T I PT RC7 1 RD4 2 RD5 3 RD6 4 RD7 5 VSS 6 VDD 7 RB0 8 RB1 9 RB2 10 RB3 11 RF4 12 RF5 13 RF6 14 RF7 15 RB4 16 RB5 17 RB6 ICSPCLK 18 RB7 ICSPDAT 19 RE3 MCLR VPP 20 RA0 21 RA1 22 RA2 23 RA3 24 RA4 25 RA5 26 RE0 27 RE1 28 RE2 29 VDD 30 VSS 31 CLKIN OSC1 RA7 32 CLKOUT OSC2 RA6 33 SOSCO RC0 34 SOSCIN RC1 35 RF0 36 RF1 37 RF2 38 RF3 39 RC2 40 RC3 41 RD0 42 RD1 43 RD2 44 RD3 45 RC4 46...

Page 27: ...N DRAIN TARGET ADJ USTABLE REGULATOR SRST DEBUGGER TESTPOINTs 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 MCLR DBG3 CDC TX CDC RX UART RX UART TX UART RX UART TX TARGET TARGET 1k R110 VBUS_ADC DMN65D8LFB 1 2 3 Q101 VCC ID_SYS VOFF 1k R112 VCC_P3V3 VTG...

Page 28: ...Figure 7 2 PIC18F57Q43 Curiosity Nano Assembly Drawing Top PIC MCU b Figure 7 3 PIC18F57Q43 Curiosity Nano Assembly Drawing Bottom t c R PIC18F57Q43 Curiosity Nano Appendix 2020 Microchip Technology Inc DS40002186A page 28 ...

Page 29: ...PWM 2 3 RA2 RA2 ANA2 RA1 RA1 ANA1 RA0 RA0 ANA0 GND GND RD7 RD7 RD6 RD6 RD5 RD5 RB5 RB5 RF7 RF7 RF6 RF6 RF5 RF5 RF4 RF4 GND GND RE1 RE1 RE0 RE0 RC1 RC1 SOSCI RC0 RC0 SOSCO DEBUGGER PIC18F57Q43 Analog Debug I2C SPI UART Peripheral Port PWM Power Ground Shared pin PIC18F57Q43 Curiosity Nano 1 AN PWM RST INT CS RX SCK TX MISO SCL MOSI SDA 3 3V 5V GND GND 2 AN PWM RST INT CS RX SCK TX MISO SCL MOSI SDA...

Page 30: ...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 disconnected an external debugger can be connected to holes shown in Figure 7 6 Details about connecting an external debugger are described in 3 6 Connecting External Debuggers Figure 7 5 On Board Debugger Con...

Page 31: ...Figure 7 6 On Board Debugger Connection Cut Straps GPIO straps bottom side Power Supply strap top side PIC18F57Q43 Curiosity Nano Appendix 2020 Microchip Technology Inc DS40002186A page 31 ...

Page 32: ...s 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 products meet the specification contained in their particular Microchip Data Sheet Microchip believes that its family of products is one of the most secure families of its kind on the market today when u...

Page 33: ...s 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 Adjacent Key Suppression AKS Analog for the Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyCom CodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEM dsPICDEM net ...

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

Reviews: