Part Number: TM4C123GH6PM I'm using one of the I2C module to connect to the TI ADS 1110 ADC. Currently, the device has not yet been connected, and my application gets stuck in an infinite loop when attempting to fetch new I2C data. My I2C receive function is as follows: The code gets stuck in the while (I2CMasterBusy(I2C0_BASE)) loop. I tried the suggested solution of configuring the I2C Master Timout using I2CMasterTimeoutSet(I2C0_BASE, 0x7d) , but that doesn't seem to work, or i'm not using it correctly. So how exactly do I get out of this loop if the I2C line is not connected? If I should use a timeout, what would be the recommended minimum amount of time after which I should abandon the data transaction - so that the remainder of my application can continue to run unobstructed. Any help would be appreciated. Regards, Ksawery
↧