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

unexpected error from APP_UART_INIT

SDK 12.2 on nrf52 custom board

uint32_t err_code;
const app_uart_comm_params_t comm_params =
{
    RX_PIN_NUMBER,
    TX_PIN_NUMBER,
    RTS_PIN_NUMBER,
    CTS_PIN_NUMBER,
    APP_UART_FLOW_CONTROL_DISABLED,
    false,
    UART_BAUDRATE_BAUDRATE_Baud57600
};
APP_UART_INIT( &comm_params,
    uart_event_handler,
    APP_IRQ_PRIORITY_LOWEST,
    err_code);
SEGGER_RTT_printf(0,"APP_UART_INIT returned %d\r\n",err_code);

returns 7 which does not seem to be an expected error code according to doc

where is the complete list? thx.

Related