Hi, I was trying to run the I2C example in the SW-TM4C-DRL-UG-2.1.0.12573.pdf. The problem is it only send out the address. Below is the code and test results. There must be something very simple that I am missing.
Thank you
void TEST () {
//
// Initialize Master and Slave
//
I2CMasterInitExpClk(I2C0_BASE, 120000000, true);
//
// Specify slave address
//
I2CMasterSlaveAddrSet(I2C0_BASE, 0x3B, false);
//
// Place the character to be sent in the data register
//
I2CMasterDataPut(I2C0_BASE, 'Q');
//
// Initiate send of character from Master to Slave
//
I2CMasterControl(I2C0_BASE, I2C_MASTER_CMD_SINGLE_SEND);
//
// Delay until transmission completes
//
while(I2CMasterBusBusy(I2C0_BASE))
{
}
}