PIC16F1827-E/P Microchip Technology, PIC16F1827-E/P Datasheet - Page 5

MCU PIC 8BIT 4K FLASH 18-DIP

PIC16F1827-E/P

Manufacturer Part Number
PIC16F1827-E/P
Description
MCU PIC 8BIT 4K FLASH 18-DIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1827-E/P

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
32MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
384 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
256Byte
Ram Memory Size
384Byte
Cpu Speed
32MHz
No. Of Timers
5
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
384 B
Interface Type
I2C, EUSART (SCI), SPI, USB
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
15
Number Of Timers
4 x 8 bit, 1 x 16 bit
Operating Supply Voltage
5.5 V
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
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
On-chip Dac
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
5. Module: ADC
5.1 Analog-to-Digital Conversion
1.
2.
FIGURE 1:
 2011 Microchip Technology Inc.
See the ADC Clock Period (T
section of the device data sheet.
F
T
T
An ADC conversion may not complete under these
conditions:
When F
clock source used for the ADC converter.
The ADC is operating from its dedicated internal
FRC oscillator and the device is not in Sleep
mode (any F
When this occurs, the ADC Interrupt Flag (ADIF)
does not get set, the GO/DONE bit does not get
cleared, and the conversion result does not get
loaded into the ADRESH and ADRESL result
registers.
Work around
In
required to complete the full conversion. Each T
cycle consists of 8 T
provided to stop the A/D conversion after 86
instruction cycles and terminate the conversion at
the correct time as shown in the figure above.
CY
AD
OSC
Figure
= 4/32 MHz = 125 nsec
= 1 µsec, ADCS = F
= 32 MHz
Method 1: Select the system clock, F
Method 2: Select
4 T
OSC
8 T
1 T
1, 88 instruction cycles (T
CY
CY
is greater than 8 MHz and it is the
OSC
AD
INSTRUCTION CYCLE DELAY CALCULATION EXAMPLE
the ADC clock source and reduce
the F
less
conversions.
oscillator as the ADC conversion
clock source and perform all
conversions with the device in
Sleep.
frequency).
CY
OSC
when
OSC
periods. A fixed delay is
the
frequency to 8 MHz or
/32
AD
) vs. Device Operating Frequencies table, in the Analog-to-Digital Converter
performing
dedicated
88 T
11 T
84 T
CY
CY
AD
) will be
CY
OSC
ADC
FRC
, as
AD
PIC16(L)F1826/1827
Method 3: This method is provided if the
application cannot use Sleep
mode and requires continuous
operation at frequencies above 8
MHz. This method requires early
termination of an ADC conver-
sion. Provide a fixed time delay in
software to stop the A-to-D
conversion manually, after all 10
bits are converted, but before the
conversion
automatically. The conversion is
stopped by clearing the GO/
DONE bit in software. The GO/
DONE bit must be cleared during
the last ½ T
conversion
completed automatically. Refer to
Figure 1
Stop the A/D conversion
between 10.5 and 11 T
cycles.
See the Analog-to-Digital
Conversion
figure in the Analog-to-
Digital Converter chapter of
the device data sheet.
for details.
AD
would
cycle, before the
T
DS80485G-page 5
would
AD
Cycles
complete
AD
have

Related parts for PIC16F1827-E/P