cancel
Showing results for 
Search instead for 
Did you mean: 

SPI2 in I2S mode troubles

mdeneen
Associate II
Posted on November 12, 2008 at 18:03

SPI2 in I2S mode troubles

3 REPLIES 3
mdeneen
Associate II
Posted on May 17, 2011 at 12:50

In case anyone was curious, I resolved my issue. MCLK was not configured properly. I now have WAV files playing using a TI TLV320AIC23B codec. Yippie! :)

mdeneen
Associate II
Posted on May 17, 2011 at 12:50

I am trying to use SPI2 in I2S mode on a STM32F103RE (this one has I2S) and I am having some trouble. I believe I have all of the clocks configured correctly, as well as the peripheral configuration. In a nutshell, here's what happens:

I write a byte to SPI2_DR. The TXE flag gets cleared, but BSY never gets set and TXE never gets set again. It feels like nothing is getting clocked out.

In my configuration, I am operating as the I2S master, and the master clock is enabled. Any ideas? I just want to hear a chirp. :)

marcin_kasz
Associate II
Posted on December 22, 2011 at 14:09

mdeneen,

Please tell what you have changed.

Regards