I have searched all through these forums and not found any answers that have helped so far.
I am using TI-RTOS 2.16_01_14 with TivaWare 2.1.1.71b. It seems that my calls to the I2C API functions are hit or miss for whether they actually write to the register.
I am watching the registers while running and while stepping but the MDR never changes when Master Data Put is used.
Code snippet:
// Set slave address and the write bit
I2CMasterSlaveAddrSet(pBusControl->peripheralMemoryMap, pBusControl->address, false);
// Set I2C Bus timeout
I2CMasterTimeoutSet(pBusControl->peripheralMemoryMap, 0xFF);
// Set the data byte to specify register to be read
I2CMasterDataPut(pBusControl->peripheralMemoryMap, pBusControl->transmitBuffer[0]);
Neither MCLKOCNT or MDR get set after those functions.
Anyone else have this issue and figure it out? Am i configuring something wrong?
//
// Configure the GPIO Pin Mux for PA2
// for I2C8SCL
//
MAP_GPIOPinConfigure(GPIO_PA2_I2C8SCL);
MAP_GPIOPinTypeI2CSCL(GPIO_PORTA_BASE, GPIO_PIN_2);
//
// Configure the GPIO Pin Mux for PA3
// for I2C8SDA
//
MAP_GPIOPinConfigure(GPIO_PA3_I2C8SDA);
MAP_GPIOPinTypeI2C(GPIO_PORTA_BASE, GPIO_PIN_3);