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

Nrf52 Software Serial

Hi,

I'm using NRF52 and used inbuilt UART for communication with host controller.now i need one more uart port for log printing.

so how we can achieve on NRF52?

Thanks.

  • for log printing.

    Why not just use Segger RTT via SWD port?

  • Hello,

    The nRF52832 only has one UART instance. You may not use it for both logging and device interfacing at the same time.
    As suggests, you should enable the RTT_backend for the logger module, to see your logs in the Segger Embedded Studio debug terminal, or on the standalone J-Link RTT Viewer desktop application.
    Configuration of the RTT Backend for the logger module is demonstrated in the ble peripheral Nordic UART example, please see its sdk_config for further detail.

    Best regards,
    Karl