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.

why i2c spi are must be defined inside a task??

I am using TI RTOS and when i tried to initialization and open a i2c channel in i2c_init function it is not successful.

later on i came to know the i2c channel has to be initialized inside the task. and i am stuck here??

THANKS IN ADVANCE