This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can I use UART for NRF debug logging and for own application purposes?

I am debuggin using NRF_LOG over UART. Now I want to implement own UART functionality e.g. to configure the firmware. Is it possible to use the UART for both purposes?

Parents Reply
  • I am struggling with the same. I had to comment out all NRF_LOG statements to build when I had my own UART. However, there is no NRF_CLI_UART related stuff in my sdk_config.h file.

    The UART in my case is for communicating with another MCU. On the DK that UART is not used but I use button presses to simulate it.

    I suppose the simplest solution is to conditional compile for DK or actual production device (where NRF_LOG cannot be used).

Children
No Data
Related