44.8.2 I2SC Mode Register

The I2SC_MR must be written when the I2SC is stopped. The proper sequence is to write to I2SC_MR, then write to I2SC_CR to enable the I2SC or to disable the I2SC before writing a new value to I2SC_MR.

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

Bit 3130292827262524 
 IWSIMCKMODEIMCKFS[5:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
   IMCKDIV[5:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 15141312111098 
  TXSAMETXDMATXMONO RXLOOPRXDMARXMONO 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
    DATALENGTH[2:0] MODE 
Access R/WR/WR/WR/W 
Reset 0000 

Bit 31 – IWS I2SC_WS Slot Width

Refer to table Slot Length (I2S format).

ValueDescription
0

I2SC_WS slot is 32 bits wide for DATALENGTH = 18/20/24 bits.

1

I2SC_WS slot is 24 bits wide for DATALENGTH = 18/20/24 bits.

Bit 30 – IMCKMODE Host Clock Mode

Warning: If I2SC_MCK frequency is the same as I2SC_CK, IMCKMODE must be cleared. Refer to section Serial Clock and Word Select Generation and table Slot Length.
ValueDescription
0

No Host clock generated (Selected Clock drives I2SC_CK output).

1

Host clock generated (internally generated clock is used as I2SC_MCK output).

Bits 29:24 – IMCKFS[5:0] Host Clock to fs Ratio

Host clock frequency is [2 x 16 × (IMCKFS + 1)] / (IMCKDIV + 1) times the sample rate, i.e., I2SC_WS frequency.

ValueNameDescription
0M2SF32

Sample frequency ratio set to 32

1M2SF64

Sample frequency ratio set to 64

2M2SF96

Sample frequency ratio set to 96

3M2SF128

Sample frequency ratio set to 128

5M2SF192

Sample frequency ratio set to 192

7M2SF256

Sample frequency ratio set to 256

11M2SF384

Sample frequency ratio set to 384

15M2SF512

Sample frequency ratio set to 512

23M2SF768

Sample frequency ratio set to 768

31M2SF1024

Sample frequency ratio set to 1024

47M2SF1536

Sample frequency ratio set to 1536

63M2SF2048

Sample frequency ratio set to 2048

Bits 21:16 – IMCKDIV[5:0] Selected Clock to I2SC Host Clock Ratio

I2SC_MCK Host clock output frequency is Selected Clock divided by (IMCKDIV + 1). Refer to the IMCKFS field description.

Note:
  1. This field is write-only. Always read as ‘0’.
  2. Do not write a ‘0’ to this field.

Bit 14 – TXSAME Transmit Data when Underrun

ValueDescription
0

Zero sample transmitted when underrun.

1

Previous sample transmitted when underrun

Bit 13 – TXDMA  Single or Multiple DMA Controller Channels for TransmitterDMA Controller Channels for Transmitter

ValueDescription
0

The transmitter uses only one DMA Controller channel for all audio channels.

1

The transmitter uses one DMA Controller channel per audio channel.

Bit 12 – TXMONO Transmit Mono

ValueDescription
0

Stereo

1

Mono, with left audio samples duplicated to right audio channel by the I2SC.

Bit 10 – RXLOOP Loopback Test Mode

ValueDescription
0

Normal mode

1

I2SC_DO output of I2SC is internally connected to I2SC_DI input.

Bit 9 – RXDMA  Single or Multiple DMA Controller Channels for Receiver

ValueDescription
0

The receiver uses only one DMA Controller channel for all audio channels.

1

The receiver uses one DMA Controller channel per audio channel.

Bit 8 – RXMONO Receive Mono

ValueDescription
0

Stereo

1

Mono, with left audio samples duplicated to right audio channel by the I2SC.

Bits 4:2 – DATALENGTH[2:0] Data Word Length

ValueNameDescription
032_BITS

Data length is set to 32 bits.

124_BITS

Data length is set to 24 bits.

220_BITS

Data length is set to 20 bits.

318_BITS

Data length is set to 18 bits.

416_BITS

Data length is set to 16 bits.

516_BITS_COMPACT

Data length is set to 16-bit compact stereo. Left sample in bits 15:0 and right sample in bits 31:16 of same word.

68_BITS

Data length is set to 8 bits.

78_BITS_COMPACT

Data length is set to 8-bit compact stereo. Left sample in bits 7:0 and right sample in bits 15:8 of the same word.

Bit 0 – MODE Inter-IC Sound Controller Mode

ValueNameDescription
0Client

I2SC_CK and I2SC_WS pin inputs used as bit clock and word select/frame synchronization.

1Host

Bit clock and word select/frame synchronization generated by I2SC from MCK and output to I2SC_CK and I2SC_WS pins. Peripheral clock or GCLK is output as Host clock on I2SC_MCK if I2SC_MR.IMCKMODE is set.