I downloded the application note from Philips site viz. AN10369_1.pdf, in which I2C master code is given (interrupt based). I have some problems with its clock. In the application note ,
they have mentioned directly
bit freq = pclk/(I2CSClkH + I2CSClkL)
so if my pclk is (cpuclk/4)i.e. 60/4 =15 MHz then for bit frequency of 100 KHz I am getting (I2CSClkH + I2CSClkL) tas 150. But after execution i am not getting the 100 KHz clock. I used pull up resistors of 4.7 K on SDA & SCLK pins. Has someone gone through such application ? Please share if u faced the similar kind of application. thanks