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.

CCS / AWR1642: How to ensure the TX parameter in the mmWave SDK?

Part Number: AWR1642

Tool/software: Code Composer Studio

Hello!

Recently, I use CCS export the ADCdata from mmWave SDK2.1 in the 'mem_capture' procedure. I export the data in 'gDataCube'.

I also know the data format and want use MATLAB to deal with it, but I don't ensure the 'ADC samples, frames, chirps'.

Where can I find it in the mmWave SDK2.1 or need me to preset them?

Thank you very much!

  • Hi,
    Please go through the mss.c file of mem_capture application to find out config values where profile/chirp and other parameters are set under different functions (e.g. MemCapture_initLinkProfileCfgParams).

    And to decode these values either refer mmwave_sdk user guide or mmwavelink doxygen/ header files (rl_sensor.h)


    Regards,
    Jitendra

  • Hello, Jitendra !

    I want to know how many points should I export from 'gDataCube'? I also want to know the num of points in a frame. Because I want to plot a frame data.

  • For the configuration from sample script, address is gFrameAddress[0], data size is 0x20000 (which is equal to Num_ADC_samples*Num_Rx*sizof(uint16)*2 (complex) * num_chirps), this is single frame worth of data.

    Could you follow SDK 1.1 which had a similar application (packages\ti\demo\xwr16xx\capture) and provided with Matlab script to process the same data. Going through the script and this SDK user guide (section 3.3.3 Capture demo for xWR16xx), will get you the answer for your query.

    software-dl.ti.com/.../index_FDS.html

    Regards,
    Jitendra

  • Hello, Jitendra !
    I want to know how much time in one frame.
    0x20000 is 131072 , but Num_ADC_samples = 256, Num_Rx =4 , num_chirps = 128 in the 'capture_demo.m' which is not equal to 0x20000. What's wrong?
    If I use CCS to export all 'gDataCube' data , how many points(16bit-TI style) should I export? How many frames can I get?
  • In mem_capture, it captures single frame data which might have multiple chirps (num_chirps) in it.
    Single chirp data size (byte) = num_ADC_sample * 2 (16Bit) * 2 (complex) * num_Rx_Antenna
    frame_size (byte) = single_chirp_data_size * num_of_chirps
    In user guide length was in word unit, so in byte (256*4*2*2*128) = 0x80000 (0x20000*4)


    Regards,
    Jitendra