10.3.2 Using channel B for receive

10.3.2 Using channel B for receive

The MPAP-100 supplies only limited support for SCC channel B. This mode, therefore, is not recommended for most applications. Set RXSRC (bit 1) in the Configuration Register to logic 1. This will configure the MPAP-100 to use W/REQA for transmit DMA and W/REQB for receive DMA. In addition to any other desired SCC configuration, ensure that the following bits are set according to Table 7:

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

WR1A

 

 

desired.

6

1

Set W/REQA for DMA Request mode.

 

 

5

0

Use W/REQA for transmit.

 

1

0

Disable transmit interrupts.

WR14A

2

0

Disable 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.

WR1B

Enable DMA request on W/REQB. This bit

71 should be set after the other bits in WR1 are set as desired.

6

1

Set W/REQB for DMA Request mode.

5

1

Use W/REQB for receive.

4-3

11 or

Enable receive interrupts on special conditions

00

only (recommended), or disable them completely.

 

Table 7 --- Configuring the SCC for Rx DMA on channel B

Page 39
Image 39
Quatech MPAP-100 user manual Using channel B for receive