Part Number: TMS320C5545
Tool/software: Code Composer Studio
Hello,
I am working on the uart_test program from the diagnostic folder for the c5545 booster pack and I would like the program to function without having to connect the DSP to the MSP430. I am trying to use UART to have the DSP manipulate data and send it back using the serial connectors. It is important for me to not have the MSP connected while running the program.
Here is the main.c file that I have been using:
int main(void)
{
CSL_Status status;
CSL_UartSetup testArgs;
testArgs.clkInput = 6000000;
testArgs.baud = 9600;
testArgs.wordLength = CSL_UART_WORD8;
testArgs.stopBits = 0;
testArgs.parity = CSL_UART_DISABLE_PARITY;
testArgs.fifoControl = CSL_UART_FIFO_DMA1_ENABLE_TRIG14;
testArgs.loopBackEnable = CSL_UART_NO_LOOPBACK;
testArgs.afeEnable = CSL_UART_NO_AFE;
testArgs.rtsEnable = CSL_UART_NO_RTS;
/* Initialize the platform */
status = initPlatform();
if(status != Platform_EOK)
{
C55x_msgWrite("Platform_init failed\n\r");
return (-1);
}
status = uartTest(&testArgs);
if(status != CSL_SOK)
{
return (-1);
}
return (0);
Do you see if there is anything in the code above that states the MSP has to be connected for the program to run?
Since the led_test program in the c5545 diagnostic folder functions without having the MSP connected, we think that the functionality should be there to do the same for uart_test.
Regards,
Tirth Bhuta