PIC18C658/CL Microchip Technology, PIC18C658/CL Datasheet - Page 108
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18C658/CL
Manufacturer Part Number
PIC18C658/CL
Description
IC MCU OTP 16KX16 CAN 68-PLCC
Manufacturer
Microchip Technology
Series
PIC® 18Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16C770-ISO.pdf
(8 pages)
3.PIC18C658-IPT.pdf
(366 pages)
4.PIC18C658-IPT.pdf
(16 pages)
5.PIC18C658-IPT.pdf
(16 pages)
6.PIC18C658-IPT.pdf
(16 pages)
Specifications of PIC18C658/CL
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
52
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 12x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
68-PLCC
For Use With
AC164308 - MODULE SKT FOR PM3 68PLCCDVA18PQ640 - DEVICE ADAPT PIC18C658 64-TQFP
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
Other names
Q1068347
- PIC16F616T-ISL PDF datasheet
- PIC16C770-ISO PDF datasheet #2
- PIC18C658-IPT PDF datasheet #3
- PIC18C658-IPT PDF datasheet #4
- PIC18C658-IPT PDF datasheet #5
- PIC18C658-IPT PDF datasheet #6
- Current page: 108 of 366
- Download datasheet (7Mb)
PIC18CXX8
8.10
PORTK is an 8-bit wide, bi-directional port available
only on the PIC18C858 devices. The corresponding
Data Direction register is TRISK. Setting a TRISK bit
(=1) will make the corresponding PORTK pin an input
(i.e., put the corresponding output driver in a
hi-impedance mode). Clearing a TRISK bit (=0) will
make the corresponding PORTK pin an output (i.e., put
the contents of the output latch on the selected pin).
Read-modify-write operations on the LATK register
read and write the latched output value for PORTK.
PORTK is an 8-bit port with Schmitt Trigger input buff-
ers. Each pin is individually configurable as an input or
output.
EXAMPLE 8-10: INITIALIZING PORTK
TABLE 8-19:
TABLE 8-20:
DS30475A-page 108
Name
RK0
RK1
RK2
RK3
RK4
RK5
RK6
RK7
Legend: ST = Schmitt Trigger input
Name
TRISK
PORTK Read PORTK pin / Write PORTK Data Latch
LATK
Legend: x = unknown, u = unchanged
CLRF
CLRF
MOVLW
MOVWF
Note:
PORTK, LATK, and TRISK Registers
PORTK
PORTK Data Direction Control Register
Read PORTK Data Latch/Write PORTK Data Latch
LATK
0xCF
TRISK
Bit 7 Bit 6
This port is available on PIC18C858.
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
PORTK FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTK
; Initialize PORTK by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Value used to
; initialize data
; direction
; Set RK3:RK0 as inputs
; RK5:RK4 as outputs
; RK7:RK6 as inputs
Bit 5
Buffer Type
Bit 4
ST
ST
ST
ST
ST
ST
ST
ST
Advanced Information
Bit 3
Input/output port pin.
Input/output port pin.
Input/output port pin.
Input/output port pin.
Input/output port pin.
Input/output port pin.
Input/output port pin.
Input/output port pin.
Bit 2
FIGURE 8-19: PORTK BLOCK DIAGRAM
Bit 1
WR TRISK
WR LATK
or
WR PORTK
Note:
Data
Bus
RD PORTK
Bit 0
I/O pins have diode protection to V
Function
TRIS Latch
Data Latch
D
D
CK
CK
RD LATK
RD TRISK
1111 1111
xxxx xxxx
xxxx xxxx
POR, BOR
Q
Value on:
Q
2000 Microchip Technology Inc.
Q
EN
EN
D
other RESETS
Schmitt
Trigger
Input
Buffer
DD
Value on all
1111 1111
uuuu uuuu
uuuu uuuu
and V
SS
I/O Pin
.
Related parts for PIC18C658/CL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F452I/L](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC18F, 40MHZ, LCC-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC18LF8680-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC18LF, 40MHZ, PLCC-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F85K22-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-80
Manufacturer:
Microchip Technology
Datasheet:
![AC164130-2](/photos/15/88/158849/ac164130_tmb.jpg)
Part Number:
Description:
MCU, MPU & DSP Development Tools CAN/LIN PICtail Plus Daughter Board
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F46K20-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC18F, 64MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC18LF6680-I/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC18LF, 40MHZ, PLCC-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F66K90-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-64
Manufacturer:
Microchip Technology
![PIC18F85K90-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-80
Manufacturer:
Microchip Technology
![PIC18F43K20-E/MV](/photos/16/15/161538/qfn-40_tmb.jpg)
Part Number:
Description:
8KB, Flash, 768bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm TUB
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F43K20-I/MV](/photos/16/15/161538/qfn-40_tmb.jpg)
Part Number:
Description:
8KB, Flash, 768bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm TUB
Manufacturer:
Microchip Technology
![PIC18F44K20-E/MV](/photos/16/15/161538/qfn-40_tmb.jpg)
Part Number:
Description:
16KB, Flash, 768bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm TU
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F44K20-I/MV](/photos/16/15/161538/qfn-40_tmb.jpg)
Part Number:
Description:
16KB, Flash, 768bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm TU
Manufacturer:
Microchip Technology
![PIC18F45K20-E/MV](/photos/16/15/161538/qfn-40_tmb.jpg)
Part Number:
Description:
32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm T
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F45K20-I/MV](/photos/16/15/161538/qfn-40_tmb.jpg)
Part Number:
Description:
32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm T
Manufacturer:
Microchip Technology
![PIC18F46K20-E/MV](/photos/16/15/161538/qfn-40_tmb.jpg)
Part Number:
Description:
64KB, Flash, 3968bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 UQFN 5x5x0.5mm T
Manufacturer:
Microchip Technology
Datasheet: