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

nRF log using Segger IDE

I'm trying to look at the nRF log for the temperature example I found in examples/peripherals using my nRF52840 development kit.

My laptop is windows and I have the DK plugged in via USB to my computer. I can't seem to find how to access the nRF log that I believe will have the output temperatures in it (I'm completely new to this!)

In the sdk_config.h file, UART is the one that is enabled (1). 

  • Hello,

    (I'm completely new to this!)

    Welcome! 

    I can't seem to find how to access the nRF log that I believe will have the output temperatures in it

    You are correct that the temperature is being outputted to the serial COM port. The necessary COM port configuration can be found in the temperature example documentation.
    If you are not familiar with using a serial terminal, I highly recommend looking into their use as they are an essential tool when developing embedded applications.
    Personally, I use the Termite Serial terminal from compuphase, but there are plenty of suitable options.
    Once you have the serial terminal up and running, you will just need to make the correct configuration as mentioned above(and selecting the right COM port) before you should start seeing messages appearing in your serial terminal.

    In the sdk_config.h file, UART is the one that is enabled (1).

    The LOGGER modules output stream is enabled by the NRF_LOG_BACKEND_UART_ENABLE define - which also warrants the rest of the UART defines in the sdk_config.

    Please do not hesitate to ask if you should encounter any issues or questions!

    Best regards,
    Karl

     

Related