Page 1 of 2

i2s on Raspberry pi 3 model B

PostPosted: 09 Sep 2016, 03:56
by cdeveza
I have search all over the place, no guide in getting i2s off my RP3 model B to my Buffalo IIIse. I think I got the wiring correct, but no signal coming out of the pins. All the instructions I get is for RP2 Model B, but not for RP3 model B. Does anybody knows how to do this? Care to share? Very much appreciated if you do.

Thanks,
Alex

Re: i2s on Raspberry pi 3 model B

PostPosted: 09 Sep 2016, 04:34
by dunghnguyen
You could take out the microsd card to put it in the laptop then open /boot/config.txt by Notepad++ to uncomment the hifiberrydac, save, unmount then put it back to boot RPi3.

Can you share the photo of how you wire the I2S connection from RPi3 to your DAC?

Re: i2s on Raspberry pi 3 model B

PostPosted: 09 Sep 2016, 08:11
by cdeveza
HiFiberrydac is already uncommented. RP3 model B, does not have p5. Here is the photo of my wiring.

Re: i2s on Raspberry pi 3 model B

PostPosted: 09 Sep 2016, 09:19
by dunghnguyen
It seems you connected wrong pins allocation. Let follow this below picture. Take attention the LED to make sure where the right GPIO end.

Image

What type is your dac?

You do not connect 5V? Use external power?

Have you select the HifiBerry Dac in menu/mpd?

Re: i2s on Raspberry pi 3 model B

PostPosted: 09 Sep 2016, 09:27
by hondagx35
Hi,

All the instructions I get is for RP2 Model B, but not for RP3 model B

With RuneAudio there is no difference at the moment.
Booth use same image and are pin compatible.

dunghnguyen wrote:It seems you connected wrong pins allocation

Why? For me it looks good. He has used the right pins.
Maybe he mixed up the connections on the Buffalo.

Your DAC is jumpered correctly?

Code: Select all
but no signal coming out of the pins.

Did you measure this with a scope?

Which driver have you enabled?

Frank

Re: i2s on Raspberry pi 3 model B

PostPosted: 09 Sep 2016, 09:37
by dunghnguyen
Hi Frank...yes sorry he connected properly except the 5V that I guess he used external power

Re: i2s on Raspberry pi 3 model B

PostPosted: 10 Sep 2016, 00:59
by cdeveza
Thanks guys for your replies and help. Ok, in config.txt, I uncomment these

dtparams=i2s=on

dtoverlay=hifiberry-dac

Thats it. Sorry for the ignorance, but can you clarify by what driver to use? and also, I do have a scope, but not sure how to connect and what to expect. I did use my multimeter, and all the pins where the wires are connected shows no signal, meaning zero volts. Not sure if it is suppose to be like that.

My DAC is the Buffalo IIIse, and yes, the connection is correct on the DAC side. I do have an Amanero USB and I tested the connection with the Amanero and it works. I think, its on the software side.

What am I doing wrong???? Help!!

Alex

Re: i2s on Raspberry pi 3 model B

PostPosted: 10 Sep 2016, 01:47
by cdeveza
Sorry again for my ignorance. I got it hooked-up correctly, however, I was expecting the Buffallo IIIse to lock right away. I tried to play something anyways, and lo and behold, I got music. However, correct me if I am wrong, this setup of connecting directly to a DAC, although it sounded terrific is only limited to 44.1khz of music and its multiples. 48khz and its multiples does not work. And DSD files (dsf's) also does not work. So if I understand it correctly, to get all kind of signals, Twisted Pair's solutions seems to be ideal. Using Hermes as an isolator and Cronus for the timing crystals. They do have a kit, but for Beaglebone Black. So if I am correct to all I am saying, have anybody tried to do connect raspberry pi 3 model B to Twisted Pair's Hermes and Cronus? Or has anybody got better ideas to get all signals?

Thanks again for all the help.

Alex

Re: i2s on Raspberry pi 3 model B

PostPosted: 10 Sep 2016, 07:10
by dunghnguyen
cdeveza wrote:...
dtparams=i2s=on
...

Alex


Hi Alex. From the instruction of Frank's ( @hongdagx35 ) we don't need this uncomment.

For the cables connecting to your DAC end, you should copy its picture here that I think Frank can check and advise further.

At least as what I know, the native DSD signal cannot be transferred via I2S except DoP. Even DoP it depends on the DAC chip. For native DSD it is transferred via USB and depending on DAC chip, we need the respective daughter board as well. In the DSD mode, some additional input pins to be connected to the DAC board for DSD decoding.

Re: i2s on Raspberry pi 3 model B

PostPosted: 10 Sep 2016, 23:07
by cdeveza
I was able to play music via i2s, but very limited frequency and no dsd. I have been using my raspberry pi 3 model B using rune via USB to my Buffalo IIIse and I can play all kind of music, from 44.1kz all the way up to the highest DSD 5.6Mhz. DSD may not be native dsd, but the quality of the sound, at least for me is quite superb. The end of the line, I think, is to be able to send native dsd over i2s at its highest frequency, you can not go any higher. So although there are still work to be done on my rig, I am quite happy with what I have.

Alex