0 Replies Latest reply on Mar 21, 2011 11:06 AM by user_6806705

    How to detect incomplete IN packets


      Hi all,
      is it possible to know if an incomptete IN bulk packet is waiting for transmission in case of slave FIFO and AUTOIN=1? And, if detected, is it possible to kwon the size of this incomplete data?


      I tried to monitor EPxCS register waiting for the stable condition NPAK=1 but it always goes to zero also if an incomplete packet exists.


      The manual says: "IN Endpoints: NPAK indicates the number of IN packets committed to USB (i.e., loaded
      and armed for USB transfer), and thus unavailable to the firmware.". So what does it mean NPAK=0, that the incomplete packet is available?