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

What should I do hardware flow control?

Hello all

I am trying to implement hardware flow control for UART. is there anything else to be done ? I have done the GPIO configurations like this

const app_uart_comm_params_t comm_params =
{
    KH_TX_PIN_NUMBER, /* P0.18 */
    KH_RTS_PIN_NUMBER,/* P0.17 */
    KH_RTS_PIN_NUMBER,/* P0.19 */
    KH_CTS_PIN_NUMBER,/* P0.20 */
    APP_UART_FLOW_CONTROL_ENABLED,
    false,
    UART_BAUDRATE_BAUDRATE_Baud115200
};

APP_UART_FIFO_INIT( &comm_params,
                   UART_RX_BUF_SIZE,
                   UART_TX_BUF_SIZE,
                   uart_event_handle,
                   APP_IRQ_PRIORITY_LOW,
                   err_code);
APP_ERROR_CHECK(err_code);

and Is it possible to use the GPIOs used for a UART interface?

thanks

sjkim

Parents Reply Children
No Data
Related