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

APP_UART_COMMUNICATION_ERROR

Hi,

I am using APP UART for Communication with slave device, the data transmission between two devices like send a command and get the response,

while getting the response from slave device uart_handler getting in to communication error,

these are the configurations i have done for both the devices

1. baud rate is 115200 from both devices

2. hwfc is disabled

3. RTS and CTS are NRF_UART_PSEL_DISCONNECTED

4. #define UART_TX_BUF_SIZE 256 /**< UART TX buffer size. */      . #define UART_RX_BUF_SIZE 256 /**< UART RX buffer size. */

and  i commented below lines from NRF_DRV_UART_EVT_ERROR and tried

case NRF_DRV_UART_EVT_ERROR:
//app_uart_event.evt_type = APP_UART_COMMUNICATION_ERROR;
//app_uart_event.data.error_communication = p_event->data.error.error_mask;

it is not getting in to communication error but getting in to APP_UART_FIFO_ERROR

i have taken the uart code from nRF5_SDK_15.0.0_a53641a sdk and merged to my application code

please help me on this

thanks & regards

Swamy

Parents Reply Children
No Data
Related