stm32 /stm32n6 /STM32N657 /SPI1 /SPI_SR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SPI_SR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)RXP 0 (B_0x0)TXP 0 (B_0x0)DXP 0 (B_0x0)EOT 0 (B_0x0)TXTF 0 (B_0x0)UDR 0 (B_0x0)OVR 0 (B_0x0)CRCE 0 (B_0x0)TIFRE 0 (B_0x0)MODF 0 (B_0x0)SUSP 0 (B_0x0)TXC 0 (B_0x0)RXPLVL 0 (B_0x0)RXWNE 0CTSIZE

EOT=B_0x0, TXTF=B_0x0, OVR=B_0x0, TXP=B_0x0, SUSP=B_0x0, DXP=B_0x0, MODF=B_0x0, UDR=B_0x0, RXPLVL=B_0x0, RXWNE=B_0x0, RXP=B_0x0, CRCE=B_0x0, TIFRE=B_0x0, TXC=B_0x0

Description

SPI/I2S status register

Fields

RXP

Rx-packet available

0 (B_0x0): RxFIFO is empty or an incomplete data packet is received

1 (B_0x1): RxFIFO contains at least one data packet

TXP

Tx-packet space available

0 (B_0x0): not enough free space at TxFIFO to host next data packet

1 (B_0x1): enough free space at TxFIFO to host at least one data packet

DXP

duplex packet

0 (B_0x0): TxFIFO is Full and/or RxFIFO is Empty

1 (B_0x1): both TxFIFO has space for write and RxFIFO contains for read a single packet at least

EOT

end of transfer

0 (B_0x0): transfer is ongoing or not started

1 (B_0x1): transfer complete

TXTF

transmission transfer filled

0 (B_0x0): upload of TxFIFO is ongoing or not started

1 (B_0x1): TxFIFO upload is finished

UDR

underrun

0 (B_0x0): no underrun

1 (B_0x1): underrun detected

OVR

overrun

0 (B_0x0): no overrun

1 (B_0x1): overrun detected

CRCE

CRC error

0 (B_0x0): no CRC error

1 (B_0x1): CRC error detected

TIFRE

TI frame format error

0 (B_0x0): no TI Frame Error

1 (B_0x1): TI frame error detected

MODF

mode fault

0 (B_0x0): no mode fault

1 (B_0x1): mode fault detected.

SUSP

suspension status

0 (B_0x0): SPI not suspended (Master mode active or other mode).

1 (B_0x1): Master mode is suspended (current frame completed).

TXC

TxFIFO transmission complete

0 (B_0x0): current data transaction is still ongoing, data is available in TxFIFO or last frame transmission is on going.

1 (B_0x1): last TxFIFO frame transmission complete

RXPLVL

RxFIFO packing level

0 (B_0x0): no next frame is available at RxFIFO

1 (B_0x1): 1 frame is available

2 (B_0x2): 2 frames are available*

3 (B_0x3): 3 frames are available*

RXWNE

RxFIFO word not empty

0 (B_0x0): less than four bytes of RxFIFO space is occupied by data

1 (B_0x1): at least four bytes of RxFIFO space is occupied by data

CTSIZE

number of data frames remaining in current TSIZE session

Links

()