Hi all,
I have been playing around with the Microchip USB demo libraries on my PIC18F4550 and would like to know the reasons for choosing either for a USB device application.
It seems to me that CDC is used when you want a simple Virtual COM Port established, making the Host Software much simpler to create for data extraction. The disadvantage being that you need to select the COM port for each application.
On the contrary the HID is a standalone device that requires more thought when designing host software but is recognized as an HID USB device on your computer.
I am primarily interfacing my PIC18 with MATLAB and LabVIEW and the CDC seems to do the trick, but I'm wondering if it's worth the effort to make it a HID device and what benefit(s) I could gain by making the switch.
Cheers,
JP
I have been playing around with the Microchip USB demo libraries on my PIC18F4550 and would like to know the reasons for choosing either for a USB device application.
It seems to me that CDC is used when you want a simple Virtual COM Port established, making the Host Software much simpler to create for data extraction. The disadvantage being that you need to select the COM port for each application.
On the contrary the HID is a standalone device that requires more thought when designing host software but is recognized as an HID USB device on your computer.
I am primarily interfacing my PIC18 with MATLAB and LabVIEW and the CDC seems to do the trick, but I'm wondering if it's worth the effort to make it a HID device and what benefit(s) I could gain by making the switch.
Cheers,
JP
Last edited: