Interrupts
All interrupt sources are combined to create a single level-sensitive, active-high interrupt (
qspi_intr_in
).
Software can determine the source of the interrupt by reading the interrupt status register (
irqstat
). By
default, the interrupt source is cleared when software writes the interrupt status register. The interrupts are
individually maskable through the interrupt mask register (
irqmask
). Table 12–2 lists the interrupt sources
in the
irqstat
register.
Table 12-3: Interrupt Sources in the irqstat Register
Description
Interrupt Source
When 0, no underflow has been detected. When 1,
the data slave write data is being supplied too slowly.
This situation can occur when data slave write data is
being supplied too slowly to keep up with the
requested write operation This bit is reset only by a
system reset and cleared to zero only when the register
is written to.
Underflow detected
The controller has completed a triggered indirect
operation.
Indirect operation complete
An indirect operation was requested but could not be
accepted because two indirect operations are already
in the queue.
Indirect read reject
A write to a protected area was attempted and rejected.
Protected area write attempt
An illegal data slave access has been detected. Data
slave wrapping bursts and the use of split and retry
accesses can cause this interrupt. It is usually an
indicator that soft masters in the FPGA fabric are
attempting to access the HPS in an unsupported way.
Illegal data slave access detected
The indirect transfer watermark level has been
reached.
Transfer watermark reached
This condition occurs only in legacy SPI mode. When
0, no overflow has been detected. When 1, an over
flow to the RX FIFO buffer has occurred. This bit is
reset only by a system reset and cleared to zero only
when this register is written to. If a new write to the
RX FIFO buffer occurs at the same time as a register
is read, this flag remains set to 1.
Receive overflow
This condition occurs only in legacy SPI mode. When
0, the TX FIFO buffer is full. When 1, the TX FIFO
buffer is not full.
TX FIFO not full
This condition occurs only in legacy SPI mode. When
0, the TX FIFO buffer is not full. When 1, the TX FIFO
buffer is full.
TX FIFO full
Quad SPI Flash Controller
Altera Corporation
cv_54012
Interrupts
12-12
2013.12.30