set freq at clock start