F1 EVALUATION PLATFORM
USERS GUIDE
2010 Microchip Technology Inc. DS41401B-page 13
Chapter 2. Getting Started
2.1 INTRODUCTION
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)
2.2 POWERING 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.3 POWERING 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.
F1 Evaluation Platform User’s Guide
DS41401B-page 14 2010 Microchip Technology Inc.
3. Configure the PICkit 3 to supply a voltage between 1.8 and 3.6V. For proper LCD
contrast, the supply should be 3.3V.
4. Attach the PICkit 3 to the PICkit ICSP™ connector at the end of the board.
5. Activate the PICkit 3 power output.
2.4 POWERING WITH THE CONNECTOR AT JP3
To power with the connector at JP3, 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.
3. Verify the supply voltage to be between 1.8 and 3.6V. For proper LCD contrast,
the supply should be 3.3V.
4. Attach the power supply to JP3.
5. Turn on the power supply.
FIGURE 2-2: POWERING WITH THE CONNECTOR AT JP3
2.5 POWERING WITH PICkit™ SERIAL
To power with the PICkit Serial, 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.
3. Configure the PICkit Serial to supply a voltage between 1.8 and 3.6V. For proper
LCD contrast, the supply should be 3.3V.
4. Attach the PICkit Serial to the PICkit Serial connector at the top corner of the
board.
5. Activate the PICkit Serial power output.
Getting Started
2010 Microchip Technology Inc. DS41401B-page 15
2.6 POWERING WITH THE BLDC EXPANSION HEADER J3
The BLDC Expansion hardware contains a 3.3V linear regulator. This allows the 5-12V
motor power supply to power the PIC16LF1937. J3 pin 6 is the source for the 3.3V
power. To use this power perform the following steps.
1. Make sure a jumper or an ammeter is connected across JP2.
2. Insert the shorting jumper at JP1.
3. Verify that any attached PICkit 3 or PICkit serial is not supplying power.
4. Verify that there is NO power supply or shorting jumper at JP3.
5. Attach the BLDC expansion board.
6. Connect power to the BLDC expansion board.
2.7 DEFAULT FIRMWARE
The default firmware supplied with your F1 Evaluation Board Demo performs the
following functions:
1. Blink LEDs
2. Measure the ambient temperature
3. Run a BLDC motor (or try to if no motor is attached)
4. Display time/temperature/pot position/motor RPM on the LCD
5. User interface with a button and pot
For the latest firmware go to www.microchip.com/F1Eval
2.7.1 Blinking LEDs
The 4 LEDs indicate motor phase operation (D<2:4>) and the performance of the
primary state machine loop (D1).
2.7.2 Measuring the Ambient Temperature
The MCP9800 is polled when in Temperature Measurement mode. The measured
temperature is filtered, scaled to centigrade and displayed on the LCD.
2.7.3 BLDC Motor
One task of the demo code is to drive a BLDC motor attached to the BLDC Expansion
Header. The optional BLDC Controller board (DM164130-2) is required to drive the
motor. The code performs a series of forced commutation steps to attempt a sensorless
motor start. If no back EMF signal is detected, the code repeats the start-up sequence.
The LEDs blink at an increasing rate indicating the motor start attempts. If no motor
drive hardware is attached, this pattern can repeat or it may detect a BEMF signal in
the noise present on the BEMF sense inputs.

DM164130-1

Mfr. #:
Manufacturer:
Description:
F1 EVAL PLATFORM PIC16LF1937
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet