PIC16F616-I/SL Microchip Technology, PIC16F616-I/SL Datasheet

IC PIC MCU FLASH 2KX14 14SOIC

PIC16F616-I/SL

Manufacturer Part Number
PIC16F616-I/SL
Description
IC PIC MCU FLASH 2KX14 14SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F616-I/SL

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
14-SOIC (3.9mm Width), 14-SOL
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
11
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
11
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MCP1631RD-DCPC1 - REF DES BATT CHARG OR LED DRIVERAC162083 - HEADER MPLAB ICD2 PIC16F616 8/14
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F616-I/SL
Manufacturer:
MICROCHIP
Quantity:
400
Part Number:
PIC16F616-I/SL
Manufacturer:
Microchip Technology
Quantity:
45 197
Part Number:
PIC16F616-I/SL
Manufacturer:
MICROCHIP
Quantity:
20 000
Part Number:
PIC16F616-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
2 130
Part Number:
PIC16F616-I/SL
0
Company:
Part Number:
PIC16F616-I/SL
Quantity:
4 790
Company:
Part Number:
PIC16F616-I/SL
Quantity:
4 626
1.0
This
specifications for the following devices:
2.0
The PIC12F609/12F615/12F617/16F610/16F616 and
PIC12HV609/12HV615/16HV610/16HV616 devices are
programmed using a serial method. The Serial mode will
allow these devices to be programmed while in the user’s
system. These programming specifications apply to all of
the above devices in all packages.
 2009 Microchip Technology Inc.
• PIC12F615
• PIC12F609
• PIC12F617
• PIC16F616
• PIC16F610
Note 1: All references to the PIC12F615 parts
document
2: All references to the PIC16F616 parts
3: All references to the PIC12F609 parts
4: All references to the PIC16F610 parts
5: Any references in this programming
DEVICE OVERVIEW
PROGRAMMING THE
PIC12F609/12F615/12F617/
16F610/16F616 AND
PIC12HV609/12HV615/16HV610/
16HV616 DEVICES
refer to the PIC12HV615 parts as well
(unless otherwise specified).
refer to the PIC16HV616 as well (unless
otherwise specified).
refer to the PIC12HV609 as well (unless
otherwise specified).
refer to the PIC16HV610 as well (unless
otherwise specified).
specification to PORTA and RAn refer to
GPIO and GPn, respectively.
Flash Memory Programming Specification
includes
• PIC12HV615
• PIC12HV609
• PIC16HV616
• PIC16HV610
the
PIC12F609/12F615/12F617/16F610/16F616 AND
programming
PIC12HV609/12HV615/16HV610/16HV616
2.1
These devices require one power supply for V
Table 7-1 V
2.2
The Program/Verify mode for these devices allows pro-
gramming of user program memory, user ID locations,
Calibration Word and the Configuration Word.
Hardware Requirements
Program/Verify Mode
DD
, and one for V
PP
, see Table 7-1 V
DS41396A-page 1
DD
IHH
, see
.

Related parts for PIC16F616-I/SL

PIC16F616-I/SL Summary of contents

Page 1

... PIC16HV610 • PIC16F610 Note 1: All references to the PIC12F615 parts refer to the PIC12HV615 parts as well (unless otherwise specified). 2: All references to the PIC16F616 parts refer to the PIC16HV616 as well (unless otherwise specified). 3: All references to the PIC12F609 parts refer to the PIC12HV609 as well (unless otherwise specified). ...

Page 2

... RA5 12 1 RA4 RC5 9 4 During Programming Pin Type I Clock input – Schmitt Trigger input I/O Data input/output – Schmitt Trigger input (1) P Program Mode Select P Power Supply P Ground RA0/ICSPDAT RA1/ICSPCLK RA2 RC0 Pin Description IHH  2009 Microchip Technology Inc. ...

Page 3

... ID information. The 14 bits may be programmed, but only the 7 LSbs ® are read and displayed by MPLAB IDE.  2009 Microchip Technology Inc. 3.3 Calibration Word For all of the devices covered in this document, the 4/8 MHz Internal Oscillator (INTOSC) module is fac- tory calibrated. This value is stored in the Calibration Word (0x2008) ...

Page 4

... User ID Location 2002 User ID Location 2003 Reserved 2004 Reserved 2005 Device ID 2006 Configuration Word 2007 2008 Calibration Word Reserved 2009-203F DS41396A-page Implemented 03FF Program Memory Maps to 0-3FF 1FFF 2000 Implemented 2040 Maps to Configuration Memory 2000-203F 3FFF  2009 Microchip Technology Inc. ...

Page 5

... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 3-2: PIC12F617/PIC16F616/HV616 PROGRAM MEMORY MAPPING User ID Location 2000 User ID Location 2001 User ID Location 2002 User ID Location 2003 Reserved 2004 Reserved 2005 Device ID 2006 Configuration Word 2007 2008 Calibration Word 2009-203F Reserved (1) 2009-206F Note 1: Applies to the PIC12F617 only. ...

Page 6

... V DD ICSPDAT ICSPCLK 4.1 Program/Erase Algorithms The PIC16F616/PIC12F617 program memory may written in two ways. The fastest method writes four words at a time. However, one-word writes are also supported for backward compatibility with previous 8- pin and 14-pin Flash devices. The four-word algorithm is used to program the program memory only ...

Page 7

... Repeat steps 1 through 12 as required to write the desired range of program memory. See Figure 4-12 for more information. Note: Only the PIC16F616 and PIC12F617 pro- gram memory can be written to using the four-word programming algorithm. use the ...

Page 8

... ICSPCLK. To allow for decoding of commands and reversal of data pin configuration, a time separation of at least 1 s (T DLY between a command and a data word. The commands that are available are described in Table 4-1.  2009 Microchip Technology Inc. consecutive Programming ). DIS 1) is required ...

Page 9

