PIC18C252-E/SO Microchip Technology, PIC18C252-E/SO Datasheet - Page 172

IC MCU OTP 16KX16 A/D 28SOIC

PIC18C252-E/SO

Manufacturer Part Number
PIC18C252-E/SO
Description
IC MCU OTP 16KX16 A/D 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C252-E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC18C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1.5 KB
Interface Type
MSSP, SPI, I2C, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
23
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
ICE2000, DM163022, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
For Use With
I3DB18C452 - BOARD DAUGHTER ICEPIC3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
PIC18C252E/SO
PIC18CXX2
16.2
The A/D conversion time per bit is defined as T
A/D conversion requires 12 T
The source of the A/D conversion clock is software
selectable. The seven possible options for T
• 2T
• 4T
• 8T
• 16T
• 32T
• 64T
• Internal RC oscillator
For correct A/D conversions, the A/D conversion clock
(T
of 1.6 s.
Table 16-1 shows the resultant T
the device operating frequencies and the A/D clock
source selected.
TABLE 16-1:
TABLE 16-2:
DS39026C-page 170
Operation
Legend: Shaded cells are outside of recommended range.
Note 1: The RC source has a typical T
Legend: Shaded cells are outside of recommended range.
Note 1: The RC source has a typical T
AD
16T
32T
64T
2T
4T
8T
AD Clock Source (T
) must be selected to ensure a minimum T
Operation
OSC
OSC
OSC
RC
OSC
OSC
OSC
OSC
OSC
OSC
16T
32T
64T
OSC
OSC
OSC
2T
4T
8T
AD Clock Source (T
2: These values violate the minimum required T
3: For faster conversion times, the selection of another clock source is recommended.
2: These values violate the minimum required T
3: For faster conversion times, the selection of another clock source is recommended.
RC
Selecting the A/D Conversion
Clock
OSC
OSC
OSC
OSC
OSC
OSC
ADCS2:ADCS0
T
T
AD
AD
000
100
001
101
010
110
011
ADCS2:ADCS0
vs. DEVICE OPERATING FREQUENCIES
vs. DEVICE OPERATING FREQUENCIES (FOR EXTENDED, LC, DEVICES)
AD
)
000
100
001
101
010
110
011
AD
AD
)
per 10-bit conversion.
AD
times derived from
2 - 6 s
40 MHz
100 ns
200 ns
400 ns
800 ns
1.6 s
50 ns
AD
AD
(1)
3 - 9 s
AD
time of 4 s.
500 ns
time of 6 s.
1.0 s
2.0 s
4.0 s
16.0 s
4 MHz
8.0 s
AD
AD
are:
. The
time
(2)
(2)
(2)
(1,4)
(2)
2 - 6 s
100 ns
200 ns
400 ns
800 ns
20 MHz
1.6 s
3.2 s
AD
AD
time.
time.
(2)
(2)
(2)
(2)
(1)
3 - 9 s
16.3
The ADCON1, TRISA and TRISE registers control the
operation of the A/D port pins. The port pins that are
desired as analog inputs must have their corresponding
TRIS bits set (input). If the TRIS bit is cleared (output),
the digital output level (V
The A/D operation is independent of the state of the
CHS2:CHS0 bits and the TRIS bits.
1.0 s
2.0 s
16.0 s
32.0 s
Device Frequency
2 MHz
4.0 s
8.0 s
Note 1: When reading the port register, all pins con-
Device Frequency
2 - 6 s
(1,4)
(2)
(2)
400 ns
800 ns
12.8 s
5 MHz
1.6 s
3.2 s
6.4 s
Configuring Analog Port Pins
2: Analog levels on any pin that is defined as
figured as analog input channels will read as
cleared (a low level). Pins configured as dig-
ital inputs will convert an analog input. Ana-
log levels on a digitally configured input will
not affect the conversion accuracy.
a digital input (including the AN4:AN0
pins) may cause the input buffer to con-
sume current that is out of the devices
specification.
(2)
(2)
(1)
3 - 9 s
1.25 MHz
25.6 s
51.2 s
1.6 s
3.2 s
12.8 s
6.4 s
OH
2 - 6 s
1.25 MHz
25.6 s
51.2 s
12.8 s
1.6 s
3.2 s
6.4 s
2000 Microchip Technology Inc.
(1,4)
(2)
(2)
or V
(3)
(3)
OL
(3)
(3)
(1)
) will be converted.
333.33 kHz
3 - 9 s
192 s
333.33 kHz
24 s
48 s
96 s
2 - 6 s
192 s
12 s
24 s
48 s
96 s
6 s
12 s
6 s
(3)
(3)
(3)
(1,4)
(3)
(3)
(3)
(3)
(3)
(1)

Related parts for PIC18C252-E/SO