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 the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. 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 the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and t he lik e is provided only for your convenience
and may be su perseded by upda t es . It is y our responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life supp ort and/or safety ap plications is entir ely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless M icrochip from any and all dama ges, claims,
suits, or expenses re sulting from such use. No licens es are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
K
logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial
Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified
logo, MPLIB, MPLINK, mTouch, Omniscient Code
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance,
TSHARC, UniWinDriver, WiperLock and ZENA are
trademarks 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.
All other trademarks mentioned herein are property of their
respective companies.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
Index .............................................................................................................................39
Worldwide Sales and Service .....................................................................................42
DS41401B-page 4 2010 Microchip Technology Inc.
F1 EVALUATION PLATFORM
USER’S GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the p age number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB
Select the Help menu, and then Topics to open a list of available online help files.
®
IDE online help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
F1 Evaluation Platform User’s Guide. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Warranty Registration
• Recommended Reading
• The Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This document describes how to use the F1 Evaluation Platform User’s Guide as a
development tool to emulate and debug firmware on a target board. The manual layout
is as follows:
• Chapter 1. “F1 Evalua tio n Platform Overview ”
• Chapter 2. “Getti ng Started”
• Chapter 3. “Programmi ng the F1 Evalua tion Platform”
• Chapter 4. “Demo Code”
• Chapter 5. “Hardwa re Lib rar ies and Driver s”
• Chapter 6. “Troubleshooting”
• Chapter 7. “Schematic s”
2010 Microchip Technology Inc.DS41401B-page 5
F1 Evaluation Platform User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following docum entat io n conven tion s:
DOCUMENTATION CONVENTIONS
DescriptionRepresentsExamples
Arial font:
Italic chara c tersReferenced booksMPLAB
Emphasized text...is the only compiler...
Initial capsA windowthe Output window
A dialogthe Settings dialog
A menu selectionselect Enable Programmer
QuotesA field name in a window or
dialog
Underlined, italic text with
right angle bracket
Bold charactersA dialog buttonClick OK
N‘RnnnnA number in verilog format,
Text in angle brackets < >A key on the keyboardPress <Enter>, <F1>
Courier New font:
Plain Courier NewSample source code#define START
Italic Courier NewA variable argumentfile.o, where file can be
Choice of mut ually exclus ive
arguments; an OR selection
Represents code supplied by
user
®
IDE User’s Guide
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options]
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
DS41401B-page 6 2010 Microchip Technology Inc.
WARRANTY REGISTRATION
Please complete the enclosed Warranty Registration Card and mail it promptly.
Sending in the Warranty Registration Card entitles users to receive new product
updates. Interim software releases are available at the Microchip web site.
RECOMMENDED READING
This user’s guide describes how to use the F1 Evaluation Platform. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources.
Readme for F1 Evaluation Platform User’s Guide
For the latest information on using F1 Evaluation Platform User’s Guide, read the
“Readme for F1 Evaluation Platform User’s Guide.txt” file (an ASCII text
file) in the Readmes subdirectory of the MPLAB IDE installation directory. The Readme
file contains update information and known issues that may not be included in this
user’s guide.
Readme Files
For the latest information on using other tools, read the tool-specific Readme files in
the Readmes subdirectory of the MPLAB IDE installation directory. The Readme files
contain update information and known issues that may not be included in this user’s
guide.
Preface
2010 Microchip Technology Inc.DS41401 B-page 7
F1 Evaluation Platform User’s Guide
THE MICROCHI P WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listin g
• Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip
products. Subscribers will receive e-mail notification whenever there are changes,
updates, revisions or errata related to a specified product family or development tool of
interest.
To register, access the Microchip web site at www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers and other language
tools. These include the Hitech C16, MPLAB C18 and MPLAB C30 C compilers;
MPASM™ and MPLAB ASM30 assemblers; MPLINK™ and MPLAB LINK30
object linkers; and MPLIB™ and MPLAB LIB30 object librarians.
• In-Circuit Debuggers – The latest information on the Microchip in-circuit
debugger, MPLAB ICD 2, ICD3, PICkit™ 3.
• MPLAB
Integrated Development Environment for development systems tools. This list is
focused on the MPLAB IDE, MPLAB SIM simulator, MPLAB IDE Project Manager
and general editing and debugging features.
• Programmers – The latest information on Microchip programmers. These include
the MPLAB PM3 device programmers and PICkit™ 3 development programmers.
®
IDE – The latest information on Microchip MPLAB IDE, the Windows®
DS41401B-page 8 2010 Microchip Technology Inc.
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 included in the back of this document.
Technical support is available through the web site at: http://support.microchip.com
DOCUMENT REVISION HISTORY
Revision A (October 2009)
• Initial Release of this Document.
Revision B (September 2010)
• Revised Figures 7.1.4, 7.1.5 and 7.1.6
Preface
2010 Microchip Technology Inc.DS41401 B-page 9
F1 Evaluation Platform User’s Guide
NOTES:
DS41401B-page 10 2010 Microchip Technology Inc.
Chapter 1. F1 Evaluation Platform Overview
1.1INTRODUCTION
Thank you for choosing the F1 Evaluation Platform. This kit allows you to begin
development using the PIC16LF1937 microcontroller (MCU).
The PIC16LF1937 is the first in a family of enhanced mid-range microcontrollers.
These architectural enhancements allow for more memory and faster computation than
that of legacy PIC16 microcontrollers.
The PIC16F1 and PIC12F1 family of microcontrollers are a series of 8-bit
microcontrollers derived from the popular PIC16 series of 8-bit PIC
The F1 derivatives feature an enhanced CPU, support for extended amounts of
memory, improved peripherals, and XLP low power. The F1 Evaluation Platform allows
you to evaluate these features for your application in a simple, low-cost platform.
This chapter introduces the F1 Evaluation Platform:
• Platform Contents
• Hardware Features
F1 EVALUATION PLATFORM
USER’S GUIDE
®
microcontrollers.
1.2PLATFORM CONTENTS
The F1 Evaluation Platform contains the following items:
1. F1 Evaluation Platform Demo Board – www.microchip.com/
1.3HARDWARE FEATURES
The F1 Evaluation Platform has the following hardware features:
1.3.1PIC16LF1937
The PIC16LF1937 is a 40-pin full-featured device, including:
1. Enhanced PIC16 instruction set
2. 8K Words of Flash memory
3. 512 bytes of RAM
4. 256 bytes of EEPROM
5. 2 CCPs and 3 enhanced CCPs
6. MSSP (I
7. Enhanced USART
8. 8- and 16-bit timers
9. 32 MHz internal oscillator
10. Low-power 32 kHz crystal oscillator and
11. LCD controller.
2
C™, SPI)
F1Eval
1.3.2MCP9800 I2C Temperature Sensor
The MCP9800 is a low-power, I2C temperature sensor with selectable 9 to 12 bits of
output resolution.
2010 Microchip Technology Inc.DS41401B-page 11
F1 Evaluation Platform User’s Guide
1.3.3PICkit™ 3 Programming/Debug Header
The PICkit 3 is a low-cost development tool that allows programming and debugging of
the PIC16LF1937 MCU using the PICkit ISCP™ header.
1.3.4PICkit Serial Communications Header
The PICkit serial is a low-cost development tool that allows I2C, SPI and USART
protocols to be monitored and debugged through a simple 6-pin connector.
1.3.51 Button, 1 Potentiometer, 4 LEDs
Simple applications need the basic user interface elements. The button, potentiometer
and 1 LED are available for any application. The remaining 3 LEDs are shared with the
20-bit motor control expansion connector.
1.3.6One 3.5 Digit LCD
The 3.5-digit LCD glass supplied on this board is a typical meter-type display with icons
for ohms, amps, etc. The PIC16LF1937 makes controlling the LCD very simple.
1.3.720-pin Motor Control Expansion Connector
This connector allows the PIC16LF1937 to control an optional Sensorless BLDC
add-on board (DM164130-2). The PIC16LF1937 has complete control of 3 phases so
other 1, 2, or 3-phase motor topologies can also be controlled.
1.3.8Current Monitoring Connector
To demonstrate the Extreme Low Power (XLP) features of the PIC16LF1937, a
precision ammeter can be connected to the current monitoring connector. This allows
your application to be easily optimized for the lowest possible current.
1.3.9Generous Prototyping Area
Our circuits are not your circuits. A prototyping area has been provided to extend the
functionality of this demo board to demonstrate the utility of the PIC16LF1937 in your
application.
DS41401B-page 12 2010 Microchip Technology Inc.
F1 EVALUATION PLATFORM
Chapter 2. Getting Started
2.1INTRODUCTION
This chapter gives instruction to get your F1 Evaluation Platform powered up and
running the default demonstration. The following sections include:
• Powering the F1 Evaluation Platform
• Default Firmware
• Programming the F1 Evaluation Platform with the PICkit™ 3
• Attaching a PICkit Serial (optional)
• Measuring the current consumption
FIGURE 2-1:F1 EVALUATION PLATFORM (DM164130-1)
USER’S GUIDE
2.2POWERING THE F1 EVALUATION PLATFORM
The PIC16LF1937 supplied with your F1 Evaluation Platform requires a supply voltage
of 1.8V-3.6V. Voltages above 3.6V will degrade or damage the device. There are four
ways to supply the necessary power.
1. Use PICkit 3,
2. Use the power connector at JP3,
3. Use PICkit Serial, or
4. Use the BLDC Expansion Header J3.
2.3POWERING WITH PICkit™ 3
To power with the PICkit 3, perform the following steps:
1. Make sure a jumper or an ammeter is connected across JP2.
2. If you are using a BLDC expansion, remove the jumper at JP1.
2010 Microchip Technology Inc.DS41401B-page 13
Loading...
+ 29 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.