lpcware

LPC43xx CMSIS Driver Library - Bug in lpc43xx_i2c.c

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by gregd on Fri Sep 28 06:12:49 MST 2012
I think I have found a bug in the I2C_Init function when initializing I2C1 for 100 KHz.

I think the following code needs to be removed from the function:

/* Check if I2C1 run fast mode*/
  if(clockrate != 400000)
  return;

Thanks,
Greg Dunn

Outcomes