PIC16F506T-I/MG Microchip Technology, PIC16F506T-I/MG Datasheet - Page 62
![1.5 KB Flash, 67 RAM, 12 I/O, Comparator, 8bit ADC 16 QFN 3x3x0.9mm T/R](/photos/6/90/69062/c04-142_16-qfn_sml.jpg)
PIC16F506T-I/MG
Manufacturer Part Number
PIC16F506T-I/MG
Description
1.5 KB Flash, 67 RAM, 12 I/O, Comparator, 8bit ADC 16 QFN 3x3x0.9mm T/R
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet
1.PIC12F510-ISN.pdf
(124 pages)
Specifications of PIC16F506T-I/MG
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
FLASH
Ram Size
67 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
16-QFN
Processor Series
PIC16F
Core
PIC
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Details
PIC12F510/16F506
Although the oscillator will operate with no external
capacitor (C
above 20 pF for noise and stability reasons. With no
capacitance or small external capacitance, the oscilla-
tion frequency can vary dramatically due to changes in
external capacitances, such as PCB trace capacitance
or package lead frame capacitance.
Section 13.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 10-5:
10.2.5
The internal RC oscillator provides a fixed 4/8 MHz
(nominal) system clock (see Section 13.0 “Electrical
Characteristics” for information on variation over
voltage and temperature).
DS41268D-page 60
EXT
C
V
R
EXT
SS
EXT
/C
V
F
OSC
EXT
DD
/4
values, as well as frequency variation due
INTERNAL 4/8 MHz RC
OSCILLATOR
EXT
= 0 pF), we recommend using values
EXTERNAL RC
OSCILLATOR MODE
OSC1
OSC2/CLKOUT
N
PIC12F510
PIC16F506
DD
Internal
clock
for given
DD
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 PIC12F510/16F506 devices, only bits <7:1> of
OSCCAL are used for calibration. 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.