Forum
Adding an I2S DAC for audiophile quality sound. - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Peripherals (/forum-27.html)
+--- Thread: Adding an I2S DAC for audiophile quality sound. (/thread-2551.html)

Pages: 1 2


RE: Adding an I2S DAC for audiophile quality sound. - valbor - 9th May, 2018 02:30 AM

hi
i have X920 and don't have sound on RSA,
on HDMI - OK
http://www.raspberrypiwiki.com/index.php/X920
there shouldn't be problems


RE: Adding an I2S DAC for audiophile quality sound. - Nachteule - 9th May, 2018 05:18 AM

@valbor
Did you enable the device in /boot/config.txt?


RE: Adding an I2S DAC for audiophile quality sound. - valbor - 9th May, 2018 12:10 PM

Hi
I haven't understood a question
I did nothing yet, on LibreElec there is no sound on a RSA too

PCM5122 is in the I2C-mode: 17 pin - Low, 18 pin - High

pinout:
PCM5122 name Rpi name
11 SDA 3 SDA1
12 SCL 5 SCL1
23 LRCK 35 GPIO19
21 BCK 12 GPIO18
22 DIN 40 GPIO21

16,20,24 - GND
19 - NC


RE: Adding an I2S DAC for audiophile quality sound. - valbor - 9th May, 2018 03:03 PM

it is corrected:
on LibreElec there is no sound on a RCA too:
/$ lsmod
Module Size Used by
hci_uart 15605 1
btbcm 5315 1 hci_uart
bluetooth 292114 3 hci_uart,btbcm
brcmfmac 184788 0
brcmutil 4893 1 brcmfmac
cfg80211 247994 1 brcmfmac
rfkill 13757 4 bluetooth,cfg80211
bcm2835_gpiomem 2652 0
fixed 2407 0
/$ aplay -l
aplay: device_list:270: no soundcards found...
/$ alsamixer
-sh: alsamixer: not found



PCM5122 is in the I2C-mode: 17 pin - Low, 18 pin - High

pinout:
PCM5122-------------name-------------Rpi------------------name
11---------------------SDA---------------3-------------------SDA1
12---------------------SCL----------------5-------------------SCL1
23---------------------LRCK--------------35-----------------GPIO19
21---------------------BCK----------------12----------------GPIO18
22---------------------DIN----------------40----------------GPIO21

16,20,24 - GND
19 - NC


RE: Adding an I2S DAC for audiophile quality sound. - valbor - 9th May, 2018 06:02 PM

(9th May, 2018 05:18 AM)Nachteule Wrote:  @valbor
Did you enable the device in /boot/config.txt?

I can't make it because I have not password of the administrator


RE: Adding an I2S DAC for audiophile quality sound. - deHakkelaar - 9th May, 2018 06:38 PM

If you mean the 'root' account:

Code:
sudo su -



RE: Adding an I2S DAC for audiophile quality sound. - Skywatch - 9th May, 2018 06:48 PM

What version of pi are you using?
Are you sure that the board will work the the version of pi you have attached it to?
What is the output of cat /etc/asound.conf ?
To edit the config file you simply need to use 'sudo nano /boot/config.txt' - Then when changes done use ctrl-o to save and ctrl-x to exit and reboot the pi.


RE: Adding an I2S DAC for audiophile quality sound. - valbor - 9th May, 2018 06:59 PM

I use WinSCP


RE: Adding an I2S DAC for audiophile quality sound. - Nachteule - 9th May, 2018 08:06 PM

(9th May, 2018 06:02 PM)valbor Wrote:  
(9th May, 2018 05:18 AM)Nachteule Wrote:  @valbor
Did you enable the device in /boot/config.txt?

I can't make it because I have not password of the administrator

You do not need admin (root) pw
Put card into your card reader, plug reader into usb port of your (Windows)-PC and edit config.txt file on first partition on sd-card (this VFAT partition, so you do not have any problems from Windows side)

append lines to config.txt described in "For RuneAudio" section in the link you posted in your first post


RE: Adding an I2S DAC for audiophile quality sound. - Nachteule - 9th May, 2018 08:12 PM

(9th May, 2018 12:10 PM)valbor Wrote:  Hi
I haven't understood a question
I did nothing yet, on LibreElec there is no sound on a RSA too

Sure, if card is not enabled, no drivers loaded no soundcard is available

Plz read section "For RuneAudio" of the article you posted and add the two lines


RE: Adding an I2S DAC for audiophile quality sound. - valbor - 9th May, 2018 10:25 PM

PuTTy - help me

# Please note, this setting should be commented out if a Hifiberry
# device is used.
# dtparam=audio=on
#dtparam=i2s=on
dtoverlay=iqaudio-dacplus
works too:dtoverlay=iqaudio-dac
dtoverlay=lirc-rpi,debug
dtoverlay=lirc-rpi,gpio_out_pin=17,gpio_in_pin=22,debug

new device:
ALSA:Default(IQaudIODAC Analog)

Tnanks you!!!!!!!!!!!!!!!!!!


RE: Adding an I2S DAC for audiophile quality sound. - Skywatch - 10th May, 2018 01:22 AM

Well done - I hope that put a smile on your face when it worked.

BTH it is easier now with DT entries than it was before with wheezy - but still you have to get it right, which you did! Smile


RE: Adding an I2S DAC for audiophile quality sound. - Nachteule - 10th May, 2018 01:47 AM

(10th May, 2018 01:22 AM)Skywatch Wrote:  Well done - I hope that put a smile on your face when it worked.

BTH it is easier now with DT entries than it was before with wheezy - but still you have to get it right, which you did! Smile

... and ... who can read is clearly in the advantage Big GrinTongueBig Grin