summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 3529f7c)
raw | patch | inline | side by side (from parent 1: 3529f7c)
author | M V Pratap Reddy <x0257344@ti.com> | |
Fri, 11 Dec 2020 06:47:26 +0000 (12:17 +0530) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Fri, 11 Dec 2020 14:26:40 +0000 (08:26 -0600) |
- CSIRX_getComplexIOpowerStatus function is taking few secs
to complete the execution as part of csi-rx diagnostic test.
This behaviour is observed while using the OSAL delay function.
Removed the osal delay which completes the CSIRX_getComplexIOpowerStatus
quick.
to complete the execution as part of csi-rx diagnostic test.
This behaviour is observed while using the OSAL delay function.
Removed the osal delay which completes the CSIRX_getComplexIOpowerStatus
quick.
packages/ti/board/diag/csirx/src/csirx_test_tpr12.c | patch | blob | history |
diff --git a/packages/ti/board/diag/csirx/src/csirx_test_tpr12.c b/packages/ti/board/diag/csirx/src/csirx_test_tpr12.c
index 2df244eccd88ebfb3b3badc45539a6e814da9bc6..32c0ac9ce5c105dbb9981f5bf6eefcae4bcd26c9 100644 (file)
CSIRX_InstanceInfo_t instanceInfo;
bool isTestPass = true;
CSL_rcss_rcmRegs *pRcssRcmRegs = (CSL_rcss_rcmRegs *)CSL_RCSS_RCM_U_BASE;
- volatile bool isComplexIOresetDone, isForceRxModeDeasserted;
- volatile uint32_t numComplexIOresetDonePolls, numComplexIOPowerStatusPolls,
- numForceRxModeDeassertedPolls;
+ volatile bool isComplexIOresetDone;
volatile uint8_t isComplexIOpowerStatus;
- volatile bool isForceRxModeOnComplexIOdeasserted;
/* get ping-pong buffer addresses based on the RAM type and context */
BoardDiag_getBuf(BOARD_DIAG_CSIRX_TEST_HWARAM, &pingBuf, true);
}
UART_printf("Wait till the complex IO power up!\n");
- numComplexIOPowerStatusPolls = 0;
do
{
errorCode = CSIRX_getComplexIOpowerStatus(handle,
isTestPass = false;
goto exit;
}
- if (isComplexIOpowerStatus == 0)
- {
- Osal_delay(1);
- }
- numComplexIOPowerStatusPolls++;
+
} while((isComplexIOpowerStatus == 0));
UART_printf("Complex IO Powered up.Run FE binrary config now\n");
/* config common */
}
/* Wait until complex IO reset complete */
- numComplexIOresetDonePolls = 0;
do
{
errorCode = CSIRX_isComplexIOresetDone(handle,
default BIOS tick = 1 ms */
Osal_delay(1);
}
- numComplexIOresetDonePolls++;
}while((isComplexIOresetDone == false));
if(isComplexIOresetDone == false)