PIC16F54-I/SS Microchip Technology, PIC16F54-I/SS Datasheet

IC MCU FLASH 512X12 20SSOP

PIC16F54-I/SS

Manufacturer Part Number
PIC16F54-I/SS
Description
IC MCU FLASH 512X12 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F54-I/SS

Core Size
8-Bit
Program Memory Size
768B (512 x 12)
Core Processor
PIC
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
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
20-SSOP
Controller Family/series
PIC16F
No. Of I/o's
12
Ram Memory Size
25Byte
Cpu Speed
20MHz
No. Of Timers
1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164307 - MODULE SKT FOR PM3 28SSOPAC164014 - MODULE SKT PROMATEII 44PQFP
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F54-I/SS
Manufacturer:
MIC
Quantity:
20 000
PIC16F5X
Data Sheet
Flash-Based, 8-Bit CMOS
Microcontroller Series
© 2007 Microchip Technology Inc.
DS41213D

Related parts for PIC16F54-I/SS

PIC16F54-I/SS Summary of contents

Page 1

... Microchip Technology Inc. PIC16F5X Data Sheet Flash-Based, 8-Bit CMOS Microcontroller Series DS41213D ...

Page 2

... Select Mode, Smart Serial, SmartTel, 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 3

... Selectable oscillator options: - RC: Low-cost RC oscillator - XT: Standard crystal/resonator - HS: High-speed crystal/resonator - LP: Power-saving, low-frequency crystal • Packages: - 18-pin PDIP and SOIC for PIC16F54 - 20-pin SSOP for PIC16F54 - 28-pin PDIP, SOIC and SSOP for PIC16F57 - 40-pin PDIP for PIC16F59 - 44-pin TQFP for PIC16F59 Device PIC16F54 ...

Page 4

... RC7 5 24 RC6 6 23 RC5 PIC16F57 7 22 RC4 8 21 RC3 9 20 RC2 10 19 RC1 11 18 RC0 12 17 RB7/ICSPDAT 13 16 RB6/ICSPCLK 14 15 RB5 OSC1/CLKIN 33 OSC2/CLKOUT 32 RD7 31 30 RD6 RD5 29 PIC16F59 28 RD4 27 RD3 RD2 26 RD1 25 GND 24 23 GND © 2007 Microchip Technology Inc. ...

Page 5

... Timer0 Module and TMR0 Register ........................................................................................................................................... 33 8.0 Special Features of the CPU...................................................................................................................................................... 37 9.0 Instruction Set Summary ............................................................................................................................................................ 41 10.0 Development Support................................................................................................................................................................. 53 11.0 Electrical Specifications for PIC16F54/57 .................................................................................................................................. 57 11.0 Electrical Specifications for PIC16F59 (continued) .................................................................................................................... 58 12.0 Packaging Information................................................................................................................................................................ 69 The Microchip Web Site ....................................................................................................................................................................... 83 Customer Change Notification Service ................................................................................................................................................ 83 Customer Support ................................................................................................................................................................................ 83 Reader Response ...

Page 6

... PIC16F5X NOTES: DS41213D-page 4 © 2007 Microchip Technology Inc. ...

Page 7

... Low-cost, low- power, high performance, ease of use and I/O flexibility make the PIC16F5X series very versatile, even in areas where no microcontroller use has been considered before (e.g., timer functions, replacement of “glue” logic in larger systems, co-processor applications). PIC16F54 PIC16F57 20 MHz 20 MHz 512 2K 25 ...

Page 8

... PIC16F5X NOTES: DS41213D-page 6 © 2007 Microchip Technology Inc. ...

Page 9

... A two-stage pipeline overlaps fetch and execution of instructions. Consequently, all instructions (33) execute in a single cycle except for program branches. The PIC16F54 addresses 512 program memory, the PIC16F57 and PIC16F59 addresses 2048 program memory. All program memory is internal. ...

Page 10

