DCA1000EVM TI1

Document overview

  • Manufacturer or author: Provided By www.digicamel.com(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 28

Technical content

1SPRUIJ4A–May 2018– Revised May 2019 Submit Documentation Feedback Copyright © 2018–2019, Texas Instruments Incorporated DCA1000EVM Data Capture Card User's Guide SPRUIJ4A–May 2018–Revised May 2019 DCA1000EVM Data Capture Card

Contents

www.ti.com

2 SPRUIJ4A–May 2018– Revised May 2019

Submit Documentation Feedback Copyright © 2018–2019, Texas Instruments Incorporated DCA1000EVM Data Capture Card Trademarks MicroSD is a trademark of SD-3C, LLC.

www.ti.com Introduction 3SPRUIJ4A–May 2018– Revised May 2019 Submit Documentation Feedback Copyright © 2018–2019, Texas Instruments Incorporated DCA1000EVM Data Capture Card

1 Introduction

The DCA1000EVM is a capture card for interfacing with Texas Instrument’s 77GHz xWR1xxx EVM that enables users to stream the ADC data over Ethernet. This design is based on Lattice FPGA LFE5UM- 85F-8BG381I with DDR3L. The signal interface between the capture card and the xWR1xxx EVM uses the 60-pin Samtec high density connector. The following use cases can be accessed using the DCA1000EVM with TI's xWR1xxx EVM.

  • LVDS over Ethernet streaming: – Raw mode: In this mode, all LVDS data is captured as it is and streamed over the Ethernet interface. – Data separated mode: In this mode, the user can add specific headers to different data types; FPGA separates out different data types based on the header and streams it over Ethernet interface.

1.1 Key Features

The key features of the DCA1000EVM are:

  • The DCA1000EVM is based on LATTICE's High-Performance FPGA LFE5UM-85F-8BG381I – Package: 381 pins CABGA (17×17 mm). – 84K LUT's, 3744 Kbits Block RAM and 4 PLLs
  • 2GByte of DDR3L device
  • 16MByte SPI Flash for storing FPGA images
  • MicroSD™ Card interface (presently not supported)
  • JTAG interface through FTDI FT2232HL Chip
  • USB interface to provide SPI, UART, and I2C interfaces through the onboard FTDI device. This is used for mmWave Studio.
  • 9 user LEDs, 4 push-button switches, and 1×8 and 1×3 DIP switches for user configurations
  • 1Gb/s RGMII Ethernet interface with RJ45 jack
  • TI’s xWR1xxx EVM provides the below mentioned interfaces on the 60-pin SAMTEC connector QTH- 030--01-L-D-A. The connector QTH-030-01-L-D-A can be mated with TI's xWR1xxx EVM using board- to-board cable assembly (Samtec coax micro ribbon cable - Part Number# HQCD-030-02.00-SEU- TBR-1, is included in the kit). – SPI interface – UART interface – I2C interface – 4-Lane LVDS interface – GPIO signals – DMM interface
  • The DCA1000EVM is powered up using 5-V power, either from an external DC adapter, or from TI's xWR1xxx EVM, by selecting the power selection switch (SW3).
  • DC-DC regulators and LDO regulators are used to derive the required power required for FPGA, DDR3L, and other onboard peripherals.
  • RoHS, Pb-free, and REACH-compliant design
  • LVDS data rates support a maximum of 600 Mbps. It supports both 4 lanes (xWR1243/1443) and 2 lanes (xWR1642)
  • Temperature range – industrial grade
  • Maximum current rating – 700-mA maximum

4 SPRUIJ4A–May 2018– Revised May 2019

1.2 Kit Contents

components and connectors as detailed in the user guide.

  • DCA1000EVM Kit
  • Ethernet cable
  • Samtec coax micro ribbon cable
  • 8GB microSD Card
  • Spacers, screws, and washers

2 Hardware Specifications

2.1 Functional Block Diagram

The functional block diagram of the DCA1000EVM is shown in Figure 1. Figure 1. DCA1000EVM Functional Block Diagram

2.2 Board Dimensions

epoxy fiberglass FR4 grade material (UL94V-0 Certified). Figure 2. DCA1000EVM – Top View Figure 3. DCA1000EVM – Bottom View

6 SPRUIJ4A–May 2018– Revised May 2019

2.3 DCA1000EVM and xWR1xxx EVM – Board to Board Connection

  1. Align the DCA1000EVM and xWR1xxx EVM boards, as shown in Figure 4.

Figure 4. DCA1000EVM and xWR1xxx EVM Board Alignment

  1. Connect the DCA1000EVM with screws, spacers, and stands, as shown in Figure 5.

Figure 5. Connect Screws and Spacers

8 SPRUIJ4A–May 2018– Revised May 2019

Figure 8. Connect Ribbon Cable (Side)

2.4 Power Connections

the power is provided, the 5-V LED (LD10) glows, indicating that the board is powered on. Figure 9. Power Connector Figure 10. Power Selection Switch

Table 1. Power Selection Switch Information the xWR1xxx EVM through the 60-pin connectors. should be mounted in the xWR1xxx EVM.

2.5 Connectors

2.5.1 USB Connectors

more details on the mmWave Studio, refer to the following link: http://www.ti.com/tool/MMWAVE-STUDIO. JTAG interface, and is shown in Figure 12. Table 2 provides the J1 connector pin information. Table 3 provides the J4 connector pin information. Table 2. J1 USB Connector Information

1 TP Test Point

2 FTDI_USB1_DM USB Data Signal Negative

3 FTDI_USB1_DP USB Data Signal Positive

4 GND Ground

5 GND Ground

Figure 11. J1 USB Connector To configure the FPGA through JTAG, connect a micro USB cable to J4 on the DCA1000EVM.

10 SPRUIJ4A–May 2018– Revised May 2019

Table 3. J4 USB Connector Information

2 FTDI_USB2_DM USB Data Signal Negative

3 FTDI_USB2_DP USB Data Signal Positive

Figure 12. J4 USB Connector

2.5.2 Ethernet Jack

Mag-Jack connector, and Table 4 provides the connector pin details. Table 4. J6 Ethernet Jack Information

1 GND Ground

2 TP Test point

3 ETH_D3P Gigabit Ethernet differential pair 3 positive

4 ETH_D3N Gigabit Ethernet differential pair 3 negative

5 ETH_D2P Gigabit Ethernet differential pair 2 positive

6 ETH_D2N Gigabit Ethernet differential pair 2 negative

7 ETH_D1P Gigabit Ethernet differential pair 1 positive

8 ETH_D1N Gigabit Ethernet differential pair 1 negative

9 ETH_D0P Gigabit Ethernet differential pair 0 positive

10 ETH_D0N Gigabit Ethernet differential pair 0 negative

12 LED_ACTn Activity LED

13 LED_LINKn Link LED

Figure 13. J6 Ethernet Jack through the FTDI chip. Figure 14 shows the HD connector, and Table 5 provides the connector pin details. Table 5. J3 High Density Interface Connector Information

1 VCC5V_CONN 5-V supply voltage from xWR1xxx EVM

2 VCC5V_CONN 5-V supply voltage from xWR1xxx EVM

3 VCC5V_CONN 5-V supply voltage from xWR1xxx EVM

4 NC No connect

5 NC No connect

6 NC No connect

7 Conn_SPI_CSn SPI chip select

8 NC No connect

9 Conn_SPI_CLK SPI clock

10 HOST_INT Host interrupt from FTDI

11 Conn_SPI_MOSI SPI master output slave input

12 Conn_SPI_MISO SPI master input slave output

13 PGOOD PGOOD input from xWR1xxx EVM

14 NC No connect

15 DMM_CLK DMM clock

16 DMM_MUX_CTL DMM control

17 DMM_SYNC DMM synchronization

18 GND Ground

19 DP0 DMM Data0

20 LVDS_VALIDP LVDS valid signal positive

21 DP1 DMM Data1

22 LVDS_VALIDM LVDS valid signal negative

23 DP2 DMM Data2

24 GND Ground

25 DP3 DMM Data3

26 LVDS_FRCLKP LVDS frame clock signal positive

27 DP4 DMM Data4

28 LVDS_FRCLKN LVDS frame clock signal negative

12 SPRUIJ4A–May 2018– Revised May 2019

Table 5. J3 High Density Interface Connector Information (continued)

29 DP5 DMM Data5

30 GND Ground

31 DP6 DMM Data6

32 LVDS_3P LVDS data pair 3 positive

33 DP7 DMM Data7

34 LVDS_3M LVDS data pair 3 negative

35 DP8 DMM Data8

36 GND Ground

37 DP9 DMM Data9

38 LVDS_2P LVDS data pair 2 positive

39 DP10 DMM Data10

40 LVDS_2M LVDS data pair 2 negative

41 DP11 DMM Data11

42 GND Ground

43 DP12 DMM Data12

44 LVDS_CLKP LVDS clock pair positive

45 DP13 DMM Data13

46 LVDS_CLKM LVDS clock pair negative

47 DP14 DMM Data14

48 GND Ground

49 DP15 DMM Data15

50 LVDS_1P LVDS data pair 1 positive

51 SDA Serial Data

52 LVDS_1M LVDS data pair 1 negative

53 SCL Serial clock

54 GND Ground

55 RS232RX UART data receive

56 LVDS_0P LVDS data pair 0 positive

57 RS232TX UART data transmit

58 LVDS_0M LVDS data pair 0 negative

59 MCU_RSTn Reset input to xWR1xxx EVM

60 GND Ground

Figure 14. J3 High Density Interface Connector

2.6 Switches, Push Buttons, and LEDs

2.6.1 Switches

configuration, as listed in Table 6. Table 6. Switch2.5 Functionality Information settings of the hardware DIP switch SW2. configured through the software configuration commands over Ethernet. In software configuration mode, hardware DIP settings are ignored. settings for different modes of data capture. Table 7. Switch1 Functionality Information LVDS 12-bit mode ON OFF OFF LVDS 12 bit data is captured from the xWR1xxx EVM. LVDS 14-bit mode OFF ON OFF LVDS 14 bit data is captured from the xWR1xxx EVM. LVDS 16-bit mode OFF OFF ON LVDS 16 bit data is captured from the xWR1xxx EVM. Figure 15. Mode Configuration_1 Table 8. Switch2 Functionality Information mode, data is received over LVDS and streamed through Ethernet to the PC. mode, and data is streamed over the network to the host PC. SW2.3 1243_MODE When positioned at 3 (Pin3), the DCA1000EVM captures 4-lane LVDS data. all LVDS data is captured as it is.

14 SPRUIJ4A–May 2018– Revised May 2019

Table 8. Switch2 Functionality Information (continued) EEPROM, and the same is used for Ethernet communication. hardcoded in FPGA is used for Ethernet communication. Figure 16. Mode Configuration_2

2.6.2 Push Buttons

functions listed in Table 9. Table 9. Push Button Functionality Information (SW4) button to program the FPGA from SPI flash. Note: A binary file should be present in the SPI flash. (SW5) again to stop the data transfer. SW7 FPGA_RST Press the FPGA_RST button to reset the FPGA. Figure 17. Push Button

2.6.3 LEDs

The DCA1000EVM supports LEDs for user indications, as listed in Table 10.

Table 10. LED Functionality Information through the network or saving into the SD card. LED indicates whether the SD card is detected or not. buffer gets full. In that case, this LED glows. DCA1000EVM is in data separated mode. when the PROGRAMN button is pressed. Figure 18. User LEDs

16 SPRUIJ4A–May 2018– Revised May 2019

3 System Setup

Figure 19. Board Setup

3.1 Prerequisites

  • The DCA1000EVM should be connected to the host PC through an Ethernet cable for the data transfer process.
  • The DCA1000EVM should be connected to a PC through a USB cable (J1-Radar FTDI) for configuring the xWR1xxx EVM if the mmWave Studio is used to configure the radar device. If an embedded application is used to configure the xWR1xxx EVM, then this is not required.
  • The DCA1000EVM should be connected to TI's xWR1xxx EVM through a 60-pin HD connector by using a 60-pin Samtec ribbon cable.
  • The DCA1000EVM power input should be connected from either a DC jack or TI's xWR1xxx EVM power output (from a 60-pin HD connector) by selecting the SW3 switch position.
  • The xWR1xxx EVM should be connected to a PC through a USB cable (J8) for the RS232 connection in the Radar Studio interface.
  • HOST PC configuration: – Intel Core i5 2.5 GHz or above – 8 GB RAM or above – Windows 10 Pro operating system – Static IP Address – 192.168.33.30 – 1-Gbps Ethernet port
  • Pre-installed mmWave Studio in the mmWave Studio user guide..
  • The DCA1000EVM should be connected to a PC through a USB cable (J4-FPGA JTAG) for programming the FPGA (when the card is in programming mode).

4 DCA1000EVM Ethernet Configuration Data

DCA1000EVM MAC, System IP, Configuration port, and Data port) in FPGA internal registers. The default Ethernet configuration data stored in the FPGA internal registers are listed in Table 11. Table 11. Table 11 Default Value Stored in FPGA Registers FPGA register values are loaded.

  • When SW2 is positioned at 6 (pin6), the DCA1000EVM loads the Ethernet configuration data from EEPROM.
  • In general, the EEPROM is blank when the DCA1000EVM comes out of the factory. The EEPROM remains blank until the updated EEPROM command is given to the DCA1000EVM through the Ethernet port.
  • When the updated EEPROM command is given to the DCA1000EVM, the Ethernet configuration data are stored into the EEPROM along with the header and footer.
  • The DCA1000EVM requires a power cycle/hardware reset to load the updated Ethernet configuration data from the EEPROM.
  • During the power ON/after hardware reset, the DCA1000EVM FPGA loads the Ethernet configuration data from the EEPROM and checks for the header and footer. If the header and footer are found, the data loaded from the EEPROM is used for Ethernet communication; else, the FPGA uses the default values stored in the internal registers.
  • The Ethernet configuration data updated in the EEPROM should be used in the Ethernet packets which are going as commands to the DCA1000EVM, for further communication. Otherwise, the DCA1000EVM will not respond to the command. Loading the Ethernet configuration data from the FPGA internal registers:
  • When SW2 is positioned at (pin11), the DCA1000EVM loads the default Ethernet configuration data from the FPGA internal registers, and the same is used for Ethernet communication. NOTE: For data separated mode, the DCA1000EVM FPGA receives only one data port number from the updated EEPROM command. This port is considered as an ADC data port, and other data type’s port number is incremented by one. NOTE: Whenever Switch 2.6 position is changed from one option to another option, the DCA1000EVM requires a power cycle and hardware reset.

