English
Language : 

UPSD3422_06 Datasheet, PDF (226/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
PSD module
uPSD34xx
following sections. Some operating modes can be defined using PSDsoft Express, and
some by the 8032 writing to the csiop registers at run-time, and some require both. For
example, PLD I/O, Latched Address Out, and Peripheral I/O modes must be defined in
PSDsoft Express and programmed into the device using JTAG, but an additional step must
happen at run-time to activate Latched Address Out mode and Peripheral I/O mode, but not
needed for PLD I/O. In another example, MCU I/O mode is controlled completely by the
8032 at run-time and only a simple pin name declaration is needed in PSDsoft Express for
documentation.
Table 116 on page 223 summarizes what actions are needed in PSDsoft Express and what
actions are required by the 8032 at run-time to achieve the various port functions.
Figure 80. Detail of a single I/O port (typical of ports A, B, C)
FROM AND-OR ARRAY
FROM PLD INPUT BUS
FROM OMC
ALLOCATOR
PT OUTPUT ENABLE (.OE)
PSD MODULE RESET
Q DIRECTION
CSIOP
REGIS-
TERS
8032
DATA
Q DRIVE
BITS D
8032
WR
Q CONTROL
(MCUI/O)
Q DATA OUT
CLR
RESET
LATCHED ADDR BIT, PORT A or B
D BIT, PERIPH I/O MODE, Port A
8032
DATA
BIT
DIRECTION
1
P DRIVE SELECT
D2
B 3 CONTROL
M 4 DATA OUT (MCUI/O)
U ENABLE OUT
X 5 DATA IN (MCUI/O)
6
8032 RD
ONE of 6
CSIOP
REGISTERS
FROM OMC OUTPUT
WR RD PIO EN PSELx
I/O PORT
LOGIC
PERIPHERAL I/O
MODE SETS
DIRECTION
(PORT A ONLY)
DRIVE TYPE
PSDsoft
OUTPUT
SELECT
OE
MUX
OUTPUT ENABLE
1
O
U
T
P
U
2T
3M
4U
X
OUTPUT
DRIVER
TYPICAL
PIN
PORT A, B, C
PERIPH I/O
DATA BIT
INPUT
BUFFER
TO IMC
AI07873A
Table 120. Port operating modes
Port Operating Mode
Port A (80-pin
only)
Port B
MCU I/O
Yes
Yes
PLD I/O
OMC MCELLAB Outputs
Yes
Yes
OMC MCELLBC Outputs
No
Yes
External Chip-Select
Outputs
No
No
PLD Inputs
Yes
Yes
Port C Port D
Find it
Yes
Yes
MCU I/O mode on
page 228
No
No
Yes(1)
No
PLD I/O mode on
page 230
No
Yes
Yes
Yes
226/293