S e r i a l C h a n n e l r e g i s t e r s

Register diagram and bit assignment

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRUN

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Rsvd

 

 

 

 

 

 

 

BT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bits

Access

Mnemonic

Reset

Description

 

 

 

 

 

D31

R/W

TRUN

0

Enable timer to run

 

 

 

 

Set to 1 to allow the receive buffer gap timer

 

 

 

 

to operate.

 

 

 

 

 

D30:15

N/A

Reserved

N/A

N/A

 

 

 

 

 

D14:00

R/W

BT

0

BT timer

 

 

 

 

The required value for the receive buffer gap

 

 

 

 

timer is a function of the channel bit-rate and

 

 

 

 

the maximum receive buffer size. It is

recommended that you set the buffer gap timer to a value that is slightly larger that the amount of time required to fill the maximum buffer size using the channel bit-rate. Use this equation to define the recommended buffer gap timer value:

BT RECOMMENDED =

[(MAX_RX_BUF_SIZE * 1.10 * FXTALE) / (bit- rate * 512)] - 1

If the resulting value doesn’t fit within the range for BT, reconsider the size of MAX_RF_BUF_SIZE.

Table 92: Serial Channel Receive Buffer Gap Timer bit definition

Serial Channel 1, 2 Receive Character Gap Timer

Address: FFD0 0018 / 58

The receive character gap timer closes out a receive serial data buffer due to a gap between characters. The timer is reset when a character is received. When the timer reaches its programmed threshold, the receive data buffer is closed.

2 5 6

N S 7 5 2 0 H a r d w a r e R e f e r e n c e , R e v . D 0 3 / 2 0 0 6

Page 270
Image 270
Digi NS7520 manual Serial Channel 1, 2 Receive Character Gap Timer, Register diagram and bit assignment, Address FFD0 0018