This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I use the PCLK32M as peripheral clock?

As the product specification says,The HFCLK clock controller provides mang kinds clock to the system:

HCLK64M:64MHZ CPU clock PCLK1M:1MHZ peripheral clock PCLK16M:16MHZ peripheral clock PCLK32M:32MHZ peripheral clock

how to configure ? I can not find the functions to configure peripheral clock. And I can not find the register about HFCLK source in the product specification.

Thanks ,and best regards.

Parents
  • There are no user-selectable peripheral clocks on the nRF series. Internally various clocks may be generated from the HFCLK however each peripheral is clocked by a fixed divider of those clocks and you cannot change this. I believe most if not all peripherals are 16MHz clocked to match the nRF51 series (which had a 16MHz clock). For your purposes a peripheral is either on or it's off and its clock is fixed. The only thing to be aware of there is possibly 4 clock cycle stalls on register write/read operations as the MCU is running faster than the peripherals.

Reply Children
No Data
Related