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.

DCA1000EVM: DCA1000evm and studio

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1243, , AWR1843BOOST, AWR1642, AWR1843

Currently, mmWave studio and mmWave demo visualizer can be used to configure, control DCA1000 evm board and capture data from it through UART and Ethernet port. Is it possible to write our own software(for instance, a visual c# project) to do the same thing?  If yes, is there any reference document?  If no, is there a alternative way to implement such a requirement?

 

The scenario is as the followings:

The DCA1000 evm board as an important mmWave sensor is integrated into our system and the system(software) controls and configures it and captures data on demand so that the mmWave studio can not be used in our system.

 

Thanks a lot.

  • Hi,

    mmWave Studio internally uses dll library to communicate with DCA100)EVM over ethernet. And same you can do with your custom application which will communicate with this dll/lib.

    So to integrate configure AWR and capture raw data process in your existing system you need to have two application.

    First application is equivalent to mmWave Studio to configure the AWR device over SPI. If you are using AWR EVM + DevPack (FTDI->SPI) then you need to use mmwavelink_example application from mmWave DFP. Assuming you are using AWR1243 device here.

    Second application to configure DCA1000EVM and capture the raw data over Ethernet. For this you need to implement an application which uses rf_API.dll or libRF_API.a. These two files are dll/lib to communicate with DCA1000EVM and these two files are same but format is different; available at (C:\ti\mmwave_studio_02_xx_xx\mmWaveStudio\Clients\AR1xController) path. At the path we have provided rf_api.h file which provides all API declarations for DCA1000EVM system and a sample application code snippet (in comment form). You can take this code snippet and implement your DCA1000EVM control application using Visual Studio.

    Regards,

    Jitendra

  • Thanks a lot for your quick reply. I'll try it.

    The device I am using is AWR1843BOOST. I wander if there is any difference from your comment( AWR1243 is assumed).

    Thanks Again.

  • Hi,

    With AWR1843 or AWR1642 sequence with mmwavelink_example will be little bit different.

    As in case of AWR1243, device always listens over SPI and can accept any of those command to configure the RF front end.

    But in case of AWR1843/AWR1642 there needs to equivalent of application running on device which listens over SPI.

     

    In mmWave DFP we provide an application which can be used with mmWave Studio but only in SOP-2 (development mode).

    Now as you need to use mmwavelink_example which works with device running in SOP-4 (functional mode). So let me provide the steps to make it work in your scenario

    1. Install mmWave DFP 1.2.5.1 and mmWave SDK 3.2
    2. follow these steps to create MetaImage
      1. command prompt: cd c:\ti\mmwave_sdk_03_02_00_04\packages\scripts\ImageCreator\multicore_image_generator\
      2. run these command

    'MulticoreImageGen.exe LE 37 0x00000006 metaImage.bin 0x35510000 c:\ti\mmwave_dfp_01_02_05_01\rf_eval\rf_eval_firmware\masterss\xwr18xx_masterss_rprc.bin  0xb5510000 c:\ti\mmwave_dfp_01_02_05_01\rf_eval\rf_eval_firmware\radarss\xwr18xx_radarss_rprc.bin'

    ' ..\crc_multicore_image\crc_multicore_image.exe metaImage.bin metaImage_temp.bin'

    '..\append_bin_crc\gen_bincrc32.exe metaImage.bin'

     3. Flash generated metaImage.bin to the AWR1843 device in SOP-5 mode.

     4. Switch EVM in SOP-4 mode and power cycle.

     5. Now first test with mmWave Studio for SPI connect and further configuration, it should work here.

     6. If above works then you can try same experiment with mmWavelink_example and parallel run DCA1000 tool to capture the RAW ADC data.

    Regards,

    Jitendra

  • Hi,

    I have the same question about these, and my device is AWR1642,

    so AWR1642 device has the same steps as AWR1843?

    Regards,

    Froglu

  • Hi, Jitendra,

    Thanks a lot for your quick and detailed comment.

    I successfully tried the step 1-5 just now. It works well.

    All mmWavelink examples are for awr1243. It doesn't work for awr1843.

    There are some many codes  related to the specified sensor in the example.

    Could you give some instructions about how to modify these source codes to make it run on awr1843?

    Or

    Could you please give example codes for awr1843?

    Best Regards

    Stanley

  • Hi Stanley,

    There are few changes you need to on top of mmwavelink_example application:

    1. Disable the file download. MACRO 'FIRMWARE_DOWNLOAD 0'

    2. comment out other APIs which might not be supported for AWR1843 device, e.g.  setDeviceCrcType.

    I have done these two changes and it works with AWR1843BOOST (stacked on devPack for SPI communication).

    Regards,

    Jitendra

  • Hi, Jitendra,

    I tried as your comment and now the mmwavelink_example runs well.

    But i didn't find any data come from 192.168.33.180 (through WireShark).

    Is there any other step missed?

    Best Regards

    Stanley

  • Hi Stanley,

    As I have requested on other thread, try this experiment first with mmWave Studio (configure and capture with DCA1000).

    And with mmwavelink_example, how did you configure the DCA1000EVM to capture the raw data?

    Regards,

    Jitendra

  • Hi, Jitendra,

    Now I can configure AWR1843BOOST and trigger frame through mmWavelink example, capture data through the application created according to your first comment.

    So the initial issue is resolved.

    Great thanks for your quick and instructive comments. 

    Stanley