stm32 /stm32n6 /STM32N655 /SPDIFRX /SPDIFRX_CR

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 SPDIFRX_CR

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)SPDIFRXEN 0 (B_0x0)RXDMAEN 0 (B_0x0)RXSTEO 0 (B_0x0)DRFMT 0 (B_0x0)PMSK 0 (B_0x0)VMSK 0 (B_0x0)CUMSK 0 (B_0x0)PTMSK 0 (B_0x0)CBDMAEN 0 (B_0x0)CHSEL 0 (B_0x0)NBTR 0 (B_0x0)WFA 0 (B_0x0)INSEL0 (B_0x0)CKSEN 0 (B_0x0)CKSBKPEN

VMSK=B_0x0, CHSEL=B_0x0, WFA=B_0x0, INSEL=B_0x0, CKSEN=B_0x0, CBDMAEN=B_0x0, SPDIFRXEN=B_0x0, CUMSK=B_0x0, CKSBKPEN=B_0x0, DRFMT=B_0x0, PTMSK=B_0x0, PMSK=B_0x0, RXDMAEN=B_0x0, NBTR=B_0x0, RXSTEO=B_0x0

Description

SPDIFRX control register

Fields

SPDIFRXEN

Peripheral block enableless thansup>(1)less than/sup>

0 (B_0x0): Disable SPDIFRX (STATE_IDLE).

1 (B_0x1): Enable SPDIFRX synchronization only.

3 (B_0x3): Enable SPDIF receiver.

RXDMAEN

Receiver DMA enable for data flowless thansup>(1)less than/sup>

0 (B_0x0): DMA mode is disabled for reception.

1 (B_0x1): DMA mode is enabled for reception.

RXSTEO

Stereo modeless thansup>(1)less than/sup>

0 (B_0x0): The peripheral is in mono mode.

1 (B_0x1): The peripheral is in stereo mode.

DRFMT

RX data formatless thansup>(1)less than/sup>

0 (B_0x0): Data samples are aligned in the right (LSB).

1 (B_0x1): Data samples are aligned in the left (MSB)

2 (B_0x2): Data sample are packed by setting two 16-bit sample into a 32-bit word.

PMSK

Mask parity error bitless thansup>(1)less than/sup>

0 (B_0x0): The parity error bit is copied into the SPDIFRX_FMTx_DR.

1 (B_0x1): The parity error bit is not copied into the SPDIFRX_FMTx_DR, a zero is written instead.

VMSK

Mask of validity bitless thansup>(1)less than/sup>

0 (B_0x0): The validity bit is copied into the SPDIFRX_FMTx_DR.

1 (B_0x1): The validity bit is not copied into the SPDIFRX_FMTx_DR, a zero is written instead.

CUMSK

Mask of channel status and user bitsless thansup>(1)less than/sup>

0 (B_0x0): The channel status and user bits are copied into the SPDIFRX_FMTx_DR.

1 (B_0x1): The channel status and user bits are not copied into the SPDIFRX_FMTx_DR, zeros are written instead.

PTMSK

Mask of preamble type bitsless thansup>(1)less than/sup>

0 (B_0x0): The preamble type bits are copied into the SPDIFRX_FMTx_DR.

1 (B_0x1): The preamble type bits are not copied into the SPDIFRX_FMTx_DR, zeros are written instead.

CBDMAEN

Control buffer DMA enable for control flowless thansup>(1)less than/sup>

0 (B_0x0): DMA mode is disabled for reception of channel status and used data information.

1 (B_0x1): DMA mode is enabled for reception of channel status and used data information.

CHSEL

Channel selectionless thansup>(1)less than/sup>

0 (B_0x0): The control flow takes the channel status from channel A.

1 (B_0x1): The control flow takes the channel status from channel B.

NBTR

Maximum allowed re-tries during synchronization phaseless thansup>(1)less than/sup>

0 (B_0x0): No re-try is allowed (only one attempt)

1 (B_0x1): 3 re-tries allowed

2 (B_0x2): 15 re-tries allowed

3 (B_0x3): 63 re-tries allowed

WFA

Wait for activityless thansup>(1)less than/sup>

0 (B_0x0): The SPDIFRX does not wait for activity on SPDIFRX_IN line before performing the synchronization.

1 (B_0x1): The SPDIFRX waits for activity on SPDIFRX_IN line (4 transitions) before performing the synchronization.

INSEL

SPDIFRX input selection

0 (B_0x0): SPDIFRX_IN0 selected

1 (B_0x1): SPDIFRX_IN1 selected

2 (B_0x2): SPDIFRX_IN2 selected

3 (B_0x3): SPDIFRX_IN3 selected

CKSEN

Symbol clock enable

0 (B_0x0): The SPDIFRX does not generate a symbol clock.

1 (B_0x1): The SPDIFRX generates a symbol clock.

CKSBKPEN

Backup symbol clock enable

0 (B_0x0): The SPDIFRX does not generate a backup symbol clock.

1 (B_0x1): The SPDIFRX generates a backup symbol clock if CKSEN = 1.

Links

()