... Select” 2 “Code- Oscillator/ Protect” Timing & Control CLKOUT “Sleep” “Option” General Purpose 5 Register File 5-7 (SRAM) 25 134 Bytes SFR 8 From PORTB TRISC PORTC 8 8 “TRIS 7” RC<7:0> RB<7:0> PIC16F57/59 only 8 8 © 2007 Microchip Technology Inc. ...

Page 11

... TABLE 2-1: PIC16F54 PINOUT DESCRIPTION Input Name Function Type RA0 RA0 TTL RA1 RA1 TTL RA2 RA2 TTL RA3 RA3 TTL RB0 RB0 TTL RB1 RB1 TTL RB2 RB2 TTL RB3 RB3 TTL RB4 RB4 TTL RB5 RB5 TTL RB6/ICSPCLK RB6 ...

Page 12

... Positive supply for logic and I/O pins — Ground reference for logic and I/O pins — Unused, do not connect I/O = input/output CMOS = CMOS output — = Not Used XTAL TTL = TTL input not in use DD, pin must PP = Crystal input/output = High Voltage © 2007 Microchip Technology Inc. ...

Page 13

... V VDD Power Power SS SS Legend input O = output ST = Schmitt Trigger input © 2007 Microchip Technology Inc. Output Description Type CMOS Bidirectional I/O pin CMOS Bidirectional I/O pin CMOS Bidirectional I/O pin CMOS Bidirectional I/O pin CMOS Bidirectional I/O pin CMOS Bidirectional I/O pin ...

Page 14

