Accessing FX2 Full/Empty FIFOs | Cypress Semiconductor
Support & Community
Accessing FX2 Full/Empty FIFOs
What happen if the external master tries to read from an Empty FIFO or write to a full FIFO of the FX2 operating in slave FIFO mode. Will the Fx2 just ignore the write/read?
The external master must avoid reading from an empty FIFO or writing to a full FIFO. Doing so will result in FIFO pointers going out of synch and the FIFOs being rendered unusable. The external master can use the FIFO full/empty flag to monitor the state of the FIFO and decide when to stop writing/reading to/from the FIFO.