Setup as 16 bits but I2S is giving me 24 bits.

Status
Not open for further replies.

brad

New member
I am using the audio board and Teency 3.2 boards. The code is the USB pass through in the examples under audio. I expect to see 16 bits on the i2S but when I look at it on the scope it seams to be 24 bits.

Anyone have any ideas on why this is happening? Can I truncate it at 16 bits and still get good audio out?

This is a scope trace of the output. Top trace is RLCLK and bottom is the data out of the board.

24bitI2S.png
 
It is 32 Bit, not 24 (least 16 significant bits are 0). A lot of people are using I2S, including me, and yes, trust us: It just works, with good quality :) You can use the Audioshield for example. Other chips than SGTL5000 might use different settings/parameters and may need an different "driver" (output-object). Its just because some chips use slightly different I2S formats. A good example is the PT8211, it has its own audiolibrary driver.
 
Last edited:
Status
Not open for further replies.
Back
Top