Hello!
I am currently looking into interfacing my RT1062 with a power meter, which is a USB CDC device. However, this device is using USB Interface's Base Class = 0x00. It means that the actual USB Class type is subsequently defined by its Interface Class. Using USBView to view the bInterfaceClass value, I was able to confirm that this device is of CDC Class:
===>Interface Descriptor<===
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x03
bInterfaceClass: 0x02 -> This is Communications (CDC Control) USB Device Interface Class
bInterfaceSubClass: 0x02
bInterfaceProtocol: 0x01
Both the Interface Class and Interface SubClass are 0x02.
The issue with this particular device is that it does not use any CDC Data Class (0x0A). Looking through the SDK example usb_cdc_host, it seems that the example functions by relying on the fact that the device needs to provide the Data Class in addition to the Control Class.
As of now, whenever I connect the power meter to my RT1060 EVK with the usb_cdc_host programmed, terminal will report 'device not supported.'
Is there any additional SDK example that would allow a device like this power meter that I am attempting to connect with to work with my RT1062 processor, which is set up as the USB CDC Host?
Any pointer or resource would be greatly appreciated!
Thank you,
Kenneth