PIC18F6525/6621/8525/8621
DS39612B-page 128
2005 Microchip Technology Inc.
10.10 Parallel Slave Port
PORTD also operates as an 8-bit wide Parallel Slave
Port,
or
microprocessor
port,
when
control
bit
PSPMODE (PSPCON<4>) is set. It is asynchronously
readable and writable by the external world through RD
control input pin, RE0/RD and WR control input pin,
RE1/WR.
The PSP can directly interface to an 8-bit micro-
processor data bus. The external microprocessor can
read or write the PORTD latch as an 8-bit latch. Setting
bit 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). The
A/D
port
configuration
bits,
PCFG2:PCFG0
(ADCON1<2:0>), must be set, which will configure pins
RE2:RE0 as digital I/O.
A write to the PSP occurs when both the CS and WR
lines are first detected low. A read from the PSP occurs
when both the CS and RD lines are first detected low.
The PORTE I/O pins become control inputs for the micro-
processor port when bit PSPMODE (PSPCON<4>) is
set. In this mode, the user must make sure that the
TRISE<2:0> bits are set (pins are configured as digital
inputs) and the ADCON1 is configured for digital I/O. In
this mode, the input buffers are TTL.
FIGURE 10-24:
PORTD AND PORTE
BLOCK DIAGRAM
(PARALLELSLAVEPORT)
Note:
For PIC18F8525/8621 devices, the Parallel
Slave
Port
is
available
only
in
Microcontroller mode.
Data Bus
WR LATD
RDx
Q
D
CK
EN
QD
EN
RD PORTD
pin
One bit of PORTD
Set Interrupt Flag
PSPIF (PIR1<7>)
Read
Chip Select
Write
RD
CS
WR
Note: I/O pin has protection diodes to VDD and VSS.
TTL
or
PORTD
RD LATD
Data Latch
TRIS Latch
相关PDF资料
PIC18F4439-E/ML IC PIC MCU FLASH 6KX16 44QFN
XF2J-2024-11 CONN FPC 20POS 0.5MM SMT
PIC16LF747-I/ML IC PIC MCU FLASH 4KX14 44QFN
XF2J-1824-11 CONN FPC 18POS 0.5MM SMT
XF2J-1624-11 CONN FPC 16POS 0.5MM SMT
XF2J-1424-11 CONN FPC 14POS 0.5MM SMT
XF2J-1224-11 CONN FPC 12POS 0.5MM SMT
XF2J-1024-11 CONN FPC 10POS 0.5MM SMT
相关代理商/技术参数
PIC18F6527-I/PT 功能描述:8位微控制器 -MCU 48 KB FL 4K RAM 70 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6527-I/PT 制造商:Microchip Technology Inc 功能描述:8-Bit Microcontroller IC
PIC18F6527T-I/PT 功能描述:8位微控制器 -MCU 48 KB FL 4K RAM 70 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6585-E/L 功能描述:8位微控制器 -MCU 48KB 3328 RAM 52 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6585-E/PT 功能描述:8位微控制器 -MCU 48KB 3328 RAM 52 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6585-I/L 功能描述:8位微控制器 -MCU 48KB 3328 RAM 52 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6585-I/L 制造商:Microchip Technology Inc 功能描述:8-Bit Microcontroller IC
PIC18F6585-I/PT 功能描述:8位微控制器 -MCU 48KB 3328 RAM 52 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT