PIC16F726-E/SO Microchip Technology, PIC16F726-E/SO Datasheet

no-image

PIC16F726-E/SO

Manufacturer Part Number
PIC16F726-E/SO
Description
14KB Flash Program, 1.8V-5.5V, 16MHz Internal Oscillator, 8b ADC, CCP, I2C/SPI,
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F726-E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 11x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
I2C, SCI, SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
25
Number Of Timers
3
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 11 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164112 - VOLTAGE LIMITER MPLAB ICD2 VPPICE2000 - EMULATOR MPLAB-ICE 2000 POD
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
This document includes the
programming specifications for the
following devices:
1.0
The PIC16F72X and PIC16LF72X devices are
programmed using In-Circuit Serial Programming™
(ICSP™). This programming specification applies to
the PIC16F72X and PIC16LF72X devices in all
packages.
TABLE 1-1:
 2010 Microchip Technology Inc.
• PIC16F722
• PIC16F723A
• PIC16F727
• PIC16LF723
• PIC16LF726
RB6
RB7
MCLR/V
V
V
Legend: I = Input, O = Output, P = Power
Note 1:
DD
SS
Pin Name
OVERVIEW
PP
PIC16F72X Memory Programming Specification
To activate the Program/Verify mode, high voltage needs to be applied to MCLR/V
MCLR /V
current on this pin.
PIN DESCRIPTIONS DURING PROGRAMMING
• PIC16F722A
• PIC16F724
• PIC16LF722
• PIC16LF723A • PIC16LF724
• PIC16LF727
Program/Verify mode
PP
is used to provide high voltage during programming, the programmer must be able to supply
Function
ICSPCLK
ICSPDAT
V
V
DD
SS
• PIC16F723
• PIC16F726
• PIC16LF722A
Advance Information
Pin Type
PIC16F72X/PIC16LF72X
P
I/O
P
P
I
(1)
During Programming
The PIC16F72X devices operate from 1.8 to 5.5 volts
and the PIC16LF72X devices operate from 1.8 to 3.6
volts. All other aspects of the PIC16F72X with regards
to the PIC16LF72X devices are identical.
1.1
PIC16F72X and PIC16LF72X devices require one
power supply for V
Section 8.0 “Electrical Specifications” for more
details.)
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
Hardware Requirements
Pin Utilization
Pin Description
DD
and one for V
PP
input. Since the
DS41332C-page 1
PP
. (See

Related parts for PIC16F726-E/SO

PIC16F726-E/SO Summary of contents

Page 1

... PIC16F72X Memory Programming Specification This document includes the programming specifications for the following devices: • PIC16F722 • PIC16F722A • PIC16F723 • PIC16F723A • PIC16F724 • PIC16F726 • PIC16F727 • PIC16LF722 • PIC16LF722A • PIC16LF723 • PIC16LF723A • PIC16LF724 • PIC16LF726 • PIC16LF727 1.0 ...

Page 2

... PIC16LF722/722A/723/723A/726 28-Pin SOIC, SSOP, Skinny PDIP V /MCLR/RE3 PP SS/AN0/RA0 AN1/RA1 AN2/RA2 V /AN3/RA3 REF T0CKI/RA4 V /SS/AN4/RA5 CAP V CLKI/OSC1/RA7 CLKO/OSC2/RA6 T1CKI/T1OSO/RC0 CCP2/T1OSI/RC1 CCP1/RC2 SCL/SCK/RC3 DS41332C-page Advance Information RB7/ICSPDAT RB6/ICSPCLK RB5/AN13/T1G RB4/AN11 RB3/AN9/CCP2 RB2/AN8 RB1/AN10 RB0/AN12/INT RC7/RX/DT RC6/TX/CK RC5/SDO RC4/SDI/SDA  2010 Microchip Technology Inc. ...

Page 3

... FIGURE 2-2: QFN PACKAGE DIAGRAM FOR PIC16F722/722A/723/723A/726 AND PIC16LF722/722A/723/723A/726 28-Pin QFN AN2/RA2 V /AN3/RA3 REF T0CKI/RA4 V /SS/AN4/RA5 CAP V SS CLKI/OSC1/RA7 CLKO/OSC2/RA6  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X RC7/RX/DT 15 Advance Information RB3/AN9/CCP2 RB2/AN8 RB1/AN10 RB0/AN12/INT DD SS DS41332C-page 3 ...

Page 4

... RB2/AN8 6 35 RB1/AN10 34 7 RB0/AN12/INT RD7 30 11 RD6 29 12 RD5 28 13 RD4 27 14 RC7/RX/ RC6/TX/ RC5/SDO 24 17 RC4/SDI/SDA 23 18 RD3 22 19 RD2 RA6/OSC2/CLKO 33 2 RA7/OSC1/CLKI RE2/AN7 27 8 RE1/AN6 26 9 RE0/AN5 25 10 RA5/AN4/SS(2)/ RA4/T0CKI Advance Information CAP  2010 Microchip Technology Inc. ...

Page 5

... FIGURE 2-5: TQFP PACKAGE DIAGRAM FOR PIC16F724/727 AND PIC16LF724/727 44-Pin TQFP RC7/RX/DT RD4 RD5 RD6 RD7 INT/AN12/RB0 AN10/RB1 AN8/RB2 CCP2/AN9/RB3  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X RC0/T1OSO/T1CKI 31 RA6/OSC2/CLKO 3 RA7/OSC1/CLKI RE2/AN7 27 7 RE1/AN6 8 26 RE0/AN5 9 25 RA5/AN4/SS RA4/T0CKI 11 Advance Information SS DD CAP ...

Page 6

... Device ID 2007h Configuration Word 1 2008h Configuration Word 2 Calibration Word 1 2009h 200Ah Calibration Word 2 Reserved 200Bh-20FFh DS41332C-page 0000h Implemented 07FFh Maps to 0-7FF 1FFFh 2000h Implemented 2200h Maps to 2000-21FFh 3FFFh Advance Information Program Memory Configuration Memory  2010 Microchip Technology Inc. ...

Page 7

... Reserved 2004h Reserved 2005h Device ID 2006h Configuration Word 1 2007h Configuration Word 2 2008h Calibration Word 1 2009h 200Ah Calibration Word 2 Reserved 200Bh-20FFh  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X 4 KW 0000h Implemented 0FFFh Maps to 0-FFF 1FFFh 2000h Implemented 2200h Maps to 2000-21FFh 3FFFh Advance Information ...

Page 8

... DS41332C-page 0000 Implemented 1FFFh 2000h Implemented 2200h Maps to 2000-21FFh 3FFFh 3.2 Device ID The device ID word for the PIC16F72X and the PIC16LF72X is located at 2006h. This location can not be erased or modified. Advance Information Program Memory Configuration Memory  2010 Microchip Technology Inc. ...

Page 9

... TABLE 3-1: DEVICE ID VALUES DEVICE PIC16F722 PIC16F722A PIC16F723 PIC16F723A PIC16F724 PIC16F726 PIC16F727 PIC16LF722 PIC16LF722A PIC16LF723 PIC16LF723A PIC16LF724 PIC16LF726 PIC16LF727 3.3 Configuration Words The PIC16F72X/PIC16LF72X has two Configuration Words, Configuration Word 1 Configuration Word 2 (2008h). The individual bits within these Configuration Words are used to enable or disable device functions such as the Brown-out Reset, code protection and Power-up Timer ...

Page 10

... BOR ) set to 2.5V BOR Pin Function Select bit PP pin function is MCLR; Weak pull-up enabled. pin function is digital input; MCLR internally disabled; Weak pull-up disabled. Advance Information R/P-1 U-1 BOREN0 — R/P-1 R/P-1 FOSC1 FOSC0 bit 0  2010 Microchip Technology Inc. ...

