How to get exact clock frequency (SCL) ?

If you show us your code we may be able to help.

...R