18 SPRUIJ4A–May 2018– Revised May 2019

5 DCA1000EVM Command and Data Format

transfer raw mode/data separated mode data.

5.1 DCA1000EVM Command Format

  • Header a. Header b. Command code c. Data size
  • Data
  • Footer The Command Response protocol consists of the following:
  • Header a. Header b. Command code
  • Status
  • Footer Commands supported in the DCA1000EVM are listed in Table 12.

Table 12. Supported Commands

Table 12. Supported Commands (continued) Table 13 and Table 14 show examples using RESET_FPGA_CMD_CODE. Table 13. Reset FPGA Command Request From Host Table 14. Command Response From the DCA1000EVM

5.2 DCA1000EVM Data Format

The DCA1000EVM sends raw mode/data separated mode data to the host through the data port.

  • Raw mode data format: the DCA1000EVM sends raw mode data in the following format.
  • Data separated mode data format: the DCA1000EVM sends data separated mode data in the following format.

DCA1000EVM Command and Data Format www.ti.com

20 SPRUIJ4A–May 2018– Revised May 2019

Submit Documentation Feedback Copyright © 2018–2019, Texas Instruments Incorporated DCA1000EVM Data Capture Card

5.3 Stored File Format

Raw mode data format: in raw mode, the file is stored in the following format:

  • Without sequence number:
  • With sequence number: Data separated mode data format: in data separated mode, the file is stored in the following format:
  • Without sequence number:
  • With sequence number:

