clock frequency  of i2c in LPC1347

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by sariga on Mon Mar 04 04:03:08 MST 2013
hi ,
i am new to this forum aswell as to lpc microcontrller.i'm using lpc1347 to interface an accelerometer (mma8452q) thru i2c interface which is by default in 100khz..trouble is i dont get from datasheet how to set the clock of i2c..i hav a 12MHz crystal oscillator..know how to set sclh and scll..but how to set pclki2c ? i got this formula,
and lpc1347 in standard/ fast mode (by default)

I 2 C bitfrequency =            PCLKI2C
                              SCLH + SCLL

sorry if i sound too silly, but plzz help..