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

Cannot receive UART on ble_app_uart with nRF52382

I am running the ble_app_uart example in SDK 13.0 with nRF52382.

  • First issue

The app can receive data via UART only when I use "Termite" as a terminal emulator. If I use "TeraTerm", "Putty" and "RealTerm" to send data, it seems that APP_UART_DATA_READY event is not occured in uart_error_handle().

  • Second issue

I configured the app to use even parity as follows.

static void uart_init(void)
{
    uint32_t                     err_code;
    const app_uart_comm_params_t comm_params =
    {
        .rx_pin_no    = RX_PIN_NUMBER,
        .tx_pin_no    = TX_PIN_NUMBER,
        .rts_pin_no   = RTS_PIN_NUMBER,
        .cts_pin_no   = CTS_PIN_NUMBER,
        .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
        //.use_parity   = false,
        .use_parity   = true,
        .baud_rate    = UART_BAUDRATE_BAUDRATE_Baud115200
    }; 

The terminal emulator setting was changed to even parity. Then, I tried to send data via UART from it, the app was rebooted. Even if I used "Termite" as a terminal emulator, it happened.

I would appreciate if you could give me any advice.

Related