Download Print this page

ST STM32F301 6 Series Reference Manual page 825

Advanced arm-based 32-bit mcus

Advertisement

RM0366
synchronization is lost, the following steps are required to recover from this state and
resynchronize the external master device with the I2S slave device:
1.
Disable the I2S.
2.
Enable it again when the correct level is detected on the WS line (WS line is high in I
mode or low for MSB- or LSB-justified or PCM modes.
Desynchronization between master and slave devices may be due to noisy environment on
the CK communication clock or on the WS frame synchronization line. An error interrupt can
be generated if the ERRIE bit is set. The desynchronization flag (FRE) is cleared by
software when the status register is read.
27.7.10
DMA features
2
In I
S mode, the DMA works in exactly the same way as it does in SPI mode. There is no
difference except that the CRC feature is not available in I
transfer protection system.
27.8
I2S interrupts
Table 111
Transmit buffer empty flag
Receive buffer not empty flag
Overrun error
Underrun error
Frame error flag
Serial peripheral interface / integrated interchip sound (SPI/I2S)
provides the list of I2S interrupts.
Table 111. I2S interrupt requests
Interrupt event
Event flag
TXE
RXNE
OVR
UDR
FRE
RM0366 Rev 5
2
S mode since there is no data
Enable control bit
TXEIE
RXNEIE
ERRIE
2
S
825/874
836

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series