Why doesn't STMicroelectronics VCP driver work for USBC? (This device cannot start Code 10)
The driver has been successfully installed and used on my computer to communicate with the STM32F769NIH eval kit over a microUSB to USB2.0 cable at full speed (the STMicro chip being the device and the computer the host). I then took the STM CDC driver and used it for the STM32F765VI chip without making any changes to the driver (only switched out the startup code). Connected the FS DP and FS DN lines to the corresponding USBC connection pins, and connected the CC pins to a USB C PD device. Upon connecting to a computer, the endpoint 0 control transfer seems to occur and the computer sees a comport and downloads the driver. However, the driver then fails to work and gives me the "This device cannot start (Code 10)" error code. Is this a difference in endpoint addresses between the chips, or does this have to do with the USBC connection? (I have seen that the endpoint address for the F769 chip are 0x81, 0x01, and 0x82. If anyone with a CDC driver for a F765 could confirm these are the same, that would be very helpful). Does the driver need to be modified because this connection has CC pins rather than the USB OTG ID pin? All suggestions welcome.
