PIC18F458-E/P Microchip Technology, PIC18F458-E/P Datasheet - Page 243

IC MCU FLASH 16KX16 W/CAN 40 DIP

PIC18F458-E/P

Manufacturer Part Number
PIC18F458-E/P
Description
IC MCU FLASH 16KX16 W/CAN 40 DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F458-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
33
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)
4.2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1536 B
Interface Type
SPI, I2C, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
33
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DV164136, DM163011
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F458-E/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F458-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
20.0
The Analog-to-Digital (A/D) Converter module has five
inputs for the PIC18F2X8 devices and eight for the
PIC18F4X8 devices. This module has the ADCON0
and ADCON1 register definitions that are compatible
with the PICmicro
The A/D allows conversion of an analog input signal to
a corresponding 10-bit digital number.
REGISTER 20-1:
© 2006 Microchip Technology Inc.
COMPATIBLE 10-BIT ANALOG-
TO-DIGITAL CONVERTER (A/D)
MODULE
bit 7-6
bit 5-3
bit 2
bit 1
bit 0
®
mid-range A/D module.
ADCON0: A/D CONTROL REGISTER 0
ADCS1:ADCS0: A/D Conversion Clock Select bits (ADCON0 bits in bold)
CHS2:CHS0: Analog Channel Select bits
000 = Channel 0 (AN0)
001 = Channel 1 (AN1)
010 = Channel 2 (AN2)
011 = Channel 3 (AN3)
100 = Channel 4 (AN4)
101 = Channel 5 (AN5)
110 = Channel 6 (AN6)
111 = Channel 7 (AN7)
GO/DONE: A/D Conversion Status bit
When ADON = 1:
1 = A/D conversion in progress (setting this bit starts the A/D conversion which is automatically
0 = A/D conversion not in progress
Unimplemented: Read as ‘0’
ADON: A/D On bit
1 = A/D converter module is powered up
0 = A/D converter module is shut-off and consumes no operating current
bit 7
Legend:
R = Readable bit
-n = Value at POR
ADCS1
R/W-0
Note 1: These channels are unimplemented on PIC18F2X8 (28-pin) devices. Do not select
<ADCS2>
ADCON1
cleared by hardware when the A/D conversion is complete)
0
0
0
0
1
1
1
1
any unimplemented channel.
ADCS0
R/W-0
<ADCS1:ADCS0>
ADCON0
00
01
10
11
00
01
10
11
(1)
(1)
(1)
R/W-0
CHS2
W = Writable bit
‘1’ = Bit is set
F
F
F
F
F
F
F
F
OSC
OSC
OSC
RC
OSC
OSC
OSC
RC
R/W-0
CHS1
(clock derived from the internal A/D RC oscillator)
(clock derived from the internal A/D RC oscillator)
/2
/8
/32
/4
/16
/64
The A/D module has four registers. These registers are:
• A/D Result High Register (ADRESH)
• A/D Result Low Register (ADRESL)
• A/D Control Register 0 (ADCON0)
• A/D Control Register 1 (ADCON1)
The ADCON0 register, shown in Register 20-1,
controls the operation of the A/D module. The
ADCON1 register, shown in Register 20-2, configures
the functions of the port pins.
R/W-0
CHS0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
Clock Conversion
GO/DONE
R/W-0
PIC18FXX8
x = Bit is unknown
U-0
DS41159E-page 241
ADON
R/W-0
bit 0

Related parts for PIC18F458-E/P