6 Use Case: LVDS Over Ethernet Streaming

LVDS over Ethernet streaming can be used in two modes of operations: raw mode and data separated mode. Both can be accessed either through the hardware switch configuration mode or software GUI configuration mode by selecting the switch (SW2.5).

6.1 Raw Mode

In Raw mode, the FPGA records all the data appearing on the LVDS lines as is. The data sent over the LVDS lanes is controlled by either the configuration from the mmwave studio, or the user application running on the radar device.

6.2 Data Separated Mode

Data separated mode features supports for receiving different data types with unique identifiers, along with length field information from the xWR1xxx EVM over the LVDS interface, and streamed over the Ethernet interface in different ports. This mode of capture supports specific identifiers, as listed in Table 15. Each data type has a 64-bit identifier and 64-bit length field. In the length field, the actual length information is only 24 bits (the first 12 bits are taken from the first sample and the next 12 bits from the second sample). The remaining 40 bits are reserved. The user application on the radar device must ensure that these headers are added on the LVDS data in the exact format the FPGA expects.

Table 15. Data Separated Mode Data, Identifier, Length Information Each data is streamed in different Ethernet ports through an Ethernet interface, as listed in Table 16. Table 16. Data Type and Port for Data Separated Mode

7 Errors

Table 17. Errors configuration, or the network card (NIC). decreased due to slower data capturing. from the radar EVM within a timeout period. enabled to send data separated mode data.

