PIC18F4580-I/ML Microchip Technology, PIC18F4580-I/ML Datasheet - Page 259

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,44PIN,PLASTIC

PIC18F4580-I/ML

Manufacturer Part Number
PIC18F4580-I/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,44PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4580-I/ML

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
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 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT44QFN2 - SOCKET TRAN ICE 44QFN/40DIPAC164322 - MODULE SOCKET MPLAB PM3 28/44QFN444-1001 - DEMO BOARD FOR PICMICRO MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
20.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 ACQT<2:0> 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
time, then automatically begins a 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 20-1:
© 2009 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
RC
OSC
OSC
OSC
OSC
OSC
OSC
(3)
AD Clock Source (T
T
AD
vs. DEVICE OPERATING FREQUENCIES
ADCS2:ADCS0
AD
)
AD
AD
000
100
001
101
010
110
x11
time of 1.2 ms.
time of 2.5 ms.
PIC18F2480/2580/4480/4580
20.3
The A/D conversion time per bit is defined as T
A/D conversion requires 11 T
The
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 20-1 shows the resultant T
the device operating frequencies and the A/D clock
source selected.
PIC18F2X80/4X80
AD
22.86 MHz
AD
) 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
source
OSC
OSC
OSC
:
Selecting the A/D Conversion
Clock
Maximum Device Frequency
AD
(approximately 2 μs, see parameter 130
(1)
of
the
A/D
PIC18LF2X80/4X80
AD
conversion
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
DS39637D-page 259
times derived from
(2)
clock
AD
(4)
. The
is

Related parts for PIC18F4580-I/ML