PKTEND is pulsed at packet boundary

Question: FX2LP: What happens if PKTEND is pulsed at packet boundary (multiple of wMaxPacketsize for)?

 

Answer:

                   If the FIFO is configured to allow zero-length packets (EPxFIFOCFG.2 = 1), pulsing the PKTEND pin at packet boundary when a FIFO buffer is available commits a zero-length packet. The PKTEND pin must not be asserted unless a buffer is available, even if only a zero-length packet is being committed. The ‘full’ flag may be used to determine whether a buffer is available.