22 SPRUIJ4A–May 2018– Revised May 2019

8 Troubleshooting

  • To confirm Ethernet connectivity between the DCA1000EVM and host PC, use the Wireshark tool to check the Ethernet packet transfer.
  • Ensure that UDP is enabled in the host PC for UDP data transmission and reception.
  • When providing a hardware reset or power cycle on the board, before connecting the mmWave Studio with the DCA1000EVM, check whether the host PC Ethernet connectivity is established or not.
  • Ensure that the Samtec cable is properly connected between the xWR1xxx EVM and DCA1000EVM to avoid signal discontinuity.
  • The default Ethernet delay is pre-programmed as 25 µs in both the FPGA and software. The user can configure the delay from 5 µs to 500 µs, depending on the host PC configuration and capabilities, to avoid packet loss or packets out of sequence. Lower delay allows for higher bandwidth while increasing the probability of UDP packet drops at the PC end. Refer to Table 19 for the relationship between the packet delay and ethernet throughput.
  • When the LVDS data rate is changed in Radar Studio, the DCA1000EVM requires a hardware/software reset to lock the PLL with the incoming clock in the FPGA.
  • To update the FPGA image, follow the procedure explained in Section 9.

9 FPGA Programming

Table 18. FPGA Configuration Mode Figure 20. FPGA Config Switch

  1. Download the Lattice Diamond programmer tool, Windows version (Programmer Standalone 3.10 64-

bit for Windows) from the following link: http://www.latticesemi.com/programmer.

  1. A new folder named lscc will be created at the path of installation.
  2. Connect the USB cable to the FPGA JTAG USB port (J4), and power on the board.
  3. The FTDI cable driver is installed automatically. Otherwise, manually select the cable driver from the
  4. The device manager will recognize two COM ports, as shown in Figure 21.

