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

NRF_LOG_BACKEND_UART_TX_PIN 6 with libuarte ?

Dear Members,

Is it possible that

I use

NRF_LOG_BACKEND_UART_TX_PIN 6 with libuarte with UART0 TX pin 6 ? thanks

Parents
  • Hi,

    NRF_LOG UART backed is hardcoded to use UART(E) instance 0. It is not possible to use any other UART library for UART(E) instance 0 together with NRF_LOG when the UARt backend is enabled. You can also not share the same GPIO for the UART TX pin, as NRF_LOG does not have any options to uninitialize the library/backend.

    If you want to use the NRF_LOG UART backend together with libUARTE, I would recommend you to configure libUARTE on UARTE1 instance and use a different TX pin.

    Best regards,
    Jørgen

Reply
  • Hi,

    NRF_LOG UART backed is hardcoded to use UART(E) instance 0. It is not possible to use any other UART library for UART(E) instance 0 together with NRF_LOG when the UARt backend is enabled. You can also not share the same GPIO for the UART TX pin, as NRF_LOG does not have any options to uninitialize the library/backend.

    If you want to use the NRF_LOG UART backend together with libUARTE, I would recommend you to configure libUARTE on UARTE1 instance and use a different TX pin.

    Best regards,
    Jørgen

Children
Related