PIC18C858-E/L Microchip Technology, PIC18C858-E/L Datasheet - Page 108

no-image

PIC18C858-E/L

Manufacturer Part Number
PIC18C858-E/L
Description
IC MCU OTP 16KX16 CAN 84PLCC
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C858-E/L

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
68
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 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
84-PLCC
For Use With
AC164310 - MODULE SKT FOR PM3 84PLCCDVA18XL840 - ADAPTER DEVICE ICE 84PLCCAC174012 - MODULE SKT PROMATEII 84PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
PIC18C858E/L

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C858-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
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 PIC18C858-E/L