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
==
DS41635A-page 2
Preliminary
2012 Microchip Technology Inc.
PIC12F529T39A
14-Pin, 8-Bit Flash Microcontroller
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
Low-Power Features/CMOS Technology:
• Standby Current:
- 225 nA @ 2.0V, RF Sleep, typical
• Operating Current:
- 175 µA @ 4 MHz, 2.0V, RF Sleep, typical
- 9.17 mA @ 4 MHz, 2.0V, RF on at +0 dBm,
typical
- 15.17 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
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
RF Transmitter:
Fully Integrated Transmitter
FSK Operation up to 100 kbps
OOK Operation up to 10 kbps
Frequency-Agile Operation in 310, 433, 868 and
915 MHz bands
• 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
2012 Microchip Technology Inc.
Preliminary
DS41635A-page 3
PIC12F529T39A
FIGURE 1:
TSSOP
V
DD
GP5/OSC1/CLKIN
GP4/OSC2
GP3/MCLR/V
PP
V
DDRF
CTRL
RF
OUT
1
14
Vss
GP0/ICSPDAT
GP1/ICSPCLK
GP2/T0CKI
XTAL
DATA
V
SSRF
14-PIN DIAGRAM, PIC12F529T39A
PIC12F529T39A
2
3
4
5
6
7
13
12
11
10
9
8
Device
Program
Memory
Flash
(words)
1536
Data Memory
SRAM Flash
(bytes) (bytes)
201
64
I/O
RF Transmitter Comparators
Timers (8-bit)
8-Bit A/D
Channels
0
PIC12F529T39A
6
1
0
1
DS41635A-page 4
Preliminary
2012 Microchip Technology Inc.
PIC12F529T39A
Table of Contents
1.0
General Description .................................................................................................................................................................. 7
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
10.0 Instruction Set Summary ........................................................................................................................................................ 63
11.0 Development Support ............................................................................................................................................................. 71
13.0 DC and AC Characteristics Graphs and Charts ..................................................................................................................... 87
14.0 Packaging Information ............................................................................................................................................................ 95
Index ................................................................................................................................................................................................. 101
The Microchip Web Site .................................................................................................................................................................... 103
Customer Change Notification Service ............................................................................................................................................. 103
Customer Support ............................................................................................................................................................................. 103
Product Identification System ........................................................................................................................................................... 105
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.
For my project, I am going to install a low-power display screen to complete the basic sensor data display. After reviewing the schematic diagram, I found that it would be more convenient to mount my ...
I would like to thank ID: wangjiafu1985 for selflessly providing Keil software! However, after registering with the registration machine, a warning message appears when compiling the 2KB program. The ...
Are the low level output and low level output current of the gate circuit paired? For example, the question stipulates that the output low level U=0.3V and the low level output current I=15mA. Does it...
In the smart car, when I control the front, back, left, and right separately, there is no problem. But when I control the front, back, or any two of them in sequence, there is no effect. What should I...
Researching the program found that when accessing serial Flash through SSI, for example, when I send a read commandThe process is as follows:// Send the instruction byte and receive a dummy byte to pa...
Google's driverless technology is not only an eye-catching technology, but also a subversion of the car usage model.
Those who have watched anti-terrorism films and TV dramas must have been im...[Details]
No matter which processor you are learning, the first thing you need to understand is the registers and working mode of the processor.
ARM has 37 registers, including 31 general registers and ...[Details]
When choosing a laptop battery, you should consider several factors, such as power, appearance, and quality.
Regarding power, we often see that a manufacturer uses values such as the number ...[Details]
Vertical cavity surface emitting lasers (VCSELs) are gradually replacing traditional edge emitting lasers, especially in low bandwidth and short-distance communication systems where cost factors ar...[Details]
A standard cell
is an electrochemical
cell
used as a voltage reference standard in many electrical standards laboratories
. If properly maintained, standard cells are very stable. The ...[Details]
Overview
As a remote network communication control method with advanced technology, high reliability, complete functions and reasonable cost, CAN-bus has been widely used in various automa...[Details]
1 Introduction
In recent years, there have been many major advances in the production technology and processes of automotive headlights, which have greatly improved the performance of automoti...[Details]
Different initialization between C8051F and 80C51 series microcontrollers
In the past 30 years, major electronic component manufacturers in the world have launched their own unique single-chip...[Details]
0 Introduction
In order to improve the automation control of shortwave transmitters, so that they can automatically process from far to near, the technicians here use the ICS system to complete the ...[Details]
Almost everyone in a student dormitory has a bedside lamp. But if you want to read for a while after turning off the lights and don't want to disturb your roommates' sleep, you may need a reading l...[Details]
The fluorescent lamps and energy-saving lamps we commonly use now have greatly improved luminous efficiency compared with the earlier ordinary incandescent lamps and have been widely used. With the...[Details]
Today, with the increasing integration of functions, mobile phones can also be used as portable media players (PMP), digital cameras, handheld computers (PDAs), and even global positioning systems (GP...[Details]
In industry, voltage 0…5 (10) V or current 0 (4)…20 mA is usually used as a method for analog signal transmission, which is also a method often used by programmable controllers. So what are the dif...[Details]
0 Introduction
With the rapid development of modern power electronics technology, various power electronic devices have been widely used in various fields such as power systems, industry, an...[Details]
Designing low power circuits while achieving acceptable performance is a difficult task. Doing so in
the RF
bands increases the challenge dramatically. Today, nearly everything has wireless...[Details]