enable hfclock on nRF53

Hi there,

I'm using a nRF5340 to generate an 8MHz signal and would like to force the HFXO to always be used as the HFINT is not accurate enough.
I have verified this with some simple code:

nrfx_clock_hfclk_start();
while (nrfx_clock_hfclk_is_running())
    ;
// generate clock

In the complete application the cpunet should be running (BLE).
What would be the best way to achieve this? Using the MPSL?

Parents Reply Children
Related