Asynchronous FIFO Reads in the SX2 | Cypress Semiconductor
Support & Community
Asynchronous FIFO Reads in the SX2
Is there an efficient way to learn how many bytes can be read from an OUT FIFO without checking the EmptyFlag after each byte read?
The only way to determine the status of the FIFO is by probing the FLAGS. The programmable flag can be programmed to trigger when there is a certain number of bytes in the FIFO. The FULL flag and the EMPTY flag are set when the FIFO is full or empty respectively.