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

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
PIC16F/LF1826/27
12.2.1
The ANSELA register (Register 12-7) is used to
configure the Input mode of an I/O pin to analog.
Setting the appropriate ANSELA bit high will cause all
digital reads on the pin to be read as ‘0’ and allow
analog functions on the pin to operate correctly.
The state of the ANSELA bits has no affect on digital
output functions. A pin with TRIS clear and ANSEL set
will still operate as a digital output, but the Input mode
will be analog. This can cause unexpected behavior
when executing read-modify-write instructions on the
affected port.
The TRISA register (Register 12-4) controls the PORTA
pin output drivers, even when they are being used as
analog inputs. The user should ensure the bits in the
REGISTER 12-7:
DS41391B-page 122
bit 7
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
bit 7-5
bit 4-0
Note 1:
U-0
When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to
allow external control of the voltage on the pin.
ANSELA REGISTER
Unimplemented: Read as ‘0’
ANSA<4:0>: Analog Select between Analog or Digital Function on pins RA<4:0>, respectively
0 = Digital I/O. Pin is assigned to port or digital special function.
1 = Analog input. Pin is assigned as analog input
U-0
ANSELA: PORTA ANALOG SELECT REGISTER
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U-0
R/W-1/1
ANSA4
Preliminary
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
R/W-1/1
ANSA3
TRISA register are maintained set when using them as
analog inputs. I/O pins configured as analog input always
read ‘0’.
Note:
(1)
. Digital input buffer disabled.
The ANSELA register must be initialized to
configure an analog channel as a digital
input. Pins configured as analog inputs will
read ‘0’.
R/W-1/1
ANSA2
© 2009 Microchip Technology Inc.
R/W-1/1
ANSA1
R/W-1/1
ANSA0
bit 0

Related parts for PIC16F1827-E/P