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

advertising issue

hi 

i am working on custom card in which nRF52832 is used.i am facing issue with advertising if i uncomment uart_init(); .it does not advertise if i uncomment uart_init();

// Initialize.
// uart_init();
log_init();
timers_init();
power_management_init();

uart and advertising working separately.

err_code returned by  uint32_t err_code = ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST);
APP_ERROR_CHECK(err_code);  is  0;

  • Hello,

    Maybe the UART RX pin is floating on your board? That will often lead to an APP_UART_COMMUNICATION_ERROR event as noise is induced on the input. You can try to comment this line to confirm:

            case APP_UART_COMMUNICATION_ERROR:
                //APP_ERROR_HANDLER(p_event->data.error_communication); <-- Ignore communications error
                break;

    Best regards,

    Vidar

Related