Question
Stm32L0 CDC Tx Issue
Posted on July 21, 2015 at 21:19
I am having some issues with the CDC Transmit Library.
I have a STM32l0-discovery board, when the device is powered through the st-link usb connector. Whenever I transmit data over the Virtual Comport using CDC_Transmit_FS the �C just hangs.If I connect the User USB Port to my machine it doesn't hang, even when the device isn't open. Does anybody have any experience with this, I see 2 solutions, discovering if it is connected, or fixing the bug, in some thread I saw that there was a while (pCDC->TxState) state but that is not available in this one so I can't exit that loop after a while.I used STM32CubeMX 4.7.1 to generate the code for SW4STM32 toolset. #stm32l0-cdc