This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

can't integrate multiconnect with uart

I fail to integrate “ble_app_multilink_central” and the uart portion of “ble_app_uart_c”

I have checked other posts and it is inconclusive if and how they got the integration to work.

Something in the multi initialization is initializing hardware that is later trying to be initialized by the uart (perhaps FIFO). What can I do?

I call uart_init() after other modules in ble_app_multilink_central main(). log_init(); timer_init(); leds_init(); buttons_init(); ble_stack_init(); gatt_init(); db_discovery_init(); lbs_c_init(); ble_conn_state_init(); map_Init();

uart_init();

uart_init() errors in the call to:

APP_UART_FIFO_INIT(&comm_params,
                   UART_RX_BUF_SIZE,
                   UART_TX_BUF_SIZE,
                   uart_event_handle,
                   APP_IRQ_PRIORITY_LOWEST,
                   err_code);

The location of the error inside app_uart_init() where a call to nrf_drv_uart_init() returns an err_code of 1 “NRF_DRV_STATE_INITIALIZED” // initialized but powered off

a non error would occur only if NRF_DRV_STATE_UNINITIALIZED. if (p_cb->state != NRF_DRV_STATE_UNINITIALIZED)

That can I do to integrate multi-connect and uart?

Parents Reply Children
No Data
Related