Skip to main content
korhal
Associate
February 8, 2016
Question

I2S2(I2S2_ext) full duplex on STM32F301x6

  • February 8, 2016
  • 4 replies
  • 837 views
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!

    This topic has been closed for replies.

    4 replies

    waclawek.jan
    Super User
    February 8, 2016
    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
    korhalAuthor
    Associate
    February 8, 2016
    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 ? 

    waclawek.jan
    Super User
    February 9, 2016
    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
    Visitor II
    February 10, 2016
    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-