Alexis Cogrel <alexis.cogrel@...>
Hello Zephyr Community,
We work on board based on NRF52840 using zephyr. We are encountering problems to communicate with a device using UARTE at 9600 bit/s.
We observe that the current speed is not properly at 9600 bit/s. We observe a shift error around 2%. When we program the UARTE properly at 9600 bit/s by setting BAUDRATE register value, the communication is good with our device.
To our mind, the shift error is due to the clock source (HFCLOCK) from internal (HFINT tolerance typ 1.5% to 8% max) is selected by default and we would like to use clock from external crystal (HFXO) for better performance.
Currently, setting clock source from external crystal seems to be not easily and maybe not implemented yet. Is the driver available?
If yes someone can help me to set clock source to external XTAL (HFXO)?
Embedded software engineer