Page 11

... RA0 CAP functionality is enabled on RA5 CAP functionality is enabled on RA6 CAP 11 = All V pin functions are disabled CAP bit 3-0 Unimplemented: Read as ‘1’  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X U-1 U-1 U-1 — — — R/P-1 U-1 U-1 — — ...

Page 12

... already applied, for it is not DD to enter Program/Verify between the DLY Data/Note Hex 00h 0, data (14), 0 02h 0, data (14), 0 04h 0, data (14), 0 06h 16h 08h 18h 0Ah 09h Internally Timed 11h Internally Timed  2010 Microchip Technology Inc. ...

Page 13

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

Page 14

... PC. To reset this counter, the user must exit Program/Verify mode and re-enter it or use the Reset Address command. FIGURE 4-4: INCREMENT ADDRESS 1 2 ICSPCLK 0 ICSPDAT DS41332C-page DLY Input DLY Advance Information LSb MSb 0 Input Output Next Command  2010 Microchip Technology Inc. ...

Page 15

... The End Externally Timed Programming command is not needed when the Begin Internally Timed Programming is used to start the programming. FIGURE 4-6: BEGIN INTERNALLY TIMED PROGRAMMING 1 2 ICSPCLK 0 0 ICSPDAT  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X DLY ...

Page 16

... This delay is longer than the delay ordinarily required between other commands. FIGURE 4-8: END EXTERNALLY TIMED PROGRAMMING 1 2 ICSPCLK 0 ICSPDAT DS41332C-page 16 command. complete the End Externally Timed Programming PEXT given. This DIS Advance Information Command Next Command  2010 Microchip Technology Inc. ...

