AnsweredAssumed Answered

K82 : I2C freertos driver , infinite timeout ?

Question asked by Eugene Hiihtaja on Apr 24, 2019
Latest reply on Aug 2, 2019 by Daniel Chen

Hello !


I can see I2C master freertos driver fsl_i2c_freertos.c has infinite time to wait end of transaction :


/* Wait for transfer to finish */
xSemaphoreTake(handle->semaphore, portMAX_DELAY); // forever ?


From other side HW timeout(s) for I2C peripheral is not set anywhere in driver.


Could it possible to guide how-to set properly all HW timeouts for master I2C interface and

modify  (if need) i2c freertos driver for work properly with I2C peripheral when HW timeouts are configured.


Does exist any Application Note for configure I2C HW timeouts ?


Thank you !