SPI Receive FIFO Occupancy Register - 3.2 English

PG153 AXI Quad SPI Product Guide

Document ID
PG153
Release Date
2022-04-26
Version
3.2 English

The SPI Receive FIFO Occupancy Register (RX_FIFO_OCY) is present only if the AXI Quad SPI core is configured with FIFOs (FIFO Depth = 16 or 256). If the register is present and if the receive FIFO is not empty, the register contains a four-bit, right-justified value that is one less than the number of elements in the FIFO (occupancy minus one).

This register is read-only. A write to it (or of a read when the FIFO is empty) does not affect the register contents. The only reliable way to determine that the receive FIFO is empty/full is by reading the Rx_Empty/Rx_Full status bit in the SPI status register.

The receive FIFO occupancy register is shown in This Figure, while the specifics of the data format are described in Table: SPI Receive FIFO Occupancy Register Description (Core Base Address + 0x78).

Figure 2-8:      SPI Receive FIFO Occupancy Register (Core Base Address + 0x78)

X-Ref Target - Figure 2-8

pg153_spi_receive_fifo_cccupancy_register_core_base_address_0x78_x14427.jpg
Table 2-11:      SPI Receive FIFO Occupancy Register Description (Core Base Address + 0x78)

Bits

Name

Core Access

Reset Value (hex)

Description

31–log(FIFO Depth)

Reserved

N/A

N/A

Reserved

(log(FIFO Depth)–1):0

Occupancy Value

Read

0

The binary value plus 1 yields the occupancy.