Re: [beagleboard] omap serial driver rs485 loopback

2018-08-27 Thread Pablo Rodriguez
looking in the source of the driver found this. if ((up->rs485.flags & SER_RS485_ENABLED) && !(up->rs485.flags & SER_RS485_RX_DURING_TX)) serial_omap_stop_rx(port); suppose that i need to set this flag. SER_RS485_RX_DURING_TX This is done in the .dts file or in runtime? Thanks, Pablo El

[beagleboard] omap serial driver rs485 loopback

2018-08-27 Thread Pablo Rodriguez
Hi, I'm using omap serial driver to do some rs485 writing and reading. The rts gpio is toggling correctly and the RE pin is grounded, so rx is always enabled. Have done test with other rs485 board and it can write and read. The issue is that the uart is not receiving what it has wrote, so