AnsweredAssumed Answered

Discovery F3 - Virtual Com Port (CDC) problem

Question asked by Swoboda.Michal on Jul 5, 2015
Latest reply on Jul 10, 2015 by padema
Hello!
I am having hard time using CubeMX and Discovery F3 board, while trying to use USB-CDC feature. First things first: I am generating code using CubeMX as SW4STM32 project, USB is set into CDC in middlewares tab, the rest is left in default values. Clock is set in HSI PLL with PLLMul x12 to ensure 48 MHz for USB. I generated the code and download it on the chip. While connecting discovery with my PC i get two VCP in device manager (yes, i installed the driver, v.1.4.0) but one isn't working (code 10) (you can see in attachment). This is first thing that i don't like and it smells like something buggy is going on. Second thing is that i try to send something using CDC_Transmit_FS  but it doesn't show anything while connected to port 11 via realterm. Same thing happens while i try only to blink LED inside USB_LP_CAN_RX0_IRQHandler(void). Absolutely nothing. I am starting to get a little annoyed about this problems and I would really appreciate any help.
Thanks in advanced! 
Regards,
Michał

Attachments

Outcomes