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

Post Reply
gkkpch
Posts: 318
Joined: Mon Feb 25, 2013 11:47 pm
languages_spoken: english, dutch, german
ODROIDs: Odroid N2, Odroid C2, Odroid XU4, Odroid-C1+, Odroid-C1, Odroid-X2, HiFi Shield, HiFi Shield+, HiFi Shield 2
Location: Switzerland
Has thanked: 2 times
Been thanked: 9 times
Contact:

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

Post by gkkpch »

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 ... fi-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.

stmicro
Posts: 251
Joined: Tue Apr 28, 2015 4:23 pm
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.
Location: shenzhen china
Has thanked: 0
Been thanked: 1 time
Contact:

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

Post by stmicro »

Great and very useful guide.
Thank you so much.
btw where I can download the RuneAudio image can support the Odroid I2S dac?

gkkpch
Posts: 318
Joined: Mon Feb 25, 2013 11:47 pm
languages_spoken: english, dutch, german
ODROIDs: Odroid N2, Odroid C2, Odroid XU4, Odroid-C1+, Odroid-C1, Odroid-X2, HiFi Shield, HiFi Shield+, HiFi Shield 2
Location: Switzerland
Has thanked: 2 times
Been thanked: 9 times
Contact:

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

Post by gkkpch »

Hi,
The availability will be posted on the RuneAudio forum, I will copy a notice in "Other OS". Hopefully it will be today.

jocoman
Posts: 4
Joined: Sat Oct 24, 2015 10:37 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by jocoman »

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.

User avatar
odroid
Site Admin
Posts: 35602
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1204 times
Been thanked: 879 times
Contact:

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

Post by odroid »

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

jocoman
Posts: 4
Joined: Sat Oct 24, 2015 10:37 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by jocoman »

Nope. No effect when set to OdroidDac under Volumio.

gkkpch
Posts: 318
Joined: Mon Feb 25, 2013 11:47 pm
languages_spoken: english, dutch, german
ODROIDs: Odroid N2, Odroid C2, Odroid XU4, Odroid-C1+, Odroid-C1, Odroid-X2, HiFi Shield, HiFi Shield+, HiFi Shield 2
Location: Switzerland
Has thanked: 2 times
Been thanked: 9 times
Contact:

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

Post by gkkpch »

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.


jocoman
Posts: 4
Joined: Sat Oct 24, 2015 10:37 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by jocoman »

Yeah, I'm using Spotify.

TioFrancotirador
Posts: 6
Joined: Wed Dec 09, 2015 5:42 pm
languages_spoken: english
ODROIDs: Odroid C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by TioFrancotirador »

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

ycat3
Posts: 20
Joined: Wed Dec 10, 2014 9:28 pm
languages_spoken: Japanese
ODROIDs: XU3 Lite, C1+ HiFi Shield
Has thanked: 0
Been thanked: 0
Contact:

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

Post by ycat3 »

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.

gkkpch
Posts: 318
Joined: Mon Feb 25, 2013 11:47 pm
languages_spoken: english, dutch, german
ODROIDs: Odroid N2, Odroid C2, Odroid XU4, Odroid-C1+, Odroid-C1, Odroid-X2, HiFi Shield, HiFi Shield+, HiFi Shield 2
Location: Switzerland
Has thanked: 2 times
Been thanked: 9 times
Contact:

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

Post by gkkpch »

Thanks for the tip, will certainly try it!!

Rushlight
Posts: 55
Joined: Mon Jun 06, 2016 3:15 pm
languages_spoken: English
ODROIDs: C-0(1)
C-0(2)
16GB-EMMC

RPI3B
Has thanked: 0
Been thanked: 0
Contact:

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

Post by Rushlight »

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

hyphop
Posts: 68
Joined: Tue Dec 01, 2015 4:22 pm
languages_spoken: english
ODROIDs: ODROID-C1+ & C2
Has thanked: 0
Been thanked: 0
Contact:

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

Post by hyphop »

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 ?

crashoverride
Posts: 5144
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 381 times
Contact:

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

Post by crashoverride »

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

best_odroidfreak
Posts: 366
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

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

Post by best_odroidfreak »

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: 366
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

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

Post by best_odroidfreak »

gkkpch wrote: Hopefully it will be today.
Have you tried this board http://www.ebay.com/itm/NEW-ES9018K2M-E ... 2068486829 ?

best_odroidfreak
Posts: 366
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

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

Post by best_odroidfreak »

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

User avatar
odroid
Site Admin
Posts: 35602
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1204 times
Been thanked: 879 times
Contact:

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

