
PSD3XX – Application Note 020
1-187
PSD3XX
Solution
for 16-Bit
Processor with
Non-Multiplexed
Bus
A PSD3XX can be configured to operate in the 16-bit mode with a non-multiplexed bus. In
this case, the microcontroller address lines A0–A15 are tied to AD0–AD15 inputs of the
PSD3XX; Port A and B of the PSD3XX are then configured as data ports, connecting to
data bus D0–D15. In applications where the EPROM space in a PSD3XX is not enough, or
a large amount of I/O lines and chip selects are needed, two PSD3XXs will provide a viable
solution. Connecting two PSD3XXs to a microcontroller needs special consideration.
Figure 5 shows a basic design of a 68302 microcontroller interfacing to two PSD312s. The
implementation is fairly straightforward; the two PSD302's are configured to work in 8-bit
non-multiplexed mode. The first PSD302 (U2) occupies the even bank of the memory space
of the 68302; the second PSD302 (U3) occupies the odd bank. The 68302 has no A0 in the
address bus; it depends on signals UDS and LDS (Upper and Lower Data Strobe) to control
the flow of data on the data bus as shown in Table 2.
UDS
LDS
D8–D15
D0–D7
Low
Low
Enabled
Enabled
Low
High
Enabled
Disabled
High
Low
Disabled
Enabled
High
High
Disabled
Disabled
Table 2. 68302 Byte Enable
The above table is also true for most other microcontrollers. Some use different signal
names, such as HBE for UDS and A0 is equivalent to LDS. The decoding for bank select is
the same for both cases. The following points must be considered when configuring the
PSD3XX for this type of application:
K
Address inputs to the PSD3XX have to shift right by one. Address line A1 connects to
AD0 pin of the PSD3XX and so on. For processors which have A0, A0 is no longer
used as address input.
K
Provide bank select signals to the appropriate PSD3XX for proper bank decoding.
The even bank PSD3XX must include signal LDS as input to the PAD, and the odd
bank PSD3XX requires the signal UDS. These signals can be connected to Port C or
the A19/CSI pin in order to be routed as PAD inputs.
K
While inside the PSDsoft software during PSDabel Design Entry, the address map
decode of the EPROM, SRAM and I/O port must also reflect the shift of the address
inputs.
K
The codes of the user’s program have to be split into two files, one for the even bank
PSD3XX and one for the odd bank PSD3XX.