PIC16C642-04/SO Microchip Technology, PIC16C642-04/SO Datasheet - Page 35

IC MCU OTP 4KX14 COMP 28SOIC

PIC16C642-04/SO

Manufacturer Part Number
PIC16C642-04/SO
Description
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C642-04/SO

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SOIC (7.5mm Width)
Controller Family/series
PIC16C
No. Of I/o's
22
Ram Memory Size
176Byte
Cpu Speed
4MHz
No. Of Timers
1
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
RS- 232
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
33
Number Of Timers
8
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
5.4
PORTD is an 8-bit port with Schmitt Trigger input buff-
ers. Each pin is individually configurable as an input or
output.
PORTD can be configured as an 8-bit wide micropro-
cessor port (parallel slave port) by setting control bit
PSPMODE (TRISE<4>). In this mode, the input buffers
are TTL.
TABLE 5-7:
TABLE 5-8:
Name
RD0/PSP0
RD1/PSP1
RD2/PSP2
RD3/PSP3
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
Legend: ST = Schmitt Trigger input, TTL = TTL input
Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffers when in Parallel Slave Port Mode.
Address Name
08h
88h
89h
Legend: x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by PORTD.
1996 Microchip Technology Inc.
PORTD and TRISD Registers
(PIC16C661 and PIC16C662 only)
PORTD
TRISD
TRISE
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
PORTD FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
TRISD7 TRISD6 TRISD5
Bit 7
RD7
IBF
Bit 6
RD6
OBF
Buffer Type
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
IBOV
Bit 5
RD5
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
PSPMODE
TRISD4
Input/output port pin or parallel slave port bit0
Input/output port pin or parallel slave port bit1
Input/output port pin or parallel slave port bit2
Input/output port pin or parallel slave port bit3
Input/output port pin or parallel slave port bit4
Input/output port pin or parallel slave port bit5
Input/output port pin or parallel slave port bit6
Input/output port pin or parallel slave port bit7
Bit 4
RD4
Preliminary
PIC16C64X & PIC16C66X
TRISD3 TRISD2 TRISD1 TRISD0 1111 1111
Bit 3
RD3
FIGURE 5-8:
Note 1: I/O pins have protection diodes to V
TRISE2 TRISE1 TRISE0 0000 -111
Bit 2
RD2
Data
bus
WR
TRIS
WR
PORT
RD PORT
Bit 1
RD1
TRIS Latch
Function
Data Latch
D
D
CK
CK
PORTD BLOCK DIAGRAM (IN
I/O PORT MODE)
RD TRIS
Q
Bit 0
RD0
Q
Q
xxxx xxxx
Value on:
POR,
EN
BOR
Schmitt
Trigger
input
buffer
EN
D
DS30559A-page 35
DD
other resets
Value on all
uuuu uuuu
1111 1111
0000 -111
and V
I/O pin
SS
(1)
.

Related parts for PIC16C642-04/SO