Hi Team,
In I2C driver, I2CMaster_transfer function at C:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\i2c\src\i2c_master.c
The code use the block mode and wait forever here to get the transferComplete signal. Is the wait forever have the risk? the comments said it will unblock on error. Can you please provide the error return reason and timeout process that can avoid block the core here. Thanks.
/* Block until the transaction is complete. This will unblock on errors or sucessful completion */
SemaphoreP_pend(ptrI2CMCB->transferComplete, SemaphoreP_WAIT_FOREVER);
Please let me know if you have any further questions.
Thanks.
Wesley