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.

AWR6843ISK: how to execute data path unit standalone test code in code composure studio

Part Number: AWR6843ISK
Other Parts Discussed in Thread: AWR6843

Tool/software:

hi,

i am using AWR6843ISK + mmwavebooster,i could able to run the out of box demo project on code composure studio with breakpoint and able to debug(since both out_of_box_6843_isk_dss.projectspec and  out_of_box_6843_isk_mss.projectspec  were given part of Radar toolbox "C:\ti\radar_toolbox_1_30_01_03\source\ti\examples\Out_Of_Box_Demo\src\xwr6843ISK").

Now I want to run The unit tests located at (C:\ti\mmwave_sdk_03_06_02_00-LTS\packages\ti\datapath\dpu\rangeproc\test).its stand-alone tests that allow data path processing chain to be executed in non real-time. 

i could not find any .projectspec file to open in code composure studio.i see only .xe674 and .xer4f files(folder file screenshots are attached for reference)

My question:

  1.can you tell me ,how to open this DPU unit tests  in code composure and run ?

  2, if you have any document ,which explains the steps ,please share?

Regards,

Mani

  • Hey Mani,

    Thank you for reaching out regarding building this test code. There is no CCS projectspecs for these test codes, so they have to built from source using gmake. There are a few sections in the MMWAVE SDK User Guide (<MMWAVE_SDK_INSTALL_DIR>/docs/mmwave_sdk_user_guide.pdf), particulary sections 3.5 and 4.5.1, that cover how to build these test projects. The simplified steps are:

    1. Locate the setenv.bat file under packages/scripts/windows and change MMWAVE_SDK_DEVICE to the device you will be building for - i.e., awr68xx
    2. Run setenv.bat after modifying as described in the previous step
    3. Navigate to packages/ti/datapath/dpu/rangeproc and run: gmake -s test

    This should rebuild the test files, but you can take a look at the makefile under packages/ti/datapath/dpu/rangeproc if you would like to understand the build process. Let me know if you have any other questions!

    Cheers,

    Kristien

  • Hi Kristien,

    Thanks for your reply.

    We could able to run following steps you suggested.

    I have below  additional question relevant to unit test code running to test dpu.

    My question:

    If you see testdata folder contains two captured bin files (one to use with rangedpu realised on dsp and another one with rangedpu realised on hwa).

    1.Can I know using which TI tools or interfaces(like mmwavr studio +dca1000 or any other tools and card)these bin files are captured ?..if you can share the documents or details related to it..it will be useful to understand 

    2.does these bin files contain only raw adc sample data or does it contain additional information like number of chirp,number of samples etc along with raw adc sample data ? If any document related to data format/structure of this bin file is available,please share ..

    Regards,

    Mani

  • Hey Mani,

    I'll have to check see if there's any additional documentation on these bin files, but these contain all the information required to run the test code including the number of tests to be executed, ADC data information (number of Tx antennas, number of range bins, and number of chirps per frame), and the raw ADC sample data itself.

    Regards,

    Kristien

  • Hi kristien, 

    Thanks for your reply..

    I have got two more questions based on your previous reply.

    1.does the ADC buffer is read only or possible to do both read as well as write?

    2.if both read and write of data into adc buffer is  possible ,In this case  ,if I want to write raw data read from .bin file to ADC buffer (instead of data written into ADC buffer from  digital front end ) and pass ADC buffer data  to HWA for fft processing,how to do it?

    Regards, 

    Mani

  • Hey Mani,

    See my answer to you questions below:

    1.does the ADC buffer is read only or possible to do both read as well as write?

    In the context of this test project and assuming you're referring to adcDataInBuf and or dataInBuffer, the buffer is written into once with the .bin raw ADC data and then read from during the processing tests.

    2.if both read and write of data into adc buffer is  possible ,In this case  ,if I want to write raw data read from .bin file to ADC buffer (instead of data written into ADC buffer from  digital front end ) and pass ADC buffer data  to HWA for fft processing,how to do it?

    We don't have an end application example that includes the ability to read in data from a .bin file for AWR6843, but you can reference the rangeProcDpuTest_Task to see how the data is parsed and read in.

    Regards,

    Kristien