This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-AM243: How to use DFLUSH

Part Number: LP-AM243

Tool/software:

Hi,

・Receive a null packet or a 1-byte packet at any EP. (Transfer Descriptor is not set.)
・Write the EP number corresponding to EP_SET.
・Write DFLUSH to the EP_CMD register (wait until DFLUSH becomes 0).
・BUFFEMPTY in the EP_STS register is 0.

When following the above steps, even after performing DFLUSH, the buffer does not become empty, and an IOC interrupt occurs immediately after setting the DMA descriptor and DRDY.

Is the use of DFLUSH incorrect?

best regards,

Motofumi