Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using RTT with internal Clock

Hello,

I am currently experiencing some problems, when i try using RTT output and the internal clock.

When using an external crystal, everything is working.

The following two code snippets are the configurations i use respectively.

#define NRF_CLOCK_LFCLKSRC_RC   {.source        = NRF_CLOCK_LF_SRC_RC,            \
                                 .rc_ctiv       = 16,                                \
                                 .rc_temp_ctiv  = 2,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_500_PPM}

#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
                                 .rc_ctiv       = 0,                                \
                                 .rc_temp_ctiv  = 0,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}

I couldn't find any record specifying requirements for the clock to use RTT.

Any help would be appreciated.

Best regards,

Niclas

Parents Reply Children
Related