cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in STM32 I2S interface

jcrepetto
Associate II
Posted on September 15, 2009 at 14:24

Bug in STM32 I2S interface

1 REPLY 1
jcrepetto
Associate II
Posted on May 17, 2011 at 13:23

Hello,

I think I have found a bug in the I2S interface of the STM32F103ZE.

I have programmed the I2S2 interface in Master Receive PCM Mode.

Then, I have tested the four variants shown on figures 227 and 228 of the STM32 Reference manual Rev 9 (page 606).

Short frame sync, 16 bits data, 16 bits packet frame :

SPI2->I2SCFGR = 0x0F30;

OK !

Short frame sync, 16 bits data, 32 bits packet frame :

SPI2->I2SCFGR = 0x0F31;

OK !

Long frame sync, 16 bits data, 16 bits packet frame :

SPI2->I2SCFGR = 0x0FB0;

OK !

Long frame sync, 16 bits data, 32 bits packet frame :

SPI2->I2SCFGR = 0x0FB1;

BAD ! The packet frame is still 16 bits long !

Can somebody confirm that it is a bug ?

[ This message was edited by: jcrepetto on 15-09-2009 17:58 ]