PIC16F1934-E/MV Microchip Technology, PIC16F1934-E/MV Datasheet

7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE

PIC16F1934-E/MV

Manufacturer Part Number
PIC16F1934-E/MV
Description
7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1934-E/MV

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
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-UFQFN Exposed Pad
Processor Series
PIC16F
Core
PIC
Data Ram Size
256 B
Interface Type
MI2C, SPI, EUSART
Number Of Timers
5
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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 PIC16F1934-E/MV

PIC16F1934-E/MV 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

... PIC16F193X/LF193X FIGURE 2-3: 40-PIN PDIP PACKAGE DIAGRAM FOR PIC16F1934/1937/1939 AND PIC16LF1934/1937/1939 40-pin PDIP V /MCLR/RE3 PP FIGURE 2-4: 44-PIN QFN PACKAGE DIAGRAM FOR PIC16F1934/1937/1939 AND PIC16LF1934/1937/1939 44-pin QFN RC7 RD4 RD5 RD6 RD7 RB0 RB1 RB2 DS41360A-page RA0 2 RA1 RA2 36 5 RA3 6 35 ...

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

... The memory for the PIC16F193X/LF193X devices is broken into two sections: program memory and configuration memory. Only the size of the program memory changes between devices, the configuration memory remains the same. FIGURE 3-1: PIC16F1933/PIC16LF1933, PIC16F1934/PIC16LF1934 PROGRAM MEMORY MAPPING User ID Location 8000h User ID Location 8001h ...

Page 7

... 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. PIC16F193X/LF193X 8 KW 0000h Implemented 1FFFh Maps to 0-1FFF 7FFFh 8000h Implemented 8200h Maps to 8000-81FF FFFFh Advance Information ...

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

... These bits are used to identify the part number. bit 4-0 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 © ...

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

... Unimplemented: Read as ‘1’ bit 1-0 WRT<1:0>: Flash memory self-write protection bits 4 kW FLASH memory (PIC16F1933/PIC16LF1933 and PIC16F1934/PIC16LF1934 only Write protection off 10 = 000h to 1FFh write protected, 200h to FFFh may be modified by EECON control 01 = 000h to 7FFh write protected, 800h to FFFh 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

... The checksum is calculated by two different methods dependent on the setting of the CP Configuration bit. TABLE 7-1: CONFIGURATION WORD MASK VALUES 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 ...

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