Currently I am using a board based on the Col Evaluation v3.2 with a Vybrid VF61. I currently try to get UART1 (RS485 Support) working and I am stuck. I modified the device tree so we use correct pins for this uart. But when I try to communicate with the device we have behind this UART.
We analysed this with an oscilloscope and we can not see PTC4_UART1_RTS signal. (SODIMM_79)
So I guess my device tree configuration is wrong somehow.
I hope someone here can point me in the right direction what I am missing. Here is the pinctrl config for UART 1: (linux kernel ver 4.1.15)
&uart1 {
status = "okay";
linux,rs485-enabled-at-boot-time;
};
By default all the free pins are pin-muxed as GPIOs. One need to make sure there are no pin conflicts when using them. I tested it at my end, worked as expected.
Below is the diff:
I have also checked with above c code provided to check RS485 connection in which i am getting string ABC on UART2 but not able to transmit any data from UART2.
It means i able to receive data over RS485 UART but not able transmit data from that UART RS485.
Is there any configurations required in UART side to work both RX and TX on RS485 UART?