PIC12F510-I/MC Microchip Technology, PIC12F510-I/MC Datasheet

no-image

PIC12F510-I/MC

Manufacturer Part Number
PIC12F510-I/MC
Description
IC PIC MCU FLASH 1024X12 8DFN
Manufacturer
Microchip Technology
Series
PIC® 12Fr

Specifications of PIC12F510-I/MC

Program Memory Type
FLASH
Program Memory Size
1.5KB (1K x 12)
Package / Case
8-DFN
Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
5
Ram Size
38 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC12F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
38 B
Interface Type
USB
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
6
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DV164101, DV164120, DM163029
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 3 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164334 - MODULE SOCKET FOR 8L 2X3MM DFNAC163022 - ADAPTER UNIVERSAL PROG PIC12F5XXAC162070 - HEADER INTRFC MPLAB ICD2 8/14PXLT08DFN2 - SOCKET TRANSITION ICE 14DIP/8DFN
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC12F510-I/MC
Quantity:
900
This document includes the
programming specifications for the
following devices:
• PIC12F510
1.0
The PIC12F510 is programmed using a serial method.
The Serial mode will allow the PIC12F510 to be
programmed while in the user’s system. This allows for
increased
specification applies to PIC12F510 devices in all
packages.
Pin Diagrams
TABLE 1-1:
© 2007 Microchip Technology Inc.
PDIP, SOIC, MSOP
GP1
GP0
MCLR/V
V
V
Legend: I = Input, O = Output, P = Power
Note 1:
DD
SS
Pin Name
PROGRAMMING THE
PIC12F510
PP
In the PIC12F510, the programming high voltage is internally generated. To activate the Program/Verify
mode, high voltage of I
/GP3
design
PIN DESCRIPTIONS (DURING PROGRAMMING): PIC12F510
Program/Verify mode
flexibility.
Memory Programming Specification
Function
ICSPCLK
ICSPDAT
V
V
DD
SS
GP5/OSC1/CLKIN
This
MCLR/V
IHH
GP4/OSC2
current capability (see Table 6-1) needs to be applied to the MCLR input.
PP
programming
/GP3
V
DD
Pin Type
P
I/O
P
P
I
(1)
1
2
3
4
During Programming
8
7
6
5
1.1
The PIC12F510 requires one power supply for V
(5.0V) and one for V
1.2
The Program/Verify mode for the PIC12F510 allows
programming of user program memory, user ID loca-
tions, backup OSCCAL location and the Configuration
Word.
Clock input – Schmitt Trigger input
Data input/output – Schmitt Trigger input
Program Mode Select
Power Supply
Ground
V
GP0/AN0/CIN+/ICSPDAT
GP1/AN1/CIN-/ICSPCLK
GP2/AN2/COUT//T0CKI
PIC12F510
Hardware Requirements
Program/Verify Mode
SS
Pin Description
PP
(12V).
DS41257B-page 1
DD

Related parts for PIC12F510-I/MC

PIC12F510-I/MC Summary of contents

Page 1

... Legend Input Output Power Note 1: In the PIC12F510, the programming high voltage is internally generated. To activate the Program/Verify mode, high voltage of I IHH © 2007 Microchip Technology Inc. PIC12F510 1.1 Hardware Requirements The PIC12F510 requires one power supply for V (5.0V) and one for V 1 ...

Page 2

... MEMORY MAPPING 2.1 User Program Memory Map The user memory space extends from (0x000-0x3FF) on the PIC12F510. In Program/Verify mode, the pro- gram memory space extends from (0x000-0x7FF) for the PIC12F510. The first half, (0x000-0x3FF), is user program memory. The second half, (0x400-0x7FF), is configuration memory. The PC will increment from (0x000-0x3FF) then to 0x400, (not to 0x000) ...

Page 3

... Data is transferred LSb first. During Read commands, in which the data is output from the PIC12F510, the ICSPDAT pin transitions from the high-impedance input 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

... PIC12F510 3.1.2.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 3-1 ...

Page 5

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

Page 6

... PIC12F510 3.1.2.5 End Programming The End Programming command terminates the program process. A delay of T (see Table 6-1) is DIS required before the next command to allow the internal programming voltage to discharge (see Figure 3-6). FIGURE 3-6: END PROGRAMMING (EXTERNALLY TIMED) 1 ICSPCLK 0 ICSPDAT 3.1.2.6 ...

