Asynchronous FIFO Reads in the SX2

Question: 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?

 

Answer:

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.