STMicroelectronics /STM32H7B3x /SDMMC1 /SDMMC_STAR

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 SDMMC_STAR

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 (CCRCFAIL)CCRCFAIL 0 (DCRCFAIL)DCRCFAIL 0 (CTIMEOUT)CTIMEOUT 0 (DTIMEOUT)DTIMEOUT 0 (TXUNDERR)TXUNDERR 0 (RXOVERR)RXOVERR 0 (CMDREND)CMDREND 0 (CMDSENT)CMDSENT 0 (DATAEND)DATAEND 0 (DHOLD)DHOLD 0 (DBCKEND)DBCKEND 0 (DABORT)DABORT 0 (DPSMACT)DPSMACT 0 (CPSMACT)CPSMACT 0 (TXFIFOHE)TXFIFOHE 0 (RXFIFOHF)RXFIFOHF 0 (TXFIFOF)TXFIFOF 0 (RXFIFOF)RXFIFOF 0 (TXFIFOE)TXFIFOE 0 (RXFIFOE)RXFIFOE 0 (BUSYD0)BUSYD0 0 (BUSYD0END)BUSYD0END 0 (SDIOIT)SDIOIT 0 (ACKFAIL)ACKFAIL 0 (ACKTIMEOUT)ACKTIMEOUT 0 (VSWEND)VSWEND 0 (CKSTOP)CKSTOP 0 (IDMATE)IDMATE 0 (IDMABTC)IDMABTC

Description

The SDMMC_STAR register is a read-only register. It contains two types of flag:Static flags (bits [29,21,11:0]): these bits remain asserted until they are cleared by writing to the SDMMC interrupt Clear register (see SDMMC_ICR)Dynamic flags (bits [20:12]): these bits change state depending on the state of the underlying logic (for example, FIFO full and empty flags are asserted and de-asserted as data while written to the FIFO)

Fields

CCRCFAIL

Command response received (CRC check failed). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

DCRCFAIL

Data block sent/received (CRC check failed). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

CTIMEOUT

Command response timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR. The Command Timeout period has a fixed value of 64 SDMMC_CK clock periods.

DTIMEOUT

Data timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

TXUNDERR

Transmit FIFO underrun error or IDMA read transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

RXOVERR

Received FIFO overrun error or IDMA write transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

CMDREND

Command response received (CRC check passed, or no CRC). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

CMDSENT

Command sent (no response required). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

DATAEND

Data transfer ended correctly. (data counter, DATACOUNT is zero and no errors occur). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

DHOLD

Data transfer Hold. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

DBCKEND

Data block sent/received. (CRC check passed) and DPSM moves to the READWAIT state. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

DABORT

Data transfer aborted by CMD12. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

DPSMACT

Data path state machine active, i.e. not in Idle state. This is a hardware status flag only, does not generate an interrupt.

CPSMACT

Command path state machine active, i.e. not in Idle state. This is a hardware status flag only, does not generate an interrupt.

TXFIFOHE

Transmit FIFO half empty At least half the number of words can be written into the FIFO. This bit is cleared when the FIFO becomes half+1 full.

RXFIFOHF

Receive FIFO half full There are at least half the number of words in the FIFO. This bit is cleared when the FIFO becomes half+1 empty.

TXFIFOF

Transmit FIFO full This is a hardware status flag only, does not generate an interrupt. This bit is cleared when one FIFO location becomes empty.

RXFIFOF

Receive FIFO full This bit is cleared when one FIFO location becomes empty.

TXFIFOE

Transmit FIFO empty This bit is cleared when one FIFO location becomes full.

RXFIFOE

Receive FIFO empty This is a hardware status flag only, does not generate an interrupt. This bit is cleared when one FIFO location becomes full.

BUSYD0

Inverted value of SDMMC_D0 line (Busy), sampled at the end of a CMD response and a second time 2 SDMMC_CK cycles after the CMD response. This bit is reset to not busy when the SDMMCD0 line changes from busy to not busy. This bit does not signal busy due to data transfer. This is a hardware status flag only, it does not generate an interrupt.

BUSYD0END

end of SDMMC_D0 Busy following a CMD response detected. This indicates only end of busy following a CMD response. This bit does not signal busy due to data transfer. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

SDIOIT

SDIO interrupt received. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

ACKFAIL

Boot acknowledgment received (boot acknowledgment check fail). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

ACKTIMEOUT

Boot acknowledgment timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

VSWEND

Voltage switch critical timing section completion. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

CKSTOP

SDMMC_CK stopped in Voltage switch procedure. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

IDMATE

IDMA transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

IDMABTC

IDMA buffer transfer complete. interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR.

Links

()