Texas Instruments VLYNQ Port manual Control Register Ctrl Field Descriptions

Page 27

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

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

SPRUE36A –September 2007

VLYNQ Port

27

Submit Documentation Feedback

 

 

Image 27
Contents Users Guide Submit Documentation Feedback Contents Appendix C Appendix BList of Figures List of Tables About This Document Notational ConventionsRelated Documentation From Texas Instruments Trademarks Features IntroductionPurpose of the Peripheral Industry Standards Compliance Statement Functional Block DiagramClock Control Peripheral ArchitectureProtocol Description Signal DescriptionsVlynq Port Pins Pin MultiplexingVlynq Module Structure Vlynq Functional DescriptionTxSM Write OperationsRead Operations Serial Interface Width Serial Interface Width ConfigurationInitialization Auto-NegotiationAddress Translation Register DM644x Vlynq Module Address Translation Example Single Mapped RegionRemote Vlynq Module DM644x Vlynq ModuleExample 1. Address Translation Example Flow ControlInterrupt Support Reset ConsiderationsSoftware Reset Considerations Hardware Reset ConsiderationsWrites to Interrupt Pending/Set Register Interrupt Generation Mechanism Block DiagramSerial Bus Error Interrupts DMA Event SupportRemote Interrupts Emulation Considerations Power ManagementBlock Name Start Address End Address Size Vlynq Port RegistersVlynq Register Address Space Vlynq Port Controller RegistersBit Field Value Description Revision Register RevidRevision Register Revid Field Descriptions Revmaj RevminControl Register Ctrl Field Descriptions Control Register CtrlBit Field AoptdisableStatus Register Stat Field Descriptions Status Register StatLerror No errorInstat Interrupt Priority Vector Status/Clear Register IntpriInterrupt Status/Clear Register Intstatclr NointpendIntset Interrupt Pending/Set Register IntpendsetInterrupt Pointer Register Intptr Interrupt Pointer Register Intptr Field DescriptionsTransmit Address Map Register XAM Address Map Register XAM Field DescriptionsTxadrmap RXADROFFSET1 Receive Address Map Size 1 Register RAMS1Receive Address Map Offset 1 Register RAMO1 RXADRSIZE1RXADROFFSET2 Receive Address Map Size 2 Register RAMS2Receive Address Map Offset 2 Register RAMO2 RXADRSIZE2RXADROFFSET3 Receive Address Map Size 3 Register RAMS3Receive Address Map Offset 3 Register RAMO3 RXADRSIZE3RXADROFFSET4 Receive Address Map Size 4 Register RAMS4Receive Address Map Offset 4 Register RAMO4 RXADRSIZE4Auto Negotiation Register Autngo Field Descriptions Chip Version Register ChipverAuto Negotiation Register Autngo Chip Version Register Chipver Field DescriptionsVlynq Port Remote Controller Registers Remote Configuration RegistersTable A-1. Special 8b/10b Code Groups Appendix a Vlynq Protocol SpecificationsSpecial 8b/10b Code Groups Supported Ordered SetsVlynq 2.0 Packet Format Figure A-1. Packet Format 10-bit Symbol RepresentationField Value Description Vlynq 2.X Packets Vlynq 2.X Packets Write Performance Appendix B Write/Read PerformanceBit Words Mbits/sec Mbytes/sec Table B-1. Scaling FactorsBurst Size in 32-bit words Data Bytes Burst Size Interface Running at 76.5 MHZTable B-3. Relative Performance with Various Latencies Read PerformanceAppendix C Revision History Table C-1. Document Revision HistoryAdditions/Modifications/Deletions Products Applications DSPRfid