47.7.2 SPDIF Receiver Mode Register

This register can only be written if the WPEN bit is cleared in the SPDIF Receiver Write Protection Mode Register.

Name: SPDIFRX_MR
Offset: 0x04
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
        AUTORST 
Access R/W 
Reset 0 
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
        SBMODE 
Access R/W 
Reset 0 
Bit 76543210 
 PACK DATAWIDTH[1:0]PBMODEENDIANVBMODERXEN 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bit 24 – AUTORST Consecutive Preamble Error Threshold Automatic Restart

ValueNameDescription
0 NOACTION No action whatever the number of consecutive preamble errors found during the period where SPDIFRX_RSR.ULOCK=0.
1 UNLOCK_ON_PRE_ERR If 16 consecutive preamble errors are detected, the clock recovery circuitry is restarted.

Bit 8 – SBMODE Start of Block Bit Mode

ValueNameDescription
0 ALWAYS_LOAD Whatever the preamble code, the sample is loaded in FIFO.
1 DISCARD The sample is loaded in FIFO only if a Start of Block is detected.

Bit 7 – PACK Packed Data Mode in Receive Holding Register

ValueNameDescription
0 DISABLED Each read of SPDIFRX_RHR contains 1 sample and additional information (validity bit, parity bit, user data bit, channel status bit, byte 0 bit 1 of channel status and type of frame carrying the sample).
1 ENABLED The 32-bit SPDIFRX_RHR contains only payload data. Depending on the value of SPDIFRX_MR.DATAWIDTH, the alignment of data differs. This mode optimizes the amount of system memory required to manage the samples.

Bits 5:4 – DATAWIDTH[1:0] Sample Data Width

ValueNameDescription
0 24BIT The complete data field is stored in FIFO.
1 20BIT Only the 20 MSB are stored in the FIFO.
2 16BIT Only the 16 MSB are stored in the FIFO.
3 Reserved Reserved

Bit 3 – PBMODE Parity Bit Mode

ValueNameDescription
0 PARCHECK Parity check enabled on data payload
1 NOPARCHECK No parity check on data payload

Bit 2 – ENDIAN Data Word Endian Mode

ValueNameDescription
0 LITTLE Little-endian mode for 24-bit samples
1 BIG Big-endian mode for 24-bit samples

Bit 1 – VBMODE Validity Bit Mode

ValueNameDescription
0 ALWAYS_LOAD Whatever the validity bit value is, the sample is loaded in FIFO.
1 DISCARD_IF_VB1 The sample is loaded in FIFO only if the validity bit equals 0.

Bit 0 – RXEN SPDIF Receive Enable

ValueNameDescription
0 DISABLE The SPDIF receiver is disabled.
1 ENABLE The SPDIF receiver is enabled.