DM164130-1 Microchip Technology, DM164130-1 Datasheet - Page 21

BOARD EVAL PICKIT PIC16LF1937

DM164130-1

Manufacturer Part Number
DM164130-1
Description
BOARD EVAL PICKIT PIC16LF1937
Manufacturer
Microchip Technology
Series
PICkit™r
Type
MCUr
Datasheet

Specifications of DM164130-1

Contents
Board
Processor To Be Evaluated
PIC16LF1937
Processor Series
PICxxF1xxx
Data Bus Width
8 bit
Operating Supply Voltage
1.8 V to 3.6 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC16
Silicon Core Number
PIC16F
Silicon Family Name
PIC12F1xxx, PIC16F1xxx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC16LF1937
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM164130-1
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM164130-10
Manufacturer:
MICROCHIP
Quantity:
12 000
5.1
5.2
5.3
5.4
5.5
© 2009 Microchip Technology Inc.
INTRODUCTION
I
MCP9800 DRIVER
RTCC DRIVER
LCD DRIVER
2
C™ DRIVER
Chapter 5. Hardware Libraries and Drivers
All of the demo code uses a common set of libraries to provide I
MCP9800 and LCD services. These libraries may be useful for other applications so
they are documented here. These drivers are located at www.microchip.com/F1Eval.
The I
or by polling. The driver is configured during compilation to support polling or interrupts.
The I
polls the I
The MCP9800 driver uses the I
mcp9800_get_temp function is fully blocking, so once a request is queued, the driver
polls the I
interrupts, the mcp9800_get_temp function repeatedly calls the I2C_handler
function to process all the I
mcp9800_get_temp function simply inserts an I2C_TRANSACTION_T into the I
transaction queue and waits for the transaction to complete.
A software RTCC is managed by the supplied RTCC driver. This driver implements the
time() function required by the C compiler. Time is internally kept as seconds since
January 1, 1970. Standard C functions can be used to convert the time to the current
date. This driver has two modes. In the first mode, it expects to be called once per
second by the Timer1 interrupt. In the second mode, it expects to be called on every
LCD mode B frame. This allows the RTCC to keep accurate time even if Timer1 is being
used by some other function, such as the BLDC motor driver.
The LCD driver contains the initialization code required for the LCD peripheral and the
mapping code required to control the 3.5-digit LCD supplied with this demo board. It is
a good starting point for the LCD driver your unique application will require.
2
2
C driver allows I
C and LCD demos configure the driver for interrupt mode. The Combined demo
2
2
C subsystem until the data is complete. If the I
C handler within the MCP9800 driver.
2
C requests to be queued and then handled either by interrupts
2
C events. If the I
F1 EVALUATION PLATFORM
2
C driver to get the current temperature. The
2
C driver is operating with interrupts, the
2
USER’S GUIDE
C driver is operating without
2
C, real-time clock,
DS41401A-page 21
2
C

Related parts for DM164130-1