Hi,
I am using the USBHAL_initClocks(mclkfreq) function for the clock,
in case i put the figure for mclkfreq as 8000000 and I put the UCB0BRO as 8 I get the SCLK frequency as 1 MHz - correct as per the calculation but when I put the mclkfreq value as 24000000 and put the UCB0BR0 as 24 I get the SCLK frequency as 500 KHz ( half of the expected value) I am not able to fihure out why is this happening.
Could some one please explain me the logic of this variation?
Regards
Viney Chaddha