Skip to main content
ashley23
Associate III
September 21, 2010
Question

USB FS Library Help Please

  • September 21, 2010
  • 2 replies
  • 647 views
Posted on September 22, 2010 at 00:24

USB FS Library Help Please

    This topic has been closed for replies.

    2 replies

    stforum2
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 14:08

    Only isochronous endpoints can send or receive packets greater than 64bytes in size.

    ashley23
    ashley23Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:08

    Fortunately for us the library is smart enough to know this and breaks the transmission up into smaller packets.  It turns out that if you call USB_Sil_write() with a big block (eg 1024 bytes) it sends the data block by block and everything works fine.  An IN EP callback is generated at the end of transmission to let you know it is done.  Pretty good huh?