I2S to 16 bit
Hi to all! I try to connect my Omega2 to TDA1543. But standart I2S audio card output have 24 bit. I need to switch I2S output to 16 bit format (MT7688 can do it, I suppose). Somebody did this?
@Andrew-Naumenko Hello, there's
recent post by Mr. Pavel Mitrokhin to connect a MAX98357A
Such device accept 16 to 32 bit i2s, Pavel's stuff should work
then on other 16bit devices...
I rechecked all the parameters of the i2s signal from omega2 and found the problem. i2s signal from omega 2 leaves really 16 bits per channel, but by default the data type is unsigned (u16). In the standard, I2S signal must be signed, and because of this, I have distortions with overload for TDA1543. At tests with MAX98357 these problems did not arise (probably) because it understands 16 24 and 32 bits, because of what the bit of the sign is shifted. When I try to reproduce the sign type of the signal (for example "mpg123 -e s16 test.mp3"), omega 2 is restarting.
same problem here : totally distorded audio with correct real i2s (the philips i2s) format dac ( comparable to ti pcm5102). unsigned as default is probably the culprit. I do not know how to fix myself. would be nice to have a fix in the coming days/weeks for the standart i2s devices as Andrew one and mine. thanks all in advance