USB Virtual COM port problem on STM32F4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-05-06 3:06 AM
Posted on May 06, 2015 at 12:06
Hi at all,
I'm using a STM32F4 (with HAL libraries) and I have configured the USB as device in order to realize a communication wit the PC through the virtual COM port.When I send the first packed (from PC to MCU) I have no problem. STM32F4 receives packed and sends the response.But when I send second one MCU doesn't receives nothing (OTG_FS_IRQHandler is not activated).Somebody can help me?Thank you very much #stm32f4-usb-virtual-com-port
Labels:
- Labels:
-
USB
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-05-07 2:21 AM
Posted on May 07, 2015 at 11:21
Hi lucaV,
at start I've had similar problems with CDC. Look in the forum for USB CDC, there is a thread that discusses the subject rather well.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-05-29 8:38 AM
Posted on May 29, 2015 at 17:38
I have the same problem with STM32F4, STM32F373 and STM32F072
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-05-29 1:17 PM
Posted on May 29, 2015 at 22:17
place a
USBD_CDC_ReceivePacket(hUsbDevice_0);
after reading receive buffer.