RK3568 开发板-安卓系统之UART驱动调试(十一)-rk3566开发板

4.8 UART驱动调试

&uart0 { status = “okay”; pinctrl-names = “default”; pinctrl-0 = <&uart0_xfer &uart0_ctsn>; }; &uart4 { status = “okay”; pinctrl-names = “default”; pinctrl-0 = <&uart4m1_xfer>; }; &uart7 { status = “okay”; pinctrl-names = “default”; pinctrl-0 = <&uart7m1_xfer>; }; rk3568_aybering:/ # linux_485_test /dev/ttyS7 115200 100 “ttyS7 send test” /dev/ttyS7 115200 N 1 After receiving exit or EXIT, exit! <SendThread-312> gpio is 100 <RecvThread-189> gpio is 100 send: ==> ttyS7 send test recv <== uart 7 recv test send: ==> ttyS7 send test recv <== uart 7 recv test send: ==> ttyS7 send test recv <== uart 7 recv test send: ==> ttyS7 send test recv <== uart 7 recv test send: ==> ttyS7 send test recv <== uart 7 recv test send: ==> ttyS7 send test recv <== uart 7 recv test send: ==> ttyS7 send test recv <== uart 7 recv test send: ==> ttyS7 send test recv <== uart 7 recv test ^C 130|rk3568_aybering:/ #
<

这块比较简单,就直接上代码了。

免责声明:文章内容来自互联网,本站不对其真实性负责,也不承担任何法律责任,如有侵权等情况,请与本站联系删除。
转载请注明出处:RK3568 开发板-安卓系统之UART驱动调试(十一)-rk3566开发板 https://www.yhzz.com.cn/a/9728.html

上一篇 2023-04-20
下一篇 2023-04-20

相关推荐

联系云恒

在线留言: 我要留言
客服热线:400-600-0310
工作时间:周一至周六,08:30-17:30,节假日休息。