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

APP_UART_COMMUNICATION_ERROR

Hello, I have problem when trying to use non default pins for uart.

This is what i got:

UART:WARNING:Function: nrf_drv_uart_init, error code: NRF_SUCCESS.
UART:INFO:Transfer rx_len: 1.
UART:INFO:Function: nrf_drv_uart_rx_for_uarte, error code: NRF_SUCCESS.
UART:INFO:Transfer rx_len: 1.
UART:INFO:Function: nrf_drv_uart_rx_for_uarte, error code: NRF_SUCCESS.
line: 88, error_code: 4, file: ../../../uart/uart.c
APP_ERROR:ERROR:Fatal

uart/uart.c

96     case APP_UART_COMMUNICATION_ERROR:
97       APP_ERROR_HANDLER(p_event->data.error_communication);
98       break;

When i use default pins for uart_init i don't have this error. If after that i make uart_init with my pins it works for some time.

I have nrf52 with sdk12 or sdk13.

Any help would be appreciated.

Related