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.

IWR6843AOPEVM: DCA1000 + CLI command

Part Number: IWR6843AOPEVM

Hello Team,

I was using parser script which is available at the location of SDK in parser scripts folder. when I used lvds_example_script.py I get some errors about the platform which is stated below.

"Traceback (most recent call last):
File "c:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_scripts\lvds_example_script.py", line 90, in <module>
noise_buffer = parser_file(config_file_name, numFramesToBePrint, datacard_prefix)
File "c:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_scripts\parser_lvds_demo_captured_file.py", line 1275, in parser_file
SW_result, SW_numDetObj, SW_x_buffer, SW_y_buffer, SW_z_buffer, SW_v_buffer, SW_range_buffer, SW_azimuth_buffer, SW_elevAngle_buffer, SW_snr_buffer, SW_noise_buffer = parser_SW_file(capturedFileName, numFramesToBePrint, ADC_file_numSubframes, ADC_file_subframeIdx_buf)
File "c:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_scripts\parser_lvds_demo_captured_file.py", line 1028, in parser_SW_file return_value += verify_hsi_header_sw(fp, ID, int(frameIdx/numSubframes), subframeIdx)
File "c:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\parser_scripts\parser_lvds_demo_captured_file.py", line 326, in verify_hsi_header_sw
if '68' not in CFG_PARAMS['platfrom'] and '64' not in CFG_PARAMS['platfrom']:
KeyError: 'platfrom'"

Can anyone here to solve my problem how I can remove the error.

Kind regards,
Fahad

  • Hello Fahad.

    From looking at the script, there are some user changes that had to be made.  Could you please show what those changes were?  I am discussing this internally and will have a response by Monday or Tuesday.

    Sincerely,

    Santosh

  • Hi santosh,

    I don't know what are those changes let me share the script file I only the config file where I changed Lvdsstreamcfg to -1 1 0 1 and I got the above the error. but on next time I changed the lvdsstreamcfg to -1 0 1 0 as shown below it runs and give me parser pass command but the output file is empty.

    Below are the output shown in the terminal.

    **** line from config file:
    % ***************************************************************

    **** line from config file:
    % Created for SDK ver:03.06

    **** line from config file:
    % Created using Visualizer ver:3.6.0.0

    **** line from config file:
    % Frequency:60

    **** line from config file:
    % Platform:xWR68xx_AOP

    **** line from config file:
    % Scene Classifier:best_range_res

    **** line from config file:
    % Azimuth Resolution(deg):30 + 30

    **** line from config file:
    % Range Resolution(m):0.044

    **** line from config file:
    % Maximum unambiguous Range(m):9.02

    **** line from config file:
    % Maximum Radial Velocity(m/s):1

    **** line from config file:
    % Radial velocity resolution(m/s):0.13

    **** line from config file:
    % Frame Duration(msec):50

    **** line from config file:
    % RF calibration data:None

    **** line from config file:
    % ***************************************************************

    **** line from config file:
    sensorStop

    **** line from config file:
    flushCfg

    **** line from config file:
    dfeDataOutputMode 1

    **** line from config file:
    channelCfg 15 7 0

    **** line from config file:
    adcCfg 2 1

    **** line from config file:
    adcbufCfg -1 0 1 1 1

    **** line from config file:
    profileCfg 0 60 359 7 57.14 0 0 70 1 256 5209 0 0 158

    **** line from config file:
    chirpCfg 0 0 0 0 0 0 0 1

    **** line from config file:
    chirpCfg 1 1 0 0 0 0 0 2

    **** line from config file:
    chirpCfg 2 2 0 0 0 0 0 4

    **** line from config file:
    frameCfg 0 2 16 0 50 1 0

    **** line from config file:
    lowPower 0 0

    **** line from config file:
    guiMonitor -1 1 1 0 0 0 1

    **** line from config file:
    cfarCfg -1 0 2 8 4 3 0 15 1

    **** line from config file:
    cfarCfg -1 1 0 4 2 3 1 15 1

    **** line from config file:
    multiObjBeamForming -1 1 0.5

    **** line from config file:
    clutterRemoval -1 0

    **** line from config file:
    calibDcRangeSig -1 0 -5 8 256

    **** line from config file:
    extendedMaxVelocity -1 0

    **** line from config file:
    lvdsStreamCfg -1 0 1 0

    **** line from config file:
    compRangeBiasAndRxChanPhase 0.0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0

    **** line from config file:
    measureRangeBiasAndRxChanPhase 0 1.5 0.2

    **** line from config file:
    CQRxSatMonitor 0 3 5 121 0

    **** line from config file:
    CQSigImgMonitor 0 127 4

    **** line from config file:
    analogMonitor 0 0

    **** line from config file:
    aoaFovCfg -1 -90 90 -90 90

    **** line from config file:
    cfarFovCfg -1 0 0 8.92

    **** line from config file:
    cfarFovCfg -1 1 -1 1.00

    **** line from config file:
    calibData 0 0 0

    **** line from config file:
    sensorStart


    adc_data_Raw_0.bin parser pass!

     The output is:

    sw_output.csv 

    Please check and your help is highly appreciated.

    Kind regards,

    Fahad

  • Hello Fahad.

    Please don't double post as it is against E2E policy.  Your question is being answered on this thread(https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1166210/iwr6843aopevm-dca1000-cli-command-mmwave-demo-visualizer)and I will close this one out.

    Thanks,

    Santosh