Part Number: IWR1443
Hi
I am working on IWR1443 custom board,I successfully bring up the board and its running demo code. (Tested via UART)
We have an RS485 interface for both config port and Data port. For this, I added below code in cli.c, after added I compiled cli library too.
"ti/mmwave_sdk_02_01_00_04/packages/ti/utils/cli/cli.c"
void CLI_write (const char* format, ...)
{
GPIO_write (SOC_XWR14XX_GPIO_0, 1U); // RS485 transmit Mode
va_list arg;
char logMessage[256];
int32_t sizeMessage;
/* Format the message: */
va_start (arg, format);
sizeMessage = vsnprintf (&logMessage[0], sizeof(logMessage), format, arg);
va_end (arg);
/* Log the message on the UART CLI console: */
if (gCLI.cfg.usePolledMode == true)
{
/* Polled mode: */
UART_writePolling (gCLI.cfg.cliUartHandle, (uint8_t*)&logMessage[0], sizeMessage);
}
else
{
/* Blocking Mode: */
UART_write (gCLI.cfg.cliUartHandle, (uint8_t*)&logMessage[0], sizeMessage);
}
GPIO_write (SOC_XWR14XX_GPIO_0, 0U); // RS485 receive Mode
}
After these changes, the board is not booting up, kindly help us to resolve this issue.
SDK Version: mmwave_sdk_02_01_00_04
Regards,
Ravi