LPC43xx CMSIS Driver Library - Bug in lpc43xx_i2c.c

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC43xx CMSIS Driver Library - Bug in lpc43xx_i2c.c

356 Views
lpcware
NXP Employee
NXP Employee
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
Labels (1)
0 Kudos
0 Replies