Tool/software: TI-RTOS
Hello,
My solution needs to add a 433 wireless transceiver module. How to create a new task to transfer data to the outside?
Thanks~
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI-RTOS
Hello,
My solution needs to add a 433 wireless transceiver module. How to create a new task to transfer data to the outside?
Thanks~
Hi,
Please refer this thread asking the same question-
https://e2e.ti.com/support/sensors/f/1023/t/659529
As given in mss_main.c file where it creates a Task, you can take this as a reference to create your own task where that function will transfer the data as available.
In that function, it can block on a semaphore [Semaphore_pend] (to wait for transfer data to be available) and at another point, you need to signal this semaphore if data is available to send (Semaphore_post).
Task_Params_init(&taskParams);
taskParams.priority = 7;
taskParams.stackSize = 2*1024;
Task_create(DataTransferFunction, &taskParams, NULL);
Regards,
Jitendra