PIC18F4585-H/P Microchip Technology, PIC18F4585-H/P Datasheet - Page 255

no-image

PIC18F4585-H/P

Manufacturer Part Number
PIC18F4585-H/P
Description
IC MCU 8BIT 48KB FLASH 40PDIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet

Specifications of PIC18F4585-H/P

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
19.2
The ADCON2 register allows the user to select an
acquisition time that occurs each time the GO/DONE
bit is set.
When the GO/DONE bit is set, sampling is stopped and
a conversion begins. The user is responsible for ensur-
ing the required acquisition time has passed between
selecting the desired input channel and setting the
GO/DONE bit. This occurs when the ACQT2:ACQT0
bits (ADCON2<5:3>) remain in their Reset state (‘000’)
and is compatible with devices that do not offer
programmable acquisition times.
If desired, the ACQT bits can be set to select a
programmable acquisition time for the A/D module.
When the GO/DONE bit is set, the A/D module
continues to sample the input for the selected
acquisition
conversion. Since the acquisition time is programmed,
there may be no need to wait for an acquisition time
between selecting a channel and setting the GO/DONE
bit.
In either case, when the conversion is completed, the
GO/DONE bit is cleared, the ADIF flag is set and the
A/D begins sampling the currently selected channel
again. If an acquisition time is programmed, there is
nothing to indicate if the acquisition time has ended or
if the conversion has begun.
TABLE 19-1:
© 2007 Microchip Technology Inc.
Note 1:
2:
3:
4:
Selecting and Configuring
Automatic Acquisition Time
Operation
The RC source has a typical T
The RC source has a typical T
For device frequencies above 1 MHz, the device must be in Sleep for the entire conversion or the A/D
accuracy may be out of specification.
Low-power (PIC18LFXXXX) devices only.
16 T
32 T
64 T
2 T
4 T
8 T
time,
RC
OSC
OSC
OSC
OSC
OSC
OSC
(3)
AD Clock Source (T
T
AD
then
vs. DEVICE OPERATING FREQUENCIES
automatically
ADCS2:ADCS0
AD
)
AD
AD
000
100
001
101
010
110
x11
begins
time of 4 ms.
time of 6 ms.
PIC18F2585/2680/4585/4680
Preliminary
a
19.3
The A/D conversion time per bit is defined as T
A/D conversion requires 11 T
The source of the A/D conversion clock is software
selectable. There are seven possible options for T
• 2 T
• 4 T
• 8 T
• 16 T
• 32 T
• 64 T
• Internal RC Oscillator
For correct A/D conversions, the A/D conversion clock
(T
minimum T
for more information).
Table 19-1 shows the resultant T
the device operating frequencies and the A/D clock
source selected.
PIC18FX585/X680
AD
22.86 MHz
) must be as short as possible, but greater than the
11.43 MHz
1.00 MHz
2.86 MHz
5.71 MHz
40.0 MHz
40.0 MHz
OSC
OSC
OSC
OSC
OSC
OSC
Selecting the A/D Conversion
Clock
Maximum Device Frequency
AD
(approximately 2 μs, see parameter 130
(1)
PIC18LFX585/X680
AD
per 10-bit conversion.
AD
1.00 MHz
11.43 MHz
22.86 MHz
22.86 MHz
2.86 MHz
5.72 MHz
1.43 kHz
DS39625C-page 253
times derived from
(2)
AD
(4)
. The
AD
:

Related parts for PIC18F4585-H/P