mplab xpress pic16f18446 -...

19
MPLAB ® Xpress PIC16F18446 MPLAB® Xpress PIC16F18446 Evaluation Board Preface The MPLAB ® Xpress PIC16F18446 evaluation kit is a hardware platform to evaluate the PIC16F18446 microcontroller. The MPLAB ® Xpress PIC16F18446 board contain two sections; the programmer section and the application section. The programmer section contains the circuitry necessary for programming, while the application section contains the circuitry that is used by the microcontroller application. © 2018 Microchip Technology Inc. User Guide DS50002736A-page 1

Upload: docong

Post on 02-Dec-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • MPLAB Xpress PIC16F18446 MPLAB Xpress PIC16F18446 Evaluation Board

    Preface

    The MPLAB Xpress PIC16F18446 evaluation kit is a hardware platform to evaluate the PIC16F18446microcontroller. The MPLAB Xpress PIC16F18446 board contain two sections; the programmer sectionand the application section. The programmer section contains the circuitry necessary for programming,while the application section contains the circuitry that is used by the microcontroller application.

    2018 Microchip Technology Inc. User Guide DS50002736A-page 1

  • Table of Contents

    Preface............................................................................................................................ 1

    1. Introduction................................................................................................................31.1. Features....................................................................................................................................... 31.2. Kit Overview................................................................................................................................. 3

    2. Getting Started.......................................................................................................... 42.1. MPLAB Xpress Quick Start........................................................................................................42.2. Design Documentation and Relevant Links................................................................................. 7

    3. Hardware User Guide................................................................................................83.1. Power Supply............................................................................................................................... 83.2. Connectors...................................................................................................................................9

    3.2.1. MPLAB Xpress PIC16F18446 Pinout.......................................................................... 93.3. Peripherals................................................................................................................................. 10

    3.3.1. LED..............................................................................................................................103.3.2. Mechanical Buttons..................................................................................................... 103.3.3. Crystal..........................................................................................................................10

    4. Embedded Debugger Implementation.....................................................................124.1. ICSP...........................................................................................................................................124.2. Virtual COM Port........................................................................................................................ 12

    5. Hardware Revision History...................................................................................... 135.1. Identifying Product ID and Revision........................................................................................... 135.2. Revision 1...................................................................................................................................13

    6. Document Revision History..................................................................................... 14

    7. Appendix..................................................................................................................15

    The Microchip Web Site................................................................................................ 16

    Customer Change Notification Service..........................................................................16

    Customer Support......................................................................................................... 16

    Microchip Devices Code Protection Feature................................................................. 16

    Legal Notice...................................................................................................................17

    Trademarks................................................................................................................... 17

    Quality Management System Certified by DNV.............................................................18

    Worldwide Sales and Service........................................................................................19

    MPLAB Xpress PIC16F18446

    2018 Microchip Technology Inc. User Guide DS50002736A-page 2

  • 1. Introduction

    1.1 Features PIC16F18446 microcontroller One yellow user LED One mechanical user button nEDBG

    Programming Virtual COM port (CDC) One green board status LED

    USB powered

    1.2 Kit OverviewThe Microchip MPLAB Xpress PIC16F18446 evaluation board is a hardware platform to evaluate theMicrochip PIC16F18446.

    Figure 1-1.MPLAB Xpress PIC16F18446 Evaluation Board Overview

    RB4CDC RX

    RB6CDC TX

    RA1DBG1ICSPCLK

    RA2DBG2LED0

    RB4TX

    RB6RX

    RB5SDA

    RB7SCL

    RC5MOSI

    RC4MISO

    RC6SCK

    RC7SS

    GND

    RA3 DBG3 MCLR

    RA0 DBG0 ICSPDAT

    GND

    VCC

    RA5 ANA5

    RA4 ANA4

    RA2 ANA2 LED0

    RA1 ANA1

    RC3 ANC3

    RC2 ANC2 SW0

    RC1 ANC1

    RC0 ANC0

    GND

    SPI

    Analog

    Power

    UART Ground

    I2C Debug

    Port

    Peripheral

    MPLAB Xpress PIC16F18446Introduction

    2018 Microchip Technology Inc. User Guide DS50002736A-page 3

  • 2. Getting Started

    2.1 MPLAB Xpress Quick StartThe Xpress Evaluation Boards are designed to work with the MPLAB Xpress IDE, but can also be usedwith MPLAB X IDE. MPLAB Xpress IDE does not require any downloads and can be accessed byvisiting mplabxpress.microchip.com. The Xpress Evaluation Boards allow for rapid development ofcustom applications without the need to download the IDE or compilers to a computer and allows thestorage of a project in the cloud. This allows a user the ability to access their project from virtuallyanywhere (requires an Internet connection) and from any computer. Microchip also provides codeexamples to help get you started.

    Programming the Xpress board is accomplished by connecting a Micro-USB cable to the onboard USBconnector, creating the .hex file, and dragging and dropping the .hex file into the Xpress board.

    To begin, connect a Micro-USB cable to the onboard USB connector. Next, open the MPLAB Xpress IDE.

    The procedure to create a new project or open an existing MPLAB Xpress project is the same as withinMPLAB X IDE. Navigate to the File tab, select Project Properties > Configuration > Hardware Tool >Hardware Tools and select Simulator/Xpress Board (see Figure 2-1). This ensures that the Xpress boardis chosen as the development tool. Once selected, the Simulator/Xpress Board selection will appearunder the Debug Tool section in the Dashboard window (see Figure 2-2).

    Once the project is open and ready to program into the target device, simply click on the Make andProgram Device button (see Figure 2-3).

    MPLAB Xpress will build and compile the project, and once completed, will open or save the .hex file thatwas created. Under the Save button, you can either hit Save and the .hex file will be stored in yourdownloads folder, or you can hit Save as and choose the location for the .hex file. It is important toremember where the file is stored since the .hex file is what will be programmed into the target PICdevice.

    MPLAB Xpress PIC16F18446Getting Started

    2018 Microchip Technology Inc. User Guide DS50002736A-page 4

    http://mplabxpress.microchip.com

  • Figure 2-1.Selecting the Xpress Kit in MPLAB Xpress IDE

    MPLAB Xpress PIC16F18446Getting Started

    2018 Microchip Technology Inc. User Guide DS50002736A-page 5

  • Figure 2-2.Selecting the Xpress Kit in MPLAB Xpress IDE (Cont)

    MPLAB Xpress PIC16F18446Getting Started

    2018 Microchip Technology Inc. User Guide DS50002736A-page 6

  • Figure 2-3.Make and Program Device

    2.2 Design Documentation and Relevant LinksThe following list contains links to the most relevant documents and software for the MPLAB XpressPIC16F18446.

    Microchip sample store - Microchip sample store where you can order samples of devices. MPLAB Xpress PIC16F18446 website - Kit information, latest user guide and design

    documentation. 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 iscalled an Integrated Development Environment (IDE) because it provides a single integrated"environment" to develop code for embedded microcontrollers.

    MPLAB Xpress Cloud-based IDE - MPLAB Xpress Cloud-Based IDE is an online developmentenvironment that contains the most popular features of our award-winning MPLAB X IDE. Thissimplified and distilled application is a faithful reproduction of our desktop-based program, whichallows users to easily transition between the two environments.

    MPLAB Xpress PIC16F18446Getting Started

    2018 Microchip Technology Inc. User Guide DS50002736A-page 7

    http://www.microchip.com/samples/default.aspxhttp://www.microchip.com/sensorboardhttps://www.microchip.com/mplab/mplab-x-idehttps://www.microchip.com/mplab/mplab-xpress

  • 3. Hardware User Guide

    3.1 Power SupplyThe kit is powered through the USB port as shown in the diagram below. The kit contains two regulatorsfor generating 3.3V for the debugger and an adjustable regulator for the target. The target regulator is setto generate 3.3V on MPLAB Xpress PIC16F18446.

    If an external voltage is required, the power supply and the target must be separated. This can be doneby cutting the strap on the bottom side of the kit marked VREG as shown in the figure below. Cutting thestrap will not separate the target supply from the level shifter, allowing programming of the PIC16F18446with an external voltage.

    WARNING Supplying external power to the board while the USB cable is plugged in, without cutting theVREG strap, can permanently damage the toolkit and the USB port of the PC.

    Figure 3-1.Power Supply Block Diagram

    USB

    Target MCU

    Power source

    Cut strap

    Power consumer

    VREGstrap

    P3V3

    VTG

    nEDBG

    Power converter

    nEDBGRegulator

    VUSB

    TargetRegulator

    VTGstrap

    Adjust

    Level shifter

    VLVLVREG

    I/O I/O GPIOstraps

    I/O

    MPLAB Xpress PIC16F18446Hardware User Guide

    2018 Microchip Technology Inc. User Guide DS50002736A-page 8

  • Figure 3-2.nEDBG Cut Straps

    3.2 Connectors

    3.2.1 MPLAB Xpress PIC16F18446 PinoutMPLAB Xpress PIC16F18446 has most of it's I/O's accessible at the edge connectors. Some I/O's areconnected to the nEDBG for programming and communication purposes.

    Table 3-1.Edge Connector

    Edge Connector PIC16F18446 Pin Standard Function Description and Shared Functionality

    1 RB4 CDC RX Target UART TX

    2 RB6 CDC TX Target UART RX

    3 RA1 DBG1 ICSP CLK

    4 RA2 DBG2 DGI GPIO and user LED

    5 RB4 UART TX CDC RX

    6 RB6 UART RX CDC TX

    7 RB5 I2C SDA

    8 RB7 I2C SCL

    9 RC5 SPI MOSI

    10 RC4 SPI MISO

    11 RC6 SPI SCK

    12 RC7 SPI SS

    13 GND Ground

    MPLAB Xpress PIC16F18446Hardware User Guide

    2018 Microchip Technology Inc. User Guide DS50002736A-page 9

  • Edge Connector PIC16F18446 Pin Standard Function Description and Shared Functionality

    14 GND Ground

    15 RC0 ADC

    16 RC1 ADC

    17 RC2 ADC User switch

    18 RC3 ADC/PWM

    19 RA1 ADC/PWM

    20 RA2 ADC User LED

    21 RA4 ADC 32 KHz Crystal

    22 RA5 ADC 32 KHz Crystal

    23 VCC Power Supply

    24 GND Ground

    25 RA0 DBG0 ICSP DAT

    26 RA3 DBG3 MCLR

    3.3 Peripherals

    3.3.1 LEDThere is one yellow LED available on the MPLAB Xpress PIC16F18446 board that can be turned ONand OFF. The LED can be activated by driving the connected I/O line to GND.

    Table 3-2.LED Connection

    PIC16F18446 Pin Description Shared Functionality

    RA2 Yellow user LED0 Edge connector

    3.3.2 Mechanical ButtonsMPLAB Xpress PIC16F18446 contains one mechanical button. This is a generic user configurablebutton and when a button is pressed it will drive the I/O line to GND.

    Info: There is no pull-up resistor connected to the generic user button. Remember to enablethe internal pull-up in the PIC16F18446 to use the button.

    Table 3-3.Mechanical Button

    PIC16F18446 Pin Description Shared Functionality

    RC2 User switch SW0 Edge connector

    3.3.3 CrystalThe MPLAB Xpress PIC16F18446 board has a 32768 Hz crystal mounted on the board.

    MPLAB Xpress PIC16F18446Hardware User Guide

    2018 Microchip Technology Inc. User Guide DS50002736A-page 10

  • The crystal is not connected to the PIC16F18446 by default, as the GPIO's are routed out to the edgeconnector. To use the crystal, some hardware modifications are required. The two I/O lines routed to theedge connector should be disconnected to both reduce the chance of contention to the crystal as well asremoving excessive capacitance on the lines. This can be done by cutting the two straps on the bottomside of the board, marked RA4 and RA5 as shown in the figure below. Next, solder on a solder blob oneach of the circular solder points next to the crystal on the top side of the board as shown in the figurebelow.

    The 32.768 kHz crystal on MPLAB Xpress PIC16F18446 is a Kyocera CorporationST3215SB32768C0HPWBB 7 pF crystal.

    The crystal has been formally tested and matched to the PIC16F18446 by Kyocera. The test report isavailable in the design documentation distributed with this document for MPLAB Xpress PIC16F18446.

    Info: Kyocera Crystal Device Corporation crystals that are matched with specific products canbe found on their website: http://prdct-search.kyocera.co.jp/crystal-ic/?p=en_search/

    Table 3-4.Crystal Connections

    PIC16F18446 Pin Description Shared Functionality

    RA4 SOSC0 Edge connector

    RA5 SOSCI Edge connector

    Figure 3-3.Crystal Connection and Cut Straps

    MPLAB Xpress PIC16F18446Hardware User Guide

    2018 Microchip Technology Inc. User Guide DS50002736A-page 11

    http://prdct-search.kyocera.co.jp/crystal-ic/?p=en_search/

  • 4. Embedded Debugger ImplementationMPLAB Xpress PIC16F18446 contains an embedded debugger (nEDBG) that can be used to programthe PIC16F18446 using ICSP.

    The nEDBG can program the PIC16F18446 with a USB mass storage drive and also include a VirtualCOM Port interface over UART.

    4.1 ICSPThe In-Circuit Serial Program (ICSP) interface use three pins to communicate with the target.

    Info: There is a 10 k pull-up resistor connected to RA3 and there are 47 k pull-downresistors connected to RA0 and RA1.

    Table 4-1.ICSP Connections

    PIC16F18446 Pin Function Shared Functionality

    RA0 ICSP DAT DBG0 nEDBG

    RA1 ICSP CLK DBG1 nEDBG, edge connector

    RA3 MCLR DBG3 nEDBG

    4.2 Virtual COM PortThe nEDBG acts as a Virtual COM Port gateway by using one of the PIC16F18446 UARTs.

    The Virtual COM Port is connected to a UART on the PIC16F18446 and provides an easy way tocommunicate with the target application through terminal software. It offers variable baud rate, parity, andstop bit settings. The settings on the PIC16F18446 must match the settings given in the terminalsoftware.

    Info: The Virtual COM Port in the nEDBG requires the terminal software to set the DataTerminal Ready (DTR) signal to enable the UART pins. If the DTR signal is not enabled, theUART pins on the nEDBG are kept in tri-state (high-z) to render the COM Port not usable. TheDTR signal is automatically set by some terminal software, but it may have to be manuallyenabled in your terminal.

    Table 4-2.Virtual COM Port Connections

    PIC16F18446 Pin Function Shared Functionality

    RB4 UART TXD (PIC16F18446 TX line) nEDBG CDC RX

    RB6 UART RXD (PIC16F18446 RX line) nEDBG CDC TX

    MPLAB Xpress PIC16F18446Embedded Debugger Implementation

    2018 Microchip Technology Inc. User Guide DS50002736A-page 12

  • 5. Hardware Revision HistoryThis user guide provides the latest available revision of the kit. This chapter contains information aboutknown issues, a revision history of older revisions, and how older revisions differ from the latest revision.

    5.1 Identifying Product ID and RevisionThe revision and product identifier of MPLAB Xpress PIC16F18446 can be found in two ways; eitherthrough Atmel Studio/Microchip MPLAB X or by scanning sticker on the bottom side of the PCB with a 2Dbarcode reader.

    By connecting a MPLAB Xpress PIC16F18446 to a computer with Atmel Studio/Microchip MPLAB Xrunning, an information window will pop up. The first six digits of the serial number, which is listed underkit details, contain the product identifier and revision.

    The same information can be found on the sticker on the bottom side of the PCB. Most kits will print theidentifier and revision in plain text as A09-nnnn\rr, where nnnn is the identifier and rr is the revision.Boards with limited space have a sticker with only a data-matrix barcode, which contains a serial numberstring.

    The serial number string has the following format:

    "nnnnrrssssssssss"

    n = product identifier

    r = revision

    s = serial number

    The product identifier for MPLAB Xpress PIC16F18446 is A09-3160.

    5.2 Revision 1Revision 1 is the initially released revision.

    MPLAB Xpress PIC16F18446Hardware Revision History

    2018 Microchip Technology Inc. User Guide DS50002736A-page 13

  • 6. Document Revision HistoryDoc. rev. Date Comment

    A 03/2018 Initial document release.

    MPLAB Xpress PIC16F18446Document Revision History

    2018 Microchip Technology Inc. User Guide DS50002736A-page 14

  • 7. AppendixFigure 7-1. MPLAB Xpress PIC16F18446 Schematics

    ! "# $ !# ! $ % "& ' ( ) * + ) , - - *. / & 0 1 2. 3 4 5 6 7 7. 8 9 5 : 6 ;. / ( ? @A B ?CD EF G H I J H KF C L M NO O F P Q KR ST P QF D U C L M N VF W J O J X UY J KF U C L M ST P QF D U C L M VF W J O J X U Z[ \ ]^ _ [ `a ] b cdD e f X M R Ug hi j ki l hm n k j o p qr sF F H I J H KFtu v w x y z { |} X ~ J XF F D U n N $ " ! " " %r J F N $ % $ % C e ~F Ud e HF U N K H J T P# G P !# " R GF D e L D D e H J Xr I ! % r M ! " L $ C M M L ! $ $ # $ L ! $ # $ L ! $ S d

    S d L L I N V } I % $ $ XL ! $ $

    S d !# " R GF D e L D D e H J Xr I ! % r M ! " L $ C M M L ! $ $ # $ L ! $ # $ L ! $ S d S d

    I V N V I

    L L I N V } I S d

    r ! $ $

    S d L L I N V } I S d S d ! $ ! $ ! $ % ! $ ! ! $ ! $

    L L I N V } I L S N S ! J X F ~F G X XF G H D( A ( 3 ( A ( 8 3 A 2 ) A 2 8 3 ) 3 > A 1 > ( 0 - / > ' / ' > * > ( > > A A 2 A 2 A ( ( & / 1 A ( 1 A ( ) 1 A ( A 1 A ( 1 A ( * 1 A ( & / - d } M } VI N V } I

    ! $ $ I V N V I

    ! $

    L r C d N I L r C L C L V N V I V N V I I V N L V V N % L r C L N S N %

    C L % Y % "

    ! $ $ S d

    ! # ! T YL ! $ L L I N V } I S d

    V L $ N S L $V L % N S L %V L ! N S L ! r V L N S L V L r C r V L r C r V L r C r L ! V N ! N S N ! } d

    !

    V M N V I I V M N V I V V M ! L r d NV M ! L r L V L r C r V L r C r V L r C r L V L r C r r V L $ N S L $V L % N S L %V L ! N S L ! r V L N S L V N % L r C L N S N %V N ! N S N ! } dV N N S N r r L V N N S N r r L V N % L r C L N S N % V N $ L r C d N IV N L VV N ! N S N ! } dV M N V I I V M N V I V ! $ ! $ "

    ! # ! T YL ! $ L L I N V } I S d " # $ % $& ' '!! !! S d (

    ) ! # #

    LD R O H e K e H eO sF F H UL GD R O H e K* YP e + } r V* $ s PN G G T D e GR

    ! $ PC L % Y % " e H e O sF F H UL + J X* Y ,F O H J P e HF -L + T H* ,F O H J P e HF -e + J PT P e * .e + J PT P } r V* .}O H J P e HF L G Q * ! Y}O H J P e HF K e L* ! , L GD R O H e K L eD e L G Q -L* ! , Y !# Y ! Y -L* YrF KF G HF J X F O J ~ XL* Y

    S I } X N V I L d L UV I X H sF sF e F D F X HF O H sFJ X T H T H T H JD F G H J X H sF O J ~ X e KD F O F G H J WF H J H / O O T D GF #L d L I J O T H T H D P H sF X } d M #L d L V J O J X T H H H sF X } d M #I J O T H T H D P H sF I N V } I F W J GF #V J O J X T H H H sF I N V } I F W J GF #S I } X ! L US T K K T O X Q eD # C T K K T O O s T K QFP T X HF G K O F H O K e WF F W J GF , O -#

    MPLAB Xpress PIC16F18446Appendix

    2018 Microchip Technology Inc. User Guide DS50002736A-page 15

  • The Microchip Web Site

    Microchip provides online support via our web site at http://www.microchip.com/. This web site is used asa means to make files and information easily available to customers. Accessible by using your favoriteInternet browser, the web site contains the following information:

    Product Support Data sheets and errata, application notes and sample programs, designresources, users guides and hardware support documents, latest software releases and archivedsoftware

    General Technical Support Frequently Asked Questions (FAQ), technical support requests,online discussion groups, Microchip consultant program member listing

    Business of Microchip Product selector and ordering guides, latest Microchip press releases,listing of seminars and events, listings of Microchip sales offices, distributors and factoryrepresentatives

    Customer Change Notification Service

    Microchips customer notification service helps keep customers current on Microchip products.Subscribers will receive e-mail notification whenever there are changes, updates, revisions or erratarelated to a specified product family or development tool of interest.

    To register, access the Microchip web site at http://www.microchip.com/. Under Support, click onCustomer Change Notification and follow the registration instructions.

    Customer Support

    Users of Microchip products can receive assistance through several channels:

    Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical Support

    Customers should contact their distributor, representative or Field Application Engineer (FAE) for support.Local sales offices are also available to help customers. A listing of sales offices and locations is includedin the back of this document.

    Technical support is available through the web site 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 used in the intended manner and under normal conditions. There are dishonest and possibly illegal methods used to breach the code protection feature. All of

    these methods, to our knowledge, require using the Microchip products in a manner outside theoperating specifications contained in Microchips Data Sheets. Most likely, the person doing so isengaged in theft of intellectual property.

    Microchip is willing to work with the customer who is concerned about the integrity of their code.

    MPLAB Xpress PIC16F18446

    2018 Microchip Technology Inc. User Guide DS50002736A-page 16

    http://www.microchip.com/http://www.microchip.com/http://www.microchip.com/support

  • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of theircode. Code protection does not mean that we are guaranteeing the product as unbreakable.

    Code protection is constantly evolving. We at Microchip are committed to continuously improving thecode protection features of our products. Attempts to break Microchips code protection feature may be aviolation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your softwareor other copyrighted work, you may have a right to sue for relief under that Act.

    Legal Notice

    Information contained in this publication regarding device applications and the like is provided only foryour convenience and may be superseded by updates. It is your responsibility to ensure that yourapplication meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORYOR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITSCONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE.Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in lifesupport and/or safety applications is entirely at the buyers risk, and the buyer agrees to defend,indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resultingfrom such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectualproperty rights unless otherwise stated.

    Trademarks

    The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings,BitCloud, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq, KeeLoq logo,Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB,OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA,SpyNIC, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks ofMicrochip Technology Incorporated in the U.S.A. and other countries.

    ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLightLoad, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of MicrochipTechnology Incorporated in the U.S.A.

    Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom,chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController,dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit SerialProgramming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi,motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, OmniscientCode Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REALICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, TotalEndurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA aretrademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

    SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

    Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.

    GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary ofMicrochip Technology Inc., in other countries.

    All other trademarks mentioned herein are property of their respective companies.

    MPLAB Xpress PIC16F18446

    2018 Microchip Technology Inc. User Guide DS50002736A-page 17

  • 2018, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

    ISBN: 978-1-5224-2727-8

    Quality Management System Certified by DNV

    ISO/TS 16949Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and waferfabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in Californiaand India. The Companys quality system processes and procedures are for its PIC MCUs and dsPIC

    DSCs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory andanalog products. In addition, Microchips quality system for the design and manufacture of developmentsystems is ISO 9001:2000 certified.

    MPLAB Xpress PIC16F18446

    2018 Microchip Technology Inc. User Guide DS50002736A-page 18

  • AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPECorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200Fax: 480-792-7277Technical Support:http://www.microchip.com/supportWeb Address:www.microchip.comAtlantaDuluth, GATel: 678-957-9614Fax: 678-957-1455Austin, TXTel: 512-257-3370BostonWestborough, MATel: 774-760-0087Fax: 774-760-0088ChicagoItasca, ILTel: 630-285-0071Fax: 630-285-0075DallasAddison, TXTel: 972-818-7423Fax: 972-818-2924DetroitNovi, MITel: 248-848-4000Houston, TXTel: 281-894-5983IndianapolisNoblesville, INTel: 317-773-8323Fax: 317-773-5453Tel: 317-536-2380Los AngelesMission Viejo, CATel: 949-462-9523Fax: 949-462-9608Tel: 951-273-7800Raleigh, NCTel: 919-844-7510New York, NYTel: 631-435-6000San Jose, CATel: 408-735-9110Tel: 408-436-4270Canada - TorontoTel: 905-695-1980Fax: 905-695-2078

    Australia - SydneyTel: 61-2-9868-6733China - BeijingTel: 86-10-8569-7000China - ChengduTel: 86-28-8665-5511China - ChongqingTel: 86-23-8980-9588China - DongguanTel: 86-769-8702-9880China - GuangzhouTel: 86-20-8755-8029China - HangzhouTel: 86-571-8792-8115China - Hong Kong SARTel: 852-2943-5100China - NanjingTel: 86-25-8473-2460China - QingdaoTel: 86-532-8502-7355China - ShanghaiTel: 86-21-3326-8000China - ShenyangTel: 86-24-2334-2829China - ShenzhenTel: 86-755-8864-2200China - SuzhouTel: 86-186-6233-1526China - WuhanTel: 86-27-5980-5300China - XianTel: 86-29-8833-7252China - XiamenTel: 86-592-2388138China - ZhuhaiTel: 86-756-3210040

    India - BangaloreTel: 91-80-3090-4444India - New DelhiTel: 91-11-4160-8631India - PuneTel: 91-20-4121-0141Japan - OsakaTel: 81-6-6152-7160Japan - TokyoTel: 81-3-6880- 3770Korea - DaeguTel: 82-53-744-4301Korea - SeoulTel: 82-2-554-7200Malaysia - Kuala LumpurTel: 60-3-7651-7906Malaysia - PenangTel: 60-4-227-8870Philippines - ManilaTel: 63-2-634-9065SingaporeTel: 65-6334-8870Taiwan - Hsin ChuTel: 886-3-577-8366Taiwan - KaohsiungTel: 886-7-213-7830Taiwan - TaipeiTel: 886-2-2508-8600Thailand - BangkokTel: 66-2-694-1351Vietnam - Ho Chi MinhTel: 84-28-5448-2100

    Austria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828Fax: 45-4485-2829Finland - EspooTel: 358-9-4520-820France - ParisTel: 33-1-69-53-63-20Fax: 33-1-69-30-90-79Germany - GarchingTel: 49-8931-9700Germany - HaanTel: 49-2129-3766400Germany - HeilbronnTel: 49-7131-67-3636Germany - KarlsruheTel: 49-721-625370Germany - MunichTel: 49-89-627-144-0Fax: 49-89-627-144-44Germany - RosenheimTel: 49-8031-354-560Israel - RaananaTel: 972-9-744-7705Italy - MilanTel: 39-0331-742611Fax: 39-0331-466781Italy - PadovaTel: 39-049-7625286Netherlands - DrunenTel: 31-416-690399Fax: 31-416-690340Norway - TrondheimTel: 47-7289-7561Poland - WarsawTel: 48-22-3325737Romania - BucharestTel: 40-21-407-87-50Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91Sweden - GothenbergTel: 46-31-704-60-40Sweden - StockholmTel: 46-8-5090-4654UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820

    Worldwide Sales and Service

    2018 Microchip Technology Inc. User Guide DS50002736A-page 19

    PrefaceTable of Contents1.Introduction1.1.Features1.2.Kit Overview

    2.Getting Started2.1.MPLAB Xpress Quick Start2.2.Design Documentation and Relevant Links

    3.Hardware User Guide3.1.Power Supply3.2.Connectors3.2.1.MPLAB Xpress PIC16F18446 Pinout

    3.3.Peripherals3.3.1.LED3.3.2.Mechanical Buttons3.3.3.Crystal

    4.Embedded Debugger Implementation4.1.ICSP4.2.Virtual COM Port

    5.Hardware Revision History5.1.Identifying Product ID and Revision5.2.Revision 1

    6.Document Revision History7.AppendixThe Microchip Web SiteCustomer Change Notification ServiceCustomer SupportMicrochip Devices Code Protection FeatureLegal NoticeTrademarksQuality Management System Certified by DNVWorldwide Sales and Service