Quatech RS-422/485, MPA-200/300 user manual

Page 25

of the SCC, a DMA request is generated. The DMA controller then writes the data from the SCC into memory.

Programming for DMA request on both transmit and receive is simply a combina- tion of the two. There are three possible configurations that can be used, depend- ing on the sources selected. The first configuration available uses the W/REQA pin of channel A for DMA request on receive, and the DTR/REQA pin of channel A for DMA request on transmit. This is done by setting bit D0 and clearing bit D1 of the configuration register. The second configuration uses the DTR/REQA pin for DMA request on transmit, and the W/REQB pin for DMA request on receive. This is done by setting both D0 and D1 of the configuration register. These two configurations give users an optional way of performing DMA requests on both transmit and receive. Otherwise, the third configuration should be used. This configuration uses the W/REQA pin of channel A for DMA request on trans- mit, and the W/REQB pin of channel B for DMA request on receive. This is done by clearing bit D0 and setting bit D1 of the configuration register. Figure 3 shows a block diagram of the DMA circuitry on the MPA-200.

When using the channel A DTR/REQ pin for transmit DMA the SCC must be programmed so that the request release timing of this pin is identical to the WAIT/REQ timing. This is done by setting bit D4 of write register 7 prime.

NOTE:

Even though the W/REQA pin can be used for both DMA request on transmit and receive, obviously it cannot be used for both simultaneously. Therefore, bits D0 and D1 of the configuration register should never be cleared at the same time while bits D2 and D3 are both set. This situation may result in damage to the system.

19

Quatech Inc., MPA-200/300 Manual

Image 25
Contents QUATECH, INC MPA-200/300Page Warranty Information Page Compliances Electromagnetic Emissions Table of Contents Quatech Inc., MPA-200/300 Manual Introduction MPA-200 board drawing IRQ DMA/DRQ Hardware InstallationSCC General Information Accessing the registers RR1 RR0RR2 RR3WR1 WR0WR2 WR3Baud Rate Generator Programming SCC Data Encoding Methods J4 Interrupt Configuration Jumper Block ConfigurationsJ5 & J6 Interrupt Level Selection IRQ3 IRQ4 IRQ5 IRQ6 IRQ7J10 Transmit DMA Channel Selection IRQ10 IRQ11 IRQ12 IRQ14 IRQ15J7 Line Driver Control Selection J11 Receive DMA Channel SelectionSynca Rlen OUT J8 Synca to Rlen controlBase Address = 3F8H AddressingPage Interrupts Direct Memory Access Page Reqa Configuration Register D0 -TXSRC, Transmit DMA Source D1 -RXSRC, Receive DMA SourceTM ST Llen Rlen Rcken Tcken Rxden Txden Communications RegisterD0 -TRANSMITTER Enable D1 -RECEIVER EnableDTE / DCE Configuration Rrclk Rtclk Trxca Tclk Ttclk DTE ConfigurationDCE Configuration DCE Clock Configuration External Connections CTS Ctsa +DSR Dcda DTR DTR/REQA DSR Dcda +RRCLK Trxc Test ModeTest Mode Null-Modem Cables Circuit CC Data SET Ready DSR Connector Notation +DSR,-DSR Circuit AB Signal Ground Connector Notation DgndConnector Notation +TXD,-TXD Connector Notation +RXD,-RXDConnector Notation +RRCLK,-RRCLK Connector Notation +RTCLK,-RTCLKCircuit CA Request to Send RTS Connector Notation +RTS,-RTS Circuit CB Clear to Send CTS Connector Notation +CTS,-CTSCircuit LL Local Loopback LL Connector Notation Llbk Circuit CD DTE Ready DTR Connector Notation +DTR,-DTRCircuit RL Remote Loopback RL Connector Notation Rlbk Circuit TM Test Mode TM Connector Notation Test Mode Specifications MPA-200/300 Version March