Tool/software: TI-RTOS
Hello,
my code already was working fine, and i could write on the PC's COM Port and receive data as well.
But now it doesn't work anymore. there may be a failure in the storage of the Drivers. I don't know.
So my Problem is all about the UART_open(unsigned int index, UART_Params *params) function.
It always returns NULL, but the only way it can do that ist by fulfilling the condition index >= UART_count
I know for sure that index is 0. And normally UART_count is set to 1 after UART_init(). But that is obiously not the case.
In my code i initialize the UART Interface as follows:
@code
UART_init();
UART_Handle Uhandle = UART_open(Board_UART, NULL);
if (!Uhandle)
{
System_abort("UART create failed");
}
@endcode
I am using the CC2650STK (Sensortag) with the Devpack_Debugger. I am running a modified version of the Project Zero, which works perfectly without the UART_open(() command.
Can someone please help me?
Thanks in advance!