Cube HAL 1.7- USB CDC - F411 - Wait for a char
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-02 7:20 AM
Posted on September 02, 2015 at 16:20
Hi, I need to send 16kbyte from uC to the PC. PC is host. I'm using CDC.
What is the best way to use hal library to wait for a character from de PC to start send data? is CDC_Receive_FS function a blocking function? thank
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-05 2:27 AM
Posted on September 05, 2015 at 11:27
Maybe my lib can help you here. Using Getc function you can check if character is received.
http://stm32f4-discovery.com/2015/08/hal-library-21-multi-purpose-usb-library-for-stm32fxxx/Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-05 10:13 AM
Posted on September 05, 2015 at 19:13
Ok, I will look at them. BTW you helpd me a month ago with my keil installation on your web page, with team viewer!
I receive my F7 board so I'm looking at your lib's for it. unfortunatley I use system workbench and I have to figure out how to import them. Thank