If the bus has issues like copper connection is cut on the I2C bus, then while I2CMasterBusy() seems to get stuck in an infinite loop. Is there a best practice way to keep
I2CMasterSlaveAddrSet(I2C0_BASE, SERIAL_SLAVE_ADDRESS, false); I2CMasterDataPut(I2C0_BASE, 0xFA); I2CMasterControl(I2C0_BASE,I2C_MASTER_CMD_SINGLE_SEND); while(I2CMasterBusy(I2C0_BASE));
from getting stuck. My instinct is to set a limit to how long it can be in the while loop using a timer interrupt.