PIC16C64-10/L Microchip Technology, PIC16C64-10/L Datasheet - Page 61
![MICRO CTRL 2K X 14 OTP 44 PLCC](/photos/6/63/66325/150-44-plcc_sml.jpg)
PIC16C64-10/L
Manufacturer Part Number
PIC16C64-10/L
Description
MICRO CTRL 2K X 14 OTP 44 PLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C64-10/L
Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Connectivity
I²C, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
Data Converters
-
- Current page: 61 of 337
- Download datasheet (3Mb)
5.7
PORTD operates as an 8-bit wide parallel slave port
(microprocessor port) when control bit PSPMODE
(TRISE<4>) is set. In slave mode it is asynchronously
readable and writable by the external world through
RD control input (RE0/RD) and WR control input pin
(RE1/WR).
It can directly interface to an 8-bit microprocessor data
bus. The external microprocessor can read or write the
PORTD latch as an 8-bit latch. Setting PSPMODE
enables port pin RE0/RD to be the RD input, RE1/WR
to be the WR input and RE2/CS to be the CS (chip
select) input. For this functionality, the corresponding
data direction bits of the TRISE register (TRISE<2:0>)
must be configured as inputs (set).
There are actually two 8-bit latches, one for data-out
(from the PIC16/17) and one for data input. The user
writes 8-bit data to PORTD data latch and reads data
from the port pin latch (note that they have the same
address). In this mode, the TRISD register is ignored
since the microprocessor is controlling the direction of
data flow.
A write to the PSP occurs when both the CS and WR
lines are first detected low. When either the CS or WR
lines become high (level triggered), then the Input
Buffer Full status flag bit IBF (TRISE<7>) is set on the
Q4 clock cycle, following the next Q2 cycle, to signal
the write is complete (Figure 5-12). The interrupt flag bit
PSPIF (PIR1<7>) is also set on the same Q4 clock
cycle. IBF can only be cleared by reading the PORTD
input latch. The input Buffer Overflow status flag bit
IBOV (TRISE<5>) is set if a second write to the Parallel
Slave Port is attempted when the previous byte has not
been read out of the buffer.
A read from the PSP occurs when both the CS and RD
lines are first detected low. The Output Buffer Full sta-
tus flag bit OBF (TRISE<6>) is cleared immediately
(Figure 5-13) indicating that the PORTD latch is waiting
to be read by the external bus. When either the CS or
RD pin becomes high (level triggered), the interrupt flag
bit PSPIF is set on the Q4 clock cycle, following the
next Q2 cycle, indicating that the read is complete.
OBF remains low until data is written to PORTD by the
user firmware.
When not in Parallel Slave Port mode, the IBF and OBF
bits are held clear. However, if flag bit IBOV was previ-
ously set, it must be cleared in firmware.
An interrupt is generated and latched into flag bit
PSPIF when a read or write operation is completed.
PSPIF must be cleared by the user in firmware and the
interrupt can be disabled by clearing the interrupt
enable bit PSPIE (PIE1<7>).
Applicable Devices
61 62 62A R62 63 R63 64 64A R64 65 65A R65 66 67
1997 Microchip Technology Inc.
Parallel Slave Port
FIGURE 5-11: PORTD AND PORTE AS A
One bit of PORTD
Data bus
Note: I/O pin has protection diodes to V
Set interrupt flag
PSPIF (PIR1<7>)
WR
PORT
RD
PORT
Q
D
CK
PARALLEL SLAVE PORT
EN
EN
Q
D
PIC16C6X
Chip Select
Read
Write
DS30234D-page 61
TTL
DD
TTL
TTL
TTL
and V
SS
CS
WR
RD
RDx
pin
.
Related parts for PIC16C64-10/L
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C64-04/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 40 DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-20/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 40 DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-20/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 44 PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64/JW](/photos/6/63/66338/150-40-cdip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 EPROM 40 CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-04/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 44 PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-10/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 40 DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-20I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU 2K 20MHZ OTP IT 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-04/PQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-04/TQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-04E/L](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-04E/TQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10/PQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10E/PQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10E/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10E/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology