I am developing a very latency critical application where I want to send periodic (real time) data from a PC to the Rock Pi 4 (or similar) and then control a SPI peripheral. Given the real-time application and latency requirement I plan on using isochronous USB endpoints.
The Rock PI 4 has USB OTG, but I can’t see any documentation on how use this with isochronous transfer.
I there any example of how to receive data in USB Gadget Mode from a host PC?
Can I write a C++ application using e.g. libusb to register the Rock Pi as a USB slave with Isoc endpoints?
Any good advice or pointers to reading resources are appreciated!