Skip to main content
Visitor II
August 26, 2020
Question

stm32f407 USB CDC FS multi-packet transfer

  • August 26, 2020
  • 2 replies
  • 912 views

how to transmit data buffer without splitting? Im using HAL library and it says its allowed to send multi-packet without splitting, but when i try to send data to PC it splitts into max packet size that is 64 byte size

    This topic has been closed for replies.

    2 replies

    Super User
    August 26, 2020

    Only Chuck Norris could do this. But he's retired now...

    Super User
    August 27, 2020

    Max packet size for FS is 64 bytes. HAL can send a buffer larger than 64 bytes in one command, but it does so by breaking them up. I don't think it's claiming otherwise.

    DKola.1Author
    Visitor II
    August 27, 2020

    screenshot from HAL lib user manual (UM1730)0693W000002lUn0QAE.png