2 control register (ctrl), Ctrl), Descriptions – Texas Instruments SPRU938B User Manual

Page 26: Section 3.2

Advertising
background image

www.ti.com

3.2

Control Register (CTRL)

VLYNQ Port Registers

The control register (CTRL) determines operation of the VLYNQ module. The CTRL is shown in

Figure 10

and described in

Table 7

.

Figure 10. Control Register (CTRL)

31

30

29

27

26

24

23

22

21

20

19

18

16

PMEN

SCLKPUDIS Reserved

RXSAMPELVAL

RTMVALIDWR

RTMENABLE

TXFASTPATH

Reserved

CLKDIV

R/W- 0

R/W- 0

R-0

R/W- 3h

R/W- 0

R/W- 0

R/W- 0

R-0

R/W- 0

15

14

13

12

8

7

6

3

2

1

0

CLKDIR

INTLOCAL

INTENABLE

INTVEC

INT2CFG

Reserved

AOPTDISABLE

ILOOP

RESET

R/W- 0

R/W- 0

R/W- 0

R/W-0

R/W-0

R-0

R/W- 0

R/W- 0

R/W- 0

LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 7. Control Register (CTRL) Field Descriptions

Bit

Field

Value

Description

31

PMEN

Power management enable.

0

VLYNQ CLK is always active if it is set as an output (assuming that VLYNQ module is enabled).

If set as an output, VLYNQ CLK becomes inactive when there is no traffic over the serial bus.

1

The PMEN bit should only be set to 1 when the SCRUN is connected to the remote/external
VLYNQ device.

30

SCLKPUDIS

0

Serial clock pull-up disable. Always write 0.

29-27

Reserved

0

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

26-24

RXSAMPELVAL

0-7h

RTM sample value. If the RTMENABLE bit is 0, the receive timing manager forces the value in the
RXSAMPELVAL bit as the clock sample value. If the RTMENABLE bit is 1, then the value set by
the RXSAMPELVAL bit is ignored. In order to modify the value, you must simultaneously write a 1
to the RTMVALIDWR bit.

23

RTMVALIDWR

RTM valid write bit.

0

Will not allow writes to RXSAMPLEVAL bits.

1

Will allow writes to RXSAMPLEVAL bits.

22

RTMENABLE

RTM enable bit.

The receive timing manager uses the value set in the RXSAMPLEVAL bit as the clock sample

0

value.

1

The receive timing manager is enabled. It automatically selects the receive clock.

21

TXFASTPATH

0-1

Transmit fast path. When set, the fastest path is chosen for the serial data.

20-19

Reserved

0

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

18-16

CLKDIV

0-7h

Serial clock output divider.

15

CLKDIR

Serial CLK direction. Determines whether the VLYNQ CLK is an input or an output.

0

The VLYNQ CLK is externally sourced.

The VLYNQ CLK is internally sourced and equal to the VLYNQ module system clock divided by the

1

divider value set in the CLKDIV bit.

14

INTLOCAL

Interrupt local.

0

The interrupt is forwarded to the remote VLYNQ device over the serial interface as an interrupt
packet.

Interrupt is posted in the interrupt status/clear register and results in the assertion of the VLQINT to

1

the device interrupt controllers.

13

INTENABLE

Interrupt enable.

0

VLYNQ module status interrupts are ignored.

VLYNQ module status interrupts (if RERROR or LERROR bits are set) are posted to the interrupt

1

pending/set register.

12-8

INTVEC

0-1Fh

Interrupt vector. This bit indicates which bit in the interrupt pending/set register is set for VLYNQ
module status (RERROR/LERROR) interrupts.

26

VLYNQ Port

SPRU938B – September 2007

Submit Documentation Feedback

Advertising