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

Zephyr - How to Change frequency.

Hello,

I am using the nRF52840 DK board and writing code in Zephyr and I want to change the clock frequency. Currently, I guess by default it is 32.768KHz How can I change to a high-frequency clock (HFCLK), high-frequency 192 MHz clock (HFCLK192M)?

I have tried to set below in prj.conf file:

CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768
CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768

But it seems that it is not accepting a value greater than 32768.

Thanks in advance

Thanks and regards,

Parents Reply Children
Related