Skip to main content
SMitt1
Visitor II
Feb 12, 2020 3:03 PM UTC
Solved

How to do I2S interface in stm32f401re ?

I am using stm32 cube mx and keil. I am trying it using i2s3 in master mode and dma but it is giving wrong inputs. Please help me.

This topic has been closed for replies.
Houssem CHAABANI
Houssem CHAABANIBest answer
Visitor II
Nov 30, 2020 10:48 AM UTC

Dear @SMitt​ ,

In order to activate I2S in master mode with DMA you need to:

  • Activate I2S3 and choose between Half-duplex/Full-duplex under multimedia.
  • Add DMA under System core and choose I2S_EXT_RX.

After that you will have i2s master configured with DMA.

Hope that this solve your issue,

Kind regards,

Houssem

1 reply

Houssem CHAABANI
Houssem CHAABANIBest answer
Visitor II
Nov 30, 2020 10:48 AM UTC

Dear @SMitt​ ,

In order to activate I2S in master mode with DMA you need to:

  • Activate I2S3 and choose between Half-duplex/Full-duplex under multimedia.
  • Add DMA under System core and choose I2S_EXT_RX.

After that you will have i2s master configured with DMA.

Hope that this solve your issue,

Kind regards,

Houssem