Power & Source of Big Ideas

NanoPi-Neo-core-LTS does not support handshake

Moderators: chensy, FATechsupport

Hardware: NanoPi Neo Core-LTS
Software: FriendlyWrt

I am using UART1.
Tx and Rx work, but the hardware handshake with UART1_RTS and UART1_CTS do not work!

The UART1 active settings are:

root@FriendlyWrt:~# stty -a -F /dev/ttyS1
speed 1200 baud;stty: /dev/ttyS1; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 0; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke -flusho -extproc

When I give gpioinfo, the Gpio lines 200 and 201 are "unnamed unused input high level".

How can I get the UART1 hardware handshake?
Change in the folder kernel/arch/arm/boot/dts/overlays:
sun8i_h3_uart1.dts
"pinctrl-0 = <&uart1_pins>;" to "pinctrl-0 = <&uart1_pins>,<&uart1_rts_cts_pins>;"
sun8i_h3_nanopi.dtsi
"pinctrl-0 = <&uart1_pins>;" to "pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins;"
hardix wrote:
Change in the folder kernel/arch/arm/boot/dts/overlays:
sun8i_h3_uart1.dts
"pinctrl-0 = <&uart1_pins>;" to "pinctrl-0 = <&uart1_pins>,<&uart1_rts_cts_pins>;"
sun8i_h3_nanopi.dtsi
"pinctrl-0 = <&uart1_pins>;" to "pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins;"


I exchanged it, and then I can solve this problem. I appreciate your suggestion. smash karts

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 2 guests