PIC18C242-I/SP Microchip Technology, PIC18C242-I/SP Datasheet - Page 168

IC MCU OTP 8KX16 A/D 28DIP

PIC18C242-I/SP

Manufacturer Part Number
PIC18C242-I/SP
Description
IC MCU OTP 8KX16 A/D 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C242-I/SP

Core Size
8-Bit
Program Memory Size
16KB (8K x 16)
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Number Of I /o
22
Program Memory Type
OTP
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC18
No. Of I/o's
23
Ram Memory Size
512Byte
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
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
+ 85 C
Mounting Style
Through Hole
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
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3DB18C452 - BOARD DAUGHTER ICEPIC3
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
PIC18CXX2
REGISTER 16-2:
DS39026C-page 166
bit 7
bit 6
bit 5-4
bit 3-0
Legend:
R = Readable bit
- n = Value at POR reset
Note:
ADCON1 REGISTER
ADFM: A/D Result Format Select bit
1 = Right justified. Six (6) Most Significant bits of ADRESH are read as ’0’.
0 = Left justified. Six (6) Least Significant bits of ADRESL are read as ’0’.
ADCS2: A/D Conversion Clock Select bit (ADCON1 bits in bold)
Unimplemented: Read as '0'
PCFG3:PCFG0: A/D Port Configuration Control bits
bit 7
A = Analog input D = Digital I/O
C/R = # of analog input channels/# of A/D voltage references
<ADCS2>
PCFG
ADCON1
ADFM
R/W-0
0000
0001
0010
0011
0100
0101
011x
1000
1001
1010
1011
1100
1101
1110
1111
0
0
0
0
1
1
1
1
On any device RESET, the port pins that are multiplexed with analog functions (ANx) are
forced to be an analog input.
AN7
A
A
D
D
D
D
D
A
D
D
D
D
D
D
D
<ADCS1:ADCS0>
ADCS2
R/W-0
AN6
ADCON0
D
D
D
D
D
D
D
D
D
D
D
D
A
A
A
00
01
10
11
00
01
10
11
AN5
W = Writable bit
’1’ = Bit is set
D
D
D
D
D
D
D
D
D
A
A
A
A
A
A
U-0
AN4
F
F
F
F
F
F
F
F
A
A
A
A
D
D
D
A
A
A
A
A
D
D
D
OSC
OSC
OSC
RC
OSC
OSC
OSC
RC
(clock derived from the internal A/D RC oscillator)
(clock derived from the internal A/D RC oscillator)
/2
/8
/32
/4
/16
/64
V
V
V
V
V
V
V
V
V
AN3
REF
REF
REF
REF
REF
REF
REF
REF
REF
U-0
A
A
A
D
A
D
+
+
+
+
+
+
+
+
+
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
V
V
V
V
V
AN2
REF
REF
REF
REF
REF
A
A
A
A
D
D
D
A
A
D
PCFG3
R/W-0
-
-
-
-
-
Clock Conversion
AN1
A
A
A
A
A
A
D
A
A
A
A
A
A
D
D
PCFG2
R/W-0
AN0
A
A
A
A
A
A
D
A
A
A
A
A
A
A
A
2000 Microchip Technology Inc.
V
x = Bit is unknown
AN3
AN3
AN3
AN3
AN3
AN3
AN3
AN3
AN3
V
V
V
V
V
REF
DD
DD
DD
DD
DD
PCFG1
R/W-0
+
V
AN2
AN2
AN2
AN2
AN2
V
V
V
V
V
V
V
V
V
REF
SS
SS
SS
SS
SS
SS
SS
SS
SS
-
PCFG0
R/W-0
C / R
8 / 0
7 / 1
5 / 0
4 / 1
3 / 0
2 / 1
0 / 0
6 / 2
6 / 0
5 / 1
4 / 2
3 / 2
2 / 2
1 / 0
1 / 2
bit 0

Related parts for PIC18C242-I/SP