My goal is to generate the clock signal of some particular frequency. I am using nrf51822 DK and used the timer example code from github: github.com/.../main.c. With timer prescalar set to 0 , the output frequency should be 16Mhz. but the output frequency I am getting is 243hz. And as i increase prescalar value the output frequency keeps decreasing from 243 hz. Can anyone tell me what might be the problem? I used oscilloscope to measure the frequency at the output pin at which the signal is generated.