Hi Christopher,
I am using KDS 1.1.1, the core clock is 40MHz and bus clock is 20MHz.
I am using this code (libohiboard library): https://github.com/ohilab/libohiboard/blob/develop/source/i2c_KL15Z4.c
and in the code I write:
/*************************** CODE ******************************/
uint8_t EE893_rxMessage[2];
Iic_Config co2IicConfig = {
.sclPin = CO2_SCL_PIN,
.sdaPin = CO2_SDA_PIN,
.baudRate = 2000,
.devType = IIC_MASTER_MODE,
.addressMode = IIC_SEVEN_BIT,
};
Iic_init(IIC1,&co2IicConfig);
Iic_readBytes (IIC0,0x71,EE893_rxMessage,2,IIC_STOP);
/*************************** CODE ******************************/
Thanks
Marco