I have set up LPI2C1 as Master but get no outputs when attempting to send. I have pull-up resistors and the signals are connected to 1 slave device only. Please see below. What are some possible reasons for this problem?


Initialization:
/* set I2C1 interrupt */
IntCtrl_Ip_EnableIrq(LPI2C1_IRQn);
IntCtrl_Ip_InstallHandler(LPI2C1_IRQn, LPI2C1_Master_Slave_IRQHandler, NULL_PTR);
/* Init lpi2c in master mode */
Lpi2c_Ip_MasterInit(LPI2C_CHANNEL_0, &I2c_Lpi2cMasterChannel0);
Send data:
boolean I2C_read_fault_status(uint8 *rx_buffer)
{
TxBuff[0] = 0x78;
if (LPI2C_IP_SUCCESS_STATUS == Lpi2c_Ip_MasterSendData(LPI2C_CHANNEL_0, (uint8 *)&TxBuff[0], 1U, FALSE))
{
LM5171_data_ptr = rx_buffer;
LM5171_data_len = 1;
return TRUE;
}