Post by odroid »

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.

bazooka07
Posts: 6
Joined: Mon Apr 03, 2017 5:39 am
languages_spoken: english, french
ODROIDs: Odroid C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by bazooka07 »

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 ?

damiseicorde
Posts: 7
Joined: Wed Jul 19, 2017 2:26 am
languages_spoken: english
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

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

Post by damiseicorde »

Hello,

is it possible to put back the pictures?

Thank you very much in advance

bazooka07
Posts: 6
Joined: Mon Apr 03, 2017 5:39 am
languages_spoken: english, french
ODROIDs: Odroid C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by bazooka07 »

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-Sab ... 45889.html

Click on the following to see the card on FlickR :
https://flic.kr/p/WoMESr

BobanUK
Posts: 6
Joined: Thu Aug 29, 2019 11:35 pm
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by BobanUK »

Is it possible to connect Odroid C1+ to AK4495 DAC board? The DAC has Ground, MCK, LRCK, BCK and DATA connections. I have tried connecting those to the I2S outputs (J7) of my C1+ and selecting HiFi Shield output, but no sound?
Any idea?

Also, is 5V pin on J7 Header in or out?

Thanks!

User avatar
odroid
Site Admin
Posts: 35602
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1204 times
Been thanked: 879 times
Contact:

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

Post by odroid »

We have no experience of using AK4495. But one user reported it worked with C2.
viewtopic.php?f=139&t=20262&p=200762&hi ... 95#p200509

5V on the J7 header is output.

Do you have an oscilloscope to measure the MCLK and LRCLK signals?

BobanUK
Posts: 6
Joined: Thu Aug 29, 2019 11:35 pm
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by BobanUK »

Thanks!
I think I have the same problem, you can notice the music far in the background while 95% is noise. Sadly, no photos or explanation how to "change the frequency of MCLK over-sampling like 128fs or 256fs"? Could you help, please? I don't have an oscilloscope. If I can find one, what should I look for in the MCLK ?

This is the AK4495 DAC I'm using:

https://www.ebay.co.uk/itm/TopGrade-AK4 ... Sw4ZxazGZp

User avatar
odroid
Site Admin
Posts: 35602
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1204 times
Been thanked: 879 times
Contact:

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

Post by odroid »

There is no easy way to change the MCLK frequency.
It is fixed at like this.
24Khz ~ 192Khz: 256fs mode
256Khz ~384Khz : 128fs mode

Check LRCLK and MCLK frequency once you find an oscilloscope.

BTW, do you use Volumio on you C1+?

BobanUK
Posts: 6
Joined: Thu Aug 29, 2019 11:35 pm
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by BobanUK »

Yes, I do use Volumio.

BobanUK
Posts: 6
Joined: Thu Aug 29, 2019 11:35 pm
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by BobanUK »

odroid wrote:
Tue Sep 03, 2019 10:07 am
We have no experience of using AK4495. But one user reported it worked with C2.
viewtopic.php?f=139&t=20262&p=200762&hi ... 95#p200509

5V on the J7 header is output.

Do you have an oscilloscope to measure the MCLK and LRCLK signals?
Could you please ask best_odroidfreak to contact me, since I still can't connect my AK4495 DAC via I2S to C1+. I tried to contact him, but I got this:
"We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more in discussions to be able to use this feature."

Is this how you support your customers? I bought 4 of your products, and instead of offering me a support for them, you are pulling "me so important club" stuff? Are you serious?

User avatar
odroid
Site Admin
Posts: 35602
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1204 times
Been thanked: 879 times
Contact:

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

Post by odroid »

PM is not allowed until you write 5 posts.
This rule was a default configuration in the PHPBB software as SPAM countermeasure.
Please write another post and send a PM to him.

BobanUK
Posts: 6
Joined: Thu Aug 29, 2019 11:35 pm
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

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

Post by BobanUK »

odroid wrote:
Sat Nov 16, 2019 11:16 am
PM is not allowed until you write 5 posts.
This rule was a default configuration in the PHPBB software as SPAM countermeasure.
Please write another post and send a PM to him.

I think I'll throw away all of your products and buy Hummingboard.

Great way to run your business !!!

mad_ady
Posts: 8604
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 579 times
Been thanked: 491 times
Contact:

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

Post by mad_ady »

@BobanUK the 5 posts until you can PM has been standard on forums for at least 10 years. Otherwise everyone would get Viagra posts in their inbox...
If you want to contact somewone, reply on a thread that they are following.

Post Reply

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

Who is online

Users browsing this forum: No registered users and 0 guests