Iy, H1 is negated in response to an asserted H2, which in- dicates that new output data is present in the double- buffered latches. Following acceptance of the data, the peripheral asserts H 1, disabling the output buffers. Other than controlling the output buffers, H1 is edge-sensitive as in other modes. Input transfers proceed identicaliy to the double-buffered input protocol described in the Port General Information and Conventions section. Port A and B data is latched with the asserted edge of H3. In Mode 3, only the in- terlocked and pulsed handshake pin options are available to H2 and H4.
The DMAREQ pin may be associated with either Input transfers I H3) or output transfers I H 1), but not both. H2 Indicates when new data is available in the Port Bland ImpliCitly Port A) output latches, but unless the buffer is enabled by H 1, the data IS not driving the pins. Mode 3 can provide convenient high-speed 16-bit transfers. The Port A and B Data Registers are addressed for compatibility with the MC68OOQ's Move Peripheral IMOVEP) Instruction and with the MC68450 DMAC. To take advan- tage of thiS, Port A should contain the most-significant data and always be read or written by the bus master first.
The Interlocked and pulsed handshake protocols are keyed to accesses to the Port B Data Register in Mode 3. If it is accessed last. the 16-bit double-buffered transfer proceed smoothly. Refer to Table 8 for a summary of the Port A and B data paths in Mode 3. DMA REQUEST OPERATION The Direct Memory Access Request I .. O ..... M.,..A .... R ...... EO"") pulse Iwhen enabled) is associated with output or input transfers to keep the initial and final output latches full or initial and final input latches empty, respectively. Fig\Jres 13 and 14 show all the possible paths in generating DMA requests. OMAREQ is generated on the bus side of the MC68230 by the synchronized' Chip Select.
If the conditions of Figures 13 and 14 are met, an access of the bus (assertion of CSI will cause rnvlm'd' to be asserted 3 PitT clocks (plus the delay time from the clock edge) after ~ is synchronized' DMAREO remains asserted 3 clock cycles (plus the delay time from the clock edge) and is then negated. The DMAREO pulse associated with !I peripheral or port side of the PI/T is caused by the synchronized' H1(H31 in- put.
If the conditions of Figures 13 and 14 are met, a port ac- cess (assertion of the H1 (H3) input) will cause OMAREQ to be asserted 2.5 PI/T clock cycles (plus the delay time from clock edge) after HlIH3) is sycnhronized.' DMAREO re- mains asserted 3 clock cycles (plus the delay time from the clock edge) and is then negated. TABLE 8 - MODE 3 PORT A AND B DATA PATHS Mode Reed Port A and B Write Port A and B Om Regilter Data Regilter 3 FIL,D.B IOLlFDL, D.B., Note 1 Note 1. Data written to Port A goes to a temporary latch. When the Port B data register IS later Written, Port A data IS transferred to lOll FOL. Abbreviations:
IOL - Initial Output Latch FOL - Final Output Latch FIL - Fmal Input Latch 5 B DB - Single Buffered - Double Buffered FIGURE 13 - DMAREQ ASSOCIATED WITH OUTPUT TRANSFERS FIGURE 14 - DMAREQ ASSOCIATED WITH INPUT TRANSFERS Data In Output Latches ~0BYte0~ Data In Input Latches ~COByte0~ ~ t OMAA>~ B",::> Bus Write No DMA Request Peripheral PrOl/Ides Data No DMA Request ~ t ~ .
, No DMA Request Peripheral Accepts Data ~CByte~/ OMA A> c' B'''::> A,,, ~ , Bus Write DMA Request Peripheral Provides Data DMA Request No DMA Request Bus Read ~C2BYte~/ 'Synchronized means that the Input signal has been seen by the PIIT on the appropriate edge of the clock Irlslng edge for H11H31 and tailing edge for CSI IRefer to the BUS INTERFACE CONNECTION section for the exception concernlnq ~11f a bus access lassertlon of CSI and a port access {assertion of H11H311 occur at the same time, ~ will be recognized Without any delay. H11H31 will be recognized one clock cycle later ® MOTOROLA s::"lconductor Product. Inc.