nRF5340 Audio DK UART only works with j-link attached

I'm running the nrf5340_audio application on the nRF5340 Audio DK and have a UART wired to TP60 and TP61. As long as I have USB (onboard j-link) or my Segger j-link connected to the DK the UART shell works fine. However, when j-link is disconnected the UART stops working until j-link is reconnected. My prj.conf has the following:

    # Console related defines

    CONFIG_CONSOLE=y
    CONFIG_RTT_CONSOLE=n
    CONFIG_UART_CONSOLE=y
    # Shell related defines
    CONFIG_SHELL=y
    CONFIG_KERNEL_SHELL=n
    CONFIG_USE_SEGGER_RTT=n
    CONFIG_SHELL_PROMPT_UART=">"
    ## Disable logs on RTT
    CONFIG_SHELL_BACKEND_RTT=y
    CONFIG_SHELL_BACKEND_SERIAL=y
    CONFIG_SHELL_VT100_COLORS=y
    CONFIG_SHELL_STACK_SIZE=4096
    CONFIG_SHELL_CMD_BUFF_SIZE=128
I need to be able to use the UART with my custom board and audio application regardless of having a j-link connection. Is there a way around this?

Related