This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to add clock function to ble_app_uart? (SDK12 with nRF51DK)

I need to add a clock function to the ble_app_uart example (SDK12). Where can I find a hint on how to do it? Do I need an external 32768Hz quartz? I wanted to derive from the 16 MHz quartz instead to save cost.

Parents
  • Thanks Edvin.

    I need a Date and Clock with some accuracy for my application because I have to run a schedule according to the user needs. This schedule is set via Bluetooth and it may take several months until the user sets a different schedule again, so the clock has to be close to exact.

    I wanted to use the synthesized clock so I think all I need to do is set the source to NRF_CLOCK_SRC_SYNTH.

    The next question is where can I find information about the clock function? I need to know how I can count the time and date, including daylight saving and so on.

    Sorry but I always made the complete program in all my applications so I am not used to using code already made by someone else.

Reply
  • Thanks Edvin.

    I need a Date and Clock with some accuracy for my application because I have to run a schedule according to the user needs. This schedule is set via Bluetooth and it may take several months until the user sets a different schedule again, so the clock has to be close to exact.

    I wanted to use the synthesized clock so I think all I need to do is set the source to NRF_CLOCK_SRC_SYNTH.

    The next question is where can I find information about the clock function? I need to know how I can count the time and date, including daylight saving and so on.

    Sorry but I always made the complete program in all my applications so I am not used to using code already made by someone else.

Children
No Data
Related