o. How to achieve high speed communication between a PIC microcontroller and a PC via USB?
QUESTION
I found your website and it was very interesting. According to the results of my google search, the maximum speed of HID usb is 64kB/s and for CDC usb was around 1MB/s. What is your opinion and what is maximum speed of HID usb you reached? I saw you wrote about multichannel oscilloscope with PIC32 1MSPS ADC. Should I use HID or CDC communicaton to reach higher speeds?
ANSWER
I used PIC32MX250F128B microcontroller's internal 32 kB RAM for buffering, so “HID” communication was fast enough to transfer the captured samples to my PC. There is no need to refresh the screen more than 25 times a minute. If you need a high data rate, I suggest that you use CDC, or even write your own device driver.