Hi there!
I am trying to combine the SPI and ble_app_uart examples.
However, when I add the SPI part to the uart, it shows this:

I believe there is some problem with the app_timer/RTC. How should I deal with this problem?
Thanks!
Hi there!
I am trying to combine the SPI and ble_app_uart examples.
However, when I add the SPI part to the uart, it shows this:

I believe there is some problem with the app_timer/RTC. How should I deal with this problem?
Thanks!
Hi,
Which SDK version are you using?
The log line you are seeing is printed by drv_rtc_init() which is called from the implementation of app_timer_init(). As you see this repeatedly, there is apparently a reset loop of some sort. The issue does not have to be within the app_timer though (but could be).
I suggest you first make a debug build (if using a project based on a SDK Segger Embedded Studio project, just select "Debug" from the build configuration dropdown). That will enable more error logging and asserts. With some luck, you will get a log print indicating that an error was caught at a specific line in a specific file. If not, you need to debug a bit more using classic debug techniques to narrow down. For instance, move breakpoints around to see how far execution reaches (or simply step in the code if you are not using a SoftDevice - if you are, stepping will make the SoftDevice assert).
Hi,
Could you help me with this? I still cannot fix the issue.
Thanks!
Hi,
Could you help me with this? I still cannot fix the issue.
Thanks!
Hi,
I am sorry for the delay. DevZone has had reduced staffing during Easter.
I see you wrote that you solved the issue in this post. The NRF_LOG_DEFAULT_BACKENDS_INIT() will initialize the log backends you have enabled in sdk_config.h. If you have enabled the UART log backend there that will not work as you are already using the UART peripheral so it cannot also be used by the logger module (the nRF52832 only has a single UART(E) peripheral).