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.

IWR6843ISK-ODS: Issue with unit test of mmwavelink library

Part Number: IWR6843ISK-ODS
Other Parts Discussed in Thread: MMWAVEICBOOST, , AWR1843BOOST, UNIFLASH

Hi to all,

I'm trying to run correctly the Unit Test of mmwavelink but I have problem even if I use the original bynaries. 

Some information in order to describe my environment:

  • I'm using the mmwave_sdk_03_03_00_03 version
  • I'm using a IWR6843ISK-ODS installed on a MMWAVEICBOOST
  • I have correctly loaded the xwr68xx_ccsdebug.bin that i have found in the sdk
  • I have loaded the two binaries xwr68xx_link_dss.xe674 and xwr68xx_link_mss.xer4f

Then, I launch the test on DSS and the test seems blocked after a sensor Start. The console output shows:

[C674X_0] Debug: ADCBUF Instance @0081a180 has been reopened successfully
******************************************
Debug: Launching the mmwaveLink
******************************************
Debug: Launching BIOS
Debug: Launched the mmwaveLink Initialization Task
Debug: CRC Channel @008012f8 has been opened successfully
Debug: Launched the mmwaveLink Management Task
Debug: BSS Mailbox Handle @00801be8
Debug: Disabling the device
Debug: BSS Mailbox Handle @00801be8
Debug: Power on request successfully passed to the BSS
Feature: mmWave Link Initialization: Passed
Debug: BootupStatus = 8011f4
Debug: Finished get radarSS bootup status to BSS
Feature: Get radarSS bootup status: Passed
RF H/W Version : 02.00
RF F/W Version : 06.02.00.06.19.08.22
RF F/W Patch Version : 00.00.00.00.00.00.00
mmWaveLink Version: 01.02.05.16
Feature: Get mmWave Link Version: Passed
Debug: Finished rlRfSetDeviceCfg
Feature: Set Async event config: Passed
Debug: Set HSI clock successfully
Feature: Set HSI clock: Passed
Debug: Finished rlDeviceConfigureAckTimeout
Feature: Set ACK timeout to min value: Passed
Debug: Finished rlDeviceConfigureAckTimeout
Feature: Set ACK timeout to max value: Passed
Debug: Finished rlDeviceConfigureAckTimeout
Feature: Set ACK timeout: Passed
Feature: mmWave Link Negative Test: Passed
Debug: Die ID Status
Lot no : 9323977, Wafer no: 2031649
Die cordinates in wafer. X : 41 , Y : 0
Feature: Get Device Die ID Status: Passed
Debug: Finished set channel configurations to BSS
Feature: Set mmWave Link Channel Config: Passed
Debug: Finished setAdcOutConfig to BSS
Feature: Set mmWave Link ADC Out Config: Passed
Feature: mmWave Link Enable/Disable Calibration: Passed
Debug: Init time calibration status [0x8000001e]
Debug: RF start successfully
Feature: mmWave Link RF Calibration: Passed
Debug: Finished rlRfCalibDataStore
Feature: mmWave Link Calibration Data Store config: Passed
Feature: mmWave Link Enable/Disable Calibration: Passed
Debug: Init time calibration status [0x80000012]
Debug: Finished rlRfCalibDataRestore
Feature: mmWave Link Calibration Data Restore config: Passed
Debug: Init time calibration status [0x8000001e]
Debug: RF start successfully
Feature: mmWave Link RF Calibration: Passed
Debug: Finished rlSetGpAdcConfig
Feature: mmWave Link Set GPAdc: Passed
Debug: Finished rlRfSetLdoBypassConfig
Feature: mmWave Link Set LDO bypass: Passed
Feature: mmWave Link Calib/Monitoring config: Passed
Debug: Finished rlSetProfileConfig
Feature: Set mmWave Link Profile config: Passed
Debug: Finished rlRxGainTempLutGet
Feature: Get mmWave Link RX Gain Temperature LUT config: Passed
Debug: Finished rlTxGainTempLutGet
Feature: Get mmWave Link TX Gain Temperature LUT config: Passed
Debug: Finished rlRxGainTempLutSet
Feature: Set mmWave Link RX Gain Temperature LUT config: Passed
Debug: Finished rlTxGainTempLutSet
Feature: Set mmWave Link TX Gain Temperature LUT config: Passed
Debug: rlGetProfileConfig parameters matched with configured parameters
Feature: Get mmWave Link Profile config: Passed
Debug: Finished rlSetChirpConfig
Feature: Set mmWave Link Chirp config: Passed
Debug: Finished rlSetMultiChirpCfg
Feature: Set mmWave Link Multi Chirp config: Passed
Debug: Finished rlRfInterRxGainPhaseConfig
Feature: Set mmWave Link Inter RX Gain/Phase config: Passed
Debug : Temerature readings
RX0 : 43 degree C, RX1 : 42 degree C, RX2 : 40 degree C, RX3 : 42 degree C
TX0 : 44 degree C, TX1 : 43 degree C, TX2 : 46 degree C
PM : 46 degree C, DIG0: 49 degree C
Feature: Set mmWave Link Get Temperature Report: Passed
Debug: Finished rlSetTestSourceConfig
Debug: Finished rlTestSourceEnable
Feature: Set mmWave Link Test Source config: Passed
Debug: Finished rlSetFrameConfig
Feature: Set mmWave Link Frame config: Passed
Debug: rlGetFrameConfig parameters matched wilh configured parameters
Feature: Get mmWave Link Frame config: Passed
Debug: Finished rlRfSetPALoopbackConfig
Feature: Enable mmWave Link PA Loop Back config: Passed
Feature: Sensor Start: Passed

 

