PIC16F1934T-I/MV Microchip Technology, PIC16F1934T-I/MV Datasheet
![7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm T/R](/photos/16/12/161286/qfn44_sml.jpg)
PIC16F1934T-I/MV
Specifications of PIC16F1934T-I/MV
Available stocks
Related parts for PIC16F1934T-I/MV
PIC16F1934T-I/MV Summary of contents
Page 1
... 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. © 2008 Microchip Technology Inc. PIC16F193X/LF193X 1.1.2 LOW-VOLTAGE ICSP PROGRAMMING In Low-Voltage ICSP™ ...
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
... 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
... PIC16F1933 PIC16F1934 PIC16F1936 PIC16F1937 PIC16F1938 PIC16F1939 PIC16LF1933 PIC16LF1934 PIC16LF1936 PIC16LF1937 PIC16LF1938 PIC16LF1939 © 2008 Microchip Technology Inc. PIC16F193X/LF193X 3.2 Device ID The device ID word for the PIC16F193X/LF193X is located at 8006h. This location is read-only and can not be erased or modified. (1) R-q R-q R-q DEV6 DEV5 ...
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
... R/P-1 R/P-1 — BORV STVREN R/P-1 U-1 U-1 — — Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared x = Bit is unknown (1) (2) pin. CAP Advance Information R/P-1 U-1 PLLEN — bit 7 R/P-1 R/P-1 WRT1 WRT0 bit 0 © 2008 Microchip Technology Inc. ...
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
... Configuration Word 2 Configuration Word 2 mask Checksum = 2534h + (2D83h and 3FFFh) + (3AFFh and 3703h) 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. © 2008 Microchip Technology Inc. PIC16F193X/LF193X 7.4.1 PROGRAM CODE PROTECTION DISABLED ...
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. ...