Quatech MPAP-100 user manual Using channel A for both transmit and receive, Register

Models: MPAP-100

1 64
Download 64 pages 37.9 Kb
Page 38
Image 38
Register

10.3.1 Using channel A for both transmit and receive

This is the mode in which most applications will run. Set RXSRC (bit 1) in the Configuration Register to logic 0. This will configure the MPAP-100 to use W/REQA for receive DMA and DTR/REQA for transmit DMA. In addition to any other desired SCC configuration, ensure that the following bits are set according to Table 6:

Register

Bit(s)

Value

Function

 

 

 

Enable DMA request on W/REQA. This bit

 

7

1

should be set after the other bits in WR1 are set as

 

 

 

desired.

WR1A

6

1

Set W/REQA for DMA Request mode.

5

1

Use W/REQA for receive.

 

 

4-3

11 or

Enable receive interrupts on special conditions

 

00

only (recommended), or disable them completely.

 

 

 

1

0

Disable transmit interrupts.

WR14A

2

1

Enable DMA request-on-transmit on DTR/REQA.

WR15A

0

1

Enable WR7A'.

WR7A'

5

0

Assert transmit DMA request when entry location

of internal FIFO is empty.

 

 

4

1

Set DTR/REQA for W/REQA timing.

Table 6 --- Configuring the SCC for FIFO use with channel A only

Page 38
Image 38
Quatech MPAP-100 user manual Using channel A for both transmit and receive, Register