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

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC

PIC16F54T-I/SO

Manufacturer Part Number
PIC16F54T-I/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F54T-I/SO

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
FLASH
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
This document includes the
programming specifications for the
following devices:
• PIC16F54
1.0
The PIC16F54 is programmed using a serial method.
The Serial mode will allow the PIC16F54 to be
programmed while in the user’s system. This allows for
increased
specification applies to PIC16F54 devices in all
packages.
1.1
The PIC16F54 requires one power supply for V
(5.0V) and one for V
1.2
The Program/Verify mode for the PIC16F54 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 PIC16F54
Hardware Requirements
Program/Verify Mode
PP
In the PIC16F54, the programming high voltage is internally generated. To activate the Program/Verify
mode, high voltage of I
design
PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F54
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
PDIP, SOIC
Clock input – Schmitt Trigger input
Data input/output – Schmitt Trigger input
Program Mode Select
Power Supply
Ground
SSOP
MCLR/V
MCLR/V
T0CKI
T0CKI
RA2
RA3
RB0
RB1
RB2
RB3
RA2
RA3
RB0
RB1
RB2
RB3
V
V
V
PP
SS
SS
PP
SS
PIC16F54
•1
2
3
4
5
6
7
8
9
10
•1
2
3
4
5
6
7
8
9
Pin Description
PIC16F54
18
17
16
15
14
13
12
10
11
20
19
18
17
16
15
14
13
12
11
DS41207D-page 1
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
V
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
DD
DD
DD

Related parts for PIC16F54T-I/SO

PIC16F54T-I/SO Summary of contents

Page 1

... Program/Verify mode Legend Input Output Power Note 1: In the PIC16F54, 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 RA2 RA3 T0CKI MCLR RB0 RB1 programming RB2 RB3 ...

Page 2

... PC. See Figure 2-9. Program/Verify mode entry will set the PC to 0x3FF (Configuration Word address). The Increment Address command will increment the PC. The available commands are shown in Table 2-1. Preliminary © 2007 Microchip Technology Inc. 000h 0FFh 100h 1FFh 200h ...

Page 3

... MSb’s of the data word are ignored. A timing diagram for the Load Data command is shown in Figure 2-3. © 2007 Microchip Technology Inc. Commands that do not have data associated with them are required to wait a minimum of T from the falling edge of the last command clock to the rising edge of the next command clock (see Table 5-1) ...

Page 4

... READ DATA FROM PROGRAM MEMORY COMMAND ICSPCLK ICSPDAT T 1 SET DS41207D-page DLY strt_bit LSb DLY 1 HLD T 2 DLY strt_bit LSb T 1 DLY T 1 HLD Input Preliminary MSb stp_bit T 1 SET -+T 1 HLD DLY stp_bit MSb Input Output © 2007 Microchip Technology Inc. ...

Page 5

... Programming command. Programming will begin after this command is received and decoded. Programming requires (T ) time and is terminated using an End PROG Programming command. This command programs the current location, no erase is performed. FIGURE 2-6: BEGIN PROGRAMMING (EXTERNALLY TIMED) 1 ICSPCLK ICSPDAT 0 © 2007 Microchip Technology Inc. T DLY ...

Page 6

... IDs, the following sequence must be performed (see Figure 2-12). 1. Enter Program/Verify mode 2. Increment PC to 0x200 (first user ID location) 3. Perform a Bulk Erase command 4. Wait T ERA Preliminary T DIS Next Command complete Bulk Erase ERA Next Command 1 2 © 2007 Microchip Technology Inc. ...

Page 7

... Data Correct? Yes Increment No All Locations Address Done? Command Yes Exit Program Mode Program Configuration Memory Figure 2-10 ( Done © 2007 Microchip Technology Inc. Report No Programming Failure ) Preliminary PIC16F54 PROGRAM CYCLE Load Data for Program Memory Begin Programming Command (Externally timed) Wait T ...

Page 8

... Load Data Command One-Word Programming Cycle (see Figure 2-9) DS41207D-page 8 Programs Configuration Word Report Programming Failure Programs User ID’s Read Data Command Report No Data Programming Correct? Failure Yes Increment Address Command No Address = 0x204? Yes Done Preliminary © 2007 Microchip Technology Inc. ...

Page 9

... FIGURE 2-11: PROGRAM FLOWCHART – ERASE PROGRAM MEMORY, CONFIGURATION WORD FIGURE 2-12: PROGRAM FLOWCHART – ERASE PROGRAM MEMORY, CONFIGURATION WORD AND USER ID Increment PC © 2007 Microchip Technology Inc. Start Enter Program/Verify mode PC = 0x3FF (Config Word) Bulk Erase Device Wait T ERA Done ...

Page 10

... WDTE: Watchdog Timer Enable bit 1 = WDT enabled 0 = WDT disabled bit 1-0 FOSC1:FOSC0: Oscillator Selection bits oscillator oscillator oscillator oscillator DS41207D-page 10 — — — — Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared Preliminary CP WDTE FOSC1 FOSC0 bit Bit is unknown © 2007 Microchip Technology Inc. ...

Page 11

... For example, ID0 = 0x1, ID1 = 0x2, ID2 = 0x3, ID3 = 0x4, then SUM_ID = 0x1234. *Checksum = [Sum of all the individual expressions] MODULO [0xFFFF Addition & = Bitwise AND Note: Checksum shown assumes that SUM_ID contains the unprotected checksum. © 2007 Microchip Technology Inc. 4.3 Checksum Computation 4.3.1 CHECKSUM Checksum is calculated by reading the contents of ...

Page 12

... Preliminary 10°C ≤ T ≤ 40°C A 4.5V ≤ V ≤ 5.5V DD Units Conditions/Comments μs μ μ μs μs ns (1) ms (1) ms μs ms © 2007 Microchip Technology Inc. ...

Page 13

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

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