We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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