Hi Erich,
Another strange problem after I copied PE components. I am using Freedom board KL05Z. I already had working code based on your accelerometer examples code (Thanks for your code). Then I created another project and copied PE components but somehow I2C code is not working at all. I could blink LED. When I debug it showed that the failure at following routine. I used same board for both projects. This is really cracking my head.
/* Send I2C address plus register address to the I2C bus *without* a stop condition */
res = CI2C1_MasterSendBlock(deviceData.handle, &addr, 1U, LDD_I2C_NO_SEND_STOP);
if (res!=ERR_OK) {
return ERR_FAILED;
}
Thanks,
Bryan