Tool/software: TI-RTOS
Hi,
I generated the uart emulator driver using the latest SCS and have integrated it with my application. The API's such as scifUartTxPutChars( ) and others work well when called within the sensor controller task. However, when called from any other task, it does not work. I have been through the SCIF Driver - How to use document which does show the method to integration of the driver with the app and also how to manage running multiple tasks within the SC. But I did not find how we can call these API's within tasks that are running on the main processor.
One such case is shown below where I try to call the scif API in another task but its not working.
static void User_taskFxn(UArg a0, UArg a1)
{
scifUartTxPutChars(txBuff, len);
while(1)
{
scifUartTxPutChars(txBuff, len);
/* Now, can add code here to process multiple events */
}
}
Could anyone, please provide a bare minimum example on how to perform a simple write and read using these API's from within other tasks?. And please shed some light on how to do this.