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

UART HW FLOW Control testing

Hi Sir 

I enabled the "APP_UART_FLOW_CONTROL_ENABLED", but I measured the CTS / RTS pin always is low during data transmission. 

Is it normal ? How to check UART FLOW control is working or not ?

---------------------------------------------------------------------------

rmx_error uart_init(void)
{
uint32_t err_code;

const app_uart_comm_params_t comm_params =
{
UART_RX_PIN,
UART_TX_PIN,
UART_RTS_PIN,
UART_CTS_PIN,
APP_UART_FLOW_CONTROL_ENABLED, 
false,
#if defined (UART_PRESENT)
NRF_UART_BAUDRATE_115200
#else
NRF_UARTE_BAUDRATE_115200
#endif
};


APP_UART_FIFO_INIT(&comm_params,
UART_RX_BUF_SIZE,
UART_TX_BUF_SIZE,
uart_error_handle,
APP_IRQ_PRIORITY_LOWEST,
err_code
);


APP_ERROR_CHECK(err_code);

}

Parents
  • Hi Justin

    Due to the Easter holiday you will have to expect a delay in replies, sorry for the inconvenience!

    Yes, for the most part, this is normal. However, eventually, when you have flow control disabled, your application is likely to receive damaged data and not fix it automatically, as the flow control takes care of that.

    Best regards and happy Easter,

    Simon

Reply
  • Hi Justin

    Due to the Easter holiday you will have to expect a delay in replies, sorry for the inconvenience!

    Yes, for the most part, this is normal. However, eventually, when you have flow control disabled, your application is likely to receive damaged data and not fix it automatically, as the flow control takes care of that.

    Best regards and happy Easter,

    Simon

Children
No Data
Related