Figure 21. Device Manager

9.1 Hardware Setup

Figure 22. Hardware Setup

9.2 FPGA - SPI Flash Programming Mode

or re-flash the image due to some issues.

  1. Openthe Lattice Diamond programmer tool from the Start menu and select Detect Cable. Click OK as

24 SPRUIJ4A–May 2018– Revised May 2019

Figure 23. FTDI USB Cable Detection

  1. The FPGA device (LFE5UM-85F) is detected in the programmer window, as shown in Figure 24.

Figure 24. FPGA Device Scan

  1. If the command line prompts to select the device manually, then click on the Device column and select
  2. Click the Operation tab, and select the Access mode options as JTAG 1532 mode; and for Operation

select “Erase Only”for the Erase bit file in the FPGA, as shown in Figure 25.

Figure 25. Select JTAG Option and Bit File

  1. Click the Program option to complete the process.
  2. Click the Operation tab to open the window, as shown in Figure 26.

a. Set the Access mode option as SPI Flash Background Programming. b. Set the Operation as “SPI Flash Erase, Program, Verify”for bit file programming. file in the programming file option. (xx -> Version No, yy -> Release Date).

26 SPRUIJ4A–May 2018– Revised May 2019

Figure 26. FPGA SPI Flash Programming

  1. Click the Program option to complete the process.
  2. When the programming is done, press the PROGRAMN(SW4) button or power cycle the board to load

the FPGA bit file from SPI flash.

  1. The FPGA DONE LED (LD14) glows to confirm the successful loading of the FPGA bit file from SPI

10 Limitations

  • This release supports LVDS to Ethernet streaming for raw mode and data segregated mode data capture.
  • The SD card storage and playback feature is not supported in this release.
  • The DCA1000EVM FPGA requires a minimum delay of 12 ms between the bit clock starts and the actual LVDS data start to lock the LVDS PLL IP.
  • In default conditions, Ethernet throughput varies up to 325 Mbps speed in a 25-µs Ethernet packet delay. The user can change the Ethernet packet delay from 5 µs to 500 µs to achieve different throughputs, as explained in Table 19, to achieve different Ethernet throughputs.

Table 19. Theoretical Throughput

www.ti.com Revision History 27SPRUIJ4A–May 2018– Revised May 2019 Submit Documentation Feedback Copyright © 2018–2019, Texas Instruments Incorporated

Revision History

NOTE: Page numbers for previous revisions may differ from page numbers in the current version.

IMPORTANT NOTICE AND DISCLAIMER TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS. These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources. TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products. Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2019, Texas Instruments Incorporated