NPi i.MX6ULL RS485 (RTS/CTS)

Hello, I have a Seeed NPi - i.MX6ULL eMMC module in my possession.

I have installed Debian using the instructions provided here.

A.Boot from SD card

B. Boot from eMMC(NAND) card

  • Step 1. the process is the same as A. Boot from SD card if you first start up the NPi i.MX6ULL Dev Board.
  • Step 2. Select P22 in fire-config to enable flash boot then reboot.

I activated 485r1 afterwards. However, the CTS and RTS pins are not functioning. I’ve tried various methods, but they didn’t solve the issue. Can you assist me with this matter?

sudo cat /proc/tty/driver/IMX-uart

The output is as follows.

debian@npi:~$ sudo cat /proc/tty/driver/IMX-uart
serinfo:1.0 driver revision:
0: uart:IMX mmio:0x02020000 irq:19 tx:7574 rx:29 RTS|DTR|DSR|CD
1: uart:IMX mmio:0x021E8000 irq:64 tx:0 rx:0 DSR|CD
debian@npi:~$

Hi, according to the PinMap you can check that 19 and 21 should be RST and CTS, not 12 and 13, you need to reconfigure
image

First of all, thank you for responding to me. However, what you see there are not P12 and P13 GPIO pin selections. They are the order of the fire-config options located at positions 12 and 13 in order to activate the UARTs in RS485 mode. When I select and activate those options, I uncomment or comment out the necessary lines in the /boot/uEnv.txt file.

dtoverlay=/lib/firmware/imx-fire-485r1-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-485r2-overlay.dtbo

I believe that changing the .dtbo file is necessary to fix the issue on my developer board, but I’m not entirely certain. I’m looking forward to your suggestions for a solution regarding this matter. Have a great day.