Hi @shyamparmar
Have you checked this article with specific instructions and configurations to use RS485 on the UART?
Master UART communication on Linux with Toradex SoMs. Explore pin compatibility, baud rates, RS-485 support, and carrier board connections.
If you have a colibri evaluation board,
it’s recommended that you firstly validade your device tree in a known hardware setup before moving to with a custom setup, you can verify the RS-485 wiring schematics of the colibri evaluation board in the technical details page.
You can also check other posts with a similar problem
I’m tryng colibri-uartb and colibri-uarta on IMX6ULL emmc , with RS485, the hardware (my carrier board) and software works properly with IMX8DX with autodirection and also with manual IO direction but with IMX6ULL RTS doesn’t seem working. So I applied an overlays
/dts-v1/;
/plugin/;
/ {
compatible = “toradex,colibri-imx6ull-emmc”;
};
&uart1 {
pinctrl-names = “default”;
pinctrl-0 = <&pinctrl_uart1>;
fsl,uart-has-rtscts;
fsl,dte-mode;
status = “okay”;
};
&uart2 {
pinctrl-names = “d…
Hello Team,
I want to enable RS485 in UARTB & C with gpio pin as enable pin for that i made changes in imx6ull-colibri.dtsi
``'/* Colibri UART_B */
&uart2 {
pinctrl-names = “default”;
pinctrl-0 = <&pinctrl_uart2>;
rts-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
rs485-rts-delay = <0 0>;
// uart-has-rtscts;
fsl,dte-mode;
};
and in imx6ull-colibri-aster.dtsi
&uart2 {
rs485-rts-active-high;
linux,rs485-enabled-at-boot-time;
status = “okay”;
};
after that i compile and deploy kernel and re…
Hello,
We are using colibri imx6ull soc on our own carrier board. in our application RS485 communication is working on UARTC with manipulating sodim29(gpio3_IO[23]) as direction control. From user space or c code running on linux we encounter timing errors. I mean manipulating a gpio pin as direction control causes some data loss over rs485 line.which is expected. other uart channells are used for gsm, rf and power line communication interfaces.
When I look for an alternate pin for UARTC RTS s…