PIC18C658-I/L Microchip Technology, PIC18C658-I/L Datasheet - Page 89

IC PIC MCU OTP 16KX16 68PLCC

PIC18C658-I/L

Manufacturer Part Number
PIC18C658-I/L
Description
IC PIC MCU OTP 16KX16 68PLCC
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C658-I/L

Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Core Processor
PIC
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Number Of I /o
52
Program Memory Type
OTP
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
68-PLCC
Controller Family/series
PIC18
No. Of I/o's
52
Ram Memory Size
1.5KB
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1536 B
Interface Type
3-Wire, I2C, SPI, USART, CAN
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
52
Number Of Timers
4 bit
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
ICE2000, DM163007, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
6
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164308 - MODULE SKT FOR PM3 68PLCCDVA18PQ640 - DEVICE ADAPT PIC18C658 64-TQFPAC174007 - MODULE SKT PROMATEII 68PLCC
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
PIC18C658IL
Q1162292

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C658-I/L
Manufacturer:
Microchip
Quantity:
385
Part Number:
PIC18C658-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18C658-I/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
8.0
Depending on the device selected, there are up to
eleven ports available. Some pins of the I/O ports are
multiplexed with an alternate function from the periph-
eral features on the device. In general, when a periph-
eral is enabled, that pin may not be used as a general
purpose I/O pin.
Each port has three registers for its operation. These
registers are:
• TRIS register (Data Direction register)
• PORT register (reads the levels on the pins of the
• LAT register (output latch)
The
read-modify-write operations on the value that the I/O
pins are driving.
8.1
PORTA is a 6-bit wide, bi-directional port. The corre-
sponding Data Direction register is TRISA. Setting a
TRISA bit (=1) will make the corresponding PORTA pin
an input (i.e., put the corresponding output driver in a
hi-impedance mode). Clearing a TRISA bit (=0) will
make the corresponding PORTA pin an output (i.e., put
the contents of the output latch on the selected pin).
On a Power-on Reset, these pins are configured as
inputs and read as '0'.
Reading the PORTA register reads the status of the
pins, whereas writing to it will write to the port latch.
Read-modify-write operations on the LATA register,
reads and writes the latched output value for PORTA.
The RA4 pin is multiplexed with the Timer0 module
clock input to become the RA4/T0CKI pin. The
RA4/T0CKI pin is a Schmitt Trigger input and an open
drain output. All other RA port pins have TTL input lev-
els and full CMOS output drivers.
The other PORTA pins are multiplexed with analog
inputs and the analog V
operation of each pin is selected by clearing/setting the
control bits in the ADCON1 register (A/D Control
Register1). On a Power-on Reset, these pins are con-
figured as analog inputs and read as '0'.
The TRISA register controls the direction of the RA
pins, even when they are being used as analog inputs.
The user must ensure the bits in the TRISA register are
maintained set when using them as analog inputs.
 2000 Microchip Technology Inc.
device)
data
I/O PORTS
PORTA, TRISA and LATA Registers
latch
(LAT
REF
register)
+ and V
REF
is
- inputs. The
Advanced Information
useful
for
EXAMPLE 8-1:
FIGURE 8-1:
CLRF
CLRF
MOVLW
MOVWF
MOVLW
MOVWF
WR TRISA
WR LATA
or
WR PORTA
Note 1:
Data
Bus
RD PORTA
To A/D Converter and LVD Modules
SS Input (RA5 only)
PORTA
LATA
0x07
ADCON1
0xCF
TRISA
I/O pins have diode protection to V
Data Latch
D
D
TRIS Latch
CK
CK
RA3:RA0 AND RA5 PINS
BLOCK DIAGRAM
RD LATA
; Initialize PORTA by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Configure A/D
; for digital inputs
; Value used to
; initialize data
; direction
; Set RA3:RA0 as inputs
; RA5:RA4 as outputs
INITIALIZING PORTA
Q
Q
Q
Q
RD TRISA
PIC18CXX8
Q
Analog
Input
Mode
EN
DS30475A-page 89
D
V
DD
V
P
N
SS
DD
and V
TTL
Input
Buffer
I/O Pin
SS
.
(1)

Related parts for PIC18C658-I/L