UART0能收不能发
因为UART0是和蓝牙复用的,自己做的底板用了UART0,我就关闭了蓝牙,打开UART0口发现能正常接收但不能正常发送,这个真的很不解,是还需要有地方配置么?
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_xfer>;
status = "okay";
};
哪位大神能指点一下? 遇到同样的问题,请问解决了吗 亲测没问题,直接disabled蓝牙就ok wx_Mr.Lee_g8Ao8 发表于 2018-12-26 16:52
亲测没问题,直接disabled蓝牙就ok
dts里面关闭了啊,还有其他地方需要配置disable么?
wireless-bluetooth {
compatible = "bluetooth-platdata";
clocks = <&rk808 1>;
clock-names = "ext_clock";
//wifi-bt-power-toggle;
uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */
pinctrl-names = "default", "rts_gpio";
pinctrl-0 = <&uart0_rts>;
pinctrl-1 = <&uart0_gpios>;
//BT,power_gpio= <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */
BT,reset_gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */
BT,wake_gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */
BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
status = "disabled";
}; 看下发送端的GPIO口有没被占用
页:
[1]