Visible to Intel only — GUID: iga1405558395464
Ixiasoft
Visible to Intel only — GUID: iga1405558395464
Ixiasoft
5.4.3.3. status Register
The status register consists of bits that indicate status conditions in the SPI core. Each bit is associated with a corresponding interrupt-enable bit in the control register, as discussed in the Control Register section. A host peripheral can read status at any time without changing the value of any bits. Writing status does clear the ROE, TOE and E bits.
# | Name | Description |
---|---|---|
3 | ROE | Receive-overrun error The ROE bit is set to 1 if new data is received while the rxdata register is full (that is, while the RRDY bit is 1). In this case, the new data overwrites the old. Writing to the status register clears the ROE bit to 0. |
4 | TOE | Transmitter-overrun error The TOE bit is set to 1 if new data is written to the txdata register while it is still full (that is, while the TRDY bit is 0). In this case, the new data is ignored. Writing to the status register clears the TOE bit to 0. |
5 | TMT | Transmitter shift-register empty In host mode, the TMT bit is set to 0 when a transaction is in progress and set to 1 when the shift register is empty. In agent mode, the TMT bit is set to 0 when the agent is selected (SS_n is low) or when the SPI Agent register interface is not ready to receive data. |
6 | TRDY | Transmitter ready The TRDY bit is set to 1 when the txdata register is empty. |
7 | RRDY | Receiver ready The RRDY bit is set to 1 when the rxdata register is full. |
8 | E | Error The E bit is the logical OR of the TOE and ROE bits. This is a convenience for the programmer to detect error conditions. Writing to the status register clears the E bit to 0. |
9 | EOP | End of Packet The EOP bit is set when the End of Packet condition is detected. The End of Packet condition is detected when either the read data of the rxdata register or the write data to the txdata register is matching the content of the eop_value register. |