Professional Documents
Culture Documents
.~
OUTPUTS
its PSD3xxx family. PAD gives tbe user the oppor-
The chips in the PSD3xxx tunity of selecting EPROM
family contain flexible 110 banks internalJy via the
ports, a PLD, Page Registers, ESo-ES7 !ines.
~
EPROM (choice of 32 kbyte, Also, there is a selection
64 kbyte, 0]' 128 kbyte), EPROM SRAM INPUT/OUTPUT signal for the static memory,
2 kbyte static RAM and some RSo·
logic circuitry to make connec- Port C is a 3-bit 1/0 port
tion with the microprocessor-
INPUT/OUTPUT
0 PORTS
with two functions: it can take
see Fig. 1. Because of the 940110 -11
internal signal CSs-CSlO out-
power of the new chips, the side, 01' it can receive address
design of a microprocessor lines A16-AIB and pass these
system 1Sbrought down to two Fig. 1. Functions that can be assumed by a PSD3xxx chip. to the PAD. Moreover, address
components (since the latch line A 19 can be passed directly
for demultiplexing of the ad- to the PAD. This shows that
dress and data buses is no the PAD 18 capable of ar-rang-
I PAGE lQGIC
longer needed). A similar "-" Al6--A18 ing an entire address decoding
• Fr
function would until recently - Al1 AlS PROG. up to 1 MHz without any ex-
have required 8 to 12 discrete
les. The chips have been de-
,~
t,
r m
CS~f'{)RT
m d LOGICIN
-
eoer
EXP. temal components.
.=:~" c '0'- Ports A and Bare 8-bit
signed to work with a variety
of microprocessor les, irrelud-
ing, for example, the 68HCll
~
~
~
I
~
I:SET
ÄLElAS
PACA
13 P.T.
I~
~
I
ÄlEIAS
I:
IRESET
PAC B
27P.T. -
,,~
CS10_
soar
c ~ ports that can be used by the
operator as conventional 1/0
pcrts. Figure 3 shows the
as weil as the Z80. The f---- • -- EPROM special mode in which 1/0
, ,,
256 K BIT·' MBIT
PSD3xxx farnily may be split ports A, Band C may be used.
into two branches: the
~AC
'I· r
'"
co,
co, This is especially useful if an
t....
c CO'
PSD31x, intended for 8-bit 8-bit processor system uses a
.-
-"
CO,
processors, and the PSD3x for I-'
CO, PRQG,
multiplexed address and data
-
eonr
16-bit processors. ~ bus (ADo-AD7)' Address lines
..
CSO- EXP.
CS7 I---
A block diagram of one of " Ag-AI5 are then available as
rr
PORT ~
the new chips, the Iß-bi t .Q!;QJ.l .- ~ BLOCK rr ~ normal and may be applied to
PSD30x, is given in Fig. 2. At
~~~
the address inputs. Ports B
the left are all the functions r- .- I ~ 0>0"
and C are then available as
needed to make connection 110 functions or for passing
-~ --- CSI(JPOIU
with a microprocessor; and at oo-os
~-A7 01' ADO-AD7Iines (track
the right, the 1/0 functions. I- -- mode) respectively,
The memory banks are in the 1- ~'- Apart from functioning as
centre.
Inputs ADo-AD7 reach the
'-
~~
--.. SRAM
16KBIT
TRACK MODE
"00
PORT
EXP.
an rio port, port B can also
take the chip-select signals of
SELECTS f--
nucleus of the IC via latches, ,~, "0- the PAD outside. Port C can
which can be arranged to AOO-AD71OO-07
eoat
, ~ then be used to obtain more
store data. This obviates the AlEf"'S
~ inputs, 01' for writing addi-
need of a separate register
such as a 74HCT373 or
'"',
WAIRIW
• I
PROG.CHIP
CONFIGUAATION
SECURrTY
tose tional address lines AlB-AlS,
or for taking chip-select lines
PROG. XB,X16
BHEJP EN
74HCT573. In the transparent , 00'""'"
SIGNALS
MUX '" NON--MUX BUSSES
CSa-CSIO outside.
mode, the latches function as A'91C t 940110--12
,~
V
ese
~
A8-AlS [110] er [AC - A7J er [ADO - AD7) ~
'"
"
, ese
~ 8 EPI'ICIM BlOCK
SEI.ECT L1NE5
ess PAD
[1/0] or [eSO - CS7] .lLE ot"'S
ese
A
~O",E
~
~ Sf1AM BtOCI( SB.ECT
~ ro_~
~.~
WlIorllM
A16, An, AlB er CS8, CS9, csro es ••• }
...
TRACKIoIC!DIO
CSAOO\JT'I CONmOl SIGNALS
940110 -13
... cso.'PBO
.., CS11P1I'
transparent. Address Iines the two blocks (Do-D7 and ... ~c~.
PAD
AI-AlO go direct1y to the static DS-D'5) are buffered. If it is ~CSIJl'85 B
."
memory, while address lines set to the byte-wide mode, the
Al-AU are applied to the S-bit wide data stream 18con- .., =L> CMtPIO
CSg'PC,
AESET • ~
selected by the RSo signal that The EPROM section is di- , , , V
CS'(lIfIC<!
15 also generated by the PAD. vided into eigbt banks., which 940110-14
A1A2 WR RD CSIOPORT
A1 A2 WR AC CSIOPORT
CSO-CS7
REAO'----
PIN
MUX
MUX BPORT Oi
APORT Oi
0
PORT
0
WRITE Ai PIN ~:ft..E RES 01
DATA
aes Aal
G
aes OUTPUT
ENABLE
MULTIPLEX
MULTIPLEX REAO DIRECTION
SELECT REGISTER
I. _J.-----1-:::!-" SELECT
OPTiON
OPTION
CONFIGURATION
CONAGURATION
WAlTE RES
D1RECTION L_~
PORT B STRUCTURE
PORT A STRUCTURE ANYONEOFI",OT07
08- 015
AOO ·A07 ANYONEOFi"OT07
940110-16
940110·15 RESET
ALE RESET
Fig. 5. Structure behind a single 110 line 01 port A. Fig. 6. Structure behind a single 110 line 01 port B.
Elektor Electronics (Publishing), PO Box 1414, Dorchester, Dorset, England DT2 8YH.
the EPROM banks. There is this division. puts (for example, PAO-PAS the I/O pins of port A and/or
always one produet term input and Pi\o and PA7 output) port B.
available per EPROM bank. A is thus possible. After a reset, all bits in the
produet term, RSO, ts also Port structure Whether an 1/0 pin is data direetion register are low
used for seleeting the statie The eomplete port section of arranged as an input or an level, that is, the ports are set
memory. tbe PSD3xx chips eontains output can be determined as inputs. If in the applieation
The address and eontrol three registers: A (8 bits), B (8 with the data direction regis- only inputs are used, nothing
lines of the EPROM are split bits), and C [3 bits). These ter. Sinee this register oper- more needs to be done. If out-
irrte a block capacity of 4 to registers support various 1/0 ates dynatnically, it is possible puts are wanted, the assoei-
16 kbyte. The exaet locaticn of fuuctions. For example, ports during the exeeution of a pro- ated bits must be made high.
the bloek in the address range A and B may be arranged as gram to adapt the function of [940110)
of the proeessor can be deeided 8-bit VO ports tb at send data
freely by the user. The 2 kbyte to, and reeeive data from, ex-
available for the static RAM ternal eomponents. Figure 5 Name ofregister Offset w.r.t. base address
can be seleeted in a aimilar shows the structure of a single
manner. eell in port A, while Figure 6 Pin register port A +2 (byte)
Other produet terms pro- shows that of a single eell in Pin register port B +3 (byte)
vided by the PAD are CSIO- port B. Writing data to a port Diraction register port A +4 (byte)
PORT, CSADIN, CSADOUTl is the same as writing data to Direction register port B +5 (byte)
and CSADOUT2. The single a RAM location. Data register port A +6 (byte)
product term CSIOPORT de- Although a port ean not be Data register port B +7 (byte)
termines the base address of addressed at bit level , it is Pin register ports A and B +2 (word
ports A and B. An offset must possible to determine of each Directionregister ports Aand B +4 (word)
be added to this base address I/O line whether it is arranged Data register ports A and B +6 (word)
to reaeh the various registers. as input or as output. Any
'Table 1 shows the structure of eombination of inputs and out- Table 1, Addressing 01 Ihe ports.