psd4235g2v STMicroelectronics, psd4235g2v Datasheet - Page 75

no-image

psd4235g2v

Manufacturer Part Number
psd4235g2v
Description
Flash In-system Programmable Isp Peripherals For 16-bit Mcus 3.3 V Supply
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
psd4235g2v-12U
Manufacturer:
ST
0
Part Number:
psd4235g2v-12UI
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
psd4235g2v-90U
Manufacturer:
SHARP
Quantity:
201
Part Number:
psd4235g2v-90U
Manufacturer:
STMicroelectronics
Quantity:
10 000
Company:
Part Number:
psd4235g2v-90U
Quantity:
1 800
Part Number:
psd4235g2v-90UI
Manufacturer:
ST
0
PSD4235G2V
19
19.1
I/O ports
There are seven programmable I/O ports: Ports A, B, C, D, E, F and G. Each port pin is
individually user configurable, thus allowing multiple functions per port. The ports are
configured using PSDsoft Express or by the MCU writing to on-chip registers in the CSIOP
space.
The topics discussed in this section are:
General port architecture
The general architecture of the I/O Port block is shown in
architectures are shown in
pin has been defined, that pin is no longer available for other purposes. Exceptions are
noted.
As shown in
driven by the configuration bits in the Control registers (Ports E, F and G only) and PSDsoft
Express Configuration. inputs to the multiplexer include the following:
The Port Data Buffer (PDB) is a tri-state buffer that allows only one source at a time to be
read. The Port Data Buffer (PDB) is connected to the Internal Data Bus for feedback and
can be read by the MCU. The Data Out and macrocell outputs, Direction register and
Control register, and port pin input are all connected to the Port Data Buffer (PDB).
The Port pin’s tri-state output driver enable is controlled by a two input OR gate whose
inputs come from the CPLD AND Array enable product term and the Direction register. If the
enable product term of any of the Array outputs are not defined and that port pin is not
defined as a CPLD output in the PSDabel file, the Direction register has sole control of the
buffer that drives the port pin.
The contents of these registers can be altered by the MCU. The Port Data Buffer (PDB)
feedback path allows the MCU to check the contents of the registers.
Ports A, B, and C have embedded input macrocells (IMC). The input macrocells (IMC) can
be configured as latches, registers, or direct inputs to the PLDs. The latches and registers
are clocked by Address Strobe (ALE/AS, PD0) or a product term from the PLD AND Array.
The outputs from the input macrocells (IMC) drive the PLD input bus and can be read by the
MCU (see
General Port architecture
Port operating modes
Port Configuration registers (PCR)
Port Data registers
Individual Port functionality.
Output data from the Data Out register
Latched address outputs
CPLD macrocell output
External Chip Select from the CPLD.
Figure 15: Input
Figure
26, the ports contain an output multiplexer whose select signals are
Figure 28
macrocell).
to
Figure
30. In general, once the purpose for a port
Figure
26. Individual Port
I/O ports
75/124

Related parts for psd4235g2v