... Stop bit (see Figure 4-4). After the configuration memory is entered, the only way to get back to the program memory is to exit the Program/Verify mode by taking MCLR low (V FIGURE 4-4: LOAD CONFIGURATION COMMAND ICSPCLK ICSPDAT  2009 Microchip Technology Inc. Mapping (MSb … LSb ...

Page 10

... FIGURE 4-6: READ DATA FROM PROGRAM MEMORY COMMAND ICSPCLK ICSPDAT T 1 SET DS41396A-page DLY strt_bit DLY 1 HLD T 3 DLY strt_bit LSb HLD DLY input LSb MSb stp_bit T 1 SET T 1 HLD DLY MSb stp_bit input output  2009 Microchip Technology Inc. ...

Page 11

... Programming requires (T time and is terminated using an End Programming command. A timing diagram for this command is shown in Figure 4-8. The addressed locations are not erased before programming. FIGURE 4-8: BEGIN PROGRAMMING (EXTERNALLY TIMED) V IHH MCLR 1 ICSPCLK 0 ICSPDAT  2009 Microchip Technology Inc SET T ...

Page 12

... A timing diagram for this command is shown in Figure 4-10. FIGURE 4-10: BULK ERASE PROGRAM MEMORY COMMAND 1 ICSPCLK 1 ICSPDAT T 1 SET DS41396A-page SET T 1 HLD for erase SET T 1 HLD T 1 HLD Next Command DIS T ERA Next Command  2009 Microchip Technology Inc. ...

Page 13

... To perform a Row Erase Program Memory, the following sequence must be performed. 1. Execute a Row Erase Program Memory command. 2. Wait T to complete a row erase. ERA FIGURE 4-11: ROW ERASE PROGRAM MEMORY COMMAND 1 ICSPCLK 1 ICSPDAT  2009 Microchip Technology Inc ERA Next Command ...

Page 14

... If the device is code-protected or must be completely erased, then bulk erase the device per Figure 4-15. DS41396A-page 14 Report No Programming Failure Program Cycle Load Data for Program Memory Begin Programming Command (Externally timed) Wait T PROG End Programming Wait T DIS  2009 Microchip Technology Inc. ...

Page 15

... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 4-13: FOUR-WORD PROGRAMMING FLOWCHART (PIC12F617/PIC16F616) Start Bulk Erase Program (1,2) Memory Four-word Program Cycle Increment No All Locations Address Done? Command Program User ID/Config. bits Done Note 1: This step is optional if the device is erased or not previously programmed the device is code-protected or must be completely erased, then bulk erase the device per Figure 4-15. ...

Page 16

... Programming Failure Programming Wait T Increment Address Command Increment Address Command Increment Address Command One-word Program Cycle (Config. bits) Read Data From Program Memory Command Report No Data Correct? Programming Failure Yes Done for Begin PROG End DIS  2009 Microchip Technology Inc. ...

Page 17

... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 FIGURE 4-15: PROGRAM FLOWCHART – ERASE FLASH DEVICE Note 1: See Section 4.1.4.7 “Bulk Erase Program Memory” for more information on the bulk erase procedure.  2009 Microchip Technology Inc. Start Load Configuration (1) Bulk Erase Program Memory Done DS41396A-page 17 ...

Page 18

... Enabling Brown-out Reset does not automatically enable Power-up Timer. DS41396A-page 18 devices U-1 U-1 R/P-1 — — BOREN1 R/P-1 R/P-1 R/P-1 PWRTE WDTE FOSC2 P = Programmable bit U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared (1) R/P-1 R/P-1 BOREN0 IOSCFS R/P-1 R/P-1 FOSC1 FOSC0  2009 Microchip Technology Inc. ...

Page 19

... INTOSC oscillator: CLKOUT function on RA4/AN3/T1G/OSC2/CLKOUT, I/O function on RA5/T1CKI/OSC1/CLKIN 110 = EXTRCIO oscillator: I/O function on RA4/AN3/T1G/OSC2/CLKOUT RA5/T1CKI/OSC1/CLKIN 111 = EXTRC oscillator: CLKOUT function on RA4/AN3/T1G/OSC2/CLKOUT RA5/T1CKI/OSC1/CLKIN Note 1: Enabling Brown-out Reset does not automatically enable Power-up Timer (PWRT).  2009 Microchip Technology Inc. U-1 U-1 R/P-1 WRT1 WRT0 BOREN1 R/P-1 ...

Page 20

... This location can not be erased. TABLE 5-1: DEVICE ID VALUES Device ID Values Device Dev PIC12F615 10 0001 100 PIC12HV615 10 0001 101 PIC12F617 01 0011 011 PIC16F616 01 0010 010 PIC16HV616 01 0010 011 PIC12F609 10 0010 010 PIC12HV609 10 0010 100 PIC16F610 10 0010 011 PIC16HV610 10 0010 101 DS41396A-page 20 ...

Page 21

... Checksum is calculated by reading the contents of the program memory locations and adding up the opcodes up to the maximum user addressable location (e.g., 0x7FF for the PIC16F616). Any carry bits exceeding 16 bits are neglected. Finally, the Configuration Word (appropriately masked) is added to the checksum. The ...

Page 22

... PIC12F609/HV609 PIC16F610/HV610 PIC16F616/HV616 Legend: CFGW = Configuration Word. Example calculations assume Configuration Word is erased (all ‘1’s). SUM[a:b] = [Sum of locations inclusive] SUM_ID = User ID locations masked by 0xF then made into a 16-bit value with ID0 as the Most Significant nibble. For example, ID0 = 0x1, ID1 = 0x2, ID3 = 0x3, ID4 = 0x4, then SUM_ID = 0x1234. The 4 LSb’s of the unprotected checksum is used for the example calculations ...

Page 23

... A 5.5V DD Units Conditions/Comments V PIC16F616/F610, PIC12F615/F617/F609 V PIC16HV616/HV610, PIC12HV615/HV609 V PIC16HV616/HV610, PIC12HV615/HV609 V PIC16F616/F610, PIC12F615/F617/F609 V PIC16HV616/HV610, PIC12HV615/HV609 V PIC16HV616/HV610, PIC12HV615/HV609 V A s   s  10°C  T +40° s DS41396A-page 23 ...

Page 24

... PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616 APPENDIX A: REVISION HISTORY Revision A (10/2009) Original release of this document. DS41396A-page 24  2009 Microchip Technology Inc. ...

Page 25

... REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, 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 26

... Fax: 886-3-6578-370 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350  2009 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords