Microchip received ISO/TS-16949:2002 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.
DS41326D-page 2
2010 Microchip Technology Inc.
PIC16F526
14-Pin, 8-Bit Flash Microcontroller
High-Performance RISC CPU:
• Only 33 Single-Word Instructions
• All Single-Cycle Instructions except for Program
Branches which are Two-Cycle
• Two-Level Deep Hardware Stack
• Direct, Indirect and Relative Addressing modes
for Data and Instructions
• Operating Speed:
- DC – 20 MHz crystal oscillator
- DC – 200 ns instruction cycle
• On-chip Flash Program Memory:
- 1024 x 12
• General Purpose Registers (SRAM):
- 67 x 8
• Flash Data Memory:
- 64 x 8
Low-Power Features/CMOS Technology:
• Standby current:
- 100 nA @ 2.0V, typical
• Operating current:
- 11
A
@ 32 kHz, 2.0V, typical
- 175
A
@ 4 MHz, 2.0V, typical
• Watchdog Timer current:
- 1
A
@ 2.0V, typical
- 7
A
@ 5.0V, typical
• High Endurance Program and Flash Data Memory
cells:
- 100,000 write Program Memory endurance
- 1,000,000 write Flash Data Memory endurance
- Program and Flash Data retention: >40 years
• Fully Static Design
• Wide Operating Voltage Range: 2.0V to 5.5V:
- Wide temperature range
- Industrial: -40C to +85C
- Extended: -40C to +125C
Special Microcontroller Features:
• 8 MHz Precision Internal Oscillator:
- Factory calibrated to ±1%
• In-Circuit Serial Programming™ (ICSP™)
• In-Circuit Debugging (ICD) Support
• 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
- HS:
High-speed crystal/resonator
- LP:
Power-saving, low-frequency crystal
- EC:
High-speed external clock input
Program
Memory
Flash (words)
PIC16F526
1024
Peripheral Features:
• 12 I/O Pins:
- 11 I/O pins with individual direction control
- 1 input-only pin
- High current sink/source for direct LED drive
- Wake-up on change
- Weak pull-ups
• 8-bit Real-time Clock/Counter (TMR0) with 8-bit
Programmable Prescaler
• Two Analog Comparators:
- Comparator inputs and output accessible
externally
- One comparator with 0.6V fixed on-chip
absolute voltage reference (V
REF
)
- One comparator with programmable on-chip
voltage reference (V
REF
)
• Analog-to-Digital (A/D) Converter:
- 8-bit resolution
- 3-channel external programmable inputs
- 1-channel internal input to internal absolute
0.6 voltage reference
Data Memory
SRAM (bytes)
67
Flash
(bytes)
64
I/O
Comparators
Timers 8-bit
Device
8-bit A/D
Channels
3
12
2
1
2010 Microchip Technology Inc.
DS41326D-page 3
PIC16F526
FIGURE 1-1:
14-PIN PDIP, SOIC, TSSOP DIAGRAM
V
DD
RB5/OSC1/CLKIN
RB4/OSC2/CLKOUT
RB3/MCLR/V
PP
RC5/T0CKI
RC4/C2OUT
RC3
1
PIC16F526
2
3
4
5
6
7
14
13
12
11
10
9
8
V
SS
RB0/C1IN+/AN0/ICSPDAT
RB1/C1IN-/AN1/ICSPCLK
RB2/C1OUT/AN2
RC0/C2IN+
RC1/C2IN-
RC2/CV
REF
FIGURE 1-2:
16-PIN QFN DIAGRAM
V
DD
PIC16F526
RB5/OSC1/CLKIN
RB4/OSC2/CLKOUT
RB3/MCLR/V
PP
RC5/T0CKI
1
16 15 14 13
12
11
10
9
7
8
GND
NC
NC
RB0/C1IN+/AN0/ICSPDAT
RB1/C1IN-/AN1/ICSPCLK
RB2/C1OUT/AN2
RC0/C2IN+
2
3
4
5
6
RC4/C2OUT
RC2/CV
REF
RC3
RC1/C2IN-
DS41326D-page 4
2010 Microchip Technology Inc.
PIC16F526
Table of Contents
1.0 General Description..................................................................................................................................................................... 7
5.0 Flash Data Memory Control ...................................................................................................................................................... 23
6.0 I/O Port ...................................................................................................................................................................................... 27
7.0 Timer0 Module and TMR0 Register .......................................................................................................................................... 37
8.0 Special Features of the CPU..................................................................................................................................................... 43
11.0 Comparator Voltage Reference Module.................................................................................................................................... 69
12.0 Instruction Set Summary ........................................................................................................................................................... 71
13.0 Development Support................................................................................................................................................................ 79
15.0 DC and AC Characteristics Graphs and Charts ........................................................................................................................ 97
The Microchip Web Site .................................................................................................................................................................... 115
Customer Change Notification Service ............................................................................................................................................. 115
Customer Support ............................................................................................................................................................................. 115
Index .................................................................................................................................................................................................. 117
Device used: TI DSP C2000 2837X
1. DSP power-on process, boot mode and boot loader
1) dsp power-on sequence,
For a dual-core system, its power-on startup sequence is as follows:
After the system is re...
The MPLAB cloud-based online development environment MPLAB Xpress includes the MCC function. Its usage is similar to that of MPLAB X IDE, but it does not require the installation of MPLAB X IDE.First,...
Technical Discussion [email]owlcjy@163.com[/email] [b][color=#5E7384]This content is created by EEWORLD forum user [size=3]owlcjy[/size]. If you need to reprint or use it for commercial purposes, you ...
Zhao Hongjun, Electronic World, 12.04, "Research on Software and Hardware Watchdog Technology" ([b]Attachment is available for download[/b]) The main design of the paper: "Hardware power-off reset wat...
Serial communication issues are often involved in the field of industrial control (such as DCS systems). In order to achieve data exchange between microcomputers and single-chip microcomputers, people...
TSMC founder Morris Chang delivered a speech at the 2019 National Chiao Tung University Global Alumni Business Leaders Summit yesterday (24). He said that we are now beginning the third digital era, ...[Details]
OFweek Cup · OFweek 2023 China
Robot
Industry Annual Selection (abbreviated as OFweek Robot Awards 2023) is jointly organized by OFweek, China's high-tech industry portal, and its authorita...[Details]
A high-power fuel cell DC/DC converter based on wide bandgap semiconductor (silicon carbide) rolled off the production line at CRRC Times Electric Vehicle Co., Ltd. (hereinafter referred to as CRRC E...[Details]
The traditional digital phase-locked loop design hopes to obtain stable oscillation control data by adopting a loop filter with low-pass characteristics in structure. However, in the digital phas...[Details]
A heterogeneous sensor fusion tracking algorithm based on data compression and intermittent radar management is proposed. Firstly, the radar and
ESM
intermittent measurements are f...[Details]
State Grid Gansu Electric Power Company reported on the 25th that the cumulative installed capacity of new energy storage in Gansu Province has reached 4.011 million kilowatts, and the total energy ha...[Details]
In July, the new energy vehicle market experienced a rare collective stall. Data doesn’t lie. On August 9, the latest data released by the China Passenger Car Association showed that the wholesale...[Details]
IM2603 power management chip for Type-C docking station with integrated Buck converter
IM2603 Overview
Power Management IC for Type-C Peripheral Applications with Integrated Buck Convert...[Details]
Recently, Calterah, the global leader in CMOS millimeter-wave radar SoC chips, announced the completion of a round D financing of hundreds of millions of RMB. This round of financing was led by Nat...[Details]
Introduction
A data logger is a device that records measurements over a period of time. This project describes how to build a small logger that records the temperature value of the surrounding...[Details]
Requirements: Use DA conversion to generate several different waveforms, such as triangle wave, sawtooth wave, etc. #include reg52.h #define uchar unsigned char #define uint unsigned int #define ju...[Details]
NVIDIA has released a series of basic models, tools, and acceleration libraries, including the Isa Manipulat and Isaac Perceptor.
On stage to an audience of more than 10,000 people, NVIDIA fou...[Details]
The differential pressure flowmeter (DPF or flowmeter for short) is an instrument that measures flow based on the differential pressure generated by the flow detection device installed in the pipel...[Details]
CAN bus (CAN.bus) is a serial multi-master controller area network bus. Its main principle is to connect all relevant controllers on the vehicle to achieve communication between the engine co...[Details]
Synopsys Penetration Testing Services Help MATESO Ensure the Security of Password Security Manager Penetration testing allows users to conduct exploratory risk analysis and business logic testing, ...[Details]