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; -= 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

Содержание VLYNQ Port

Страница 1: ...TMS320DM644x DMSoC VLYNQ Port User s Guide Literature Number SPRUE36A September 2007...

Страница 2: ...2 SPRUE36A September 2007 Submit Documentation Feedback...

Страница 3: ...3 4 Interrupt Priority Vector Status Clear Register INTPRI 31 3 5 Interrupt Status Clear Register INTSTATCLR 31 3 6 Interrupt Pending Set Register INTPENDSET 32 3 7 Interrupt Pointer Register INTPTR...

Страница 4: ...VLYNQ 2 0 Packet Format 41 A 4 VLYNQ 2 X Packets 43 Appendix B Write Read Performance 45 B 1 Write Performance 45 B 2 Read Performance 47 Appendix C Revision History 48 4 Contents SPRUE36A September 2...

Страница 5: ...et Register INTPENDSET 32 15 Interrupt Pointer Register INTPTR 32 16 Transmit Address Map Register XAM 33 17 Receive Address Map Size 1 Register RAMS1 34 18 Receive Address Map Offset 1 Register RAMO1...

Страница 6: ...ap Offset 1 Register RAMO1 Field Descriptions 34 17 Receive Address Map Size 2 Register RAMS2 Field Descriptions 35 18 Receive Address Map Offset 2 Register RAMO2 Field Descriptions 35 19 Receive Addr...

Страница 7: ...rol of the device In general the ARM is responsible for configuration and control of the device including the DSP subsystem the video processing subsystem and a majority of the peripherals and externa...

Страница 8: ...ital signal processor DSP enhanced direct memory access EDMA2 to the TMS320DM644x Digital Media System on Chip DMSoC EDMA3 This document summarizes the key differences between the EDMA3 and the EDMA2...

Страница 9: ...M644x DMSoC serializes a write transaction to the remote external device and transfers the write via the VLYNQ port TX pins The remote VLYNQ module deserializes the transaction on the other side The r...

Страница 10: ...e all multiplexed and sent across the same physical pins Supports both host peripheral and peer to peer communication models Simple block code packet formatting 8b 10b Supports in band and flow contro...

Страница 11: ...egister CTRL The VLYNQ serial clock can be sourced from the internal system clock CLKDIR 1 or by an external clock source CLKDIR 0 for its serial operations The CLKDIV bit can divide the serial clock...

Страница 12: ...er management Active low Low The request VLYNQ serial clock is active High The VLYNQ serial clock is requested to be high when all transactions are complete VLYNQ_RXD 0 3 VLYNQ receive data I VLYNQ re...

Страница 13: ...NQ Module Structure The VLYNQ core module implements two 32 bit configuration bus interfaces Transmit operations and control register access require the slave configuration bus interface The master co...

Страница 14: ...nfig bus interface Slave config bus interface Peripheral Architecture Write requests that initiate from the slave configuration bus interface of the local device write to the outbound command CMD FIFO...

Страница 15: ...ata is subsequently read from the FIFO and encapsulated into a read request packet The packet is encoded and serialized before it is transmitted to the remote device Next the remote device deserialize...

Страница 16: ...as a part of the initialization sequence For a connection between two VLYNQ devices of version 2 0 and later VLYNQ on DM644x device is version 2 6 the negotiation protocol using the available serial p...

Страница 17: ...the local device sends the data with an address offset from the transmit address VLYNQ allows each receive packet address to be translated into one of the four mapped regions The size and offset of ea...

Страница 18: ...lowing shows an example illustrating the address translation used in each VLYNQ module Address bits 31 26 are not used for address translation to remote devices on the DM644x device Table 3 illustrate...

Страница 19: ...Q Module Remote VLYNQ Module TX Address Map Do not care 0400 0000h RX Address Map Size 1 0000 0100h Do not care RX Address Map Offset 1 0200 0000h Do not care RX Address Map Size 2 0000 0100h Do not c...

Страница 20: ...s Map Size 1 Register RX Address Map Size 2 Register else if RX Packet Address RX Address Map Size 1 Register RX Address Map Size 2 Register RX Address Map Size 3 Register RX Address Map Size 4 Regist...

Страница 21: ...etting one of the VLYNQ devices after two or more VLYNQ devices have established a link If only one of the VLYNQ devices is in reset then no data activity can occur across the serial interface during...

Страница 22: ...SET when INTLOCAL 1 VLYNQ interprets bit 0 as the highest priority and it interprets bit 31 as the lowest priority The value that is returned when read is the vector of the highest priority interrupt...

Страница 23: ...QINT to be asserted to the ARM CPU To ensure that serial bus errors result in interrupts to notify the application software you must perform the following steps 1 Set the INTENABLE bit to 1 in the VLY...

Страница 24: ...s internally sourced you can use the CLKDIV bit in the VLYNQ control register CTRL to divide the serial clock down This saves normal mode operation power consumption at the expense of reduced performa...

Страница 25: ...n the two devices Table 6 VLYNQ Port Controller Registers Offset Acronym Register Description Section 0h REVID Revision Register Section 3 1 4h CTRL Control Register Section 3 2 8h STAT Status Registe...

