PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 9

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
3.1.5.1
The Load Configuration command is used to access
the Configuration Word (0x2007) and the user ID
(0x2000-0x2003). This command sets the Program
Counter (PC) to address 0x2000. The data field must
be loaded with all ones.
After receiving this command, the Configuration Word
is accessed by performing an Increment Address
command 7 times to point the PC to the Configuration
Word. Data can be loaded using the Load Data for Pro-
gram Memory command then be programmed using a
Begin Programming command, either internally or
externally timed.
FIGURE 3-4:
3.1.5.2
After receiving this command, the device will load in a
14-bit ‘data word’ when 16 cycles are applied, as
described previously. A timing diagram for the Load
Data for Program Memory command is shown in
Figure 3-5.
FIGURE 3-5:
 2009 Microchip Technology Inc.
ICSPCLK
ICSPDAT
ICSPCLK
ICSPDAT
Load Configuration
Load Data for Program Memory
1
0
1
0
LOAD CONFIGURATION COMMAND
LOAD DATA FOR PROGRAM MEMORY COMMAND
2
2
0 0
1
T
SET
T
3
0
3
0
HLD
1
1
4
0
4
0
5
x
5
x
T
T
6
DLY
DLY
6
x
x
T
T
DLY
1
1
DLY
2
2
1
strt_bit
After the 6-bit command is input, ICSPCLK pin is
cycled an additional 16 times for the Start bit, 14 bits of
data and a Stop bit (see Figure 3-4).
After the configuration memory is entered, the only way
to get back to the program memory is to exit the
Program/Verify mode by taking MCLR low (V
1
strt_bit
2
2
PIC16F785/HV785
LSb
LSb
T
3
T
3
SET
T
SET
T
HLD
HLD
1
1
1
1
4
4
5
5
15
DS41237D-page 9
15
MSb
MSb
IL
16
16
stp_bit
stp_bit
).

Related parts for PIC16F785-E/SS