example on receiving USB data
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-09 3:12 AM
Posted on July 09, 2015 at 12:12
Hi there,
I'm using the STM32f4 and I'm trying to get the USB drivers to work but I'm having some issues. Using the example for CDC Standalone in the STMCube files I've got the USB enumerating and transmitting a basic message, but I can't work out how to get it to recieve data. I assume I would use USBD_CDC_ReceivePacket(&USBD_Device); to start the receive but the example doesn't seem to ever access the buffer so I would appreciate some help. If anyone knows of a better example such as one that performs and echo back, that would be great, otherewise a few pointers would be useful.
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
