how to set CTS RTS no connect

aih5165
Posts: 15
Joined: Thu Aug 25, 2016 1:32 pm

how to set CTS RTS no connect

Postby aih5165 » Tue Sep 05, 2017 8:11 am

file:

#define ECHO_TEST_TXD (16)
#define ECHO_TEST_RXD (17)
#define ECHO_TEST_RTS (2)
#define ECHO_TEST_CTS (15)

uart_set_pin(uart_num, ECHO_TEST_TXD, ECHO_TEST_RXD, ECHO_TEST_RTS, ECHO_TEST_CTS);

question:
if here have set ECHO_TEST_RTS, ECHO_TEST_CTS,
can we re define these two pins: ECHO_TEST_RTS, ECHO_TEST_CTS as other GPIO

tobewinner
Posts: 30
Joined: Thu Dec 10, 2015 5:27 am

Re: how to set CTS RTS no connect

Postby tobewinner » Tue Sep 05, 2017 10:16 am

Try to use UART_PIN_NO_CHANGE.
By the way, in uart_set_pin, the driver use gpio_matrix to connect pins.

Who is online

Users browsing this forum: No registered users and 175 guests