DocID025202 Rev 7
956/1080
RM0365
Serial peripheral interface / inter-IC sound (SPI/I2S)
959
30.9.8 SPIx_I
2
S configuration register (SPIx_I2SCFGR)
Address offset: 0x1C
Reset value: 0x0000
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Res.
Res.
Res.
Res.
I2SMOD
I2SE
I2SCFG
PCMSYNC
Res.
I2SSTD
CKPOL
DATLEN
CHLEN
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits 15:12 Reserved: Forced to 0 by hardware
Bit 11
I2SMOD
: I2S mode selection
0: SPI mode is selected
1: I2S mode is selected
Note: This bit should be configured when the SPI is disabled.
Bit 10
I2SE
: I2S enable
0: I
2
S peripheral is disabled
1: I
2
S peripheral is enabled
Note: This bit is not used in SPI mode.
Bits 9:8
I2SCFG
:
I2S configuration mode
00: Slave - transmit
01: Slave - receive
10: Master - transmit
11: Master - receive
Note: These bits should be configured when the I
2
S is disabled.
They are not used in SPI mode.
Bit 7
PCMSYNC
: PCM frame synchronization
0: Short frame synchronization
1: Long frame synchronization
Note: This bit has a meaning only if I2SSTD = 11 (PCM standard is used).
It is not used in SPI mode.
Bit 6 Reserved: forced at 0 by hardware
Bits 5:4
I2SSTD
: I
2
S standard selection
00: I
2
S Philips standard.
01: MSB justified standard (left justified)
10: LSB justified standard (right justified)
11: PCM standard
For more details on I
2
S standards, refer to
Note: For correct operation, these bits should be configured when the I
2
S is disabled.
They are not used in SPI mode.