Hi,
I have FreeRTOS on LPC55S69 and use i2c in salve mode. As far as I know when master initiates a read over i2c and data on the slave is not ready, then the slave can pull low the clock until data gets ready then release it and let the master read it.
Is there a way to do this in FreeRTOS?
Is this possible when i2c slave NonBlocking mode is used?
Thanks,
Zoltan
Hi Zoltan Balogh,
This delay is called clock streching and the I2C module of the LPC55S6x is capable of do it without software intervention, for example, this is a capture of the I2C signal using the freertos_i2x example from the SDK:
Adding a delay between transmissions will not affect the communication and the clock will stay low until the next transmission:
Best Regard,
Alexis Andalon