PIC16F1507T-I/SO Microchip Technology, PIC16F1507T-I/SO Datasheet

3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in T/R

PIC16F1507T-I/SO

Manufacturer Part Number
PIC16F1507T-I/SO
Description
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in T/R
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F1507T-I/SO

Processor Series
PIC16
Core
PIC16F
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
3.5 KB
Data Ram Size
128 B
Interface Type
ICSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
18
Number Of Timers
3
Operating Supply Voltage
2.3 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SOIC-20
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 85 C
Supply Current (max)
30 uA
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
-
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
-
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1507T-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
This document includes the
programming specifications for the
following devices:
1.0
The 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, these devices require
two programmable power supplies: one for V
one for the MCLR/V
TABLE 1-1:
 2011 Microchip Technology Inc.
• PIC12F1501
• PIC16F1503
• PIC16F1507
• PIC16F1508
• PIC16F1509
RA1
RA0
MCLR/V
V
V
Legend:
Note 1:
PIC12(L)F1501/PIC16(L)F150X Memory Programming Specification
DD
SS
Pin Name
PP
OVERVIEW
Hardware Requirements
/RA3
I = Input, O = Output, P = Power
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
PIN DESCRIPTIONS DURING PROGRAMMING
• PIC12LF1501
• PIC16LF1503
• PIC16LF1507
• PIC16LF1508
• PIC16LF1509
PP
Program/Verify mode
pin.
ICSPCLK
ICSPDAT
Function
V
V
DD
SS
PIC12(L)F1501/PIC16(L)F150X
Advance Information
DD
Pin Type
and
P
I/O
P
P
I
(1)
During Programming
1.1.2
In Low-Voltage ICSP™ mode, these devices can be
programmed using a single V
operating range. The MCLR/V
be brought to a 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 the MCLR/V
to V
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
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
IHH
. Once the LVP bit is programmed to a ‘0’, only
2: While in Low-Voltage ICSP mode, MCLR
Pin Utilization
LOW-VOLTAGE ICSP
PROGRAMMING
available, regardless of the state of the
LVP bit, by applying V
V
is always enabled, regardless of the
MCLRE bit, and the port pin can no
longer be used as a general purpose
input.
Single-Supply ICSP Programming
PP
Table
pin.
Pin Description
1-1.
PP
pin does not have to
DD
IHH
DS41573C-page 1
source in the
to the MCLR/
PP
pin is raised

Related parts for PIC16F1507T-I/SO

PIC16F1507T-I/SO Summary of contents

Page 1

... Note 1: 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.  2011 Microchip Technology Inc. 1.1.2 LOW-VOLTAGE ICSP PROGRAMMING In Low-Voltage ICSP™ ...

Page 2

... DS41573C-page 2 through RA5 RA0/ICSPDAT 7 2 RA4 RA1/ICSPCLK 6 3 /RA3 PP 4 RA2 RA5 RA0/ICSPDAT 13 2 RA4 RA1/ICSPCLK 12 3 /RA3 PP 4 RA2 11 RC5 RC0 5 10 RC4 6 9 RC1 RC2 8 RC3 RA0/ICSPDAT RA1/ICSPCLK 3 10 RA2 4 9 RC0 Advance Information  2011 Microchip Technology Inc. ...

Page 3

... PDIP, SOIC, SSOP DIAGRAM FOR PIC16(L)F1507/8/9 PDIP, SOIC, SSOP V RA5 RA4 MCLR/V /RA3 PP RC5 RC4 RC3 RC6 RC7 RB7 FIGURE 2-5: 20-PIN QFN DIAGRAM FOR PIC16(L)F1507/8/9 QFN (4x4) MCLR/V PP  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X RA0/ICSPDAT 18 3 RA1/ICSPCLK 4 17 RA2 16 RC0 5 ...

Page 4

... Device ID 8006h Configuration Word 1 8007h Configuration Word 2 8008h Calibration Word 1 8009h 800Ah Calibration Word 2 800Bh-80FFh Reserved DS41573C-page 0000h Implemented 03FFh Maps to 0-03FFh 7FFFh 8000h Implemented 8100h Maps to 8000-80FFh FFFFh Advance Information Program Memory Configuration Memory  2011 Microchip Technology Inc. ...

Page 5

... Reserved 8004h Reserved 8005h Device ID 8006h Configuration Word 1 8007h Configuration Word 2 8008h Calibration Word 1 8009h 800Ah Calibration Word 2 800Bh-81FFh Reserved  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X 2 KW 0000h Implemented 07FFh Maps to 0-07FFh 7FFFh 8000h Implemented 8200h Maps to 8000-81FFh FFFFh Advance Information ...

Page 6

... Device ID 8006h Configuration Word 1 8007h Configuration Word 2 8008h Calibration Word 1 8009h 800Ah Calibration Word 2 800Bh-81FFh Reserved DS41573C-page 0000h Implemented 0FFFh Maps to 0-0FFFh 7FFFh 8000h Implemented 8200h Maps to 8000-81FFh FFFFh Advance Information Program Memory Configuration Memory  2011 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 800Bh-81FFh Reserved  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X 8 KW 0000h Implemented 1FFFh Maps to 0-1FFFh 7FFFh 8000h Implemented 8200h Maps to 8000-81FFh FFFFh Advance Information ...

Page 8

... Note 1: This location cannot be written. DS41573C-page 8 ( DEV7 DEV6 DEV5 REV4 REV3 REV2 ‘1’ = Bit is set U = Unimplemented bit, read as ‘0’ Advance Information R R DEV4 DEV3 bit REV1 REV0 bit 0 ‘0’ = Bit is cleared x = Bit is unknown  2011 Microchip Technology Inc. ...

Page 9

... The internal calibration values are factory calibrated and stored in Calibration Words 1 and 2 (8009h, 800Ah). The Calibration Words do not participate in erase operations. The device can be erased without affecting the Calibration Words.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X DEVICE ID VALUES DEV 0010 1100 110 0010 1101 100 ...

Page 10

... This bit should be maintained as ‘1’ when programmed. DS41573C-page 10 U-1 R/P-1 R/P-1 — CLKOUTEN BOREN1 R/P-1 R/P-1 U-1 WDTE1 WDTE0 — ‘0’ = Bit is cleared x = Bit is unknown P = Programmable Bit (1) (1) Advance Information (3) R/P-1 U-1 — BOREN0 bit 8 R/P-1 R/P-1 FOSC1 FOSC0 bit 0  2011 Microchip Technology Inc. ...

Page 11

... Note 1: Enabling Brown-out Reset does not automatically enable Power-up Timer. 2: The entire program memory will be erased when the code protection is turned off. 3: This bit should be maintained as ‘1’ when programmed.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X R/P-1 R/P-1 IESO CLKOUTEN R/P-1 ...

Page 12

... U-1 U-1 — — — ‘0’ = Bit is cleared x = Bit is unknown P = Programmable Bit (1) ) set to 1. devices, and 2.45V on F devices BOR ) set to 2.7V BOR Advance Information R/P-1 U-1 STVREN — bit 8 R/P-1 R/P-1 WRT1 WRT0 bit 0  2011 Microchip Technology Inc. ...

Page 13

... PMCON control 01 = 0000h to 0FFFh write-protected, 1000h to 1FFFh may be modified by PMCON control 00 = 0000h to 1FFFh write-protected, no addresses may be modified by PMCON control Note 1: The LVP bit cannot be programmed to ‘0’ when Programming mode is entered via LVP.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X R/P-1 R/P-1 DEBUG ...

Page 14

... Significant nibble must be shifted in first. This differs from entering the key = 100), and sequence on other parts. -first PP -first method DD or below DD 8-1. Advance Information or DD 8-3 and 8-4. only, without high voltage Figure 8-8 . See Figure 8-8 and Figure 8-9. IL  2011 Microchip Technology Inc. ...

Page 15

... The address is then pro- grammed by issuing either the Begin Internally Timed Programming or Begin Externally Timed Programming command. FIGURE 4-1: LOAD CONFIGURATION ICSPCLK 0 0 ICSPDAT  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X between the DLY Mapping Binary (MSb … LSb ...

Page 16

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

Page 17

... RESET ADDRESS The Reset Address command will reset the address to 0000h, regardless of the current value. The address is used in program memory or the configuration memory. FIGURE 4-5: RESET ADDRESS 1 2 ICSPCLK 0 1 ICSPDAT Address  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X DLY Address ...

Page 18

... Configuration or Calibration Word will have no effect on the targeted word. FIGURE 4-7: BEGIN EXTERNALLY TIMED PROGRAMMING 1 2 ICSPCLK 0 ICSPDAT DS41573C-page 18 of the that is being PINT the (see PEXT End Externally Timed Programming PEXT Advance Information Next Command Command  2011 Microchip Technology Inc. ...

Page 19

... Program Memory is erased Configuration Words are erased User ID Locations are erased A Bulk Erase Program Memory command should not be issued when the address is greater than 8008h. FIGURE 4-9: BULK ERASE PROGRAM MEMORY 1 ICSPCLK ICSPDAT 1  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X given. This DIS 1 ...

Page 20

... TABLE 4-2: PROGRAMMING ROW SIZE AND LATCHES Devices PIC12(L)F1501 PIC16(L)F1503/1507 PIC16(L)F1508/1509 FIGURE 4-10: ROW ERASE PROGRAM MEMORY 1 ICSPCLK ICSPDAT 1 DS41573C-page 20 for row sizes of PC Row Size <15:5> 32 <15:4> 16 <15:5> Advance Information Number of Latches Next Command ERAR  2011 Microchip Technology Inc. ...

Page 21

... If more than the maximum number of 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.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X Advance Information DS41573C-page 21 ...

Page 22

... See Figure 5-5. DS41573C-page 22 Start Enter Programming Mode Bulk Erase Device Write Program (1) Memory Write User IDs Verify Program Memory Verify User IDs Write Configuration (2) Words Verify Configuration Words Exit Programming Mode Done Advance Information  2011 Microchip Technology Inc. ...

Page 23

... Note 1: This step is optional if the device has already been erased or has not been previously programmed the device is code-protected or must be completely erased, then Bulk Erase the device per 3: See Figure 5-3 or Figure 5-4.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X Start Bulk Erase Program (1, 2) Memory ...

Page 24

... Note 1: Externally timed writes are not supported for Configuration and Calibration bits. DS41573C-page 24 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 (1)  2011 Microchip Technology Inc. ...

Page 25

... FIGURE 5-4: MULTIPLE-WORD PROGRAM CYCLE  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X Program Cycle Load Data Latch 1 for Program Memory Increment Address Command Load Data Latch 2 for Program Memory Increment Address Command Load Data Latch n for Program Memory Begin Begin Programming Programming ...

Page 26

... Word 1) Read Data From Program Memory Command Report No Data Correct? Programming Failure Yes Increment Address Command One-word (2) Program Cycle (Config. Word 2) Read Data From Program Data Correct? Memory Command Advance Information Report No Programming Failure Yes Done  2011 Microchip Technology Inc. ...

Page 27

... FIGURE 5-6: ERASE FLOWCHART Note: This sequence does not erase the Calibration Words.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X Start Load Configuration Bulk Erase Program Memory Done Advance Information DS41573C-page 27 ...

Page 28

... If a device ID is present in the hex file at 1000Ch- 1000Dh (8006h on the part), the programmer should verify the device ID (excluding the revision) against the value read from the part mismatch condition the programmer should generate a warning message. Advance Information INHX32 hex format. Data is stored  2011 Microchip Technology Inc. ...

Page 29

... This value is obtained by ANDing the Configuration Word value with the Configuration Word Mask Value and adding it to the sum of memory addresses: (3FFFh and 0EFBh) + (3FFFh and 2E03h) + F800h = 1 34FEh. Then, truncate to 16 bits, thus having a final value of 34FEh.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X 7.3.1 ...

Page 30

... B654h. Then, truncate to 16 bits, thus having a final value of B654h. DS41573C-page 30 (1) 7956h 3FFFh 0EFBh 3FFFh 2E03h = 7956h + 0EFBh + 2E03h = B654h Advance Information (2) (3) (4) (5) (6)  2011 Microchip Technology Inc. ...

Page 31

... ID location do not shift. Finally, add up all four user ID values to get the final sum of user IDs of 6712h. 7: This value is obtained by ANDing the Configuration Word value with the Configuration Word Mask Value and adding it to the sum of user IDs: (3F7Fh AND 0E7Bh) + (3FFFh AND 2E03h) + 6712h = A390h.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X 3F7Fh 0E7Bh 3FFFh ...

Page 32

... E000h + 0800h + 0050h + 0008h = E858h = (3F7Fh and 0E7Bh) + (3FFFh and 2E03h) + Sum of User IDs = 0E7Bh +2E03h + E858h = 24D6h Advance Information (1) (2) (3) (4) (5) (6) (7)  2011 Microchip Technology Inc. ...

Page 33

... DIS (HV discharge time) T Time delay when exiting Program/Verify mode EXIT Note 1: Externally timed writes are not supported for Configuration and Calibration bits.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X Standard Operating Conditions Production tested at 25°C Min. Typ. Supply Voltages and Currents V min ...

Page 34

... T T ENTS ENTH V IHH ICSPDAT ICSPCLK FIGURE 8-3: PROGRAMMING MODE EXIT – V LAST PP T EXIT V IHH ICSPDAT ICSPCLK DS41573C-page 34 FIGURE 8-4: FIRST ICSPDAT ICSPCLK FIRST Advance Information PROGRAMMING MODE EXIT – V LAST DD T EXIT IHH V IL  2011 Microchip Technology Inc. ...

Page 35

... T HZD to output ICSPDAT from output to input FIGURE 8-6: WRITE COMMAND-PAYLOAD TIMING 1 2 ICSPCLK X X ICSPDAT FIGURE 8-7: READ COMMAND-PAYLOAD TIMING 1 2 ICSPCLK X X ICSPDAT (from Programmer) ICSPDAT (from Device)  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X T DLY LSb Command T DLY ...

Page 36

... FIGURE 8-9: LVP ENTRY (POWERING UP MCLR T ENTH T CKH ICSPCLK LSb of Pattern ICSPDAT 0 Note 1: Sequence matching can start with no edge on MCLR first. DS41573C-page 36 33 clocks T CKL MSb of Pattern 1 2 ... 31 33 Clocks T CKL MSb of Pattern 1 2 ... 31 Advance Information  2011 Microchip Technology Inc. ...

Page 37

... Original release of this document. Revision B (05/2011) Updated Figures 2-1 and 2-2; Added Note 3 to Register 3-2; Revised Register 3-3; Other minor corrections. Revision C (08/2011) Added PIC12(L)F1501 and PIC16(L)F1503/1508/1509 devices; Other minor corrections.  2011 Microchip Technology Inc. PIC12(L)F1501/PIC16(L)F150X Advance Information DS41573C-page 37 ...

Page 38

... PIC12(L)F1501/PIC16(L)F150X NOTES: DS41573C-page 38 Advance Information  2011 Microchip Technology Inc. ...

Page 39

... 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. © 2011, Microchip Technology Incorporated, Printed in the U ...

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 08/02/11  2011 Microchip Technology Inc. ...

Related keywords