STM32Cube USB VCP on STM32F103C8 crash problem
Hi, I have generated a basic project with STM32Cube. the 1st step is to make USB working as COM Port. I have made some tests and the communication from STM32 and PC is working I can send data, but if I try to send some bytes from PC to STM32 the device make a rest and windows say device not recognized. The code I have used is the basic generated by STM32Cube, no custom code (only for sending byte is custom) why as is the generated code doesn't work? I have attached some screenshots of STM32Cube. Also why if I attach the device the PC recognize two serial ports, one working (COM7) one not working (COM6)?
Best regardsGian #usb #cdc #cdc #stm32l1 #stm32cube