Hello,
I’m trying to configure UART1 on a Colibri iMX6S module to support both RS232 and RS485 communication, but I’m experiencing issues with both modes.
Hardware Configuration
- Module: Colibri iMX6S
- Carrier Board: Custom carrier board with SODIMM 200 connector
- Pin Mapping:
- UART1_RX: SODIMM 33
- UART1_TX: SODIMM 35
- RS485/RS232 mode switch: SODIMM 23
- RS485 direction control: SODIMM 27
Uart Section of the Device Tree Configuration
&uart1 {
linux,rs485-enable-at-boot-time;
dma-names = "rx","tx";
status = "okay";
};
Issues
RS232 Mode
- TX: The TX LED is flashing when sending data, but the receiver side is not getting any data.

- RX: The RX LED remains off, and no data is received when another device sends data to the interface.

RS485 Mode
- TX: The TX LED is flashing when sending data, and the receiver side is getting the correct data.

- RX: The RX LED remains off, and no data is received when another device sends data to the interface.

Additional Observations
- Manually switching SODIMM pins 23 or 27 (using
gpiosetto high or low) has no effect on either mode.
Questions
- Are there any additional device tree properties required for proper RS232/RS485 operation on the iMX6S UART?
- Should SODIMM pin 27 be explicitly configured in the device tree for RS485 direction control?
The serial cable and USB adapter for testing are not the problem. I have already tested it with another device.
tdx-info
Software summary
Bootloader: U-Boot
Kernel version: 6.6.108-7.4.0-00057-g451f1e35226f #1-Torizon SMP PREEMPT Mon Jun 30 14:11:55 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/893cd76ca21a93ca4fab8d9e3f8f5d218ffee158fe1910c24657918130c0bef6/0
Distro name: NAME=“Torizon OS Upstream”
Distro version: VERSION_ID=7.4.0-build.28
Distro variant: VARIANT=“Docker”
Hostname: colibri-imx6-11510521
Hardware info
HW model: Toradex Colibri iMX6DL/S
Toradex version: 0077 V1.1A
Serial number: 11510521
Processor arch: armv7l
Any guidance would be greatly appreciated!
Thanks in advance.