Страница 26: ...re 9 Revision Register REVID 31 16 ID R 1h 15 8 7 0 REVMAJ REVMIN R 2h R 6h LEGEND R Read only n value after reset Table 7 Revision Register REVID Field Descriptions Bit Field Value Description 31 16...

Страница 27: ...der 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...

Страница 28: ...int to a VLYNQ module local register typically the interrupt pending set register 6 3 Reserved 0 Reserved Always read as 0 Writes have no effect 2 AOPTDISABLE Address optimization disable 0 Address op...

Страница 29: ...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...

Страница 30: ...d FIFO is not empty 5 NFEMPTY2 FIFO 2 is not empty 0 Indicates that the slave data FIFO is empty 1 Indicates that the slave data FIFO is not empty 4 NFEMPTY1 FIFO 1 is not empty 0 Indicates that the m...

Страница 31: ...gister 30 5 Reserved 0 Reserved Always read as 0 Writes have no effect When read this field displays the vector that is mapped to the highest priority interrupt bit that is 4 0 INSTAT 0 1Fh pending fr...

Страница 32: ...LOCAL 0 in CTRL interrupt packet is sent on the serial interface If INTLOCAL 1 in CTRL VLYNQ module interrupt VLQINT is asserted The interrupt pointer register INTPTR typically contains the address of...

Страница 33: ...0 TXADRMAP Reserved R W 0 R 0 LEGEND R W Read Write R Read only n value after reset Table 14 Address Map Register XAM Field Descriptions Bit Field Value Description 31 2 TXADRMAP 0 3FFF FFFFh This fie...

Страница 34: ...dress map offset 1 register RAMO1 to obtain the translated address 1 0 Reserved 0 Reserved Always read as 0 Writes have no effect The receive address map offset 1 register RAMO1 is used with the recei...

Страница 35: ...ddress map offset 2 register RAMO2 to obtain the translated address 1 0 Reserved 0 Reserved Always read as 0 Writes have no effect The receive address map offset 2 register RAMO2 is used with the rece...

Страница 36: ...dress map offset 3 register RAMO3 to obtain the translated address 1 0 Reserved 0 Reserved Always read as 0 Writes have no effect The receive address map offset 3 register RAMO3 is used with the recei...

Страница 37: ...ddress map offset 4 register RAMO4 to obtain the translated address 1 0 Reserved 0 Reserved Always read as 0 Writes have no effect The receive address map offset 4 register RAMO4 is used with the rece...

Страница 38: ...Read only n value after reset Table 23 Chip Version Register CHIPVER Field Descriptions Bit Field Value Description 31 16 DEVREV 0 FFFFh Device revision This field reflects the value of the device rev...

Страница 39: ...Remote Revision Register 84h RCTRL Remote Control Register 88h RSTAT Remote Status Register 8Ch RINTPRI Remote Interrupt Priority Vector Status Clear Register 90h RINTSTATCLR Remote Interrupt Status C...

Страница 40: ...6 DC 1101 1100 001111 0110 110000 1001 K28 7 FC 1111 1100 001111 1000 110000 0111 K23 7 F7 1111 0111 111010 1000 000101 0111 K27 7 FB 1111 1011 110110 1000 001001 0111 K29 7 FD 1111 1101 101110 1000...

Страница 41: ...ow control disable request is transmitted by a VLYNQ module when RX FIFO resources are available to accommodate additional data The error indication is transmitted when errors are detected within a pa...

Страница 42: ...ncluded only if ADRMASK 0 is set to 1 If ADRMASK 0 is cleared to 0 assume this byte is equal to bits 7 0 of the previous address Read response packets do not include this field ADDRESS 15 8 Address by...

Страница 43: ...a channel L Link pulse and what is in italics is optional data up to 16 words total Packet with byte enables WriteBurst claaaaMMddMMddMMddT The above packet wrote to the LS half words from the specifi...

Страница 44: ...et is now under way A flow is now received for channel 1 but it is soon disabled so the channel 1 packet continues The flow is enabled for channel one again quickly after flow is released for channel...

Страница 45: ...direction interface the raw data is 99 4 or 396 Mbps After the 8B10B encoding is removed the maximum write rate is 396 0 8 316 8 Mbps The total throughput on the VLYNQ interface includes both transmi...

Страница 46: ...Mbits sec Mbytes sec Mbits sec Mbytes sec 1 1 24 19 3 02 31 68 3 96 4 42 07 5 26 55 09 6 89 8 49 62 6 20 64 98 8 12 16 54 52 6 81 71 39 8 92 2 1 48 38 6 05 63 36 7 92 4 84 14 10 52 110 18 13 77 8 99 2...

Страница 47: ...s combined Read Throughput data Read ReadReturn data max read rate Latency data max read rate Read ReadReturn data Latency max read rate For example with a 4 pin 99 MHZ VLYNQ connection for a single 3...

Страница 48: ...ction 2 9 Changed fourth paragraph Added NOTE Table 8 Changed Description of INTLOCAL Section 3 17 Changed paragraph Figure 25 Changed DEVID reset value Table 23 Changed DEVID Description Figure A 1 C...

Страница 49: ...ce and is an unfair and deceptive business practice TI is not responsible or liable for any such statements TI products are not authorized for use in safety critical applications such as life support...

Отзывы: