Why aren't global FS interrupts firing even though the control transfer occurs? (USBD VCP)
I am currently attempting to use the USBD drivers for the STM32F765 in order to communicate over USB C as a virtual com port. I get to the point where my computer recognizes the device and the driver that is necessary, therefore the control transfer is occurring over the cable. However, the global FS interrupts then fail to fire when I send messages to the board. Also, when sending messages from the board to the computer the pClassData fails to populate (which prevents anything from sending in an if statement). I currently configure the device to be peripheral only by setting the FDMOD bit in the OTG_GUSBCFG register to 1, and I disable Vbus sensing. Therefore the Vbus is not configured or connected to anything. Could this be causing issues? Also, the pClassData is set to 0x00000 and is a single index array with a value of zero. Does this mean that I am not managing to configure the FIFO buffer for the class?
How should I troubleshoot this?
Thanks!