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

change HFXO from HFINT

hello, I want to use HFXO with high accuracy. How can I switch between HFINT and HFXO?

than you,

Parents Reply
  • You can use driver available in SDK (nrf_drv_clock_hfclk_request), you can use HAL available in SDK( nrf_clock_task_trigger(NRF_CLOCK_TASK_HFCLKSTART) ), you can do it directly on the registers (something like NRF_CLOCK->TASKS_HFCLKSTART = 1) if i remember correctly... ).

    You just operate on it like on any other peripherals. There is documentation of SDK available on infocenter, and also there are clock examples available in SDK - you should just check it.

Children
No Data
Related