i2s audio with pcm5102
-
Has anyone tried it and succeded? I did everything according to the latest manual, connected BCLK, LCLK and DIN, but got no sound.
-
you need to update (oupgrade command) to late firmwares and activate (command line) i2s mode for the gpio . you need to use the 3 mentioned pins that are specific on the onion boards . there is a 2 bulletarticle tutorial.
http://community.onion.io/topic/1761/resolved-attaching-pcm5102-to-omega2-i2s
tell us your progress and trials.
-
Yes, I performed all steps. I can the the card listed, no errors when I play internet radio, but no sound from the headphones
-
@Denis-Mikhalsky Have you changed the GPIO muxing to enable I2S?
omega2-ctrl gpiomux set i2s i2s
-
@Lazar-Demin of course, I did. I assume otherwise I would had errors when trying to play internet radio.
Is Build177 OK? Shall I oupgrade to the absolutely latest build?
-
@Denis-Mikhalsky
I use b177 I get some correct sound (not perfect due to some incompatibilities with my standart dac) but that should work b177 is not the problem look else for the cause .I think I got an idea for you to check later : pcm 5102 has a format pin for hardware configuring to adapt to the received i2s mode format. maybe you could change from one to another between LJustified and i2s justified but I do not think that is the problem of lack of sound (only proper decoding of bits without overdrive/distortions).
-
@sonus I've made some progress. On my module, it's needed to connect XMT (HW Mute) to 3.3V AND to connect FMT to Gnd.
The only remaininng issue I have is that i2s pin assgnemnt is not persistent. I have to type omega2-ctrl gpiomux set i2s i2s after every reboot.
-
@Denis-Mikhalsky
also you need to configure your pcm5102 to i2s mode format (not LJ) on a first trial . it should work perfectly.