I often have applications where I need to send commands and receive data back from my target system. Out of some level of lazy simplicity I often just use CDC type serial stuff. A lot of microcontrollers just have USB FS and for a lot of uses that is enough.
However the 4.0 has USB HS, so my question is two fold.
First if you use CDC how much throughput can you get with the default firmware stack?
Second is there a better way? I know mass transfer classes exist but essentially I need in order data out and the ability to receive command data at any time.
If I need to write a custom class for this optimally I'd love to get some pointers about what to read before attempting that task.
However the 4.0 has USB HS, so my question is two fold.
First if you use CDC how much throughput can you get with the default firmware stack?
Second is there a better way? I know mass transfer classes exist but essentially I need in order data out and the ability to receive command data at any time.
If I need to write a custom class for this optimally I'd love to get some pointers about what to read before attempting that task.