Alexandre Coffignal wrote: > Hello, > > Thanks you for your response. > > I used this patch to communicate with a slave equipment in rs485 (modbus > protocol). The data is transmitted over a 2-wire twisted pair bus. > Master initiates all communication activity, by sending data. To do this > it must set RTS line to high state during all it's transmission. Before > slave answer, master must lower the RTS line.
Will the slave wait on the deassertion of RTS? Or what will happen if RTS is still high and the slave starts its answer? > > my slave equipment answer in less than 200us, so i must know when xmit > is completing to lower the RTS line > > An extension to RTSER_RTIOC_WAIT_EVENT may be a good solution but do you > know if an extension to RTSER_RTIOC_WAIT_EVENT can guarantee this timing? > Given a proper platform (check its capabilities with the latency or the irqbench test), yes. It's a myth that such things can only be done in kernel space. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux _______________________________________________ Xenomai-core mailing list Xenomaiemail@example.com https://mail.gna.org/listinfo/xenomai-core