beautypg.com

3 status register (stat), Stat), Descriptions – Texas Instruments VLYNQ Port User Manual

Page 29: Section 3.3

background image

www.ti.com

3.3

Status Register (STAT)

VLYNQ Port Registers

The status register (STAT) is used to detect conditions that may be of interest to the system designer. The
STAT is shown in

Figure 11

and described in

Table 9

.

Figure 11. Status Register (STAT)

31

28

27

24

23

20

19

15

Reserved

SWIDTHIN

SWIDTHOUT

Reserved

R-0

R-0

R-0

R-0

14

12

11

10

9

8

RXCURRENTSAMPLE

RTM

IFLOW

OFLOW

RERROR

R-0

R-1

R-0

R-0

W1C-0

7

6

5

4

3

2

1

0

LERROR

NFEMPTY3

NFEMPTY2

NFEMPTY1

NFEMPTY0

SPEND

MPEND

LINK

W1C-0

R-0

R-0

R-0

R-0

R-0

R-0

R-0

LEGEND: R/W = Read/Write; R = Read only; W1C = Write 1 to clear bit; -n = value after reset; x= reset value is indeterminate

Table 9. Status Register (STAT) Field Descriptions

Bit

Field

Value

Description

31-28

Reserved

0

Reserved. Always read as 0. Writes have no effect.

27-24

SWIDTHIN

Size of the inbound serial data. Indicates the number of receive pins that are being used to

0-Fh

establish the serial interface.

0

No pins used

1h

1 RX pin used

2h

2 RX pins used

3h

3 RX pins used

4h

4 RX pins used

5h-Fh

Reserved

23-20

SWIDTHOUT

0-Fh

Size of the outbound serial data. Indicates the number of transmit pins that are being used
to establish the serial interface.

0

No pins used

1h

1 TX pin used

2h

2 TX pins used

3h

3 TX pins used

4h

4 TX pins used

5h-Fh

Reserved

19-15

Reserved

0

Reserved. Always read as 0. Writes have no effect.

14-12

RXCURRENTSAMPLE

0-Fh

Current RTM sample. Indicates the current clock sample value used by RTM.

11

RTM

1

RTM enable. Always read as 1. Indicates that the VLYNQ module on the DM644x DMSoC
has the receive timing manager (RTM).

10

IFLOW

Inbound flow control.

0

Free to transmit.

Indicates that a flow control enable request has been received and has stalled transmit until

1

a flow control disable request is received.

9

OFLOW

Outbound flow control. Indicates the status of the two inbound FIFOs (FIFO1 or FIFO2).

0

Indicates that the internal flow control threshold is not yet reached.

Indicates that the internal flow control threshold has been reached (FIFO1 or FIFO2 is full)

1

and a flow control enable request has been sent to the remote device.

SPRUE36A – September 2007

VLYNQ Port

29

Submit Documentation Feedback