|
Many users attempt to form a high-speed 8-bit parallel bus using two 8255As in Mode 1 or Mode 2. At first glance, it appears that this can be done with the addition of one inverter for unidirectional transfer, and two inverters for bidirectional transfer, as shown in Figure 1 and Figure 2. In figure 1, only Port A control and data lines are shown; connections for Port B are similar.
The current 8255A AC specifications indicate that these connections will not work properly! The "handshaking" signals generated by the 8255A do not provide adequate STB pulse width and data set-up times for the input port.
The timing diagram of Figure 3 applies to the circuits of Figure 1 and Figure 2; here the left chip (labelled X) is transmitting data to the right chip (labelled Y). The sequence of control signal transitions we are concerned with is shown by arows in Figure 3, starting with the leading edge of OBF X and ending with the trailing edge of STB Y. In the timing diagram, t DELAY1 represents the delay from OBF X to STB Y; t DELAY2 represents the delay from IBF Y to ACK X. In Figures 1 and 2, t DELAY and t DELAY2 are delays due to the inverter and the connections themselves. Data transfer fails when the minimum pulse width for STB Y (500ns) is violated. This may be analysed by following the arrows in Figure 3 from the leading edge to the trailing edge of STB Y; this is the t ST spec. The result is:
tST = tSIB + tDELAY2 + tAOB + tDELAY1 >= 500ns tSIB and tAOB have no minimum specs, so eliminating them tDELAY1 + tDELAY2 >= 500ns
|