Hi
I have a Stellaris LX4F232 as a master I2C and the Concerto (ARM) as a slave I2C.
The Master sends 1 byte every 1 second on the I2C port, this is working good (I can see it in the Oscilloscope).
Now my problem is that nothing is recieved on the Slave side. I have tried polling and Interrupt but none work.
My Slave port init code is:
SysCtlPeripheralEnable(SYSCTL_PERIPH_I2C0);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);
GPIOPinConfigure(GPIO_PB2_I2C0SCL);
GPIOPinConfigure(GPIO_PB3_I2C0SDA);
GPIOPinTypeI2C(GPIO_PORTB_BASE, GPIO_PIN_7 | GPIO_PIN_6);
I2CSlaveEnable(I2C0_SLAVE_BASE);
I2CSlaveInit(I2C0_SLAVE_BASE, SLAVE_ADDRESS);
I2CMasterSlaveAddrSet(I2C0_MASTER_BASE, SLAVE_ADDRESS, false);
IntEnable(INT_I2C0);
I2CSlaveIntEnableEx(I2C0_SLAVE_BASE, I2C_SLAVE_INT_DATA);
What am I missing ?
Thank's, Nir.