PIC16F526-E/P Microchip Technology, PIC16F526-E/P Datasheet - Page 61

IC PIC MCU FLASH 1KX12 14DIP

PIC16F526-E/P

Manufacturer Part Number
PIC16F526-E/P
Description
IC PIC MCU FLASH 1KX12 14DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F526-E/P

Core Size
8-Bit
Program Memory Size
1.5KB (1K x 12)
Core Processor
PIC
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Program Memory Type
FLASH
Ram Size
67 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 3x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
14-DIP (0.300", 7.62mm)
Controller Family/series
PIC16F
No. Of I/o's
12
Ram Memory Size
67Byte
Cpu Speed
20MHz
No. Of Timers
1
Digital Ic Case Style
DIP
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
67 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
1
Maximum Operating Temperature
+ 125 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
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 3 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162096 - HEADER MPLAB ICD2 PIC16F526 8/14
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
9.1.6
The ADRES register contains the results of the last
conversion. These results are present during the
sampling period of the next analog conversion process.
After the sampling period is over, ADRES is cleared
(= 0). A ‘leading one’ is then right shifted into the
ADRES to serve as an internal conversion complete
bit. As each bit weight, starting with the MSB, is
converted, the leading one is shifted right and the
converted bit is stuffed into ADRES. After a total of 9
REGISTER 9-1:
 2010 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-6
bit 5-4
bit 3-2
bit 1
bit 0
Note 1: When the ANS bits are set, the channels selected will automatically be forced into Analog mode, regardless of the pin
R/W-1
ANS1
2: The ANS<1:0> bits are active regardless of the condition of ADON.
3: CHS<1:0> bits default to 11 after any Reset.
4: If the ADON bit is clear, the GO/DONE bit cannot be set.
5: C1OUT, when enabled, overrides AN2.
ANALOG CONVERSION RESULT
REGISTER
function previously defined. The only exception to this is the comparator, where the analog input to the comparator and
the ADC will be active at the same time. It is the users responsibility to ensure that the ADC loading on the comparator
input does not affect their application.
ANS<1:0>: ADC Analog Input Pin Select bits
00 = No pins configured for analog input
01 = AN2 configured as an analog input
10 = AN2 and AN0 configured as analog inputs
11 = AN2, AN1 and AN0 configured as analog inputs
ADCS<1:0>: ADC Conversion Clock Select bits
00 = F
01 = F
10 = F
11 = INTOSC/4
CHS<1:0>: ADC Channel Select bits
00 = Channel AN0
01 = Channel AN1
10 = Channel AN2
11 = 0.6V absolute voltage reference
GO/DONE: ADC Conversion Status bit
1 = ADC conversion in progress. Setting this bit starts an ADC conversion cycle. This bit is automatically cleared
0 = ADC conversion completed/not in progress. Manually clearing this bit while a conversion is in process termi-
ADON: ADC Enable bit
1 = ADC module is operating
0 = ADC module is shut-off and consumes no power
R/W-1
ANS0
by hardware when the ADC is done converting.
nates the current conversion.
OSC
OSC
OSC
ADCON0: A/D CONTROL REGISTER
/16
/8
/4
W = Writable bit
‘1’ = Bit is set
ADCS1
R/W-1
ADCS0
R/W-1
(3, 5)
(4)
(1), (2), (5)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
right shifts of the ‘leading one’ have taken place, the
conversion is complete; the ‘leading one’ has been
shifted out and the GO/DONE bit is cleared.
If the GO/DONE bit is cleared in software during a
conversion, the conversion stops. The data in ADRES
is the partial conversion result. This data is valid for the
bit weights that have been converted. The position of
the ‘leading one’ determines the number of bits that
have been converted. The bits that were not converted
before the GO/DONE was cleared are unrecoverable.
CHS1
R/W-1
CHS0
x = Bit is unknown
PIC16F526
GO/DONE
R/W-0
DS41326E-page 61
R/W-0
ADON
bit 0

Related parts for PIC16F526-E/P