stm32 /stm32wb0 /STM32WB07 /SPI1 /SPI1_I2SCFGR

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 SPI1_I2SCFGR

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 (CHLEN)CHLEN 0DATLEN 0 (CKPOL)CKPOL 0I2SSTD 0 (PCMSYNC)PCMSYNC 0I2SCFG 0 (I2SE)I2SE 0 (I2SMOD)I2SMOD 0 (ASTREN)ASTREN

Description

SPI1_I2SCFGR register

Fields

CHLEN

Channel length (number of bits per audio channel)

  • 0: 16-bit wide
  • 1: 32-bit wide The bit write operation has a meaning only if DATLEN = 00 otherwise the channel length is fixed to 32-bit by hardware whatever the value filled in.
DATLEN

Data length to be transferred

  • 00: 16-bit data length
  • 01: 24-bit data length
  • 10: 32-bit data length
  • 11: Not allowed
CKPOL

Steady state clock polarity

  • 0: I2S clock steady state is low level
  • 1: I2S clock steady state is high level
I2SSTD

I2S standard selection

  • 00: I2S Philips standard.
  • 01: MSB justified standard (left justified)
  • 10: LSB justified standard (right justified)
  • 11: PCM standard
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.
I2SCFG

I2S configuration mode

  • 00: Slave - transmit
  • 01: Slave - receive
  • 10: Master - transmit
  • 11: Master - receive
I2SE

I2S enable

  • 0: I2S peripheral is disabled
  • 1: I2S peripheral is enabled Note: This bit is not used in SPI mode.
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.
ASTREN

Asynchronous start enable.

  • 0: The Asynchronous start is disabled. When the I2S is enabled in slave mode, the I2S slave starts the transfer when the I2S clock is received and an appropriate transition (depending on the protocol selected) is detected on the WS signal.
  • 1: The Asynchronous start is enabled. When the I2S is enabled in slave mode, the I2S slave starts immediately the transfer when the I2S clock is received from the master without checking the expected transition of WS signal. Note: The appropriate transition is a falling edge on WS signal when I2S Philips Standard is used, or a rising edge for other standards.

Links

()