arjun.a
commit
b24351f
IWR6843ISK-ODS: Some question about unit test of mmwave library (SDK3.3.0.03)
Part Number: IWR6843ISK-ODS Hi all, I have some doubts about the tests inside the packages\ti\control\mmwave of SDK3.3.0.03. YFI, I use an environment with a IWR6843ISK-ODS installed on a MMWAVEICBOOST. 1 - The 4 tests in minimal are the same included in the full tests? 2 - The last print of the test is "Feature: MMWave MSS Deinitialized: Passed". Is it correct? I expekt a conclusion like the other test: ****************************************** Debug: MmwaveLink Test completed ****************************************** 3 - To running a test I have to set the gTestSelection global variable in MSS and DSS also. For the MSS I use the console windows in CCS. Instead for the DSS I have to use the "expressions" windows. Is this the correct way to work? 4 - I have some problem after each test of "Calibration Data Save/Restore". After these tests I cannot launch another test correctly, even if I reset the MMWAVEICBOOST with NRST button. The error happens when I running the DSS: [C674X_0] ti.sysbios.heaps.HeapMem: line 429: assertion failure: A_invalidFree: Invalid free xdc.runtime.Error.raise: terminating execution The unique way that I have found to fix this problem is to power down and power up the board. Regards, Stefano
Hi Stefano, 1. As the name suggests, the tests under minimal configure the mmWave library in MINIMAL config mode while those in under full configure it in FULL config mode. Please refer to the mode definition MMWave_ConfigurationMode_e in C:\ti\mmwave_sdk_03_03_00_03\packages\ti\control\mmwave\mmwave.h 2. Please allow me a few days to check the expected output and get back to you on this. 3. Looking at the code for MMWaveLink_initTask in main_full_dss.c and main_full_mss.c, this is expected behavior. MSS reads the testSelection variable from stdin (concole) while DSS uses the global directly as shown below main_full_dss.c /* We are waiting for the test selection to be entered by the MSS. The DSS and MSS need
* to work in cojunction with each other. */
System_printf ("***************************************************\n");
System_printf ("Waiting for the test selection to be entered by MSS\n");
System_printf ("In CCS: Set the Global Variable 'gTestSelection'\n");
System_printf ("***************************************************\n");
while (1)
{
if ((gTestSelection >= 1) && (gTestSelection <= 9))
break;
Task_sleep(1);
} main_full_mss.c System_printf ("8. [Cooperative Mode] MSS Calibration Data Save/Restore\n");
System_printf ("9. [Cooperative Mode] DSS Calibration Data Save/Restore\n");
System_printf ("*************************************************\n");
System_printf ("Enter your choice: ");
if (gMCPIEnable == 0) /* Run test from CCS */
{
fgets (inputString, 3U, stdin);
gTestSelection = inputString[0] - '0';
} 4. Please allow me a few days to check on this. I will get back to you on items 2 and 4 next week. Regards -Nitin