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

Using a different frequency LFXO with nRF53

Hi everyone,

We are using the nRF5340 and need to use an LFXO, not just for BLE, but also for the real-time clock that our product should provide.

Due to other requirements, the common frequency of 32768 Hz is not very convenient for us.

Is it possible to run the LF clock with a crystal frequency of 38400Hz?  This would suit us better as it is divisible by typical "old-school" communication baud rates such as 1200 baud, 1600 baud, 2400 baud.

We would expect the LF oscillator circuit in the nRF53 to be able to handle this frequency. We are aware that this is outside of specification, but are there any specific reasons that would prohibit this?

However we see another problem with the BLE stack, namely the use of the LF clock for scheduling connection intervals.

Does the Nordic Softdevice stack support an LFXO clock different from 32768Hz? We only found the option to choose between LFXO and LFRCO, but is there a way to set a different frequency?

Alternatively, we might use the Zephyr Open-Source stack. The file zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/ticker.h contains constants and conversion macros. Is it enough to change these, or are there other places where the stack assumes a 32768Hz clock?

Any hints are appreciated.

Best regards,

--Stephan Walter

Related