Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Moderators: mdrjr, odroid

Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby TioFrancotirador » Wed Dec 09, 2015 6:03 pm

Hi,

I tried to connect akm4490 DAC from (diyinhk) to your Odroid C1+ through I2S using Volumio. Playing PCM.
The sound was harash, but you could hear "something"?
Do you know what has to be changed or adjusted to make this setup working? Maybe only some config adjustment for I2S?
TioFrancotirador
 
Posts: 6
Joined: Wed Dec 09, 2015 5:42 pm
languages_spoken: english
ODROIDs: Odroid C1+

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby odroid » Wed Dec 09, 2015 7:03 pm

I've moved your post to a better place.

What is the over sampling frequency of the AKM4490 for MCLK input?

C1+ has 128FS and 256FS clock output natively on the MCLK pin.

16/32/44.1/48/96/192Khz use the 256FS.
256/352.8/384Khz use the 128FS.

If you play 192Khz music, the MCLK frequency is 49.152Mhz approx.
User avatar
odroid
Site Admin
 
Posts: 24662
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby TioFrancotirador » Wed Dec 09, 2015 9:01 pm

Hymn,

Ok. Let me put it this way.
I mostly use spotify for music streaming. For now I have "harash" sound when I do that. Through USB there is no problem.
Question is then?
What specific changes or things should I make to be able to play spotify using volumio on odroid c1+ through I2S conected to akm4490?
TioFrancotirador
 
Posts: 6
Joined: Wed Dec 09, 2015 5:42 pm
languages_spoken: english
ODROIDs: Odroid C1+

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby TioFrancotirador » Wed Dec 09, 2015 9:07 pm

odroid wrote:
What is the over sampling frequency of the AKM4490 for MCLK input?



akm4490 specs that might be relevant here:

 256x Over sampling
 Sampling Rate: 30kHz  768kHz
 32-bit 8x Digital Filter
 High Tolerance to Clock Jitter
 Digital De-emphasis for 32, 44.1, 48kHz sampling
 I/F Format: 24/32bit MSB justified, 16/20/24/32bit LSB justified, I2
 Master Clock:
30kHz ~ 32kHz: 1152fs
30kHz ~ 54kHz: 512fs or 768fs
30kHz ~ 108kHz: 256fs or 384fs
108kHz ~ 216kHz: 128fs or 192fs
~ 384kHz: 64fs or 128fs
~ 768kHz: 64fs
TioFrancotirador
 
Posts: 6
Joined: Wed Dec 09, 2015 5:42 pm
languages_spoken: english
ODROIDs: Odroid C1+

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby odroid » Thu Dec 10, 2015 10:10 am

I have no idea what's wrong because I never used the AK4490 board.

Could you play any local MP3 files of 44.1Khz and 96Khz sample rate?
User avatar
odroid
Site Admin
 
Posts: 24662
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby TioFrancotirador » Thu Dec 10, 2015 5:15 pm

odroid wrote:I have no idea what's wrong because I never used the AK4490 board.

Could you play any local MP3 files of 44.1Khz and 96Khz sample rate?


Nop. 96 and 192khz gives "harash" sound :( Could you suggest any changes to config file in volumio?

For example my other dac pcm1704 from diyinhk when conneted through i2s to odroid c1+ gives very good sound! but stops for one second every 3-4 seconds.

So i guess it must be something with i2s format settings.
TioFrancotirador
 
Posts: 6
Joined: Wed Dec 09, 2015 5:42 pm
languages_spoken: english
ODROIDs: Odroid C1+

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby odroid » Thu Dec 10, 2015 5:21 pm

Check the wire connection carefully because the MCLK signal is near 50Mhz of high frequency.
The clock could be distorted if the wiring is bad.

If you made a very robust I2S connection, the I2S format or timing could be a root cause.
The I2S format is hard-coded in the kernel device driver.
You may need to develop a new device driver for your DACs.
Are you familiar with kernel device driver programming?
User avatar
odroid
Site Admin
 
Posts: 24662
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby TioFrancotirador » Thu Dec 10, 2015 6:52 pm

odroid wrote:Are you familiar with kernel device driver programming?


Nop. I know electronics though. I build bunch of different dacs with different chips. akm4490 is the best delta/sigma (better than e.g.: es9018 for me) and much better than pcm5102 obviously that is why I would like to try it run through I2S.
I also would like to run pcm1704 through I2S. Since Raspberry PI does not generate MCLK the options I have are Odroid C1+ and beaglebone black. I chose Odroid C1+.
If you had such drivers included on Odroid C1+ I could promote such success furtherly in different forums, which may also impact your sales.

For now I try to shorten i2s cables and see what happens.
TioFrancotirador
 
Posts: 6
Joined: Wed Dec 09, 2015 5:42 pm
languages_spoken: english
ODROIDs: Odroid C1+

Re: Odroid C1+ I2S + other DAC (e.g.: akm4490) + volumio

Unread postby best_odroidfreak » Tue Aug 29, 2017 2:14 am

Please explain if you are connected finally your akm4490 DAC to I2s interface of Odroid C1+?
best_odroidfreak
 
Posts: 364
Joined: Wed May 04, 2016 1:07 am
languages_spoken: english


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

Who is online

Users browsing this forum: No registered users and 2 guests