Page 17

... ERAR FIGURE 4-10: ROW ERASE PROGRAM MEMORY 1 ICSPCLK ICSPDAT 1  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X After receiving the Bulk Erase Program Memory command, the erase will not complete until the time interval has expired. ERAB Note 1: The code protection Configuration bit (CP) has no effect on the Bulk Erase Program Memory command ...

Page 18

... The following diagrams show the recommended flowcharts for programming. Begin Programming Command (Internally timed) Wait T PINT Advance Information For example, Program Cycle Load Data for Program Memory Begin Programming Command (Externally timed) Wait T PEXT End Programming Wait T DIS  2010 Microchip Technology Inc. ...

Page 19

... Eight-word Program Cycle Increment No All Locations Address Done? Command Yes Done Note 1: This step is optional if device is erased or not previously programmed.  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X Program Cycle Program Memory Program Memory Program Memory Begin Programming Command (Internally timed) Wait T PINT ...

Page 20

... Yes Increment Address Command One-word Program Cycle (Config Word 2) Read Data From Program Data Correct? Memory Command Yes Done Advance Information for Begin Programming Command (Externally timed) Wait T PEXT End Programming Wait T DIS Report No Programming Failure  2010 Microchip Technology Inc. ...

Page 21

... FIGURE 5-4: VERIFY FLOWCHART  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X Start Enter Programming Mode Bulk Erase Device Write Program Memory Write User IDs Verify Program Memory Verify User IDs Write Configuration Words Verify Configuration Words Exit Programming Mode Done Advance Information ...

Page 22

... Enabling Code Protection Code protection is enabled by programming the CP bit in Configuration Word 1 to ‘0’. 6.2 Disabling Code Protection The only way to disable code protection is to use the Bulk Erase Program Memory command. DS41332C-page 22 Advance Information  2010 Microchip Technology Inc. ...

Page 23

... PIC16LF72X program memory locations and adding up the program memory data, starting at address 0000h the maximum user addressable location (e.g., 1FFFH for the PIC16F726). Any Carry bit exceeding 16 bits are neglected. Additionally, the rele- vant bits of the Configuration Words are added to the checksum. All unused Configuration bits are masked to ‘ ...

Page 24

... Words are summed (all unused Configuration bits are masked to ‘0’) with the Least Significant nibble of the user ID’s. EXAMPLE 7-2: CHECKSUM COMPUTED WITH CODE PROTECTION ENABLED PIC16F726 Configuration Word 1 Configuration Word 1 mask Configuration Word 2 Configuration Word 2 mask User ID (2000h) User ID (2001h) ...

Page 25

... Clock to data low-impedance T LZD (during a Read Data command) Clock to data high-impedance T HZD (during a Read Data command)  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X Standard Operating Conditions (unless otherwise stated) +10°C  T Operating Temperature Min. Type. Max. Supply Voltages and currents 1.8 — ...

Page 26

... Advance Information +40°C A Units Conditions/Comments  Program memory ms Configuration fuses 10°C  T  +40° Program memory s s  2010 Microchip Technology Inc. ...

Page 27

... IHH ICSPDAT ICSPCLK FIGURE 8-4: PROGRAMMING MODE EXIT – V LAST PP T EXIT V IHH ICSPDAT ICSPCLK  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X FIGURE 8-5: FIRST ICSPDAT ICSPCLK FIGURE 8-6: FIRST ICSPCLK ICSPDAT AS INPUT ICSPDAT AS OUTPUT ICSPDAT from input to output ICSPDAT from output ...

Page 28

... PIC16F72X/PIC16LF72X FIGURE 8-7: COMMAND-PAYLOAD TIMING 1 2 ICSPCLK X X ICSPDAT DS41332C-page 28 T DLY LSb Command Advance Information MSb 0 Next Payload Command  2010 Microchip Technology Inc. ...

Page 29

... Corrected Reserved area range in Figures 3-1, 3-2, and 3-3. Corrected low-voltage range for Programming modes shown in Figures 8-3 and 8-5. Revision C (02/2010) Added PIC16F722A, PIC16F723A, PIC16LF722A and PIC16LF723A devices to the Specification; Other minor edits.  2010 Microchip Technology Inc. PIC16F72X/PIC16LF72X Programming Advance Information DS41332C-page 29 ...

Page 30

... PIC16F72X/PIC16LF72X NOTES: DS41332C-page 30 Advance Information  2010 Microchip Technology Inc. ...

Page 31

... 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 32

... 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/05/10  2010 Microchip Technology Inc. ...

Related keywords