PIC16F913-I/SP Microchip Technology, PIC16F913-I/SP Datasheet - Page 10

IC PIC MCU FLASH 4KX14 28DIP

PIC16F913-I/SP

Manufacturer Part Number
PIC16F913-I/SP
Description
IC PIC MCU FLASH 4KX14 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F913-I/SP

Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
24
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
SSP/I2C/AUSART/SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
24
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
5-ch x 10-bit
Package
28SPDIP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F913-I/SP
Manufacturer:
TI
Quantity:
212
PIC16F91X/946
3.1
The PIC16F91X/946 program memory may be written
in three ways. The PIC16F913/914 uses one-word and
four-word writes. The PIC16F916/917/946 uses one-
word, four-word and eight-word writes. The four-word
or eight-word algorithm is used to program the program
memory only. The one-word algorithm can write any
available memory location (i.e., program memory,
configuration memory and data memory).
After writing the array, the PC may be reset and read
back to verify the write. It is not possible to verify
immediately following the write because the PC can
only increment, not decrement.
A device Reset will clear the PC and set the address to
‘0’. The Increment Address command will increment
the PC. The Load Configuration command will set the
PC to 0x2000. The available commands are shown in
Table 3-1.
3.1.1
Only the program memory on PIC16F916/917/946 can
be written using this algorithm. Data and configuration
memory
programming algorithm (Section 3.1.3 “One-Word
Programming”).
This algorithm writes eight sequential addresses in
program memory. The eight addresses must point to an
eight-word block with addresses modulo 8 of 0, 1, 2, 3,
4, 5, 6 and 7. For example, programming address 8
through 15 can be programmed together. Program-
ming addresses 2 through 9 will create an unexpected
result.
The sequence for programming eight words of program
memory at a time is as follows:
1.
2.
3.
4.
5.
6.
7.
8.
9.
See Figure 3-18 for more information.
DS41244F-page 10
Load a word at the current program memory
address using Load Data For Program Memory
command.
Issue a Increment Address command.
Load a word at the current program memory
address using Load Data For Program Memory
command.
Repeat Step 2 and Step 3 six times.
Issue a Begin Programming command either
internally or externally timed.
Wait T
(externally timed).
Issue
externally timed.
Issue a Increment Address command.
Repeat this sequence as required to write
program memory.
Program/Erase Algorithms
(>0x2000)
EIGHT-WORD PROGRAMMING
PROG
a
End
1 (internally timed) or T
Programming
must
use
command
the
one-word
PROG
2
if
3.1.2
Four-word programming can be used on all devices in
the PIC16F91X/946 family. Only the program memory
can be written using this algorithm. Data and configura-
tion memory (>0x2000) must use the one-word
programming algorithm (Section 3.1.3 “One-Word
Programming”).
This algorithm writes four sequential addresses in
program memory. The four addresses must point to a
four-word block with addresses modulo 4 of 0, 1, 2 and
3. For example, programming address 4 through 7 can
be programmed together. Programming addresses 2
through 5 will create an unexpected result.
The sequence for programming four words of program
memory at a time is as follows:
1.
2.
3.
4.
5.
6.
7.
8.
9.
See Figure 3-17 for more information.
Load a word at the current program memory
address using Load Data For Program Memory
command.
Issue a Increment Address command.
Load a word at the current program memory
address using Load Data For Program Memory
command.
Repeat Step 2 and Step 3 two times.
Issue a Begin Programming command either
internally or externally timed.
Wait T
(externally timed).
Issue
externally timed.
Issue a Increment Address command.
Repeat this sequence as required to write
program memory.
FOUR-WORD PROGRAMMING
PROG
a
End
1 (internally timed) or T
Programming
© 2009 Microchip Technology Inc.
command
PROG
2
if

Related parts for PIC16F913-I/SP