cancel
Showing results for 
Search instead for 
Did you mean: 

I2S2(I2S2_ext) full duplex on STM32F301x6

korhal
Associate II
Posted on February 08, 2016 at 14:52

Hello!

I want to use I2S2(I2S2_ext) in full duplex mode. I configure I2S2 as slave TX and I2S2_ext as slave RX. Will it work ? Or I2S2 must be master only ?

Thanks in advance!

4 REPLIES 4
Posted on February 08, 2016 at 15:30

You mean, with an external source of the clocks? I did not try personally but it is intended to work in this way.

JW

korhal
Associate II
Posted on February 09, 2016 at 00:38

Yes, external source of the clocks. I am not sure if I2S2 can provide incoming bit clock to I2S2_ext. Can anybody confirm that my configuration is OK ? 

Posted on February 09, 2016 at 09:30

In the F4 SPL there is an example with two boards with I2S interconnected, where one is master other slave. Isn't there something similar in the 'F3 SPL or Cube? That is sort of a confirmation that it works as you intended. There still might be a silicon bug in the particular model you chose, though... so you can't be sure until you try yourself...

JW

Walid FTITI_O
Senior II
Posted on February 10, 2016 at 12:43

Hi korhal.korhal,

Yes, your configuration is correct and it will work.

Note, that the I2Sx can be either slave or master. But, the I2Sx_ext can be only in slave mode.

Try to figure out more details in the STM32F301xx reference manual

http://www.st.com/web/en/resource/technical/document/reference_manual/DM00094350.pdf

, SPI/I2S section.

-Hannibal-