PIC16F726-I/SP Microchip Technology Inc., PIC16F726-I/SP Datasheet - Page 258
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F726-I/SP
Manufacturer Part Number
PIC16F726-I/SP
Description
28 PIN, 14 KB FLASH, 1.8V-5.5V, 16 MHZ INT. OSC.
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F726-ISP.pdf
(266 pages)
Specifications of PIC16F726-I/SP
A/d Inputs
11-Channel, 8-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Frequency
20 MHz
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Resistance, Drain To Source On
Bytes
Serial Interface
I2C, SPI, AUSART
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
PIC16F72X/PIC16LF72X
C
C Compilers
Capacitive Sensing ........................................................... 127
Capture Module. See Capture/Compare/PWM (CCP)
Capture/Compare/PWM (CCP)......................................... 133
CCP. See Capture/Compare/PWM (CCP)
CCP1CON Register ............................................................ 22
CCP2CON Register ............................................................ 22
CCPR1H Register ............................................................... 22
CCPR1L Register................................................................ 22
CCPR2H Register ............................................................... 22
CCPR2L Register................................................................ 22
CCPxCON Register .......................................................... 134
CKE bit ...................................................................... 173, 185
CKP bit ...................................................................... 172, 184
Clock Sources
Code Examples
DS41341B-page 256
MPLAB C18 .............................................................. 206
MPLAB C30 .............................................................. 206
Associated registers w/ Capacitive Sensing ............. 132
Associated registers w/ Capture ............................... 136
Associated registers w/ Compare ............................. 138
Associated registers w/ PWM ................................... 142
Capture Mode ........................................................... 135
CCPx Pin Configuration ............................................ 135
Compare Mode ......................................................... 137
Interaction of Two CCP Modules (table) ................... 133
Prescaler ................................................................... 135
PWM Mode ............................................................... 139
PWM Period .............................................................. 140
Setup for PWM Operation ......................................... 141
Timer Resources....................................................... 133
External Modes ........................................................... 91
A/D Conversion ......................................................... 101
Call of a Subroutine in Page 1 from Page 0................ 28
Changing Between Capture Prescalers .................... 135
Indirect Addressing ..................................................... 29
Initializing PORTA ....................................................... 52
Initializing PORTB ....................................................... 60
Initializing PORTC....................................................... 71
Initializing PORTD....................................................... 78
Initializing PORTE ....................................................... 82
Loading the SSPBUF (SSPSR) Register .................. 168
Saving W, STATUS and PCLATH Registers
CCPx Pin Configuration .................................... 137
Software Interrupt Mode ........................... 135, 137
Special Event Trigger........................................ 137
Timer1 Mode Selection ............................. 135, 137
Duty Cycle......................................................... 140
Effects of Reset................................................. 141
Example PWM Frequencies and
Example PWM Frequencies and
Operation in Sleep Mode .................................. 141
Setup for Operation........................................... 141
System Clock Frequency Changes................... 141
EC ....................................................................... 91
HS ....................................................................... 91
LP........................................................................ 91
OST..................................................................... 91
RC....................................................................... 92
XT ....................................................................... 91
in RAM ............................................................... 43
Resolutions, 20 MHZ ................................ 141
Resolutions, 8 MHz................................... 141
Preliminary
Comparators
Compare Module. See Capture/Compare/PWM (CCP)
CONFIG1 Register ....................................................... 93, 94
CPSCON0 Register .......................................................... 131
CPSCON1 Register .......................................................... 132
Customer Change Notification Service............................. 261
Customer Notification Service .......................................... 261
Customer Support............................................................. 261
D
D/A bit ............................................................................... 185
Data Memory ...................................................................... 18
Data/Address bit (D/A)...................................................... 185
DC and AC Characteristics............................................... 239
DC Characteristics
Development Support ....................................................... 205
Device Configuration .......................................................... 93
Device Overview................................................................. 11
E
Effects of Reset
Electrical Specifications .................................................... 209
Enhanced Capture/Compare/PWM (ECCP)
Errata .................................................................................. 10
F
Firmware Instructions ....................................................... 195
Fixed Voltage Reference. See FVR
FSR Register ................................................................ 22, 23
Fuses. See Configuration Bits
FVR................................................................................... 107
FVRCON Register ...................................................... 23, 107
G
General Purpose Register File ........................................... 18
I
I
INDF Register ............................................................... 22, 23
Indirect Addressing, INDF and FSR Registers ................... 29
Instruction Format............................................................. 195
Instruction Set................................................................... 195
2
C Mode
C2OUT as T1 Gate................................................... 116
Extended and Industrial ............................................ 216
Industrial and Extended ............................................ 210
Code Protection .......................................................... 95
Configuration Word..................................................... 93
User ID ....................................................................... 95
PWM mode ............................................................... 141
Specifications ........................................................... 228
Associated Registers ................................................ 186
ADDLW..................................................................... 197
ADDWF..................................................................... 197
ANDLW..................................................................... 197
ANDWF..................................................................... 197
MOVF ....................................................................... 200
BCF .......................................................................... 197
BSF........................................................................... 197
BTFSC ...................................................................... 197
BTFSS ...................................................................... 198
CALL......................................................................... 198
CLRF ........................................................................ 198
CLRW ....................................................................... 198
CLRWDT .................................................................. 198
COMF ....................................................................... 198
DECF ........................................................................ 198
© 2008 Microchip Technology Inc.