PIC12F529T48A Data Sheet

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

 2012 Microchip Technology Inc.

Preliminary

DS41634A

PIC12F529T48A

Data Sheet

14-Pin, 8-Bit Flash Microcontrollers

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

DS41634A-page 2

Preliminary

 2012 Microchip Technology Inc.

Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE.  Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.

Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, 
K

EE

L

OQ

, K

EE

L

OQ

 logo, MPLAB, PIC, PICmicro, PICSTART, 

PIC

32

 logo, rfPIC and UNI/O are registered trademarks of 

Microchip Technology Incorporated in the U.S.A. and other 
countries.

FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, 
MXDEV, MXLAB, SEEVAL and The Embedded Control 
Solutions Company are registered trademarks of Microchip 
Technology Incorporated in the U.S.A.

Analog-for-the-Digital Age, Application Maestro, chipKIT, 
chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, 
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, 
FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, 
Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, 
MPLINK, mTouch, Omniscient Code Generation, PICC, 
PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, 
rfLAB, 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.

© 2012, Microchip Technology Incorporated, Printed in the 
U.S.A., All Rights Reserved.

 Printed on recycled paper.

ISBN: 9781620762424

Note the following details of the code protection feature on Microchip devices:

Microchip products meet the specification contained in their particular Microchip Data Sheet.

Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the 
intended manner and under normal conditions.

There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our 
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data 
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

Microchip is willing to work with the customer who is concerned about the integrity of their code.

Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not 
mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Microchip received ISO/TS-16949:2009 certification for its worldwide 
headquarters, design and wafer fabrication facilities in Chandler and 
Tempe, Arizona; Gresham, Oregon and design centers in California 
and India. The Company’s quality system processes and procedures 
are for its PIC

®

 

MCUs and dsPIC

®

 DSCs, K

EE

L

OQ

®

 

code hopping 

devices, Serial EEPROMs, microperipherals, nonvolatile memory and 
analog products. In addition, Microchip’s quality system for the design 
and manufacture of development systems is ISO 9001:2000 certified.

QUALITY MANAGEMENT  SYSTEM 

CERTIFIED BY DNV 

== 

ISO/TS 16949

 

==

 

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

 2012 Microchip Technology Inc.

Preliminary

DS41634A-page 3

PIC12F529T48A

High-Performance RISC CPU: 

• Only 34 Single-Word Instructions
• All Single-Cycle Instructions Except for Program 

Branches which are Two-Cycle

• Four-Level Deep Hardware Stack
• Direct, Indirect and Relative Addressing modes 

for Data and Instructions

• Operating Speed:

- DC – 8 MHz internal clock
- DC – 500 ns instruction cycle 

Special Microcontroller Features:

• 8 MHz Precision Internal Oscillator

- Factory calibrated to ±1% 

• In-Circuit Serial Programming™ (ICSP™)
• Power-on Reset (POR)
• Device Reset Timer (DRT)
• Watchdog Timer (WDT) with Dedicated On-Chip 

RC Oscillator for Reliable Operation

• Programmable Code Protection
• Multiplexed MCLR Input Pin
• Internal Weak Pull-Ups on I/O Pins
• Power-Saving Sleep mode
• Wake-up from Sleep on Pin Change
• Selectable Oscillator Options:

- INTRC: 4 MHz or 8 MHz precision internal 

RC oscillator

- EXTRC: External low-cost RC oscillator
- XT: Standard crystal/resonator
- LP: Power-saving, low-frequency crystal

Low-Power Features/CMOS Technology: 

• Standby Current:

- 250 nA @ 2.0V, RF Sleep, typical

• Operating Current:

- 170 µA @ 4 MHz, 2.0V, RF Sleep, typical
- 9.17 mA @ 4 MHz, 2.0V, RF on at +0 dBm, 

typical

- 16.67 mA @ 4 MHz, 2.0V, RF on at +10 dBm, 

typical 

• Watchdog Timer Current:

- 1 µA @ 2.0V, typical

• High Endurance Program and Flash Data 

Memory Cells
- 100,000 write Flash program memory 

endurance

- 1,000,000 write Flash data memory 

endurance 

- Program and Flash data retention: >40 years

• Fully Static Design
• Operating Voltage Range: 2.0V to 3.7V

- Industrial temperature range: -40°C to +85°C

RF Transmitter:

• Fully Integrated Transmitter
• FSK Operation up to 100 kbps
• OOK Operation up to 10 kbps
• Operation in 418, 434 and 868 MHz Bands:

- 8 selectable center frequencies

• Configurable Output Power: +10 dBm, 0 dBm

Peripheral Features:

• 6 I/O Pins:

- 5 I/O pins with individual direction control
- 1 input-only pin
- High-current sink/source for direct LED drive

• 8-Bit Real-Time Clock/Counter (TMR0) with 8-Bit 

Programmable Prescaler

14-Pin, 8-Bit Flash Microcontroller

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

PIC12F529T48A

DS41634A-page 4

Preliminary

 2012 Microchip Technology Inc.

FIGURE 1:

14-PIN DIAGRAM, PIC12F529T48A

PI

C

12F5

2

9

T

48A

1

2

10

9

8

3

4

5

7

6

V

DD

GB5/OSC1/CLKIN

GB4/OSC2 

GB3/MCLR/V

PP

Vss

GB0/ICSPDAT

GB1/ICSPCLK

GB2/T0CKI

XTAL

V

DDRF

14

13

12

11

CTRL

RF

OUT

DATA

V

SSRF

TSSOP

Device

Program 

Memory

Data Memory

I/O

RF Transmitter Comparators

Timers (8-bit)

8-bit A/D 

Channels

Flash

(words)

SRAM

(bytes)

Flash

(bytes)

PIC12F529T48A

1536

201

64

6

1

0

1

0

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

 2012 Microchip Technology Inc.

Preliminary

DS41634A-page 5

PIC12F529T48A

Table of Contents

1.0

General Description  .................................................................................................................................................................. 7

2.0

PIC12F529T48A Device Varieties   ........................................................................................................................................... 9

3.0

Architectural Overview............................................................................................................................................................  11

4.0

Memory Organization  ............................................................................................................................................................. 15

5.0

Flash Data Memory  ................................................................................................................................................................ 23

6.0

I/O Port  ................................................................................................................................................................................... 25

7.0

Timer0 Module and TMR0 Register ........................................................................................................................................ 33

8.0

Special Features Of The CPU  ................................................................................................................................................ 39

9.0

RF Transmitter  ........................................................................................................................................................................ 51

10.0

Instruction Set Summary  ........................................................................................................................................................ 55

11.0

Development Support  ............................................................................................................................................................. 63

12.0

Electrical Characteristics  ........................................................................................................................................................ 67

13.0

DC and AC Characteristics Graphs and Charts  ..................................................................................................................... 79

14.0

Packaging Information  ............................................................................................................................................................ 87

Index ...................................................................................................................................................................................................  93
The Microchip Web Site  ...................................................................................................................................................................... 95
Customer Change Notification Service  ............................................................................................................................................... 95
Customer Support  ............................................................................................................................................................................... 95
Reader Response  ............................................................................................................................................................................... 96
Product Identification System  ............................................................................................................................................................. 97

TO OUR VALUED CUSTOMERS

It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced. 
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at 

docerrors@microchip.com

 or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We

welcome your feedback.

Most Current Data Sheet

To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:

http://www.microchip.com

You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).

Errata

An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; 

http://www.microchip.com

• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.

Customer Notification System

Register on our web site at 

www.microchip.com

 to receive the most current information on all of our products.

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

PIC12F529T48A

DS41634A-page 6

Preliminary

 2012 Microchip Technology Inc.

NOTES:

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

 2012 Microchip Technology Inc.

Preliminary

DS41634A-page 7

PIC12F529T48A

1.0

GENERAL DESCRIPTION

The PIC12F529T48A device from Microchip
Technology is a low-cost, high-performance, 8-bit, fully-
static, Flash-based CMOS microcontroller. It employs a
RISC architecture with only 34 single-word/single-cycle
instructions. All instructions are single cycle except for
program branches, which take two cycles. The
PIC12F529T48A device delivers performance an order
of magnitude higher than their competitors in the same
price category. The 12-bit wide instructions are highly
symmetrical, resulting in a typical 2:1 code
compression over other 8-bit microcontrollers in its
class. The easy-to-use and easy to remember
instruction set reduces development time significantly.
The PIC12F529T48A product is equipped with special
features that reduce system cost and power
requirements. The Power-on Reset (POR) and Device
Reset Timer (DRT) eliminate the need for external
Reset circuitry. There are four oscillator configurations
to choose from including INTRC Internal Oscillator
mode and the power-saving LP (Low-power) Oscillator
mode. Power-Saving Sleep mode, Watchdog Timer
and code protection features improve system cost,
power and reliability.
The PIC12F529T48A device is available in the cost-
effective Flash programmable version, which is
suitable for production in any volume. The customer
can take full advantage of Microchip’s price leadership
in Flash programmable microcontrollers, while
benefiting from the Flash programmable flexibility.
The PIC12F529T48A product is supported by a full-
featured macro assembler, a software simulator, a low-
cost development programmer and a full-featured
programmer. All the tools are supported on PC and
compatible machines.

1.1

Applications

The PIC12F529T48A device fits in applications ranging
from personal care appliances and security systems to
low-power remote transmitters/receivers. The Flash
technology makes customizing application programs
(transmitter codes, appliance settings, receiver
frequencies, etc.) extremely fast and convenient. The
small footprint packages, for through hole or surface
mounting, make these microcontrollers perfect for
applications with space limitations. Low cost, low
power, high performance, ease of use and I/O flexibility
make the PIC12F529T48A device very versatile even
in areas where no microcontroller use has been
considered before (e.g., timer functions, logic and
programmable logic devices (PLDs) in larger systems
and coprocessor applications).

TABLE 1-1:

FEATURES AND MEMORY OF PIC12F529T48A 

PIC12F529T48A

Clock

Maximum Frequency of Operation (MHz)

8

Memory

Flash Program Memory 

1536

SRAM Data Memory (bytes)

201

Flash Data Memory (bytes) 

64

Peripherals

Timer Module(s)

TMR0

Wake-up from Sleep on Pin Change

Yes

Features

I/O Pins

5

Input Pins

1

Internal Pull-ups

Yes

In-Circuit Serial Programming™

Yes

Number of Instructions

34

Packages

14-pin TSSOP 

Note 1:

The PIC12F529T48A device has Power-on Reset, selectable Watchdog Timer, selectable code-protect, 
high I/O current capability and precision internal oscillator.

2:

The PIC12F529T48A device uses serial programming with data pin GP0 and clock pin GP1.

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

PIC12F529T48A

DS41634A-page 8

Preliminary

 2012 Microchip Technology Inc.

NOTES:

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

 2012 Microchip Technology Inc.

Preliminary

DS41634A-page 9

PIC12F529T48A

2.0

PIC12F529T48A DEVICE 
VARIETIES 

When placing orders, please use the PIC12F529T48A
Product Identification System at the back of this data
sheet to specify the correct part number. Depending on
application and production requirements, the proper
device option can be selected using the information in
this section. 

2.1

Quick Turn Programming (QTP) 
Devices

Microchip offers a QTP programming service for factory
production orders. This service is made available for
users who choose not to program medium-to-high
quantity units and whose code patterns have stabilized.
The devices are identical to the Flash devices but with
all Flash locations and fuse options already
programmed by the factory. Certain code and prototype
verification procedures do apply before production
shipments are available. Please contact your local
Microchip Technology sales office for more details.

2.2

Serialized Quick Turn 
Programming

SM

 (SQTP

SM

) Devices

Microchip offers a unique programming service, where a
few user-defined locations in each device are
programmed with different serial numbers. The serial
numbers may be random, pseudo-random or sequential.
Serial programming allows each device to have a
unique number, which can serve as an entry code,
password or ID number.

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/41634A-html.html
background image

PIC12F529T48A

DS41634A-page 10

Preliminary

 2012 Microchip Technology Inc.

NOTES:

Maker
Microchip Technology Inc.
Datasheet PDF Download