Flushing the SX2 Read/Write FIFO

Question: Should the SX2 FIFO be flushed before read/write?

 

Answer:

As part of an endpoint initialization or reset, the endpoint FIFO should be cleared (flushed). This is done by sending the INPKTENDFLUSH command with the appropriate endpoint identifier upper bits specified. Sending an INPKTEND with 0xF0 data will flush all FIFOs.