Feb 18, 2021, 23:36 by
blaz...@gmail.com:
>> It's not that simple. USB2 has higher latencies, true, but if you are OK with them, then the USB2 interface is as capable of real-time communication as any other interface. There have been attempts to mitigate these latencies with various results. (Search research papers online.) USB3 should be much better in this regard.
>>
>
> I dont see how that's true when the default USB2 polling rate is 8ms. You can change the mouse driver to get 1ms but I don't know that the RT patches touch USB. So whats the secret sauce to getting RT USB if the polling interval remains at 8ms on a shared bus?
>
> USB3 isn't really even worth talking about yes its peer to peer with much better latency but an rpi4 having a USB3 port doesn't do any good when MCUs really do not. Most MCUs bake usb2 hardware right onto the chip while usb3 is generally a PCIE lane attached to a PHY which I have yet to see on any dev boards.
>
> So what's the secret sauce to RT USBx? And .......why, when any MCU contains fast UARTs, spi and sometimes ethernet.
>
There is no secret sauce. Or better said the sauce is not secret. You may have an application which requires 10 ms polling of maximum reaction time, in that case you are golden as then you will have 8 ms rate (simplified).
You can read this thesis:
http://caxapa.ru/thumbs/833386/pomarlan.pdf about what one can do about RT on USB2.
And why? Well, because people are people, and they will always try to do things which seem superfluous. If somebody wants to use USB, great, let's see what he will be able to come up with...
Cern
>> >> To unsubscribe from this group and stop receiving emails from it, send an email to >> >>
machinekit+...@googlegroups.com <mailto:
machinekit%2Bunsu...@googlegroups.com>>> >> .
>> > To unsubscribe from this group and stop receiving emails from it, send an email to > >>
machinekit+...@googlegroups.com <mailto:
machinekit%2Bunsu...@googlegroups.com>>> > .
>> To unsubscribe from this group and stop receiving emails from it, send an email to >>
machinekit+...@googlegroups.com <mailto:
machinekit%2Bunsu...@googlegroups.com>>> .
>> To view this discussion on the web visit >>
https://groups.google.com/d/msgid/machinekit/MTpwssk--3-2%40tuta.io>> .
> To view this discussion on the web visit >
https://groups.google.com/d/msgid/machinekit/CA%2BQ02MNv8G2nL0aRpAdCNPrELLit3t9KyrUhUFqrXG-6xaukDg%40mail.gmail.com <
https://groups.google.com/d/msgid/machinekit/CA%2BQ02MNv8G2nL0aRpAdCNPrELLit3t9KyrUhUFqrXG-6xaukDg%40mail.gmail.com?utm_medium=email&utm_source=footer>> .
>