PIC18F45K20-E/P Microchip Technology, PIC18F45K20-E/P Datasheet - Page 50

32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 PDIP .600in TUBE

PIC18F45K20-E/P

Manufacturer Part Number
PIC18F45K20-E/P
Description
32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 PDIP .600in TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F45K20-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM240313 - BOARD DEMO 8BIT XLPAC164112 - VOLTAGE LIMITER MPLAB ICD2 VPPDM164124 - KIT STARTER FOR PIC18F4XK20
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F45K20-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PICkit™ 3 Debug Express
DS41370C-page 46
#2: The VCFGx bits in ADCON1 can select the ADC voltage references to use the AN2
and AN3 pins, V
have voltage references connected to AN2 and AN3, the ADC will be referenced to V
and V
‘1023’ corresponds to about 3.3 Volts, or V
ADCON1 setting for this lesson is
ADCON1 = 0;
FIGURE 3-37:
#3: The ADC clock should be set as short as possible but still greater than the minimum
period “TAD” time, data sheet parameter 130. The minimum TAD time for the
PIC18F45K20 (as of this writing) is
1.4us. At a 1 MHz oscillator F
clock. One clock period 1/500kHz = 2us, which is greater than the minimum TAD =
1.4us. Thus ADCSx = ‘000’.
SS
. This means an ADC result of ‘0’ corresponds to 0 Volts, or V
DD
and V
ADCON2: A/D CONTROL REGISTER 2
SS
, or some combination. Since the demo board does not
OSC
, selecting bits ADCS = F
DD
. Including the values from #1, the
OSC
© 2009 Microchip Technology Inc.
/2 gives a 500 kHz ADC
SS
. A result of
DD

Related parts for PIC18F45K20-E/P