Hi,
I am using msp430f5338. In this i have developed the i2c driver. My system is running at 20MHz external crystal and the same is assigned to SMCLK (is used as a source to i2c clock). I have set the baud rate as per the formula
(systemclk / baudrate) = i2c clkspeed => (20MHZ / 200) = 100 kHz.
But if i observed the SCL frequency value in logic analyzer i am getting only as 74kHz. I am not able to found the reason . To confirm whether my system is running at 20MHz i have triggered a timer interrupt for 100ms, i am getting timer interrupt for every 100ms proper from this i can confirm the clock is running at 20Mhz.
Could anyone faced such akind of issue.
Thnaks in advance.