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 lun., 27 ago. 2018 a las 12:53, Pablo Rodriguez (<[email protected]>) escribió: > > 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 can't > check if a bus collision occurs when writing. > I have been using the same setup with the 8250 serial driver but with > manual rts toogling and the loopback was ok. > > Is this the expected behavior of the omap serial driver? > Is possible to configure to enable loopback? > > using kernel > 4.14.63-bone16 > > Thanks, > Pablo > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/f8029fbc-fd9f-4f20-9666-c53f63309a70%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/f8029fbc-fd9f-4f20-9666-c53f63309a70%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAEObdD3Acf06%3DxAnPpbVJo37fvJder%3D2K8aT4h2Ww2dMnHO0qA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
