Studio H Software
Studio H Software
Each time I asked uhd_byte_count for the number of bytes it was 64, with zeros if necessary to make up the 64. I thought this was a matter of the...
I wonder if you are trying to transfer more than 64 bytes.
Yes although I am just guessing. I would uncomment lines 159-183 (the last one is an error and needs to say println instead of print). It will show you the...
Note that my modification here to the library is minimal. It just adds a way for the sketch to ask for the pipe endpoint so it can set up an...
You can try the using one of the other examples in this library and see if it works. Maybe USBH_MIDI_dump.ino. In that case, the sketch calls Midi.RecvData to get the...
So the last two lines there before the disconnect are where the data is dropped? What caused that disconnect? But yes if you are doing less work now within the...
The pipeConfig function was pieced together from the calls I found within the library that set up the pipe. At first I thought I needed to have it to set...
USB is serial, and the events will be transferred in series, not parallel. It is not possible to have more than one event at a time communicated over USB. Of...
I have used pipe interrupts for fast MIDI clock and polyphony without any message loss. My guess is that the problem is elsewhere. You might try the same test with...
No, I have not seen any message loss problems using the interrupts approach. It's seems to be very reliable.