Is there something wrong in my way of launch the unit test? 

Thanks,

Stefano

 

  • Stefano,

    Will get back on this early next week.

    Thanks

    Yogesh

  • Hi Stefano,

    I am able to run both MSS and DSS link test successfully from SDK 3.3.0.3.

    Quick questions:

    1) Are you running both test simultaneously? If yes try both independently.

    2) Please do power on reset before executing DSS test.

    Let me know if you still observe issue.

    Thanks

    Yogesh

  • Hi Yogesh,

    1) I run only the DSS-test. If you see my log there are only [C674X_0] prints. 

    2) I press the NRST button on MMWAVEICBOOST before load the binaries.

    BR,

    Stefano

  • Hi Stefano,

    Did you flash ccsdebug.bin @C:\ti\mmwave_sdk_03_03_00_03\packages\ti\utils\ccsdebug\xwr68xx_ccsdebug.bin before running the link test?

    Thanks

    Yogesh 

  • Hi Yogesh,

    yes I have loaded the ccsdebug.bin just before run the link test. 

    In order to be sure of a cleaning environment I tried to re-install all the sdk3.3.0.03 but I continue to see the same block after the Sensor Start:

    Feature: Sensor Start: Passed

     

    In the /test/common/mmwave_test_common.c the next operations (before the next print) are:

    /* Wait for 1 frame */
    Task_sleep(framePeriodicity*1U);
    /* sensor Stop */
    if (MmwaveLink_sensorStop() < 0)
    {

     ...

     

    Then I suppose the execution is blocked inside the Task_sleep() or the MmwaveLink_sensorStop().

    BR,

    Stefano

  • Hi Stefano,

    Seem strange. Are you able to run the MSS link test successfully? 

    Yogesh

  • Hi Yogesh,

    the MSS-test run correctly only if I launch it before the DSS-test.

    Instead if I lauch the MSS-test after the DSS-test, a block happens also in MSS-test. The MSS log is this:

    [Cortex_R4_0] Debug: ADCBUF Instance @0800d884 has been reopened successfully
    ******************************************
    Debug: Launching the mmwaveLink
    ******************************************
    Debug: Launched the mmwaveLink Initialization Task
    Debug: CRC Channel @08000b58 has been opened successfully
    Debug: BSS Mailbox Handle @08001428
    Debug: Disabling the device
    Debug: BSS Mailbox Handle @08001428
    Debug: Power on request successfully passed to the BSS
    Feature: mmWave Link Initialization: Passed
    Debug: Launched the mmwaveLink Management Task
    Debug: BootupStatus = 2
    Debug: Finished get radarSS bootup status to BSS
    Feature: Get radarSS bootup status: Passed
    RF H/W Version : 02.00
    RF F/W Version : 06.02.00.06.19.08.22
    RF F/W Patch Version : 00.00.00.00.00.00.00
    mmWaveLink Version: 01.02.05.16
    Feature: Get mmWave Link Version: Passed
    Debug: Finished rlRfSetDeviceCfg
    Feature: Set Async event config: Passed
    Debug: Set HSI clock successfully
    Feature: Set HSI clock: Passed
    Debug: Finished rlDeviceConfigureAckTimeout
    Feature: Set ACK timeout to min value: Passed
    Debug: Finished rlDeviceConfigureAckTimeout
    Feature: Set ACK timeout to max value: Passed
    Debug: Finished rlDeviceConfigureAckTimeout
    Feature: Set ACK timeout: Passed

    Regards,

    Stefano

  • Hi Stefano,

    Do you have any other device to test?

    Thanks

    Yogesh

  • My collegue try the test with a AWR1843BOOST and has the same problem.

    As additional information, I have tried to run the mmwavelink\dfptest and all the test fail:

    ******************************************
    [C674X_0] Debug: ADCBUF Instance @008164e0 has been opened successfully
    ******************************************
    Debug: Launching the mmwaveLink
    ******************************************
    Debug: Launching BIOS
    Debug: Launched the mmwaveLink Initialization Task
    Debug: CRC Channel @008012f8 has been opened successfully
    RF H/W Version : 02.00
    RF F/W Version : 06.02.00.06.19.08.22
    RF F/W Patch Version : 00.00.00.00.00.00.00
    mmWaveLink Version: 01.02.05.16
    Debug: Starting test number 1.
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 1 result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 1. No reconfiguration. Iteration number 1
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 1 result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 1. No reconfiguration. Iteration number 2
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 1 result:
    Feature: Test: Failed
    ------------------------------
    Starting start/stop with reconfiguration
    ------------------------------
    Debug: Starting test number 2. StartStop with reconfiguration, iteration number 1
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 2 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 3. StartStop with reconfiguration, iteration number 2
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 3 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 4. StartStop with reconfiguration, iteration number 3
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 4 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 1. StartStop with reconfiguration, iteration number 4
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 1 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 5. StartStop with reconfiguration, iteration number 5
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 5 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 6. StartStop with reconfiguration, iteration number 6
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 6 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 7. StartStop with reconfiguration, iteration number 7
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 7 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 8. StartStop with reconfiguration, iteration number 8
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 8 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Debug: Starting test number 9. StartStop with reconfiguration, iteration number 9
    Debug: Init time calibration status [0x8000001e]
    Debug: RF start successfully
    Error: rlRfDigMonPeriodicConfig retVal=250
    --- Test 9 (reconfig) result:
    Feature: Test: Failed
    ------------------------------
    Start/Stop test ended.
    Number of start/stop without reconfiguration 2
    Number of start/stop with reconfiguration 9
    Feature: Start/Stop Test: Failed
    ******************************************
    Debug: MmwaveLink Test completed
    ******************************************

     

    Maybe the problems could be related?

    Thanks,

    Stefano 

  • Hi Yogesh,

    I have an additional information.

    I have tried to put some debug printf into the code and I have found where the block happened. Inside the function MmwaveLink_sensorStop(void) in link_test.c the DSS is blocked inside the while loop. 

    /* if frame stop async event is enable by rlRfSetDeviceCfg API,
    then wait for Frame stop async event */
    if ((rfDevCfg.aeControl & 0x2) == 0x0)
    {
        while(gFrameStartStatus == 1U)
        {
            /* Sleep and poll again: */
            Task_sleep(1);
        }
    }

    Regards,

    Stefano

     

  • Hi Stefano,

    Could you please download the latest SDK 3.4: http://software-dl.ti.com/ra-processors/esd/MMWAVE-SDK/latest/index_FDS.html

    Please flash the OOB demo or xwr68xx_ccsdebug.bin using UniFlash before running the link test.

    Thanks

    Yogesh