HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9023)

Moderators: mdrjr, odroid

HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9023)

Unread postby gkkpch » Mon Aug 24, 2015 10:26 pm

This is a short description on how to connect another DAC, like a 24bit/192Khz Teradak Sabre ES9023 or Audiophonics Sabre ES9023.
The description will likely fit other I2S DAC's too, as long as you make sure to match up the I2S pins properly.
Both DACs come with a power and an I2S connector with open lead ends.

PINOUT
    Power connector:
    red = +5V0
    black = GND
    I2S connector:
    orange = MCLK, do not use => The DAC has an onboard clock, do not use MCLK (you can actually remove it from the connector, see picture 1)
    white = DATA
    red = LRCK
    black = BCK
    yellow = GND

Parts used
(Odroid-C1+)
I2S DAC
Plug: 5 x female Dupont terminal connector and a 7P Dupont connector housing.
(Of course you can use something else, I happened to have these).

IMAG0408.jpg
Picture 1: Parts used
(80.81 KiB) Downloaded 9769 times

Prepare the connector leads
The leads are approx. 20cm, shorten them to the length you need and put a terminal connector on each of them.
Use only one terminal connector for both power GND and I2S GND!

Prepare the Dupont connector
Then put the terminals into the housing as follows (I will call their position "pin 1" to "pin 7", corresponding to the C1+ I2S pins (see picture 2):
    Pin 1: GND <==> GND (yellow from the I2S connector and black from the I2S power connector)
    Pin 2: empty, not connected
    Pin 3: +5V0 (printed as 3V3)<==> 5V0 (red from the DAC power connector
    Pin 4: empty, not connected
    Pin 5: LRLCK <==>LRCK (red from DAC I2S)
    Pin 6: SCLK <==> BCK black from DAC I2S)
    Pin 7: OUT <==> DATA (white from DAC I2S)

IMAG0409.jpg
Picture 2: Connector
(78.25 KiB) Downloaded 9769 times

And finally: plug it in
Re-check the connections, then plug it into the C1+, see picture 3.
Make sure the yellow/black lead corresponds with C1+ I2S GND, while the white lead corresponds to C1+ I2S OUT.

IMAG0410.jpg
Picture 3: Done
(98.42 KiB) Downloaded 9769 times

Configure Volumio
First, prepare your Volumio SD Card and enable the ES9023 DAC from the Settings and Playback Menu.
For this, follow the guide as published on the Volumio site:
https://volumio.org/volumio-and-the-new-odroid-c1-hifi-shield/
The selections are exactly the same as for the HiFi shield (so pick "C1+ HiFi shield" and "ODROID-DAC")

Configure RuneAudio
EDIT 25.08.2015
First, prepare your RuneAudio SD Card. To enable the ES9023 DAC, you have to edit /boot/boot.ini:
Remove the hash in front of the line containing "setenv enabledac", so it looks like this:

Code: Select all
# PCM5102 audio DAC Enable/Disable
# Uncomment the line below to __ENABLE__ Audio-DAC(PCM5102)
setenv enabledac "enabledac"

Reboot.
The C1+ will recognize the ES9023 as an ODROID-DAC, don't worry, the I2S driver is compatible.
So, select ODROID-DAC from Audio output interface in the MPD menu and you're done.

Enjoy!
Gé Koerkamp
Last edited by gkkpch on Sat Sep 05, 2015 2:15 am, edited 4 times in total.
User avatar
gkkpch
 
Posts: 239
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby stmicro » Tue Aug 25, 2015 10:44 am

Great and very useful guide.
Thank you so much.
btw where I can download the RuneAudio image can support the Odroid I2S dac?
stmicro
 
Posts: 215
Joined: Tue Apr 28, 2015 4:23 pm
Location: shenzhen
languages_spoken: english, chinese
ODROIDs: 2 x C1+, 2 x C2
1 x XU-L, 2 x XU3-L, 3 x U3, 2 x U2, 9 x XU4

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby gkkpch » Tue Aug 25, 2015 7:24 pm

Hi,
The availability will be posted on the RuneAudio forum, I will copy a notice in "Other OS". Hopefully it will be today.
User avatar
gkkpch
 
Posts: 239
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby jocoman » Wed Nov 04, 2015 10:11 pm

Works great. Just one little issue.
The initial volume is too high and I have to turn my amp way down and it still is loud.
I ssh'd in and tried to tweak alsamixer but it said "this sound device does not have any controls".
Also the volume adjust in the menu settings don't work for me either.
Any suggestions?
J.
jocoman
 
Posts: 4
Joined: Sat Oct 24, 2015 10:37 am
languages_spoken: english
ODROIDs: C1+

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby odroid » Wed Nov 04, 2015 10:15 pm

Software volume control option in the MPD configuration menu should fix the issue.
User avatar
odroid
Site Admin
 
Posts: 24662
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby jocoman » Thu Nov 05, 2015 6:59 am

Nope. No effect when set to OdroidDac under Volumio.
jocoman
 
Posts: 4
Joined: Sat Oct 24, 2015 10:37 am
languages_spoken: english
ODROIDs: C1+

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby gkkpch » Fri Nov 06, 2015 4:06 am

Hi,
it depends on how you use it. Software control does work, I tested this many times with different DACs.
You're absolutely sure it does not work?
There is a limitation though, but I don't see from your post whether that could be the case.
Volumio's software control is implemented by sending commands to MPD.
In case you use something like Spotify, that will not have any effect.

User avatar
gkkpch
 
Posts: 239
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby jocoman » Thu Mar 17, 2016 9:57 pm

Yeah, I'm using Spotify.
jocoman
 
Posts: 4
Joined: Sat Oct 24, 2015 10:37 am
languages_spoken: english
ODROIDs: C1+

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby TioFrancotirador » Wed Apr 06, 2016 12:15 am

I was able to connect Odroid C1+ (running on volumio) with ak4490 through I2s.
Output stage is passive Super V/I Converter LL1684.
Dac is Nova Plus from here:
http://www.novaplus.com.pl/shop/

https://drive.google.com/open?id=0B6ABk ... VsU2FvVEhN
TioFrancotirador
 
Posts: 6
Joined: Wed Dec 09, 2015 5:42 pm
languages_spoken: english
ODROIDs: Odroid C1+

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby ycat3 » Tue May 03, 2016 5:57 pm

Hi gkkpch,

I followed your great instruction and my ES9023 card is working fine.
Thanks a lot.

I have been using HiFi Shield DAC(PCM5102) long time.
ES9023 is a strong competitor for PCM51XX.
Now I prefer ES9023 rather than PCM5102.

I have an extra advise for you.
Your instruction shows I2S signal GND and power GND are connected to PIn1 together.
This connection might cause GND loop.
I cut off power GND line(black).
I feel better sound quality and clearness.
Off course this is sound preference.
You could try.
ycat3
 
Posts: 20
Joined: Wed Dec 10, 2014 9:28 pm
languages_spoken: Japanese
ODROIDs: XU3 Lite, C1+ HiFi Shield

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby gkkpch » Tue May 03, 2016 7:55 pm

Thanks for the tip, will certainly try it!!
User avatar
gkkpch
 
Posts: 239
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby Rushlight » Sat Sep 17, 2016 10:56 am

I've been trying to use a simple audio DAC from PiMod with my C-0 and have been getting 90% static. i can BARELY hear the audio underneath, so i know my wiring isn't wrong (because some is still coming through)

*EDIT* it seems my DAC requires a specific clock rate for LR and Master; how can I set the clock rates on the Odroid's I2C interface?

http://store.digilentinc.com/pmodi2s-st ... io-output/
:3
Rushlight
 
Posts: 53
Joined: Mon Jun 06, 2016 3:15 pm
languages_spoken: English
ODROIDs: C-0(1)
C-0(2)
16GB-EMMC

RPI3B

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby hyphop » Tue Nov 15, 2016 2:58 pm

any chance to use this dac http://www.ebay.com/itm/Beyond-ES9023-P ... 1441579838

Beyond ES9023 PCM1794 I2S PCM5102 DAC Decoder I2S Player Module For Raspberry Pi
what pinout ? i dont know how connect to c1+ board

smb help me ?
hyphop
 
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby crashoverride » Sat Dec 10, 2016 1:05 pm

hyphop wrote:any chance to use this dac http://www.ebay.com/itm/Beyond-ES9023-P ... 1441579838

I got one that looks exactly like that and got it working on C1+

Code: Select all
DAC     C1(J7)
----------------
VCC     P5V0 (pin 3)
GND     Ground (pin 1)
BCK     GPIOAO.BIT9 [I2S SCLK] (pin 6)
DIN     GPIOAO.BIT11 [I2S Data Output] (pin 7)
LCK     GPIOAO.BIT10 [I2S LRCLK] (pin 5)


[update: The following can optionally be connected.]
Code: Select all
SCL     GPIOAO.BIT8 [I2S MCLK] (pin 4)



Additionally, you need to wire two pins on the DAC board itself.
Code: Select all
FMT to GND
XMT to 3.3V


[update: The following should also be connected.]
Code: Select all
FLT to GND
DMP to GND


The FMT pin sets the protocol, low is I2S, high is left-justified.
The XMT pin is "Soft Mute", low is muted, high is un-muted.

Follow the instructions in the wiki:
http://odroid.com/dokuwiki/doku.php?id= ... ifi_shield

At the time of this writing, the wiki page omits that you need to also load drivers as shown on the C2 wiki page:
http://odroid.com/dokuwiki/doku.php?id= ... ifi_shield
Code: Select all
sudo modprobe snd-soc-pcm5102
sudo modprobe snd-soc-odroid-dac
crashoverride
 
Posts: 3079
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby best_odroidfreak » Wed Dec 14, 2016 5:34 pm

odroid wrote:Software volume control option in the MPD configuration menu should fix the issue.


How about using ES9018K2M ES9018 I2S input DAC decoder board (Support IIS-32bit 384K / DSD64) see link:
http://www.ebay.com/itm/NEW-ES9018K2M-E ... 2068486829
best_odroidfreak
 
Posts: 364
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby best_odroidfreak » Wed Dec 14, 2016 5:38 pm

gkkpch wrote: Hopefully it will be today.


Have you tried this board http://www.ebay.com/itm/NEW-ES9018K2M-E ... 2068486829 ?
best_odroidfreak
 
Posts: 364
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby best_odroidfreak » Sat Mar 11, 2017 4:15 pm

gkkpch wrote:Thanks for the tip, will certainly try it!!

Can be used new model Sabre-ES9023-I2S c2 (e.g. ES9023 TCXO DAC) as DAC for Odroid C2?
See links:
http://www.ebay.com/itm/Audiophonics-DA ... SwEzxYPonx
https://volumio.org/forum/audiophonics- ... 95-10.html
http://theartofsound.net/forum/showthre ... DAC-ES9023

Sabre I2S DAC ES9023 Analog to 24bit / 192kHz ,It can be accessed by synchronous / asynchronous clock
Value converter unbeatable price and offering direct analog outputs, this module is ideal for all DIY projects.

Equipped with the now famous ES9023 SABRE (U-equipping our SABRE), Ultra low noise regulator "ON" and OS-CON capacitor DAC that offers you a rich musical and sound micro details.

Its high versatility enables it to be used directly at the output of a PI Raspberry via the GPIO.
ES9023 internal use patented ultra-line stream (Hyperstream) architecture and Time Domain Jitter technology, so that it can achieve jitter-free recording level of sound quality, dynamic range up to 112dB.

Board making simple, the entire board is free of debugging. Buy kits can not plug the wrong sound normally open.
Features:
Input: I2S
Output: RCA
Sampling rates supported: 16 / 24bit 192 khz
delivered Connectors
Remote connections: 29cm
RCA distance: 20mm
Spacing: 40 x 32mm
PCB Size: 50 x 42mm
I2S input wiring:
Orange: MCLK
Yellow: GND
White: DATA
Red: LRCK
Black: BCK
power input:
Black: GND
Red: + 5V
Package Included:
1x 2Pin cable
1x 5pin cable
1x Audiophonics I2S DAC ES9023 Sabre Analog to 24bit / 192kHz
best_odroidfreak
 
Posts: 364
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby odroid » Sun Mar 12, 2017 1:48 pm

Seems to be possible.
But we can't guarantee since we don't have any sample.

BTW, don't connect MCLK pin as "gkkpch" did.
User avatar
odroid
Site Admin
 
Posts: 24662
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby bazooka07 » Thu Jun 22, 2017 10:04 pm

Hello,

I have bought a PCM5102 I2S card like this : https://flic.kr/p/Vjenos
I have connected to muy Odroid C1+ . I'm using official distrib Ubuntu from Odroid.
Odroid C1+ <=> PCM1502
(1) GND <=> GND (5)
(2) Data In : NC.
(3) 5 volts <=> 5 volts (6)
(4) MCLK : N.C.
(5) LRCLK <=> LRCK (3)
(6) SCLK <=> BCK (1)
(7) Data out<=> Data (2)
N.C. <=> GND (4)
The I2S card has not any pinout for MCLK

It works perfectly with mpd but I have some cracking noise every about 2 to 5 seconds.
How can I fix this issue ?
bazooka07
 
Posts: 4
Joined: Mon Apr 03, 2017 5:39 am
languages_spoken: english, french
ODROIDs: Odroid C1+

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby damiseicorde » Wed Jul 19, 2017 2:38 am

Hello,

is it possible to put back the pictures?

Thank you very much in advance
damiseicorde
 
Posts: 1
Joined: Wed Jul 19, 2017 2:26 am
languages_spoken: english
ODROIDs: Odroid C2

Re: HOWTO: Odroid-C1+ with another I2S DAC (e.g. Teradak ES9

Unread postby bazooka07 » Wed Jul 26, 2017 4:58 am

After testing the PCM1502 which makes some cracking noise repeatly. I'm using DAC Sabre ES9023 card bought at AliExpress.
Now it's work perfectly.
You can get here : https://www.aliexpress.com/item/DAC-Sabre-ES9023-Analog-I2S-24-Bit-192-KHz-Decoder-Board-Mode-Conversion/32672945889.html

Click on the following to see the card on FlickR :
https://flic.kr/p/WoMESr
bazooka07
 
Posts: 4
Joined: Mon Apr 03, 2017 5:39 am
languages_spoken: english, french
ODROIDs: Odroid C1+


Return to I2S Devices (HiFi Shield DAC and Stereo Boom Bonnet Kit)

Who is online

Users browsing this forum: No registered users and 1 guest