Texas Instruments SPRU938B manual Control Register Ctrl Field Descriptions

Page 26

www.ti.com

VLYNQ Port Registers

3.2Control Register (CTRL)

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

0

1

Power management enable.

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.

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.

 

 

0

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

 

 

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.

 

 

1

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

 

 

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.

1

13 INTENABLE

0

1

12-8 INTVEC

0-1Fh

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

Interrupt enable.

VLYNQ module status interrupts are ignored.

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

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

Image 26
Contents Users Guide Submit Documentation Feedback Contents Appendix B Appendix CList of Figures List of Tables Read This First Features Purpose of the PeripheralFunctional Block Diagram Industry Standards Compliance StatementExternal Clock Block Diagram Clock ControlPin Multiplexing Signal DescriptionsVlynq Signal Descriptions Protocol DescriptionVlynq Functional Description Vlynq Module StructureWrite Operations Read Operations Initialization Auto-NegotiationAddress Translation Address Translation Example Single Mapped Region Register DM643x Vlynq ModuleDM643x Vlynq Module Remote Vlynq ModuleFlow Control Example 1. Address Translation ExampleHardware Reset Considerations Reset ConsiderationsSoftware Reset Considerations Interrupt SupportInterrupt Generation Mechanism Block Diagram Writes to Interrupt Pending/Set RegisterRemote Interrupts Serial Bus Error InterruptsEdma Event Support Emulation Considerations Power ManagementEndianness Considerations Block Name Start Address End Address Size Vlynq Register Address SpaceVlynq Port Controller Registers Acronym Register DescriptionRevmaj Revmin Revision Register RevidRevision Register Revid Field Descriptions Bit Field Value DescriptionControl Register Ctrl Control Register Ctrl Field DescriptionsAoptdisable Bit FieldStatus Register Stat Status Register Stat Field DescriptionsNo error LerrorNointpend Interrupt Priority Vector Status/Clear Register IntpriInterrupt Status/Clear Register Intstatclr InstatInterrupt Pointer Register Intptr Field Descriptions Interrupt Pending/Set Register IntpendsetInterrupt Pointer Register Intptr IntsetTxadrmap Transmit Address Map Register XAMAddress Map Register XAM Field Descriptions RXADRSIZE1 Receive Address Map Size 1 Register RAMS1Receive Address Map Offset 1 Register RAMO1 RXADROFFSET1RXADRSIZE2 Receive Address Map Size 2 Register RAMS2Receive Address Map Offset 2 Register RAMO2 RXADROFFSET2RXADRSIZE3 Receive Address Map Size 3 Register RAMS3Receive Address Map Offset 3 Register RAMO3 RXADROFFSET3RXADRSIZE4 Receive Address Map Size 4 Register RAMS4Receive Address Map Offset 4 Register RAMO4 RXADROFFSET4Chip Version Register Chipver Field Descriptions Chip Version Register ChipverAuto Negotiation Register Autngo Auto Negotiation Register Autngo Field DescriptionsVlynq Port Remote Controller Registers Supported Ordered Sets IntroductionSpecial 8b/10b Code Groups Table A-1. Special 8b/10b Code GroupsFigure A-1. Packet Format 10-bit Symbol Representation Vlynq 2.0 Packet FormatField Value Description Vlynq 2.X Packets Vlynq 2.X Packets Write Performance Burst Size Interface Running at 76.5 MHZ Bit Words Mbits/sec Mbytes/secThroughput Read PerformanceTable B-3. Relative Performance with Various Latencies Latency μsecTable C-1. Document Revision History Reference Additions/Modifications/DeletionsRfid Products ApplicationsDSP