T113-S3 uart4 选PD7, PD8引脚只能发送不能接收问题
-
请教大佬, uart4选用PD7, PD8的时候只能发送不能接收, 我换回PE4, PE5就可以正常收发了.
uart4_pins_a: uart4_pins@0 { //pins = "PE4", "PE5"; // 正常收发 pins = "PD7", "PD8"; // 只能发送不能接收 function = "uart4"; drive-strength = <10>; bias-pull-up; }; uart4_pins_b: uart4_pins@1 { //pins = "PE4", "PE5"; pins = "PD7", "PD8"; function = "gpio_in"; };
有没有可能是PD7, 8用作LVDS的原因, 但是LVDS部分的配置都注释掉了, 是否有什么遗漏了.
有没有大佬遇到过这个问题, 谢谢.
设备树如附件
board.dts
sun8iw20p1.dtsi -
xiaowenge
-
@bestikun 请问你解决了吗? 我也遇到这个问题了 我是用的uart1
200 uart1_pins_a: uart1_pins@0 {
201 // pins = "PE10", "PE11";
202 pins = "PG6", "PG7";
203 function = "uart1";
204 drive-strength = <10>;
205 bias-pull-up;
206 }; 现在也是PG6 PG7只能发送不能接收 -
@bestikun 请问你解决这个问题了吗?
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号