Part Number: TDA3MV
Tool/software: TI-RTOS
Hi,
First explain my purpose,
without stopping the main chain,
i need a thread to continuously receive gpio signals,
like below,
while(1)
{
receive gpio signals
do something......
}
I found that in rtos, BspOsal_taskCreate is used to implement pthread function similar to Linux,
but I have encountered a situation,
if I do not write Task_sleep(1) in the while;
while(1)
{
receive gpio signals
do something......
Task_sleep(1);
}
the program seems to be stuck after it is executed once,
but because this line is executed,
my task can only be executed 1000 times in 1 second,
this frequency cannot achieve the purpose,
Any comments?