This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1642BOOST: Transmit a continuous CW

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: MMWAVE-STUDIO, DCA1000EVM, AWR1642

We have made a mmwave radar product, which uses the CAN interface. Now we need to test the antenna in the single-frequency mode.

Besides using the capture demo application to transmit a continuous CW, are there any other methods?

Why can the capture demo application transmit a continuous CW, but out of box demo cannot?

Best Regards.

  • Hi,
    mmw demo is mainly to do the signal processing to detect any object and send that result out for Visualization. Because of that, it doesn't support continuous mode.
    You may need to modify mmw demo to enable Continuous mode feature in it.

    Regards,
    Jitendra
  • Hi,
    Thank you for your reply. May I ask how to modify mmw demo to enable Continuous mode feature in it?
  • Hi,
    If you are intent to test RF using continuous mode then you can use mmwave-Studio and capture the raw data using DCA1000EVM. With Studio you don't need to make any code change, directly configure the device for CW mode and capture the data straight ahead.

    Refer mmwave-Studio user guide for more detail.

    Regards,
    Jitendra
  • Hi,
    We need to test our own radar product, which cannot be connected with DCA1000EVM.
  • Hi,
    How can I modify mmw demo to enable continuous mode function to test my radar product?
    Thank you!
  • Hi,

    Changing code in mmw demo for CW mode may take longer time.

    Meanwhile I can suggest you use Capture demo (from SDK 1.1). As SDK 1.1 supports AWR1642 ES1.0 and here the steps to make capture demo work with ES2.0

    1. Install SDK 1.1 and then replace RadarSS firmware (xwr16xx_radarss_rprc.bin) from SDK 2.1 version at (C:\ti\mmwave_sdk_<ver>\firmware\radarss) path.

    2. Set environment path (run set_env.bat)

    3. Build Capture demo application. (gmake all).



    Now follow these steps-

    - Flash the ‘xwr16xx_capture_demo.bin’ to AWR1642 ES2.0
    - Connect AWR1642 with DCA1000EVM and connect Ethernet cable to PC.
    - Run AWR1642 in functional mode
    - Setup Ethernet setting in the PC as mentioned in mmwave-Studio user guide.
    - Open mmWave Studio (2.0 +) and run the LUA script (DCA1000_WithoutSPI.lua) attached here.
    - Open TeraTerm for the application and connect Application/UART COM port @115200 baud rate.
    - Select ‘1’ [for MSS does the control and datapath configuration] and use attached config file (main change: 'lowPower 0 1' which is required for ES2.0)
    - This should enable continuous mode streaming. Check the raw_adc captured file at the location mentioned in the LUA script.

    --- Create a LUA script of below commands---
    -- select Device type
    if (ar1.SelectCaptureDevice("DCA1000") == 0) then
        WriteToLog("SelectCaptureDevice Success\n", "green")
    else
        WriteToLog("SelectCaptureDevice failure\n", "red")
    end
    RSTD.Sleep(1000)
    
    --DATA CAPTURE CARD API
    if (ar1.CaptureCardConfig_EthInit_WithoutSPI("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098) == 0) then
        WriteToLog("CaptureCardConfig_EthInit Success\n", "green")
    else
        WriteToLog("CaptureCardConfig_EthInit failure\n", "red")
    end
    RSTD.Sleep(1000)
    
    --AR12xx or AR14xx-1, AR16xx- 2 (second parameter indicates the device type)
    if (ar1.CaptureCardConfig_Mode_WithoutSPI(1, 2, 1, 2, 3, 30) == 0) then
        WriteToLog("CaptureCardConfig_Mode Success\n", "green")
    else
        WriteToLog("CaptureCardConfig_Mode failure\n", "red")
    end
    RSTD.Sleep(1000)
    
    if (ar1.CaptureCardConfig_PacketDelay_WithoutSPI(25) == 0) then
        WriteToLog("CaptureCardConfig_PacketDelay Success\n", "green")
    else
        WriteToLog("CaptureCardConfig_PacketDelay failure\n", "red")
    end
    RSTD.Sleep(1000)
    
    --Capture Card FPGA
    ar1.GetCaptureCardFPGAVersion_WithoutSPI()
    RSTD.Sleep(1000)
    
    --Capture Card DLL
    ar1.GetCaptureCardDllVersion_WithoutSPI()
    RSTD.Sleep(1000)
    
    --Start Record ADC data
    ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_lvds_data.bin", 1)
    RSTD.Sleep(10000)
    
    --Stop Record ADC data
    --ar1.CaptureCardConfig_StopRecord_WithoutSPI()
    RSTD.Sleep(1000)
    
    --Reset the DC card FPGA API
    --ar1.CaptureCardConfig_ResetFPGA_WithoutSPI()
    --RSTD.Sleep(1000)
    
    --EEPROM Config API
    -- ar1.ConfigureRFDCCard_EEPROM_WithoutSPI("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    -- RSTD.Sleep(1000)
    
    --Disconnect API
    --ar1.CaptureCard_DisConnect_WithoutSPI()
    RSTD.Sleep(1000)
    
    

    ### CLI commands for Capture demo
    dfeDataOutputMode 2
    channelCfg 2 1 0
    adcCfg 2 2
    adcbufCfg 0 0 1 1
    lowPower 0 1
    contModeCfg 77 0 0 6000 0 0 30 1 1024
    setHSI LVDS ADC disable
    sensorStart
    

  • Hi,
    When I ran the step 3, the following error occurred:
    makefile:13: /ti/common/mmwave_sdk.mak: No such file or directory
    gmake: *** No rule to make target '/ti/common/mmwave_sdk.mak'. Stop.

    I didn't removed any files from the SDK installation,What is the problem?
    Thank you!
  • Hi,
    I hope you are using SDK 1.1 and just replaced radarSS firmware at SDK 1.1 (firmware\radarSS directory) with the file from SDK 2.1 RadarSS firmware.

    And to build any application I request you to use fresh SDK 1.1 installation (if removed/modified some content in existing installation) and follow instructions given in mmWave SDK user guide to build the application.

    Regards,
    Jitendra