May 2020
Intermediate to advanced
496 pages
13h 54m
English
Now that more medium- to high-performance MCUs include a USB host, it is becoming more viable as an inter-processor communication bus. Whether or not USB is viable in a given application hinges on the number of nodes and the availability of a full USB stack and developers that can harness it. While the USB virtual comm class used in this book wasn't deterministic since it used bulk endpoints, interrupt transfers can be used to achieve deterministic scheduling of transfers over USB, since they are polled by the host at a rate defined during enumeration. For example, on a high-speed USB link (which will often require an external PHY), this equates to messages up to 1 KB polled every 125 µS.
We've ...