Skip to main content
SMunn
Associate
August 27, 2018
Question

How can I flow control USB pipes using NAK? STM32F777 chip USB-OTG HS device.. I need to intelligently use NAK handshakes to flow control data from the host side.

  • August 27, 2018
  • 2 replies
  • 725 views

STM32F777 chip USB-OTG HS device..

I need to intelligently use NAK handshakes to flow control data from the host side.

I am using Custom HID as the initial framework, but modifying it for our purposes.

    This topic has been closed for replies.

    2 replies

    SMunn
    SMunnAuthor
    Associate
    August 27, 2018

    Never mind, I figured it out. It is actually simplicity itself.

    Until you invoke USBD_LL_PrepareReceive() all further incoming packets get NAKed.

    SMunn
    SMunnAuthor
    Associate
    August 27, 2018

    Duhhh!!