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

UART problem

Hi,

I am having problem with UART on both NRF52 Devkit nad NRF52480 dongle. If I start from the example:

nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_uart

changing there uart parameters:

    app_uart_comm_params_t const comm_params =
    {
        .rx_pin_no    = 29,
        .tx_pin_no    = 31,
        .rts_pin_no   = NULL,
        .cts_pin_no   = NULL,
        .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
        .use_parity   = false,
#if defined (UART_PRESENT)
        .baud_rate    = NRF_UART_BAUDRATE_115200
#else
        .baud_rate    = NRF_UARTE_BAUDRATE_115200
#endif
    };

shortcutting the pins and connecting with the phone nRF UART app to the device, I would expect to get back what I send to the device, but it only disconnects. Changing PINs does not help. Where is the problem with the code?

Parents Reply Children
No Data
Related