Hi
We did manage the Firmware migration from TD1208 to TD1508. For both firmware we use SDK6 for building.
We observe some regression on I2C communications between the TD1508 chip and external I2C based sensors. We can not manage any I2C transfert.
Is there any change in the way to initialise or manage the I2C bus with the new TD1508 chip?
Here is what we use for initialization:
CMU_ClockEnable(cmuClock_I2C0, true);
GPIO_PinModeSet(I2C_SDA_PORT, I2C_SDA_PIN, I2C_SDA_MODE, I2C_SDA_DOUT);
GPIO_PinModeSet(I2C_SCL_PORT, I2C_SCL_PIN, I2C_SCL_MODE, I2C_SCL_DOUT);
I2C0->ROUTE |= I2C_ROUTE_SDAPEN | I2C_ROUTE_SCLPEN;
const I2C_Init_TypeDef init = I2C_INIT_DEFAULT;
I2C_Init(I2C0, &init);
I2C_Enable(I2C0, true);
I2C_BusFreqSet(I2C0,
0,
10000,
i2cClockHLRStandard);