本帖最后由 swimchang 于 2016-10-17 09:56 编辑
Hi , ALL:
在porting RS485 遇到互相传送一半就停止的状况,在这提供porting的过程,请各位能够给一些建议,谢谢。
1. 2块主板 imx6dl 对传
Yocto 1.8
Kernel Version 3.14.52
2. Device tree config
pinctrl_uart2: uart2grp1 {
fsl,pins = < MX6QDL_PAD_SD3_DAT5__UART2_TX_DATA 0x1b0b1
MX6QDL_PAD_SD3_DAT4__UART2_RX_DATA 0x1b0b1
MX6QDL_PAD_SD3_CLK__GPIO7_IO03 0x80000000
>;
};
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart2>;
fsl,uart-has-rtscts;
dma-names = "", "tx";
rts-gpio =<&gpio7 3 0>;
status = "okay";
};
3. 使用的PATCH
ftp://ftp.koansoftware.com/publi ... ial-imx-rs485.patch
|