Skip to main content
leogarberoglio
Associate III
September 2, 2015
Question

Cube HAL 1.7- USB CDC - F411 - Wait for a char

  • September 2, 2015
  • 2 replies
  • 512 views
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

    This topic has been closed for replies.

    2 replies

    tm3341
    Associate III
    September 5, 2015
    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/

    leogarberoglio
    Associate III
    September 5, 2015
    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