cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407, I2S with 8bit data format

daniele
Associate II
Posted on April 24, 2014 at 19:43

Hi,

I have to revceive data from a device that is sending I2S with 8 bit data format....

The smallest I see is the 

I2S_DataFormat_16b,...

Is there a way that I can receive correctly this 8 bit data format?

Thanks

10 REPLIES 10
Posted on April 25, 2014 at 14:13

My recollection of I2S is that it comes from the CD player chipsets and DACs, where left/right channels were shifted as a continuous stream 16-bit left/right channel and the WS indicating which channel was being sent, and providing synchronization.

It has been subsequently bastardized into other formats (to avoid patent/licensing issues and litigation), including apparently mono PCM streams, bit direction, stuffing in random bits, and being of random bit lengths and coding schemes. These would be PCM formats, that some codecs can generate or source, but are technically serial sound formats, not I2S. Controllers offering I2S, may also be configurable in other ways.

Pretty sure the STM32 will work with CD/DVD audio codecs and dacs, but it's definitely not sufficiently flexible for Telco audio formats, or codecs that invent their own standards.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..