English
Language : 

UPSD3212A Datasheet, PDF (120/163 Pages) STMicroelectronics – Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
uPSD3212A, uPSD3212C, uPSD3212CV
Port D – Functionality and Structure
Port D has two I/O pins (only one pin, PD1, in the
52-pin package). See Figure 63 and Figure
64., page 121. This port does not support Address
Out Mode, and therefore no Control Register is re-
quired. Of the eight bits in the Port D registers,
only Bits 2 and 1 are used to configure pins PD2
and PD1.
Port D can be configured to perform one or more
of the following functions:
■ MCU I/O Mode
■ CPLD Output – External Chip Select (ECS1-
ECS2)
■ CPLD Input – direct input to the CPLD, no
Input Macrocells (IMC)
■ Slew rate – pins can be set up for fast slew
rate
Port D pins can be configured in PSDsoft Express
as input pins for other dedicated functions:
■ CLKIN (PD1) as input to the macrocells flip-
flops and APD counter
■ PSD Chip Select Input (CSI, PD2). Driving this
signal High disables the Flash memory, SRAM
and CSIOP.
Figure 63. Port D Structure
DATA OUT
REG.
DQ
WR
ECS[ 2:1]
READ MUX
P
D
B
DATA OUT
OUTPUT
MUX
DATA IN
OUTPUT
SELECT
PORT D PIN
DIR REG.
DQ
WR
ENABLE PRODUCT
TERM (.OE)
CPLD - INPUT
AI06606
120/163