PIC16F57-I/P Microchip Technology, PIC16F57-I/P Datasheet

IC MCU FLASH 2KX12 28DIP

PIC16F57-I/P

Manufacturer Part Number
PIC16F57-I/P
Description
IC MCU FLASH 2KX12 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F57-I/P

Program Memory Type
FLASH
Program Memory Size
3KB (2K x 12)
Package / Case
28-DIP (0.600", 15.24mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
20
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
72 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
20
Number Of Timers
1
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
DV164120, DV164101, ICE2000
Minimum Operating Temperature
- 40 C
Data Rom Size
2 K
Height
3.3 mm
Length
34.67 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
7.24 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28XP - SOCKET TRANSITION ICE 28DIPAC164001 - MODULE SKT PROMATEII 18/28DIP
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F57-I/P
Manufacturer:
Microchip Technology
Quantity:
26 657
Part Number:
PIC16F57-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F57-I/P
0
This document includes the
programming specifications for the
following devices:
• PIC16F57
1.0
The PIC16F57 is programmed using a serial method.
The Serial mode will allow the PIC16F57 to be
programmed while in the user’s system. This allows for
increased
specification applies to PIC16F57 devices in all
packages.
1.1
The PIC16F57 requires one power supply for V
(5.0V) and one for V
1.2
The Program/Verify mode for the PIC16F57 allows
programming of user program memory, special
locations used for ID, and the Configuration Word.
TABLE 1-1:
© 2007 Microchip Technology Inc.
RB6
RB7
MCLR/V
V
V
Legend: I = Input, O = Output, P = Power
Note 1:
DD
SS
Pin Name
PROGRAMMING THE PIC16F57
Hardware Requirements
Program/Verify Mode
PP
In the PIC16F57, the programming high voltage is internally generated. To activate the Program/Verify
mode, high voltage of I
design
PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F57
Program/Verify mode
PP
flexibility.
Memory Programming Specification
(12V).
Function
ICSPCLK
ICSPDAT
V
V
DD
SS
This
IHH
current capability (see Table 5-1) needs to be applied to MCLR input.
programming
Pin Type
Preliminary
DD
P
I/O
P
P
I
(1)
During Programming
Pin Diagrams
Clock input – Schmitt Trigger input
Data input/output – Schmitt Trigger input
Program Mode Select
Power Supply
Ground
T0CKI
PDIP, SOIC
T0CKI
SSOP
RA0
RA1
RA2
RA3
RB0
RB1
RB2
RB3
RB4
V
N/C
V
N/C
RA0
RA1
RA2
RA3
RB0
RB1
RB2
RB3
RB4
V
V
V
V
DD
SS
SS
DD
DD
SS
PIC16F57
•1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
1
PIC16F57
Pin Description
28
27
26
25
24
23
22
21
20
19
18
17
16
15
28
27
26
25
24
23
22
21
20
19
18
17
16
15
DS41208C-page 1
MCLR/V
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7/ICSPDAT
RB6/ICSPCLK
RB5
MCLR/V
OSC1/CLKIN
OSC2/CLKOUT
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
RB7/ICSPDAT
RB6/ICSPCLK
RB5
PP
PP

Related parts for PIC16F57-I/P

PIC16F57-I/P Summary of contents

Page 1

... RB7 ICSPDAT MCLR/V Program/Verify mode Legend Input Output Power Note 1: In the PIC16F57, the programming high voltage is internally generated. To activate the Program/Verify mode, high voltage of I IHH © 2007 Microchip Technology Inc. Pin Diagrams PDIP, SOIC T0CKI N/C RA0 RA1 ...

Page 2

... MCLR pin was initially at V that all I/O are in the Reset state (high-impedance inputs). The PIC16F57 program memory may be written in two ways. The fastest method writes four words at a time to the program memory array. However, one-word writes are also supported. ...

Page 3

... Data is transferred LSb first. During Read commands, in which the data is output from the PIC16F57, the ICSPDAT pin transitions from the high-impedance state to the low-impedance output state at the rising edge of the second data clock (first clock edge after the Start cycle). The ICSPDAT pin returns to the high-impedance state at the rising edge of the 16th data clock (first edge of the Stop cycle) ...

Page 4

... PIC16F57 2.4.3.1 Load Data For Program Memory After receiving this command, the chip will load in a 14-bit “data word” when 16 cycles are applied, as described previously. Because this is a 12-bit core, the two MSbs of the data word are ignored. A timing diagram for the Load Data command is shown in Figure 2-3 ...

Page 5

... End PROG Programming command. This command programs the current location(s), no erase is performed. FIGURE 2-6: BEGIN PROGRAMMING (EXTERNALLY TIMED) 1 ICSPCLK ICSPDAT 0 © 2007 Microchip Technology Inc. T DLY SET T 1 HLD T PROG SET HLD Preliminary PIC16F57 2 Next Command 1 2 End Programming Command DS41208C-page 5 ...

Page 6

... PIC16F57 2.4.3.5 End Programming The End Programming command terminates the program process by removing the high programming voltage from the memory cells and resetting the data input latches to all ‘1’s (erased state). A delay of T (see Table 5-1) is required before the next command to allow the high programming voltage to discharge (see Figure 2-7 ...

Page 7

... FIGURE 2-9: ONE-WORD PROGRAM FLOWCHART – PIC16F57 PROGRAM MEMORY Start Enter Program Mode PC = 0xFFF Increment Address Bulk Erase Device One Word Program Cycle Read Data from Program Memory Data Correct? Yes Increment No All Locations Address Done? Command Yes Exit Program Mode ...

Page 8

... PIC16F57 FIGURE 2-10: FOUR-WORD PROGRAM FLOWCHART – PIC16F57 PROGRAM MEMORY Start Enter Program Mode PC = FFF Increment Address Command Bulk Erase Device Four-Word Program Cycle Increment No All Locations Address Done? Command Yes Reset and Re-enter Program/Verify Read Data Command Data Correct? Yes ...

Page 9

... FIGURE 2-11: PROGRAM FLOWCHART – PIC16F57 CONFIGURATION MEMORY Start Enter Program Mode PC = 0xFFF One-Word Programming Cycle (see Figure 2-9) Read Data Command Data No Correct? Yes Increment Address Command No Address = 0x800? Yes Load Data Command One-Word Programming Cycle (see Figure 2-9) © 2007 Microchip Technology Inc. ...

Page 10

... PIC16F57 FIGURE 2-12: PROGRAM FLOWCHART – ERASE PROGRAM MEMORY, CONFIGURATION WORD FIGURE 2-13: PROGRAM FLOWCHART – ERASE PROGRAM MEMORY, CONFIGURATION WORD AND USER ID Increment PC DS41208C-page 10 Start Enter Program/Verify mode PC = 0x3FF (Config Word) Bulk Erase Device Wait T ERA Done Start Enter Program/Verify mode ...

Page 11

... CONFIGURATION WORD The PIC16F57 has several Configuration bits. These bits can be programmed (reads ‘0’), or left unchanged (reads ‘1’), to select various device configurations. REGISTER 3-1: CONFIGURATION WORD — — — — bit 11 Legend Readable bit W = Writable bit -n = Value at POR ‘ ...

Page 12

... Checksum is calculated by reading the contents of the PIC16F57 memory locations and adding up the opcodes up to the maximum user addressable location, (e.g., 0x7FF for the PIC16F57). Any carry bits exceed- ing 16 bits are neglected. Finally, the Configuration Word (appropriately masked) is added to the check- sum ...

Page 13

... V 100 — 5 — 100 — 100 — 1.0 — 1.0 — — — — 10 — — 100 — — Preliminary PIC16F57 10°C ≤ T ≤ 40°C A 4.5V ≤ V ≤ 5.5V DD Units Conditions/Comments 5.5 V 5.5 V 0 μs 1.0 μs — — V ...

Page 14

... PIC16F57 NOTES: DS41208C-page 14 Preliminary © 2007 Microchip Technology Inc. ...

Page 15

... PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, 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 16

... 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 Preliminary © 2008 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