PIC16F505-I/ST Microchip Technology, PIC16F505-I/ST Datasheet - Page 46
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16F505-I/ST
Manufacturer Part Number
PIC16F505-I/ST
Description
IC MCU FLASH 1KX12 14TSSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC12F509T-ISN.pdf
(110 pages)
2.PIC16F505-IST.pdf
(4 pages)
3.PIC16F505-IST.pdf
(22 pages)
4.PIC12F509-EMC.pdf
(106 pages)
Specifications of PIC16F505-I/ST
Program Memory Type
FLASH
Program Memory Size
1.5KB (1K x 12)
Package / Case
14-TSSOP
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
72 B
Interface Type
RS- 232/USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
1
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162070 - HEADER INTRFC MPLAB ICD2 8/14P
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC12F508/509/16F505
Although the oscillator will operate with no external
capacitor (C
above 20 pF for noise and stability reasons. With no or
small external capacitance, the oscillation frequency
can vary dramatically due to changes in external
capacitances, such as PCB trace capacitance or
package lead frame capacitance.
Section 10.0 “Electrical Characteristics” shows RC
frequency variation from part-to-part due to normal
process variation. The variation is larger for larger val-
ues of R (since leakage current variation will affect RC
frequency more for large R) and for smaller values of C
(since variation of input capacitance will affect RC
frequency more).
Also, see the Electrical Specifications section for
variation of oscillator frequency due to V
R
to operating temperature for given R, C and V
values.
FIGURE 7-5:
7.2.5
The internal RC oscillator provides a fixed 4 MHz (nom-
inal) system clock at V
Section 10.0
information on variation over voltage and temperature).
DS41236D-page 44
EXT
C
V
R
EXT
SS
EXT
/C
V
F
OSC
EXT
DD
/4
values, as well as frequency variation due
INTERNAL 4 MHz RC OSCILLATOR
EXT
= 0 pF), we recommend using values
“Electrical
EXTERNAL RC
OSCILLATOR MODE
OSC1
OSC2/CLKOUT
DD
N
= 5V and 25°C, (see
Characteristics”
PIC16F505
PIC12F508
PIC12F509
DD
Internal
clock
for given
Preliminary
DD
for
In addition, a calibration instruction is programmed into
the last address of memory, which contains the calibra-
tion value for the internal RC oscillator. This location is
always uncode protected, regardless of the code-pro-
tect settings. This value is programmed as a MOVLW XX
instruction where XX is the calibration value, and is
placed at the Reset vector. This will load the W register
with the calibration value upon Reset and the PC will
then roll over to the users program at address 0x000.
The user then has the option of writing the value to the
OSCCAL Register (05h) or ignoring it.
OSCCAL, when written to with the calibration value, will
“trim” the internal oscillator to remove process variation
from the oscillator frequency.
For the PIC12F508/509/16F505 devices, only bits
<7:1> of OSCCAL are implemented. Bits CAL6-CAL0
are used for calibration. Adjusting CAL6-CAL0 from
‘0000000’ to ‘1111111’ changes the clock speed. See
Register 4-5 for more information.
Note:
Note:
Erasing the device will also erase the pre-
programmed internal calibration value for
the internal oscillator. The calibration
value must be read prior to erasing the
part so it can be reprogrammed correctly
later.
The 0 bit of OSCCAL is unimplemented
and should be written as ‘0’ when modify-
ing OSCCAL for compatibility with future
devices.
© 2007 Microchip Technology Inc.