TI DIR9001 IC implementations confusion #1895
-
Hello! first off thank you for all the great help so far. I have a TV with only one audio output which is using Toslink. I've bought a board for converting SPDIF to I2S which uses the TI DIR9001 IC to do the conversion (link below). The board is set to use the PLL to recover the clock of input signal from the SPDIF and thus doesn't need an external crystal for MCLK. What is confusing and counter intuitive is that in the TI datasheet (link below) described that the IC outputs to I2S only a 24 bit rate signal (another option is 16 bit justified signal). I've tried different settings for the AudioInfo class but 24 bit wasn't working. What works is using 32-bit. I'm asking if there is a problem within a library (which I doubt), my understanding of audio or they use a fake IC or something which would be weird as well... Datasheet for TI DIR9001 Here is an example code that works with this board (it might work as well using RXTX mode):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think you just forgot to set the right i2s_format in the sketch. |
Beta Was this translation helpful? Give feedback.
I think you just forgot to set the right i2s_format in the sketch.
32 bits is working because 24 bits are represented by int32_t