Do I Need to Monitor the FIFO Flag Status When Using the FX2 as a Slave for Payload Data?

Question: If I am primarily using FX2 in Slave FIFO mode as a conduit for payload data, do I need to monitor the status of FIFO flags?

 

Answer:

Absolutely. The external master needs handshaking signals to manage under-flow or over-flow conditions. Typically an external master will look at the FIFO full flag when writing data into FX2 to decide when to stop writing, and will look at the FIFO empty flag when reading data from FX2 to decide when to start reading.