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

nRF52832 High Frequency Clock selection

I've spent some time searching and haven't found a definitive answer or anything obvious in the code. I'm developing the firmware for my application on the nRF52 DK, which looks like it has an external oscillators for the LF and HF clock. The module I'm using in the actual product only has an external oscillator for the LFCLK source.

What do I need to do to insure my firmware will work on the target board, using the internal HF clock source? I've searched the documentation and haven't found the answers...

Thanks, Josh

Parents
  • Rather unlikely that any module only has an LFCLK source, without an HFCLK source you can't use bluetooth. So perhaps you want to go check that again.

    And a search in the forum questions for 'LFCLK softdevice' will throw up at least 2 messages a week telling you what needs to be changed if you don't have an LFCLK to make bluetooth run. IT's also documented in the softdevice enable call.

  • you should go look at the documentation again as it clearly tells you the main crystal is integrated on the board and even mentions the 32MHz. There's no LFCLK, they just provide a connection for you to add your own, you can see that on the pinout. Not only that they also tell you for low power operation to add one and that's shown in their suggested schematic.

    So you have an HFCLK and not and LFCLK which is why y9our board doesn't start, you have to change the startup to use a different LFCLK source, as mentioned in all the LFCLK messages you found earlier.

Reply
  • you should go look at the documentation again as it clearly tells you the main crystal is integrated on the board and even mentions the 32MHz. There's no LFCLK, they just provide a connection for you to add your own, you can see that on the pinout. Not only that they also tell you for low power operation to add one and that's shown in their suggested schematic.

    So you have an HFCLK and not and LFCLK which is why y9our board doesn't start, you have to change the startup to use a different LFCLK source, as mentioned in all the LFCLK messages you found earlier.

Children
No Data
Related