Interfacing the DP8420A/21A/22A to the NS32008/016/C016/032/132
National Semiconductor Application Note 542 Joe Tate and Rusty Meier May 1989
Interfacing the
DP8420A/21A/22A to the NS32008/016/C016/
032/132
INTRODUCTION
This application note explains interfacing the DP8420A/21A/22A to the National Semiconductor 32C016.
Two different designs are shown and explained. It is as- sumed the reader is familiar with the NS32C016 access cy- cles and the DP8420A/21A/22A modes of operation. This application note is written for the NS32C016, but is also valid for the NS32008/016/032/132.
DESIGN DESCRIPTION
This design is a simple circuit to interface the DP8420A/21A/22A to the NS32C016 and up to 32 Mbytes of DRAM. The DP8420A/21A/22A is operated in mode 0.
An access cycle begins when the 32C016 asserts the ADS signal and places a valid address on the bus. The ADS sig- nal places a group of 74AS373 fall-through latches in fall- through mode and ADS negated latches the address to guarantee the address is valid throughout the entire access.
The ADS signal is inverted to produce the signal ALE to the DP8420A/21A/22A. On the next rising clock edge, after the ALE signal is asserted, the DP8420A/21A/22A will assert RAS. After guaranteeing the row address hold time, tRAH, the DP8420A/21A/22A will place the column address on the DRAM address bus, guarantee the column address set- up time and assert CAS. The transceivers are enabled by CS and AS. After tCAC, the DRAM will place the data on the bus. The DP8420A/21A/22A will also take care of refresh access arbitration and will hold off the access by asserting the CWAIT signal to the NS32C201 TCU.
Timing parameters are referenced to the numbers shown in the DP8420A/21A/22A data sheet. Times beginning with a
‘‘$’’ refer to the DP8420A/21A/22A data sheet. Times be- ginning with a ‘‘Ý’’ refer to the NS32C016 data sheet.
Times beginning with a ‘‘!’’ refer to the NS32C201 data sheet in the 1986 Series 32000Édata book. Equations giv- en allow the user the calculation timing based on his fre- quency and application. The clock to the DELCLK has been chosen to be a multiple of 2MHz. If you do not have a clock, which is a multiple of 2 MHz, the ADS to CAS time must be recalculated.
DESIGN TIMING PARAMETERS
Clock Period eTcp10e100 ns@10 MHz eTcp15e66 ns@15 MHz
$300: CS asserted to CLK High
$301b: ALE Setup to CLK High
eT1bInverter MaxbPHI1 to ADS bCTTL to PHI1
eTcpbtplhbÝtADSab!tPCr e100 nsb5 nsb35 nsb2 ns e55 ns@10 MHz
e66 nsb5 nsb26 nsb2 ns e33 ns@15 MHz
$302: ALE Pulse Width
eT1bInverter MaxbPHI1 to ADS bCTTL to PHI1
eÝtADSw e30 ns@10 MHz e25 ns@15 MHz
$303 & $304: Address Setup to CLK
eT1bPHI1 to AddressaAS373 in to out aCTTL to PHI1 Max)
eTcpbÝtADSabtphlb!tPCr e100 nsb50 nsb6 nsb2 ns e42 ns@10 MHz
e66 nsb35 nsb6 nsb2 ns e23 ns@15 MHz
$309: ALE Negated Held from CLK High eMin CLK to ADSaMin Inverter
bCTTL to PHI1 Max
eMin CLK to ADSa1 nsb2 ns eMin CLK to ADSb1 ns@10 MHz eMin CLK to ADSb1 ns@15 MHz
*no time is specified for CLK to ADS min.*
$310: WIN Setup to CLK High to Guarantee CAS is Delayed
eT1aT2bPHI1 to CTTL R.E.
bDDIN Signal Validb74AS04 e2Tcpb!tPCrbÝtDDINvbtphl e200 nsb2 nsb45 nsb5 ns e148@10 MHz
e66 nsa66 nsb2 nsb38 nsb5 ns
$315: AREA Negated to CLK High that Starts Access RAS eT4aT1bPHI1 to CTTL R.E.
bPHI1 to TSO High e2Tcpb!tPCrb!tTr e200 nsb2 nsb18 ns e180 ns@10 MHz
e66 nsa66 nsb2 nsb10 ns e120 ns@15 MHz
CWAIT TIMING
!tCWs(W): CWAIT Setup for WAIT STATES eMin PHI1 Pulse WidthaMin Clock
OverlapbPHI1 to TSOb74AS32 e!Tclw(1)a!tnOVLb!tTfbtphl e40 nsa0 nsb12 nsb5 ns e23 ns@10 MHz
e27 nsa0 nsb6 nsb5 ns e16 ns@15 MHz
*parameters $311 & 312 & 314 ensure WAIT will already be asserted
!tCWs(W): CWAIT Setup for Termination of Access eClock PeriodbMax to PHI to CTTL
bCLK to Wait Highb74AS32 e!TCPb!tTCrb$17btphl e100 nsb6 nsb31 nsb5 ns e58 ns@10 MHz
e66 nsb2 nsb31 nsb5 ns e28 ns
tRAC AND tCAC TIMING FOR DRAMs
Timing diagrams are supplied on page 8. Since systems and DRAM times vary, the user is encouraged to change the following equations to match his system requirements. Tim- ing has been supplied for systems with 0 or 1 wait states. If DELCLK is not a multiple of 2 MHz the CLK to CAS delay must be recalculated.
0 Wait States
tRAC eT2aT3bMax Clock SkewbCLK to RASbTransceiver Delay bData Setup
e2TCPb!tPCrb$307btphlbÝtDIs e200 nsb6 nsb26 nsb7 nsb15 ns e146 ns@10 MHz
e2Tcpb!tPCrb$307btphlbÝtDIs e132 nsb2 nsb26 nsb7 nsb10 ns e87 ns@15 MHz
1 Wait State
tRAC eT2aTWaT3bMax Clock Skew bCLK to RASbTransceiver Delay bData Setup
e3Tcpb!tPCrb$307btphlbÝtDIs e300 nsb6 nsb26 nsb7 nsb15 ns e246 ns@10 MHz
e198 nsb2 nsb26 nsb7 nsb10 ns e153 ns@15 MHz
0 Wait States
tCAC eT2aT3bMax Clock SkewbCLK to RASbTransceiver DelaybData Setup e2Tcpb!tPCrb$308abtphlbÝtDIs e200 nsb6 nsb79 nsb7 nsb15 ns e93 ns@10 MHz
e132 nsb2 nsb79 nsb7 nsb10 ns e34 ns@15 MHz
1 Wait States
tCAC eT2aT3bMax Clock SkewbCLK to CASbTransceiver DelaybData Setup e3Tcpb!tPCrb$308abtphlbÝtDIs e300 nsb6 nsb79 nsb7 nsb15 ns e193 ns@10 MHz
e198 nsb2 nsb79 nsb7 nsb10 ns e100 ns@15 MHz
RAS Precharge Parameters
$29b: AREQ Negated Setup to CLK eClock PeriodbClock Skew PHI1
to CTTLbPHI1 to TSO eTCPb!tPCrb!tTr e100 nsb2 nsb18 ns e80 ns@10 MHz e66 nsb2 nsb10 ns e54 ns@15 MHz
tRP eProgrammed ClocksbClock Skew PHI1 to CTTLbPHI1 to TSO
b[(AREQ to RAS Negated)b(CLK to RAS Asserted)]
e2TCPb!tPCrb!tTrb$50 e200 nsb2 nsb18 nsb16 ns e164 ns@10 MHz
RAS Low During Refresh
tRAS eProgrammed Clocksb[(CLK High to Refresh RAS Asserted)b(CLK High to Refresh RAS Negated)]
e2TCPb$55 e200 nsb6 ns e194 ns@10 MHz e132 nsb6 ns e126 ns@15 MHz
TL/F/9736 – 1
*Latches are not needed if DP8420A/21A/22A internal latches are used.
32C016 up to 15 MHz
Design Programming Bits
Bits Description Value
R0, R1 RAS Low During Refreshe2T R0e0
RAS Precharge Timee2T R1e1
R2, R3 WAIT Generation Mode during R2eu
Non-Burst Access R3eu
R4, R5 WAIT During Burst R4e0
R5e0
R6 ADD Wait States with WAITIN R6ex
R7 WAIT Mode Selected R7e0
R8 Non-Interleaved Mode R8e1
R9 Staggered or all RAS Refresh R9eu
C0, C1, C2 Divisior for DELCLK C0e*
*Use a Multiple of 2 MHz External Clock C1e*
C2e*
C3 a30 REFRESH C3e*
C4, C5, C6 RAS, CAS Configuration Mode C4e**
**Choose an all CAS Mode, C5e**
Tie a CAS to Each Nibble C6e**
C7 Select 0 ns Column Address Setup C7e1
C8 Select 15 ns Row Address Hold C8e1
C9 CAS is Delayed During Writes C9e1
B0 Latches are Fall-Through B0e1
B1 Access Mode 0 B1e0
ECAS0 Non-Extend CAS Mode ECAS0e0
xedon’t care ueuser defined
R2e0 R3e1 for 0 WAIT STATES R2e1 R3e0 for 1 WAIT STATE
R9e0 all RAS refresh
R9e1 staggered refresh
DesignTimingÝ1 TL/F/9736–2
DesignTimingÝ2 TL/F/9736–3 AccessÝ3Access/RefreshArbitration
DRAM Speed Versus Processor Speed (DRAM Speed References the RAS Access Time, tRAC, of the DRAM
Using DP8422A-25 Timing Specifications)
TL/F/9736 – 4
Interfacing the DP8420A/21A/22A to the NS32008/016/C016/032/132
Lit.Ý100542 LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or 2. A critical component is any component of a life systems which, (a) are intended for surgical implant support device or system whose failure to perform can