Page 7

... Program Memory Space First User ID Location E Legend Erased Unaffected FIGURE 3-7: BULK ERASE PROGRAM MEMORY COMMAND 1 2 ICSPCLK 1 ICSPDAT T 1 SET T HLD © 2007 Microchip Technology Inc. Configuration Memory Space Configuration Reset Vector Word PIC12F510 Backup User ID OSCCAL ERA Next Command 1 2 DS41257B-page 7 ...

Page 8

... PIC12F510 FIGURE 3-8: READING AND TEMPORARY SAVING OF THE OSCCAL CALIBRATION BITS Increment Address Increment Address DS41257B-page 8 Start Enter Programming Mode 0x3FF? Yes Read Calibration Bits and Save in Computer/Programmer Temp. Memory 0x404? Yes Read Backup OSCCAL Calibration Bits and Save in Computer/Programmer Temp. Memory ...

Page 9

... Yes Read Calibration Bits from Computer/Programmer Temp. Memory Write Calibration Bits back as the operand of a MOVLW instruction to 0x3FF 0x404? Yes Read Backup OSCCAL Calibration Bits from Computer/Programmer Temp. Memory Write Backup OSCCAL Bits back to 0x404 Exit Programming Mode Done PIC12F510 DS41257B-page 9 ...

Page 10

... PIC12F510 FIGURE 3-10: PROGRAM FLOWCHART – PIC12F510 PROGRAM MEMORY Start Read and Save OSCCAL bits ( Figure 3-8 Enter Programming Mode PC = 0x7FF (Config Word) Increment Address Bulk Erase Device One Word Program Cycle Read Data from Program Memory Data Correct? Yes Increment ...

Page 11

... FIGURE 3-11: PROGRAM FLOWCHART – PIC12F510 CONFIGURATION MEMORY Start Enter Programming Mode PC = 0x7FF (Config Word) Load Data Command One-Word Programming Cycle (see Figure 3-10) Read Data Command Data No Correct? Yes Increment Address Command No Address = 0x400? Yes Load Data Command One-Word Programming ...

Page 12

... PIC12F510 FIGURE 3-12: PROGRAM FLOWCHART – ERASE PROGRAM MEMORY, CONFIGURATION WORD Start Read and Save OSCCAL bits ( Figure 3-8 ) Enter Program/Verify mode PC = 0x7FF (Config Word) DS41257B-page 12 Bulk Erase Device Wait T ERA Restore OSCCAL bits ( Figure 3-9 ) Exit Programming Mode Done © 2007 Microchip Technology Inc. ...

Page 13

... WORD AND USER ID Start Increment PC © 2007 Microchip Technology Inc. Read and Save OSCCAL bits ( Figure 3-8 ) Enter Program/Verify mode PC = 0x7FF (Config Word 0x400? (First User ID) Yes Bulk Erase Device Restore OSCCAL bits Wait T ERA Exit Programming Mode PIC12F510 Figure 3 Done DS41257B-page 13 ...

Page 14

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

Page 15

... CODE PROTECTION For the PIC12F510, once code protection is enabled, all program memory locations 0x40-0x3FE, read all ‘0’s. Program memory locations 0x000-0x03F and 0x3FF are always unprotected. The user ID locations, backup OSCCAL location and the Configuration Word read out in an unprotected fashion possible to pro- ...

Page 16

... PIC12F510 TABLE 5-1: CHECKSUM COMPUTATIONS – PIC12F510 Device Code-Protect PIC12F510 OFF SUM[0x000:0x3FE] + CFGW & 0x03F ON SUM[0x00:0x3F] + CFGW & 0x03F + SUM_ID Legend: CFGW = Configuration Word SUM[a:b] = [Sum of locations inclusive] SUM_ID = User ID locations masked by 0xF then made into a 16-bit value with ID0 as the Most Significant nibble ...

Page 17

... DD PIC12F510 10°C ≤ T ≤ 40°C A 4.5V ≤ V ≤ 5.5V DD Conditions/ Max. Units Comments 5.5 V 5.5 V 0.5 mA 0.5 mA 13.5 V 0.45 mA μs 1.0 μ ...

Page 18

... PIC12F510 NOTES: DS41257B-page 18 © 2007 Microchip Technology Inc. ...

Page 19

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

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