Other Parts Discussed in Thread: MMWAVEICBOOST
Hello,
I'm working to implement an I2C interface on the IWR6843AOPEVM. I'm using the 3D people tracking code base. I have used the information in C:/ti/mmwave_sdk_03_06_01_00-LTS/packages/ti/drivers/i2c/docs/doxygen/html/_i2_c_master_driver.html.
I was having the same problem as on the related thread where the code stopped running when it reached the line:
ret = I2C_transfer(handle, &i2cTransaction);
I realized that I need to create the RTOS task for I2C before calling the I2C_tranfer function.I see in mss_main.c where tasks are created for other drivers such as DMA based UART data transfer. I also see in C:\ti\mmwave_sdk_03_06_01_00-LTS\packages\ti\drivers\i2c\test\master.c line 554 the task intialization as below:
/* Initialize the Task Parameters. */
Task_Params_init(&taskParams);
taskParams.stackSize = 6*1024;
Task_create(Test_initTask, &taskParams, NULL);
I do not want to use the Test_initTask in my code because I don't want the test functionality, only the I2C driver functionality.
Is there a driver function for I2C available that I can use in place of Test_initTask?
Thanks,
David