Hi,
I tried to configure application core frequency from 128 MHz to 64 Mhz using thee function:
nrfx_clock_divider_set(NRF_CLOCK_DOMAIN_HFCLK,NRF_CLOCK_HFCLK_DIV_2);
but I've got an error: "This code is not supposed to be compiled when neither POWER nor CLOCK is enabled."
I've checked on the forum and I found this thread:
https://devzone.nordicsemi.com/f/nordic-q-a/62533/using-16mhz-spim-on-nrf5340-pdk
The author mentioned that he set the clock configuration directly - How can I do that without throwing the error?
Thanks,
Marta