i2s connection to an external DAC

Raspberry Pi related support

i2s connection to an external DAC

Postby jazzaj » 14 Aug 2015, 19:29

Hi all,

Today, I tried to connect my RPI2B to my DAC, an Audio-gd NFB1 (ES9018), via the i2s input of the DAC (RJ45).

According to the Audio-gd website, the RJ45 use the follow pins define :
Image
Pin 1 : SDATA
Pin 3 : LRCK
Pin 5 : SCLK
Pin 7 : MCLK
Pin 2,4,6,8 GND
ES9018 doesn't need MCLK and Audio-gd asks to cut the MCLK wire in the source and connect to GND, so the schema become :

For the RPI2B i2s output, I follow the schema on Archpile website :
Image

I used a short cat7 cable (10cm) with this schema :
RJ45 > GPIO
Pin 1 (SDATA) Pin 40
Pin 3 (LRCK) Pin 35
Pin 5 (SCLK/BCK) Pin 12
Pin 2,4,6,7,8 (GND) all on Pin 39

Once the cable connect to the GPIO and the DAC, I tried to play Runeaudio... but without success because I can't choose the proper MPD Audio output interface. :(
In config.txt, I uncommented the line "device_tree_param=i2s=on" and, one after the other, the lines of audio interfaces, but each time, after reboot, I can't see none of the i2s audio interface.

Any idea ?
Odroid C1+ (/regulated linear PSU) > Audio-gd NFB-1 (with Amanero384 combo) > Audio-gd Precision 2 > Triangle Lyrr 222
User avatar
jazzaj
 
Posts: 47
Joined: 23 Apr 2015, 20:49

Re: i2s connection to an external DAC

Postby hondagx35 » 14 Aug 2015, 21:05

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: i2s connection to an external DAC

Postby jazzaj » 15 Aug 2015, 09:21

Hi Franck,

Tried another time this morning, i2s comment, hifiberry digi uncomment, and still no new interface except Amanero (USB DAC), RPI analog output, RPI HDMI output...

Here the debug data :

Odroid C1+ (/regulated linear PSU) > Audio-gd NFB-1 (with Amanero384 combo) > Audio-gd Precision 2 > Triangle Lyrr 222
User avatar
jazzaj
 
Posts: 47
Joined: 23 Apr 2015, 20:49

Re: i2s connection to an external DAC

Postby hondagx35 » 15 Aug 2015, 11:00

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: i2s connection to an external DAC

Postby jazzaj » 15 Aug 2015, 12:41

Ok. This time I can access to the hifiberry-dac but not the iqaudio-dac.
I can play music too but no sound. If I switch to amanero from the mpd audio interface, sound is recover.

Looking to the hifiberry website, it appears that the hifiberry-dac is only running on RPI1, I have RPI2. So I tried to choose hifiberry-dac+ in config.txt, but I can't see this interface (like iqaudio-dac) in the mpd tab.

And yes, I had to manualy config my wifi. I can't remember exactly what was the problem on the first install : can't access to RPI wifi or via the ethernet ?!?
Odroid C1+ (/regulated linear PSU) > Audio-gd NFB-1 (with Amanero384 combo) > Audio-gd Precision 2 > Triangle Lyrr 222
User avatar
jazzaj
 
Posts: 47
Joined: 23 Apr 2015, 20:49

Re: i2s connection to an external DAC

Postby hondagx35 » 15 Aug 2015, 14:27

Hi jazzaj,

sorry my fault.
The iqaudio-dac also uses I2C and therefor needs the appropriate hardware to work.
So the hifiberry-dac seems the only that will work in your case.

An other possibility is to disable device tree and load the needed modules the old way.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: i2s connection to an external DAC

Postby jazzaj » 15 Aug 2015, 14:34

Odroid C1+ (/regulated linear PSU) > Audio-gd NFB-1 (with Amanero384 combo) > Audio-gd Precision 2 > Triangle Lyrr 222
User avatar
jazzaj
 
Posts: 47
Joined: 23 Apr 2015, 20:49

Re: i2s connection to an external DAC

Postby nfb29 » 08 Sep 2015, 16:59

Hello everybody ,

I am also looking for a way to connect my Audio-GD NFB29 with the RaspberryPi 2 on the I2S interface .

About the USB Port everything runs properly.

In the following lines /boot/config.txt I commented out :
device_tree_param = I2S = on
device_tree_overlay = hifiberry - DAC

Then i can select Hifiberry DAC as an audio output interface also, but hear no sound .

Am I on the right track , or I may have another module use ?
nfb29
 
Posts: 3
Joined: 08 Sep 2015, 16:37

Re: i2s connection to an external DAC

Postby popov » 08 Sep 2015, 18:48

Hi

Found this, https://volumio.org/forum/es9018k2m-t1218-20.html
This is the old way, but no I2c

Regards
popov
 
Posts: 55
Joined: 11 Oct 2014, 16:13

Re: i2s connection to an external DAC

Postby nfb29 » 09 Sep 2015, 07:50

nfb29
 
Posts: 3
Joined: 08 Sep 2015, 16:37

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests