PIC16F1937-I/P Microchip Technology, PIC16F1937-I/P Datasheet

IC PIC MCU FLASH 512KX14 40-PDIP

PIC16F1937-I/P

Manufacturer Part Number
PIC16F1937-I/P
Description
IC PIC MCU FLASH 512KX14 40-PDIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1937-I/P

Program Memory Type
FLASH
Program Memory Size
14KB (8K x 14)
Package / Case
40-DIP (0.600", 15.24mm)
Core Processor
PIC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
36
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
EUSART/MI2C/SPI
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
36
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
A/d Bit Size
10 bit
A/d Channels Available
14
Height
4.95 mm
Length
53.21 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
1.8 V
Width
14.73 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1937-I/PT
Manufacturer:
CYPRESS
Quantity:
460
Part Number:
PIC16F1937-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F1937-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F1937-I/PT
0
This document includes the
programming specifications for the
following devices:
1.0
The PIC16F193X and PIC16LF193X devices can be
programmed using either the high-voltage In-Circuit
Serial Programming™ (ICSP™) method or the
low-voltage ICSP™ method.
1.1
1.1.1
In High-Voltage ICSP™ mode, the PIC16F193X and
PIC16LF193X devices require two programmable
power supplies: one for V
MCLR/V
TABLE 1-1:
© 2008 Microchip Technology Inc.
• PIC16F1933
• PIC16F1937
• PIC16LF1933 • PIC16LF1934 • PIC16LF1936
• PIC16LF1937 • PIC16LF1938 • PIC16LF1939
RB6
RB7
RE3/MCLR/V
V
V
Legend:
Note 1:
PIC16F193X/LF193X Memory Programming Specification
DD
SS
Pin Name
PP
OVERVIEW
Hardware Requirements
/RE3 pin.
I = Input, O = Output, P = Power
In the PIC16F193X/LF193X, the programming high voltage is internally generated. To activate the Program/Verify
mode, high voltage needs to be applied to MCLR input. Since the MCLR is used for a level source, MCLR does not
draw any significant current.
HIGH-VOLTAGE ICSP
PROGRAMMING
PP
PIN DESCRIPTIONS DURING PROGRAMMING
• PIC16F1934
• PIC16F1938
Program/Verify mode
ICSPCLK
ICSPDAT
Function
V
V
DD
SS
DD
and one for the
• PIC16F1936
• PIC16F1939
Advance Information
Pin Type
P
I/O
P
P
I
(1)
During Programming
PIC16F193X/LF193X
1.1.2
In Low-Voltage ICSP™ mode, the PIC16F193X and
PIC16LF193X devices can be programmed using a
single V
MCLR/V
different voltage, but can instead be left at the normal
operating voltage.
1.1.2.1
The LVP bit in Configuration Word 2 enables
single-supply (low-voltage) ICSP programming. The
LVP bit defaults to a ‘1’ (enabled) from the factory. The
LVP bit may only be programmed to ‘0’ by entering the
High-Voltage ICSP mode, where MCLR/V
raised to V
only the High-Voltage ICSP mode is available and only
the High-Voltage ICSP mode can be used to program
the device.
1.2
Five pins are needed for ICSP™ programming. The
pins are listed in Table 1-1.
Clock Input – Schmitt Trigger Input
Data Input/Output – Schmitt Trigger Input
Program Mode Select/Programming Power Supply
Power Supply
Ground
Note 1: The High-Voltage ICSP mode is always
PP
2: While in Low-Voltage ICSP mode, MCLR
Pin Utilization
DD
IHH
/RE3 pin does not have to be brought to a
LOW-VOLTAGE ICSP
PROGRAMMING
available, regardless of the state of the
LVP bit, by applying V
MCLR/V
is always enabled, regardless of the
MCLRE bit, and RE3 pin can no longer be
used as a general purpose input.
Single-Supply ICSP Programming
source in the operating range. The
. Once the LVP bit is programmed to a ‘0’,
Pin Description
PP
/RE3 pin.
DS41360A-page 1
IHH
PP
/RE3 pin is
to the

Related parts for PIC16F1937-I/P

PIC16F1937-I/P Summary of contents

Page 1

... PIC16F193X/LF193X Memory Programming Specification This document includes the programming specifications for the following devices: • PIC16F1933 • PIC16F1934 • PIC16F1936 • PIC16F1937 • PIC16F1938 • PIC16F1939 • PIC16LF1933 • PIC16LF1934 • PIC16LF1936 • PIC16LF1937 • PIC16LF1938 • PIC16LF1939 1.0 OVERVIEW The PIC16F193X and PIC16LF193X devices can be programmed using either the high-voltage In-Circuit Serial Programming™ ...

Page 2

... Data Memory ........................................................................................................................................................................ 30 7.0 Hex File Usage .......................................................................................................................................................................... 30 7.1 Configuration Word ............................................................................................................................................................... 30 7.2 Device ID and Revision ......................................................................................................................................................... 30 7.3 Data EEPROM ...................................................................................................................................................................... 30 7.4 Checksum Computation ........................................................................................................................................................ 31 7.4.1 Code Protection Disabled .......................................................................................................................................... 31 7.4.2 Code Protection Enabled ........................................................................................................................................... 32 8.0 Electrical Specifications............................................................................................................................................................. 33 8.1 AC Timing Diagrams ............................................................................................................................................................. 34 DS41360A-page 2 Advance Information © 2008 Microchip Technology Inc. ...

Page 3

... Table 1-1 and shown in bold lettering in the pin diagrams. FIGURE 2-1: 28-PIN PDIP/SOIC/SSOP DIAGRAM FOR PIC16F1933/1936/1938 AND PIC16LF1933/1936/1938 28-pin SPDIP, SOIC, SSOP V /MCLR/RE3 PP FIGURE 2-2: 28-PIN QFN PACKAGE DIAGRAM FOR PIC16F1933/1936/1938 AND PIC16LF1933/1936/1938 28-pin QFN © 2008 Microchip Technology Inc. PIC16F193X/LF193X 28 RB7/ICSPDAT 1 RB6/ICSPCLK 27 2 RA0 RB5 26 3 RA1 ...

Page 4

... RD0 22 19 RD1 RA6 RA7 PIC16F1934/1937/1939 PIC16LF1934/1937/1939 DD 7 RE2 27 8 RE1 26 9 RE0 25 10 RA5 RA4 Advance Information RB7/ICSPDAT RB6/ICSPCLK RB5 RB4 RB3 RB2 RB1 RB0 RD7 RD6 RD5 RD4 RC7 RC6 RC5 RC4 RD3 RD2 © 2008 Microchip Technology Inc. ...

Page 5

... FIGURE 2-5: 44-PIN TQFP PACKAGE DIAGRAM FOR PIC16F1934/1937/1939 AND PIC16LF1934/1937/1939 44-pin TQFP RC7 RD4 RD5 RD6 RD7 RB0 RB1 RB2 RB3 © 2008 Microchip Technology Inc. PIC16F193X/LF193X RC0 RA6 3 RA7 PIC16F1934/1937/1939 PIC16LF1934/1937/1939 RE2 27 7 RE1 8 26 RE0 9 25 RA5 RA4 Advance Information ...

Page 6

... Device ID 8007h Configuration Word 1 8008h Configuration Word 2 Calibration Word 1 8009h 800Ah Calibration Word 2 Reserved 800Bh-81FFh DS41360A-page 0000h Implemented 0FFFh Maps to 0-0FFF 7FFFh 8000h Implemented 8200h Maps to 8000-81FF FFFFh Advance Information Program Memory Configuration Memory © 2008 Microchip Technology Inc. ...

Page 7

... FIGURE 3-2: PIC16F1936/PIC16LF1936, PIC16F1937/PIC16LF1937 PROGRAM MEMORY MAPPING User ID Location 8000h User ID Location 8001h User ID Location 8002h User ID Location 8003h Reserved 8004h Reserved 8005h Device ID 8006h Configuration Word 1 8007h Configuration Word 2 8008h Calibration Word 1 8009h 800Ah Calibration Word 2 Reserved 800Bh-81FFh © 2008 Microchip Technology Inc. ...

Page 8

... Device ID 8006h Configuration Word 1 8007h Configuration Word 2 8008h Calibration Word 1 8009h 800Ah Calibration Word 2 Reserved 800Bh-81FFh DS41360A-page 0000 Implemented 3FFFh Maps to 0-3FFF 7FFFh 8000h Implemented 8200h Maps to 8000-81FF FFFFh Advance Information Program Memory Configuration Memory © 2008 Microchip Technology Inc. ...

Page 9

... REV<4:0>: Revision ID bits These bits are used to identify the revision. Note 1: This location cannot be written. TABLE 3-1: DEVICE ID VALUES DEVICE PIC16F1933 PIC16F1934 PIC16F1936 PIC16F1937 PIC16F1938 PIC16F1939 PIC16LF1933 PIC16LF1934 PIC16LF1936 PIC16LF1937 PIC16LF1938 PIC16LF1939 © 2008 Microchip Technology Inc. PIC16F193X/LF193X 3.2 ...

Page 10

... For the PIC16F193X/PIC16LF193X devices, the internal calibration values are factory calibrated and stored in Calibration Words 1 and 2 (8009h and 800Ah). The Calibration Words do not participate in erase operations. The device can be erased without affecting the Calibration Words. DS41360A-page 10 Advance Information © 2008 Microchip Technology Inc. ...

Page 11

... Enabling Brown-out Reset does not automatically enable Power-up Timer. 2: The entire data EEPROM will be erased when the code protection is turned off during an erase. 3: The entire program memory will be erased when the code protection is turned off. © 2008 Microchip Technology Inc. PIC16F193X/LF193X R/P-1 R/P-1 R/P-1 ...

Page 12

... FFFh may be modified by EECON control 01 = 000h to 7FFh write protected, 800h to FFFh may be modified by EECON control 00 = 000h to FFFh write protected, no addresses may be modified by EECON control 8 kW FLASH memory (PIC16F1936/PIC16LF1936 and PIC16F1937/PIC16LF1937 only Write protection off 10 = 000h to 1FFh write protected, 200h to 1FFFh may be modified by EECON control ...

Page 13

... V is already applied, for it is not neces- DD sary to disconnect V to enter Program/Verify mode. DD See the timing diagram in Figure 8-2. © 2008 Microchip Technology Inc. PIC16F193X/LF193X 4.1.3 PROGRAM/VERIFY MODE EXIT To exit Program/Verify mode take MCLR to V lower (V ). See Figures 8-4 and 8-5. ...

Page 14

... Internally Timed 0Bh Internally Timed 11h Internally Timed © 2008 Microchip Technology Inc. ...

Page 15

... LOAD DATA FOR PROGRAM MEMORY 1 2 ICSPCLK 0 1 ICSPDAT © 2008 Microchip Technology Inc. PIC16F193X/LF193X After issuing the Load Configuration command, use the Increment Address command until the proper address to be programmed is reached. The address is then pro- ID Locations, grammed by issuing either the Begin Internally Timed Programming or Begin Externally Timed Programming command ...

Page 16

... Figure 4-4). FIGURE 4-4: READ DATA FROM PROGRAM MEMORY ICSPCLK 0 0 ICSPDAT (from Programmer) ICSPDAT (from device) DS41360A-page DLY DLY Input Advance Information LSb MSb LSb MSb Input Output © 2008 Microchip Technology Inc. ...

Page 17

... Address command or exit Program/Verify mode and re-enter it. If the address is incremented from address 7FFFh, it will wrap around to location 0000h. If the address is incremented from FFFFh, it will wrap around to location 8000h. FIGURE 4-6: INCREMENT ADDRESS 1 2 ICSPCLK 0 ICSPDAT © 2008 Microchip Technology Inc. PIC16F193X/LF193X DLY ...

Page 18

... However, the EEPROM memory address that is being programmed is erased prior to being programmed with internally timed programming. FIGURE 4-8: BEGIN INTERNALLY TIMED PROGRAMMING 1 2 ICSPCLK 0 0 ICSPDAT DS41360A-page DLY the that is being PINT Advance Information Next Command 0000h Next Command © 2008 Microchip Technology Inc. ...

Page 19

... DIS sending the next command. This delay is longer than the delay ordinarily required between other commands (see Figure 4-10). FIGURE 4-10: END EXTERNALLY TIMED PROGRAMMING 1 2 ICSPCLK 0 ICSPDAT © 2008 Microchip Technology Inc. PIC16F193X/LF193X End Externally Timed Programming PEXT 0 0 ...

Page 20

... After receiving the Bulk Erase Data Memory command, the erase will not complete until the time interval has expired. ERAB Note: Data code-protected (CPD = 0). Wait a minimum of T ERAB Advance Information Next Command memory will not erase if Next Command © 2008 Microchip Technology Inc. ...

Page 21

... ID locations regardless of the setting of the CP Configuration bit. After receiving the Row Erase Program Memory command the erase will not complete until the time interval has expired. ERAR FIGURE 4-13: ROW ERASE PROGRAM MEMORY 1 ICSPCLK ICSPDAT 1 © 2008 Microchip Technology Inc. PIC16F193X/LF193X ERAR ...

Page 22

... If more than 8 data latches are written without a Begin Externally Timed Programming or Begin Internally Timed Programming command the data in the data latches will be overwritten. The following figures show the recommended flowcharts for programming. DS41360A-page 22 Advance Information © 2008 Microchip Technology Inc. ...

Page 23

... FIGURE 5-1: DEVICE PROGRAM/VERIFY FLOWCHART Note 1: See Figure 5-2. 2: See Figure 5-5. 3: See Figure 5-6. © 2008 Microchip Technology Inc. PIC16F193X/LF193X Start Enter Programming Mode Bulk Erase Device Write Program (1) Memory Write User IDs Write Data (3) Memory Verify Program Memory Verify User IDs ...

Page 24

... If the device is code-protected or must be completely erased, then Bulk Erase device per Figure 5-8. 3: See Figure 5-3 or Figure 5-4. DS41360A-page 24 Start Bulk Erase Program (1, 2) Memory (3) Program Cycle Read Data from Program Memory Report No Programming Data Correct? Failure Yes No All Locations Done? Yes Done Advance Information © 2008 Microchip Technology Inc. ...

Page 25

... FIGURE 5-3: ONE-WORD PROGRAM CYCLE (Internally timed) © 2008 Microchip Technology Inc. PIC16F193X/LF193X Program Cycle Load Data for Program Memory Begin Begin Programming Programming Command Command (Externally timed) Wait T Wait T PEXT PINT End Programming Command Wait T DIS Advance Information DS41360A-page 25 ...

Page 26

... Load Data Latch 2 for Program Memory Increment Address Command Load Data Latch 8 for Program Memory Begin Begin Programming Programming Command Command (Internally timed) (Externally timed) Wait T Wait T PEXT PINT End Programming Command Wait T DIS Advance Information © 2008 Microchip Technology Inc. ...

Page 27

... From Program Memory Command Data Correct? Yes Increment Address Command No Address = 8004h? Note 1: This step is optional if device is erased or not previously programmed. 2: See Figure 5-3. © 2008 Microchip Technology Inc. PIC16F193X/LF193X Report No Programming Failure Increment Yes Address Command Increment Address Command Increment ...

Page 28

... DATA MEMORY PROGRAM FLOWCHART Increment Address Command Note 1: See Figure 5-7. DS41360A-page 28 Start Bulk Erase Data Memory Data (1) Program Cycle Read Data From Data Memory Command Report No Programming Data Correct? Failure Yes No All Locations Done? Yes Done Advance Information © 2008 Microchip Technology Inc. ...

Page 29

... FIGURE 5-7: DATA MEMORY PROGRAM CYCLE FIGURE 5-8: ERASE FLOWCHART Note: This sequence does not erase the Calibration Words. © 2008 Microchip Technology Inc. PIC16F193X/LF193X Program Cycle Load Data for Data Memory Begin Begin Programming Programming Command Command (Internally timed) (Externally timed) ...

Page 30

... This provides a way of differentiating between the data and program memory locations in this range. The format for data memory storage is one data byte per address location, LSb aligned. Advance Information INHX32 hex format. Data is stored memory. (Example: The © 2008 Microchip Technology Inc. ...

Page 31

... Config. Word 1 Config. Word 2 Device Mask PIC16F1933 3FFFh PIC16LF1933 3FFFh PIC16F1934 3FFFh PIC16LF1934 3FFFh PIC16F1936 3FFFh PIC16LF1936 3FFFh PIC16F1937 3FFFh PIC16LF1937 3FFFh PIC16F1938 3FFFh PIC16LF1938 3FFFh PIC16F1939 3FFFh PIC16LF1939 3FFFh EXAMPLE 7-1: CHECKSUM COMPUTED WITH PROGRAM CODE PROTECTION DISABLED (PIC16F1936) PIC16F1936 ...

Page 32

... Note 1: In PIC16LF193X devices, the VCAPEN<1:0> bits are not implemented in Configuration Word 2 and the Configuration Word 2 mask is 3703h. DS41360A-page 32 effect the 2C03h 3FFFh 3AECh 3733h 0123h 4567h 89ABh CDEFh 2C03h 3FFFh 3AFCh (1) 3703h 0123h 4567h 89ABh CDEFh Advance Information © 2008 Microchip Technology Inc. ...

Page 33

... Externally timed programming pulse PEXT Time delay from program to compare T DIS (HV discharge time) T Time delay when exiting Program/Verify mode EXIT © 2008 Microchip Technology Inc. PIC16F193X/LF193X Standard Operating Conditions (unless otherwise stated) Operating Temperature Min. Typ. Supply Voltages and currents PIC16F193X 2.1 — ...

Page 34

... FIGURE 8-6: FIRST ICSPCLK ICSPDAT as input ICSPDAT as output ICSPDAT from input to output ICSPDAT from output to input Advance Information PROGRAMMING MODE EXIT – V LAST DD T EXIT IHH V IL CLOCK AND DATA TIMING T T CKH CKL LZD T HZD © 2008 Microchip Technology Inc. ...

Page 35

... FIGURE 8-7: WRITE COMMAND-PAYLOAD TIMING 1 2 ICSPCLK X X ICSPDAT FIGURE 8-8: READ COMMAND-PAYLOAD TIMING 1 2 ICSPCLK X X ICSPDAT (from Programmer) ICSPDAT (from Device) © 2008 Microchip Technology Inc. PIC16F193X/LF193X T DLY LSb Command T DLY Command Advance Information MSb 0 Next Payload Command LSb ...

Page 36

... FIGURE 8-10: LVP ENTRY (POWERED MCLR T ENTH T CKH ICSPCLK LSb of Pattern ICSPDAT 0 Note 1: Sequence matching can start with no edge on MCLR first. DS41360A-page 36 33 clocks T CKL MSb of Pattern 1 2 ... 31 33 Clocks T CKL MSb of Pattern 1 2 ... 31 Advance Information © 2008 Microchip Technology Inc. ...

Page 37

... APPENDIX A: REVISION HISTORY Revision A (11/2008) Original release of this document. © 2008 Microchip Technology Inc. PIC16F193X/LF193X Advance Information DS41360A-page 37 ...

Page 38

... PIC16F193X/LF193X NOTES: DS41360A-page 38 Advance Information © 2008 Microchip Technology Inc. ...

Page 39

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, 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. ...

Page 40

... France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08- Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 01/02/08 © 2008 Microchip Technology Inc. ...

Related keywords