Texas Instruments VLYNQ Port manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Texas Instruments VLYNQ Port. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Texas Instruments VLYNQ Port ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Texas Instruments VLYNQ Port décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Texas Instruments VLYNQ Port devrait contenir:
- informations sur les caractéristiques techniques du dispositif Texas Instruments VLYNQ Port
- nom du fabricant et année de fabrication Texas Instruments VLYNQ Port
- instructions d'utilisation, de réglage et d’entretien de l'équipement Texas Instruments VLYNQ Port
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Texas Instruments VLYNQ Port ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Texas Instruments VLYNQ Port et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Texas Instruments en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Texas Instruments VLYNQ Port, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Texas Instruments VLYNQ Port, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Texas Instruments VLYNQ Port. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    TMS320DM644x DMSoC VLYNQ Port User's Guide Literature Number: SPRUE36A September 2007[...]

  • Page 2

    2 SPRUE36A – September 2007 Submit Documentation Feedback[...]

  • Page 3

    Contents Preface ............................................................................................................................... 7 1 Introduction ................................................................................................................ 9 1.1 Purpose of the Peripheral ...........................................[...]

  • Page 4

    A.2 Supported Ordered Sets ....................................................................................... 40 A.3 VLYNQ 2.0 Packet Format .................................................................................... 41 A.4 VLYNQ 2.X Packets ............................................................................................ 4[...]

  • Page 5

    List of Figures 1 VLYNQ Port Functional Block Diagram ................................................................................. 10 2 External Clock Block Diagram ............................................................................................ 11 3 Internal Clock Block Diagram .....................................................[...]

  • Page 6

    List of Tables 1 VLYNQ Port Pins ........................................................................................................... 12 2 Serial Interface Width ...................................................................................................... 16 3 Address Translation Example (Single Mapped Region) ......................[...]

  • Page 7

    Preface SPRUE36A – September 2007 Read This First About This Document This document describes the VLYNQ™ communications interface port in the TMS320DM644x Digital Media System-on-Chip (DMSoC). Notational Conventions This document uses the following conventions. • Hexadecimal numbers are shown with the suffix h. For example, the following numb[...]

  • Page 8

    www.ti.com Related Documentation From Texas Instruments SPRAAA6 — EDMA v3.0 (EDMA3) Migration Guide for TMS320DM644x DMSoC. Describes migrating from the Texas Instruments TMS320C64x digital signal processor (DSP) enhanced direct memory access (EDMA2) to the TMS320DM644x Digital Media System-on-Chip (DMSoC) EDMA3. This document summarizes the key [...]

  • Page 9

    1 Introduction 1.1 Purpose of the Peripheral 1.2 Features User's Guide SPRUE36A – September 2007 VLYNQ Port The VLYNQ™ communications interface port is a low pin count, high-speed, point-to-point serial interface in the TMS320DM644x Digital Media System-on-Chip (DMSoC) used for connecting to host processors and other VLYNQ-compatible devic[...]

  • Page 10

    www.ti.com 1.3 Functional Block Diagram Slave config bus Interface Master config Interface bus VL YNQmodule VL YNQregister access CPU/EDMA initiated transfersto remotedevice Offchip (remote) deviceaccess ARM/EDMA memory System VL YNQ_SCRUN VL YNQ_CLOCK VL YNQ_RXD[3:0] VL YNQ_TXD[3:0] INT31 ARMinterrupt controller VLQINT 1.4 Ind[...]

  • Page 11

    www.ti.com 2 Peripheral Architecture 2.1 Clock Control CLKDIR=0 VL YNQ DMxxxdevice VL YNQ.CLK CLKDIR=0 VL YNQ VL YNQdevice CLKDIR=1 VL YNQ DMxxxdevice VL YNQ.CLK CLKDIR=0 VL YNQ VL YNQdevice Don't care VL YNQ internal sysclk Peripheral Architecture This section discusses the architecture and basic functions of the VLYNQ peripher[...]

  • Page 12

    www.ti.com 2.2 Signal Descriptions 2.3 Pin Multiplexing 2.4 Protocol Description Peripheral Architecture The VLYNQ module on the DM644x device is configurable for a 1 to 4 bit-wide RX/TX. Chip-level pin multiplexing registers control the configuration. See the pin multiplexing information in the device-specific data manual. If the configured width [...]

  • Page 13

    www.ti.com 2.5 VLYNQ Functional Description Address translation commands Outbound Outbound command FIFO data Return FIFO data FIFO Return command Inbound FIFO Registers translation Address TxSM 8B/10B encoding Serializer commands Inbound RxSM Deserializer decoding 8B/10B Serial TxData Serial TxClk Serial RxClk Serial RxData Master configbus inte[...]

  • Page 14

    www.ti.com 2.5.1 Write Operations Address translation commands Outbound Outbound command FIFO data Return FIFO data FIFO Return command Inbound FIFO Registers translation Address TxSM 8B/10B encoding Serializer commands Inbound RxSM Deserializer decoding 8B/10B Serial TxData Serial RxData Systemclock Address translation Registers commands Inboun[...]

  • Page 15

    www.ti.com 2.5.2 Read Operations Address translation commands Outbound Outbound command FIFO data Return FIFO data FIFO Return command Inbound FIFO Registers translation Address TxSM 8B/10B encoding Serializer commands Inbound RxSM Deserializer decoding 8B/10B Serial TxData Serial RxData Systemclock Address translation Registers commands Inbound[...]

  • Page 16

    www.ti.com 2.6 Initialization 2.7 Auto-Negotiation 2.8 Serial Interface Width Configuration Peripheral Architecture Note: Not servicing read operations results in deadlock. The only way to recover from a deadlock situation is to perform a hard reset. Read operations are typically not serviced due to read requests that are issued to a non-existent r[...]

  • Page 17

    www.ti.com 2.9 Address Translation Peripheral Architecture Remote VLYNQ device(s) are memory mapped to the local (host) device’s address space when a link is established (this is similar to any other on-chip peripherals). Enumerating the VLYNQ devices (single or multiple) into a coherent memory map for accessing each device is part of the initial[...]

  • Page 18

    www.ti.com Mapregion1 Mapregion2 Mapregion3 Mapregion4 0400:0000 (0C00:0000onCONFIGbus) 0800:0000 07FF:FFFF 0800:0100 0800:00FF 0801:0100 0801:00FF 0841:00FF Mapregion1 Mapregion2 Mapregion3 Mapregion4 DMxxxdevice(local) Remote VL YNQdevice 0000:0000 03FF:FFFF 0400:0000 0400:00FF 050[...]

  • Page 19

    www.ti.com Peripheral Architecture DM644x VLYNQ Module: 0C00 : 0054h Initial address at the slave configuration bus 0000 : 0054h Initial address [25:0] at the slave configuration bus interface subtract 0000 : 0000h TX address map register (there is no need to change the reset value of the DM644x device for this register) 0000 : 0054h Remote VLYNQ M[...]

  • Page 20

    www.ti.com 2.10 Flow Control Peripheral Architecture Example 1. Address Translation Example The remote address 0x 0400 : 0154 (or 0x0000 0054) was translated to 0x 8200 : 0054 on the DM644x (local) device in this example. The translated address for packets received on the serial interface is determined as follows: If ( RX Packet Address < RX Add[...]

  • Page 21

    www.ti.com 2.11 Reset Considerations 2.11.1 Software Reset Considerations 2.11.2 Hardware Reset Considerations 2.12 Interrupt Support 2.12.1 Interrupt Events and Requests Peripheral Architecture Peripheral clock and reset control is done through the power and sleep controller (PSC) module that is included with the device. For more information, refe[...]

  • Page 22

    www.ti.com VL YNQinterrupt pending/setregister (INTPENDSET) VL YNQ Status/clear register (INTST A TCLR) OR T ransmitserial interruptpacket VLQINT (ARMINT31) 14 0 INTLOCAL VL YNQcontrolregister(CTRL) Serialbuserror (LERROR/RERROR) CPUwrites Serialinterrupt packetfrom remotedevice INTLOCAL=1 INTLOCAL=0 2.12.2[...]

  • Page 23

    www.ti.com 2.12.3 Remote Interrupts 2.12.4 Serial Bus Error Interrupts 2.13 DMA Event Support Peripheral Architecture Remote interrupts occur when an interrupt packet is received over the serial interface from a remote device. The interrupt status is extracted from the packet and written to a location pointed to by the interrupt pointer register (I[...]

  • Page 24

    www.ti.com 2.14 Power Management 2.15 Emulation Considerations Peripheral Architecture The VLYNQ module can be placed in reduced-power modes to conserve power during periods of low activity. The power management of the peripheral is controlled by the processor Power and Sleep Controller (PSC). The PSC acts as a master controller for power managemen[...]

  • Page 25

    www.ti.com 3 VLYNQ Port Registers VLYNQ Port Registers Table 5 describes the address space for the VLYNQ registers and memory. Table 5. VLYNQ Register Address Space Block Name Start Address End Address Size VLYNQ Control Registers 01E0 1000h 01E0 11FFh 512 bytes Reserved 01E0 1200h 01E0 1FFFh - VLYNQ Remote Memory Map 0C00 0000h 0CFF FFFFh 64 Mbyte[...]

  • Page 26

    www.ti.com 3.1 Revision Register (REVID) VLYNQ Port Registers The revision register (REVID) contains the major and minor revisions for the VLYNQ module. The REVID is shown in Figure 9 and described in Table 7 . Figure 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. [...]

  • Page 27

    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 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-[...]

  • Page 28

    www.ti.com VLYNQ Port Registers Table 8. Control Register (CTRL) Field Descriptions (continued) Bit Field Value Description 7 INT2CFG Interrupt to configuration register. Determines which register is written with the status contained in interrupt packets that are received over the serial interface. Always write 1 to this bit and configure the inter[...]

  • Page 29

    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 RX[...]

  • Page 30

    www.ti.com VLYNQ Port Registers Table 9. Status Register (STAT) Field Descriptions (continued) Bit Field Value Description 8 RERROR Remote Error. Write a 1 to this bit to clear it. 0 No error This bit indicates that a downstream VLYNQ module has detected a packet error. This bit is 1 set when an error indication, /E/, is received from the serial in[...]

  • Page 31

    www.ti.com 3.4 Interrupt Priority Vector Status/Clear Register (INTPRI) 3.5 Interrupt Status/Clear Register (INTSTATCLR) VLYNQ Port Registers The interrupt priority vector status/clear register (INTPRI) displays the highest priority vector with a pending interrupt when read. When writing, only bits [4:0] are valid, and the value represents the vect[...]

  • Page 32

    www.ti.com 3.6 Interrupt Pending/Set Register (INTPENDSET) 3.7 Interrupt Pointer Register (INTPTR) VLYNQ Port Registers The interrupt pending/set register (INTPENDSET) indicates the pending interrupt status when the INTLOCAL bit in the control register (CTRL) is not set. When the interrupt packet is forwarded on the serial interface, these bits are[...]

  • Page 33

    www.ti.com 3.8 Transmit Address Map Register (XAM) VLYNQ Port Registers The transmit address map register (XAM) is used to translate transmit packet addresses to remote device configuration bus addresses. The XAM is shown in Figure 16 and described in Table 14 . Figure 16. Transmit Address Map Register (XAM) 31 2 1 0 TXADRMAP Reserved R/W-0 R-0 LEG[...]

  • Page 34

    www.ti.com 3.9 Receive Address Map Size 1 Register (RAMS1) 3.10 Receive Address Map Offset 1 Register (RAMO1) VLYNQ Port Registers The receive address map size 1 register (RAMS1) is used to identify the intended destination of inbound serial packets. The RAMS1 is shown in Figure 17 and described in Table 15 . Figure 17. Receive Address Map Size 1 R[...]

  • Page 35

    www.ti.com 3.11 Receive Address Map Size 2 Register (RAMS2) 3.12 Receive Address Map Offset 2 Register (RAMO2) VLYNQ Port Registers The receive address map size 2 register (RAMS2) is used to identify the intended destination of inbound serial packets. The RAMS2 is shown in Figure 19 and described in Table 17 . Figure 19. Receive Address Map Size 2 [...]

  • Page 36

    www.ti.com 3.13 Receive Address Map Size 3 Register (RAMS3) 3.14 Receive Address Map Offset 3 Register (RAMO3) VLYNQ Port Registers The receive address map size 3 register (RAMS3) is used to identify the intended destination of inbound serial packets. The RAMS3 is shown in Figure 21 and described in Table 19 . Figure 21. Receive Address Map Size 3 [...]

  • Page 37

    www.ti.com 3.15 Receive Address Map Size 4 Register (RAMS4) 3.16 Receive Address Map Offset 4 Register (RAMO4) VLYNQ Port Registers The receive address map size 4 register (RAMS4) is used to identify the intended destination of inbound serial packets. The RAMS4 is shown in Figure 23 and described in Table 21 . Figure 23. Receive Address Map Size 4 [...]

  • Page 38

    www.ti.com 3.17 Chip Version Register (CHIPVER) 3.18 Auto Negotiation Register (AUTNGO) VLYNQ Port Registers VLYNQ allows inter-connection of many VLYNQ devices. In order for software to control the device functions, there must be a mechanism that allows the software to identify VLYNQ devices. Each device that has a VLYNQ module in it has a unique [...]

  • Page 39

    www.ti.com 4 Remote Configuration Registers Remote Configuration Registers The remote configuration registers listed in Table 25 are the same registers as previously described, but they are for the remote VLYNQ device. Note: Before attempting to access the remote registers (offsets 80h through C0h) , you must ensure that a link is established with [...]

  • Page 40

    www.ti.com Appendix A VLYNQ Protocol Specifications A.1 Special 8b/10b Code Groups A.2 Supported Ordered Sets Appendix A VLYNQ relies on 8b/10b block coding to minimize the number of serial pins and allow for in-band packet delineation and control. The following sections include general 8b/10b coding definitions and their implementation. Table A-1.[...]

  • Page 41

    www.ti.com A.2.1 Idle (/I/) A.2.2 End of Packet (/T/) A.2.3 Byte Disable (/M/) A.2.4 Flow Control Enable (/P/) A.2.5 Flow Control Disable (/C/) A.2.6 Error Indication (/E/) A.2.7 Init0 (/0/) A.2.8 Init1 (/1/) A.2.9 Link (/L/) A.3 VLYNQ 2.0 Packet Format bytecnt 10bits cmd2 10bits cmd1 10bits address <4*10bits data N*10bits e[...]

  • Page 42

    www.ti.com VLYNQ 2.0 Packet Format Table A-3. Packet Format (10-bit Symbol Representation) Description Field Value Description PKTTYPE[3:0] This field indicates the packet type. 0000 Reserved 0001 Write with address increment. 0010 Reserved 0011 Write 32-bit word with address increment. 0100 Reserved 0101 Configuration write with address increment.[...]

  • Page 43

    www.ti.com A.4 VLYNQ 2.X Packets VLYNQ 2.X Packets An example of what can happen to a write burst due to remote and local FIFO state changes and the link pulse timer expiring is shown in Example A-1 . This protocol can be extended to apply to multiple channels; therefore, the data return channel is logically isolated from the command channel. Examp[...]

  • Page 44

    www.ti.com VLYNQ 2.X Packets A command, length, address, and start receive data from the idle stream. A flow enable was received for the command channel, but there is data to return, so the flow is followed by a channel 1 descriptor (the command for return data actually indicates a channel 1), and the channel 1 packet is now under way. A flow is no[...]

  • Page 45

    www.ti.com Appendix B Write/Read Performance B.1 Write Performance Appendix B The following sections discuss the write versus read performance and how the throughput (read or write) should be calculated for a given data width and serial clock frequency. Note: The data and throughput calculations shown here are sample calculations for most ideal sit[...]

  • Page 46

    www.ti.com Write Performance Table B-1. Scaling Factors Burst Size in 32-bit words Data Bytes Overhead Bytes Scaling Factor 1 4 6 40% 4 16 7 69.56% 8 32 7 82.05% 16 64 7 90.14% Table B-2. Expected Throughput (VLYNQ Interface Running at 76.5 MHZ and 99 MHZ) Interface Running at 76.5 MHZ Interface Running at 99 MHZ Burst Size in Number of VLYNQ Pins [...]

  • Page 47

    www.ti.com B.2 Read Performance Read Performance Since reads must complete a transmit-remote read-receive cycle before starting another read transaction, the data throughput is lower as compared to writes. There is latency involved in reading the data from the remote device; and in some cases, a local latency in writing the returned data before the[...]

  • Page 48

    www.ti.com Appendix C Revision History Appendix C Table C-1 lists the changes made since the previous version of this document. Table C-1. Document Revision History Reference Additions/Modifications/Deletions Section 2.9 Changed fourth paragraph. Added NOTE. Table 8 Changed Description of INTLOCAL. Section 3.17 Changed paragraph. Figure 25 Changed [...]

  • Page 49

    IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders[...]