Hello, guys.
We want to use libuarte - advanced UARTE driver in our current application developed for nRF52840 with SDK 17.0.2.
We can successfully run libuarte example located under \examples\peripheral\libuarte
. However, the trouble comes when we want to merge this example in an environment that uses SoftDevice and app_timer modules.
I noticed that other people faced similar issues as well (thread).
What would be the best way to merge libuarte into environment that uses SoftDevice and app_timer?
I noticed that libuarte example uses the following drivers:
Those drivers are for the case when SoftDevice is not present. In the presence of SoftDevice, what should we use?
I used
When I merge libuarte example into my environment that contains SoftDevice and app_timer modules, and use Timer 2 and RTC 2 for NRF_LIBUARTE_ASYNC_DEFINE:
nrf_libuarte_async_init() function returns error code 7 which should be NRF_ERROR_INVALID_PARAM according to nrf_error.h file.
Do you have any idea what I am doing wrong?
In this thread, there is a mention that NRFX_PRS_BOX_4 should be set to disabled. Does that impliy the following content into sdk_config.h file:
Thanks in advance for your time and efforts.
Cheers,
Bojan.