... Q2, Q3 and Q4 cycles. Data memory is read during Q2 (operand read) and written during Q4 (destination write Fetch INST ( Execute INST (PC) Execute 1 Fetch 2 Execute 2 Fetch 3 Execute 3 Fetch Internal phase clock Fetch INST ( Execute INST ( Flush Fetch SUB_1 Execute SUB_1 © 2007 Microchip Technology Inc. ...

Page 15

... A NOP at the Reset vector location will cause a restart at location 000h. The Reset vector for the PIC16F54 is at 1FFh. The Reset vector for the PIC16F57 and PIC16F59 is at 7FFh. See Section 3.5 “Program Counter” ...

Page 16

... I/O port configuration and prescaler options. The General Purpose Registers are used for data and control information under command of the instructions. For the PIC16F54, the register file is composed of 7 Special Function Registers and 25 General Purpose Registers (Figure 3-3). For the PIC16F57, the register file is composed of 8 ...

Page 17

... General General Purpose Purpose Registers Registers 1Fh 3Fh Bank 0 Bank 1 Note 1: Not a physical register. © 2007 Microchip Technology Inc. 010 011 100 40h 60h 80h A0h Addresses map back to addresses in Bank 0. 4Fh 6Fh 8Fh AFh 50h B0h ...

Page 18

... File address 07h is a General Purpose Register on the PIC16F54. 3: PIC16F54 only. 4: PIC16F57 only. 5: PIC16F59 only. 6: Unimplemented bits are read as ‘0’s. 7: File address 08h and 09h are General Purpose Registers on the PIC16F54 and PIC16F57. DS41213D-page 16 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 PA0 TO PD ...

Page 19

... A carry did not occur Legend Readable bit - n = Value at POR © 2007 Microchip Technology Inc. For example, CLRF STATUS will clear the upper three bits and set the Z bit. This leaves the STATUS register as 000u u1uu (where u = unchanged). Therefore recommended that only BCF, BSF, ...

Page 20

... W-1 — T0CS T0SE PSA Timer0 Rate WDT Rate 128 256 1 : 128 W = Writable bit U = Unimplemented bit, read as ‘0’ ‘1’ = Bit is set ‘0’ = Bit is cleared W-1 W-1 W-1 PS2 PS1 PS0 bit Bit is unknown © 2007 Microchip Technology Inc. ...

Page 21

... Because PC<8> is cleared in the CALL instruction or any modified PCL instruc- tion, all subroutine calls or computed jumps are limited to the first 256 locations of any program memory page (512 words long). FIGURE 3-6: LOADING OF PC BRANCH INSTRUCTIONS – PIC16F54 GOTO Instruction PCL PC Instruction Word ...

Page 22

... PIC16F5X 3.6 Stack The PIC16F54 device has a 9-bit wide, two-level hard- ware PUSH/POP stack. The PIC16F57 and PIC16F59 devices have an 11-bit wide, two-level hardware PUSH/POP stack. A CALL instruction will PUSH the current value of stack 1 into stack 2 and then PUSH the current program counter value, incremented by one, into stack level 1. If more than two sequential CALL’ ...

Page 23

... RF varies with the Oscillator mode chosen (approx. value = 10 MΩ). FIGURE 4-2: EXTERNAL CLOCK INPUT OPERATION (HS OSC CONFIGURATION) Clock from OSC1 ext. system PIC16F5X Open OSC2 © 2007 Microchip Technology Inc. TABLE 4-1: Osc Resonator Type XT 455 kHz 2.0 MHz 4.0 MHz HS 8.0 MHz 16.0 MHz These values are for design guidance only ...

Page 24

... FIGURE 4- EXT C EXT OSC EXTERNAL SERIES RESONANT CRYSTAL OSCILLATOR CIRCUIT (USING XT OSCILLATOR MODE) To Other 330 K Devices PIC16F5X 74AS04 74AS04 CLKIN Open OSC2 ) and capacitor (C ) values EXT RC OSCILLATOR MODE Internal OSC1 clock N PIC16F5X OSC2/CLKOUT /4 © 2007 Microchip Technology Inc. ...

Page 25

... STATUS PA2 PA1 Legend unchanged unknown see Table 5-1 for possible values. © 2007 Microchip Technology Inc. The TO and PD bits (STATUS <4:3>) are set or cleared depending on the different Reset conditions (Table 5-1). These bits may be used to determine the nature of the Reset. ...

Page 26

... Legend unchanged unknown, – = unimplemented, read as ‘0’ see tables in Table 5-1 for possible values. Note 1: PIC16F54 only. 2: PIC16F57 only. 3: PIC16F59 only. 4: General purpose register file on PIC16F54. 5: General purpose register file on PIC16F54 and PIC16F57. FIGURE 5-1: SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT V DD POR MCLR/V PP WDT Module DRT ...

Page 27

... Reset until the operating conditions are met. 2: The POR is disabled when the device is in Sleep. For more information on the PIC16F5X POR, see Application Note AN522, “Power-Up Considerations” at www.microchip.com. © 2007 Microchip Technology Inc. FIGURE 5- pin PP D • ...

Page 28

... T DD chip will reset properly if, and only if, V1 ≥ V DS41213D-page 26 T DRT V1 time-out expires long before V has reached its final value. In this example, the DRT DD min DRT ): FAST V RISE TIME SLOW V RISE TIME DD DD © 2007 Microchip Technology Inc. ...

Page 29

... Q1 10k MCLR 40k PIC16F5X This circuit will activate Reset when 0.7V (where Vz = Zener voltage). © 2007 Microchip Technology Inc. FIGURE 5-7: to rise above This brown-out circuit is less expensive, although less accurate. Transistor Q1 turns off when V below a certain level such that: ...

Page 30

... PIC16F5X NOTES: DS41213D-page 28 © 2007 Microchip Technology Inc. ...

Page 31

... PORTE is an 4-bit I/O register for the PIC16F59. Only the high order 4 bits are used (PORTE<7:4>). The low order 4 bits (PORTE<3:0>) are unimplemented and read as ‘0’s. PORTE is a General Purpose Register for the PIC16F54 and PIC16F57. © 2007 Microchip Technology Inc. PIC16F5X 6.6 TRIS Registers ...

Page 32

... Legend: Shaded cells = unimplemented, read as ‘0’, – = unimplemented, read as ‘0’ unknown unchanged Note 1: File address 07h is a General Purpose Register on the PIC16F54. 2: File address 08h and 09h are General Purpose Registers on the PIC16F54 and PIC16F57. DS41213D-page 30 Bit 5 Bit 4 Bit 3 ...

Page 33

... MOVF PORTB,W RB<7:0> MOVWF PORTB Instruction (Write to executed Fetch INST (PC) Execute INST ( Fetch INST ( Execute INST (PC) © 2007 Microchip Technology Inc. EXAMPLE 6-1: ;Initial PORT Settings ;PORTB<7:4> Inputs ;PORTB<3:0> Outputs ;PORTB<7:6> have external pull-ups and are ;not connected to other circuitry ; ; ; ...

Page 34

... PIC16F5X NOTES: DS41213D-page 32 © 2007 Microchip Technology Inc. ...

Page 35

... Timer0 Instruction Executed © 2007 Microchip Technology Inc. Counter mode is selected by setting the T0CS bit (OPTION<5>). In this mode, Timer0 will increment either on every rising or falling edge of pin T0CKI. The incrementing edge is determined by the source edge select bit T0SE (OPTION<4>). Clearing the T0SE bit selects the rising edge ...

Page 36

... Bit 2 Bit 1 T0CS T0SE PSA PS2 PS1 NT0 + 1 Read TMR0 Read TMR0 Read TMR0 reads NT0 reads NT0 reads NT0 + 1 Value on Value on Bit 0 Power-on MCLR and Reset WDT Reset xxxx xxxx uuuu uuuu PS0 --11 1111 --11 1111 © 2007 Microchip Technology Inc. ...

Page 37

... WDT, but not both. Thus, a prescaler assignment for the Timer0 module means that there is no prescaler for the WDT, and vice-versa. © 2007 Microchip Technology Inc. When a prescaler is used, the external clock input is divided by the asynchronous ripple counter-type prescaler so that the prescaler output is symmetrical. ...

Page 38

... B'xxxx0xxx' ;Select TMR0, new ;Prescaler OPTION (1) T0CS (1) PSA 8-bit Prescaler 8 8-to-1 MUX PS<2:0> ( MUX (1) PSA WDT Time-Out CHANGING PRESCALER (WDT→TIMER0) ;Clear WDT and ;prescaler ;prescale value and ;clock source Data Bus 8 Sync 2 TMR0 reg Cycles (1) © 2007 Microchip Technology Inc. ...

Page 39

... FOSC1:FOSC0: Oscillator Selection bits oscillator oscillator oscillator oscillator Note 1: Refer to the PIC16F54, PIC16F57 and PIC16F59 Programming Specifications to determine how to access the Configuration Word. These documents can be found on the Microchip web site at www.microchip.com. Legend Readable bit -n = Value at POR © 2007 Microchip Technology Inc. ...

Page 40

... Register”). The WDT can be permanently disabled by program- ming the Configuration bit WDTE as a ‘0’ (Section 8.1 “Configuration Bits”). Refer to the PIC16F54 and PIC16F57 Programming Specifications to determine how to access the Configuration Word. These documents can be found on the Microchip web site at www ...

Page 41

... A 6-bit command is then supplied to the device. Depending on the command, 14 bits of program data are then supplied to or from the device, depending if the command was a Load or a Read. For complete details of serial programming, please refer to the respective Programming Specifications: “PIC16F54 Memory Programming “PIC16F57 (DS41208), and “PIC16F59 Memory Programming Specification” ...

Page 42

... PIC16F5X FIGURE 8-1: TYPICAL IN-CIRCUIT SERIAL PROGRAMMING™ CONNECTION External Connector Signals + CLK Data I/O DS41213D-page 40 To Normal Connections PIC16F5X MCLR RB6/ICSPCLK RB7/ICSPDAT Normal Connections © 2007 Microchip Technology Inc. ...

Page 43

... Register bit field < > ∈ In the set of italics User defined term © 2007 Microchip Technology Inc. PIC16F5X All instructions are executed within one single instruc- tion cycle, unless a conditional test is true or the program counter is changed as a result of an instruc- tion. In this case, the execution takes two instruction cycles ...

Page 44

... TO PD 0000 0000 0100 , 2 None 101k kkkk kkkk 1 Z 1101 kkkk kkkk 1 None 1100 kkkk kkkk 1 None 0000 0000 0010 2 None 1000 kkkk kkkk 0000 0000 0011 , 1 None 0000 0000 0fff 1 Z 1111 kkkk kkkk © 2007 Microchip Technology Inc. Notes 2 ...

Page 45

... The result is placed in the W register. Words: 1 Cycles: 1 Example: ANDLW H'5F' Before Instruction W = 0xA3 After Instruction W = 0x03 © 2007 Microchip Technology Inc. PIC16F5X ANDWF AND W with f Syntax: [ label ] ANDWF 0 ≤ f ≤ 31 Operands: d ∈ [0,1] (W) .AND. (f) → (dest) Operation: Status Affected: Z Encoding: 0001 01df ffff ...

Page 46

... If bit ‘b’ is ‘1’, then the next instruc- tion fetched during the current instruction execution is discarded and a NOP is executed instead, making this a two-cycle instruction. 1 1(2) HERE BTFSS FLAG,1 FALSE GOTO PROCESS_CODE • TRUE • • = address (HERE address (FALSE address (TRUE) © 2007 Microchip Technology Inc. ...

Page 47

... Z bit is set. Words: 1 Cycles: 1 Example: CLRF FLAG_REG Before Instruction FLAG_REG = 0x5A After Instruction FLAG_REG = 0x00 © 2007 Microchip Technology Inc. PIC16F5X CLRW Clear W Syntax: [ label ] CLRW Operands: None 00h → (W); Operation: 1 → Z Status Affected: Z Encoding: 0000 0100 0000 Description: The W register is cleared ...

Page 48

... NOP is executed instead making it a two-cycle instruction. Words: 1 Cycles: 1(2) Example: HERE DECFSZ GOTO CONTINUE • • • Before Instruction PC = address(HERE) After Instruction CNT = CNT - 1; if CNT = address (CONTINUE); ≠ if CNT address (HERE+1) © 2007 Microchip Technology Inc. CNT, 1 LOOP ...

Page 49

... INCF CNT, 1 Before Instruction CNT = 0xFF After Instruction CNT = 0x00 © 2007 Microchip Technology Inc. PIC16F5X INCFSZ Increment f, Skip if 0 Syntax: [ label ] INCFSZ ≤ f ≤ 31 Operands: d ∈ [0,1] ( → (dest), skip if result = 0 Operation: Status Affected: None Encoding: 0011 11df ffff Description: The contents of register ‘ ...

Page 50

... Move Literal to W Syntax: [ label ] MOVLW k 0 ≤ k ≤ 255 Operands: k → (W) Operation: Status Affected: None Encoding: 1100 kkkk kkkk Description: The eight-bit literal ‘k’ is loaded into the W register. Words: 1 Cycles: 1 Example: MOVLW 0x5A After Instruction W = 0x5A © 2007 Microchip Technology Inc. ...

Page 51

... Operands: None Operation: No operation Status Affected: None Encoding: 0000 0000 0000 Description: No operation. Words: 1 Cycles: 1 Example: NOP © 2007 Microchip Technology Inc. OPTION Syntax: f Operands: Operation: Status Affected: None Encoding: Description: Words: Cycles: Example: Before Instruction W After Instruction OPTION RETLW Syntax: ...

Page 52

... Time-out Status bit (TO) is set. The power-down Status bit (PD) is cleared. The WDT and its prescaler are cleared. The processor is put into Sleep mode with the oscillator stopped. See section on Sleep for more details. Words: 1 Cycles: 1 Example: SLEEP © 2007 Microchip Technology Inc. ...

Page 53

... After Instruction REG1 = 0xFF result is negative © 2007 Microchip Technology Inc. PIC16F5X SWAPF Swap Nibbles in f Syntax: [ label ] SWAPF ≤ f ≤ 31 Operands: d ∈ [0,1] (f<3:0>) → (dest<7:4>); Operation: (f<7:4>) → (dest<3:0>) Status Affected: None Encoding: 0011 10df ffff Description: The upper and lower nibbles of register ‘ ...

Page 54

... W register with register ‘f’. If ‘d’ is ‘0’, the result is stored in the W register. If ‘d’ is ‘1’, the result is stored back in register ‘f’. Words: 1 Cycles: 1 Example: XORWF REG,1 Before Instruction REG = 0xAF W = 0xB5 After Instruction REG = 0x1A W = 0xB5 DS41213D-page © 2007 Microchip Technology Inc. ...

Page 55

... PICSTART Plus Development Programmer - MPLAB PM3 Device Programmer - PICkit™ 2 Development Programmer • Low-Cost Demonstration and Development Boards and Evaluation Kits © 2007 Microchip Technology Inc. PIC16F5X 10.1 MPLAB Integrated Development Environment Software The MPLAB IDE software brings an ease of software development previously unseen in the 8/16-bit micro- controller market ...

Page 56

... MPLAB C30 C Compilers, and the MPASM and MPLAB ASM30 Assemblers. The software simulator offers the flexibility to develop and debug code outside of the hardware laboratory environment, making it an excellent, economical software development tool. ® DSCs on an instruction © 2007 Microchip Technology Inc. ...

Page 57

... Microchip Technology Inc. PIC16F5X 10.9 MPLAB ICD 2 In-Circuit Debugger Microchip’s In-Circuit Debugger, MPLAB ICD ...

Page 58

... SEEVAL evaluation system, Sigma-Delta ADC, flow rate sensing, plus many more. Check the Microchip web page (www.microchip.com) and the latest “Product Selector Guide” (DS00148) for the complete list of demonstration, development and evaluation kits. © 2007 Microchip Technology Inc. ® ...

Page 59

... ELECTRICAL SPECIFICATIONS FOR PIC16F54/57 (†) Absolute Maximum Ratings Ambient Temperature under bias ......................................................................................................... -40°C to +125°C Storage Temperature ........................................................................................................................... -65°C to +150°C Voltage on V with respect to V ............................................................................................................ 0V to +6. (1) Voltage on MCLR with respect Voltage on all other pins with respect to V (2) Total power dissipation ...

Page 60

... Exposure to maximum rating conditions for extended periods may affect device reliability. DS41213D-page 58 ................................................................................................... 0V to +13.5V ................................................................................ -0. .......................................................................................................± > ................................................................................................± the MCLR pin, inducing currents greater than 80 mA, may cause latch-up – ∑ 0.6V ∑ {( ∑(V – © 2007 Microchip Technology Inc ...

Page 61

... PIC16F5X VOLTAGE-FREQUENCY GRAPH, -40°C ≤ T FIGURE 11-1: 5.5 5.0 4.5 4 (Volts) 3.5 3.0 2.5 2 Note 1: The shaded region indicates the permissible combinations of voltage and frequency. © 2007 Microchip Technology Inc. ≤ +125° Frequency (MHz) PIC16F5X 20 DS41213D-page 59 ...

Page 62

... The current through the resistor can be estimated by the formula: EXT in kΩ. EXT ≤ +85°C for industrial A Conditions = 4 MHz 2.0V ( MHz 3.0V, HS mode MHz 5.0V, HS mode kHz 2.0V, LP mode 2.0V, WDT enabled = 2.0V, WDT disabled , MCLR = V ; WDT enabled © 2007 Microchip Technology Inc. ...

Page 63

... The Power-down Current in Sleep mode does not depend on the oscillator type. 3: Does not include current through /2R (mA) with EXT © 2007 Microchip Technology Inc. Standard Operating Conditions (unless otherwise specified) Operating Temperature -40°C ≤ T Min. Typ† Max. Units 2.0 — 5.5 V (1) — ...

Page 64

... XT mode LP mode ≤ 5.5V 4.5V < ≤ 4. (3) RC mode HS mode XT mode LP mode ≤ V ≤ PIN DD pin at high-impedance ≤ V ≤ PIN DD ≤ V ≤ PIN DD ≤ V ≤ PIN DD XT, HS and LP modes I = 8 1 -3 -1 © 2007 Microchip Technology Inc. ...

Page 65

... Low FIGURE 11-2: LOAD CONDITIONS FOR DEVICE TIMING SPECIFICATIONS – PIC16F5X Pin 11.5 Timing Diagrams and Specifications FIGURE 11-3: EXTERNAL CLOCK TIMING Q4 OSC1 CLKOUT © 2007 Microchip Technology Inc. T Time mc MCLR osc oscillator os OSC1 t0 T0CKI wdt watchdog timer P Period R Rise V Valid ...

Page 66

... XT Osc mode — Osc mode μs — LP Osc mode — Osc mode ns XT Osc mode 250 ns HS Osc mode μs — LP Osc mode — — — oscillator — oscillator μs — LP oscillator 25 oscillator oscillator 50 oscillator © 2007 Microchip Technology Inc. ...

Page 67

... Data in the Typical (“Typ”) column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested. Note 1: Measurements are taken in RC mode where CLKOUT output Please refer to Figure 11-2 for load conditions. 3: PIC16F54/57 only. 4: PIC16F59 only. © 2007 Microchip Technology Inc ...

Page 68

... Typ† Max. Units 2000* — — 5.0V DD 9.0* 18* 30 5.0V (industrial) DD 9.0* 18* 40 5.0V (extended) DD 9.0* 18* 30 5.0V (industrial) DD 9.0* 18* 40 5.0V (extended) DD 100* 300* 2000* ns © 2007 Microchip Technology Inc. 32 ≤ +85°C for industrial ≤ +125°C for extended Conditions ...

Page 69

... These parameters are characterized but not tested. † Data in the Typical (“Typ”) column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested. © 2007 Microchip Technology Inc Standard Operating Conditions (unless otherwise specified) Operating Temperature -40° ...

Page 70

... PIC16F5X NOTES: DS41213D-page 68 © 2007 Microchip Technology Inc. ...

Page 71

... For PIC device marking beyond this, certain price adders apply. Please check with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP price. © 2007 Microchip Technology Inc. PIC16F5X Example PIC16F54 -I 0723CBA Example PIC16F54 -E/ 0718CDK Example PIC16F54 e 3 -E/SS 0720CBP Example PIC16F57 e 3 -I/P 0723CBA > DS41213D-page 69 ...

Page 72

... PDIP (.600") XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX YYWWNNN >h 44-Lead TQFP M XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX YYWWNNN DS41213D-page 70 Example PIC16F57 e -E/SO 3 0718CDK Example PIC16F57 e -E/SS 3 0725CBK Example PIC16F57 e 3 -I/P 0717HAT >h PIC16F59 e -I/P 3 0712SAA >h M PIC16F59 e 3 -04/PT 0711HAT © 2007 Microchip Technology Inc. ...

Page 73

... Pin 1 visual index feature may vary, but must be located within the hatched area. 2. § Significant Characteristic. 3. Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" per side. 4. Dimensioning and tolerancing per ASME Y14.5M. BSC: Basic Dimension. Theoretically exact value shown without tolerances. © 2007 Microchip Technology Inc ...

Page 74

... BSC h 0.25 – L 0.40 – L1 1.40 REF φ 0° – c 0.20 – b 0.31 – α 5° – β 5° – Microchip Technology Drawing C04-051B c MAX 2.65 – 0.30 0.75 1.27 8° 0.33 0.51 15° 15° © 2007 Microchip Technology Inc. ...

Page 75

... Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.20 mm per side. 3. Dimensioning and tolerancing per ASME Y14.5M. BSC: Basic Dimension. Theoretically exact value shown without tolerances. REF: Reference Dimension, usually without tolerance, for information purposes only. © 2007 Microchip Technology Inc ...

Page 76

... A1 .015 – E .290 .310 E1 .240 .285 D 1.345 1.365 L .110 .130 c .008 .010 b1 .040 .050 b .014 .018 eB – – Microchip Technology Drawing C04-070B MAX .200 .150 – .335 .295 1.400 .150 .015 .070 .022 .430 © 2007 Microchip Technology Inc. ...

Page 77

... Pin 1 visual index feature may vary, but must be located within the hatched area. 2. § Significant Characteristic. 3. Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" per side. 4. Dimensioning and tolerancing per ASME Y14.5M. BSC: Basic Dimension. Theoretically exact value shown without tolerances. © 2007 Microchip Technology Inc ...

Page 78

... L 0.40 – L1 1.40 REF φ 0° – c 0.18 – b 0.31 – α 5° – β 5° – Microchip Technology Drawing C04-052B h c β MAX 2.65 – 0.30 0.75 1.27 8° 0.33 0.51 15° 15° © 2007 Microchip Technology Inc. ...

Page 79

... Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.20 mm per side. 3. Dimensioning and tolerancing per ASME Y14.5M. BSC: Basic Dimension. Theoretically exact value shown without tolerances. REF: Reference Dimension, usually without tolerance, for information purposes only. © 2007 Microchip Technology Inc ...

Page 80

... A1 .015 – E .590 – E1 .485 – D 1.980 – L .115 – c .008 – b1 .030 – b .014 – eB – – Microchip Technology Drawing C04-016B MAX .250 .195 – .625 .580 2.095 .200 .015 .070 .023 .700 © 2007 Microchip Technology Inc. ...

Page 81

... Dimensions D1 and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.25 mm per side. 4. Dimensioning and tolerancing per ASME Y14.5M. BSC: Basic Dimension. Theoretically exact value shown without tolerances. REF: Reference Dimension, usually without tolerance, for information purposes only. © 2007 Microchip Technology Inc ...

Page 82

... PIC16F5X APPENDIX A: DATA SHEET REVISION HISTORY Revision D (04/2007) Changed PICmicro to PIC; Replaced Dev. Tool Section; Updated Package Marking Information and replaced Package Drawings (Rev. AP) DS41213D-page 80 © 2007 Microchip Technology Inc. ...

Page 83

... Device Reset Timer (DRT).................................................. 27 Digit Carry (DC) bit.......................................................... 7, 17 DRT..................................................................................... 27 E Electrical Specifications PIC16F54/57............................................................... 57 PIC16F59.................................................................... 58 Errata .................................................................................... 3 External Power-On Reset Circuit ........................................ 25 F FSR Register ...................................................................... 20 Value on Reset (PIC16F54)........................................ 24 Value on Reset (PIC16F57)........................................ 24 Value on Reset (PIC16F59)........................................ 24 © 2007 Microchip Technology Inc. PIC16F5X G GOTO ........................................................................... 19 High-Performance RISC CPU .............................................. 1 I I/O Interfacing ..................................................................... 29 I/O Ports ...

Page 84

... PIC16F5X PD bit ............................................................................ 17, 23 PICSTART Plus Development Programmer ....................... 56 Pinout Description - PIC16F54.............................................. 9 Pinout Description - PIC16F57............................................ 10 Pinout Description - PIC16F59............................................ 11 PORTA................................................................................ 29 Value on Reset ........................................................... 24 PORTB................................................................................ 29 Value on Reset ........................................................... 24 PORTC................................................................................ 29 Value on Reset ........................................................... 24 PORTD Value on Reset ........................................................... 24 PORTE Value on Reset ........................................................... 24 Power-down Mode .............................................................. 39 Power-on Reset (POR) ....................................................... 25 Register values on ...................................................... 24 Prescaler ............................................................................. 35 Program Counter................................................................. 19 Program Memory Organization ...

Page 85

... To register, access the Microchip web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions. © 2007 Microchip Technology Inc. CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • Distributor or Representative • ...

Page 86

... What deletions from the document could be made without affecting the overall usefulness there any incorrect or misleading information (what and where)? 7. How would you improve this document? DS41213D-page 84 Total Pages Sent ________ FAX: (______) _________ - _________ N Literature Number: DS41213D © 2007 Microchip Technology Inc. ...

Page 87

... Pattern QTP, SQTP, Code or Special Requirements (blank otherwise) © 2007 Microchip Technology Inc. XXX Examples: Pattern a) PIC16F54–I/P = Industrial temp, PDIP package b) PIC16F54T–I/SSG = Industrial temp, SSOP package (Pb -free), tape and reel c) PIC16F57–E/SP6 = Extended temp, Skinny Plastic DIP package (Pb-free) d) PIC16F57T– ...

Page 88

... Fax: 886-3-572-6459 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 © 2007 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