PIC18C442-I/P Microchip Technology, PIC18C442-I/P Datasheet - Page 85

IC MCU OTP 8KX16 A/D 40DIP

PIC18C442-I/P

Manufacturer Part Number
PIC18C442-I/P
Description
IC MCU OTP 8KX16 A/D 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C442-I/P

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
33
Program Memory Type
OTP
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC18
No. Of I/o's
34
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, PSP, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
34
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
8
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With
I3DB18C452 - BOARD DAUGHTER ICEPIC3444-1001 - DEMO BOARD FOR PICMICRO MCU
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C442-I/P
Manufacturer:
Microchip
Quantity:
731
Part Number:
PIC18C442-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
8.3
PORTC is an 8-bit wide, bi-directional port. The corre-
sponding Data Direction Register is TRISC. Setting a
TRISC bit (= 1) will make the corresponding PORTC
pin an input (i.e., put the corresponding output driver in
a Hi-Impedance mode). Clearing a TRISC bit (= 0) will
make the corresponding PORTC pin an output (i.e., put
the contents of the output latch on the selected pin).
The Data Latch register (LATC) is also memory
mapped. Read-modify-write operations on the LATC
register reads and writes the latched output value for
PORTC.
PORTC is multiplexed with several peripheral functions
(Table 8-5). PORTC pins have Schmitt Trigger input
buffers.
When enabling peripheral functions, care should be
taken in defining TRIS bits for each PORTC pin. Some
peripherals override the TRIS bit to make a pin an out-
put, while other peripherals override the TRIS bit to make
a pin an input. The user should refer to the correspond-
ing peripheral section for the correct TRIS bit settings.
FIGURE 8-7:
Note:
2001 Microchip Technology Inc.
Note 1: I/O pins have diode protection to V
PORTC, TRISC and LATC
Registers
On a Power-on Reset, these pins are con-
figured as digital inputs.
2: Port/Peripheral select signal selects between port data (input) and peripheral output.
3: Peripheral Output Enable is only active if peripheral select is active.
PORTC BLOCK DIAGRAM (PERIPHERAL OUTPUT OVERRIDE)
RD LATC
RD TRISC
Peripheral Output
Enable
RD PORTC
Peripheral Data Out
WR LATC or
WR PORTC
WR TRISC
Peripheral Data In
Port/Peripheral Select
Data Bus
(3)
DD
and V
(2)
DDR Latch
Data Latch
CK
CK
D
D
SS
.
Q
Q
Q
Q
The pin override value is not loaded into the TRIS reg-
ister. This allows read-modify-write of the TRIS register,
without concern due to peripheral overrides.
RC1 is normally configured by the configuration bit
CCP2MX as the default peripheral pin for the CCP2
module (default/erased state, CCP2MX = ‘1’).
EXAMPLE 8-3:
CLRF
CLRF
MOVLW 0xCF
MOVWF TRISC
0
1
Q
EN
D
PORTC
LATC
V
V
P
N
; Initialize PORTC by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Value used to
; initialize data
; direction
; Set RC<3:0> as inputs
; RC<5:4> as outputs
; RC<7:6> as inputs
DD
SS
INITIALIZING PORTC
PIC18CXX2
Schmitt
Trigger
I/O pin
(1)
DS39026C-page 83

Related parts for PIC18C442-I/P