Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

i2s connection - Orange/Dac
i2s connection - Orange/Dac
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 17th January 2016, 10:25 AM   #1
Giachi is offline Giachi
diyAudio Member
 
Join Date: Dec 2015
Location: Vicenza, Veneto
Default i2s connection - Orange/Dac

Hello,
i have a Orange PI PC board with Allwinner H3 chip and i'd like to connect a i2s DAC (Teradac with Sabre ES9023).
Click the image to open in full size.
At page 62 of H3 datasheet is writen:
Compliant with standard Inter-IC sound(I2S) bus specification
Compliant with left-justified, right-justified, PCM mode, and TDM(Time Division Multiplexing) format
Full-duplex synchronous work mode
Mater and slave mode configured
Adjustable audio sample resolution from 8-bit to 32-bit
Sample rate from 8KHz to 192KHz


and page 79 shows i2s connection:


PCM0_BCLK = I2S/PCM Sample Rate Clock/Sync - I/O
PCM0_BCLK = I2S/PCM Sample Rate Clock - I/O
PCM0_DOUT =I2S/PCM Serial Data Output - O
PCM0_DIN = I2S/PCM Serial Data Input - I


but i don't understand if PCM0_BCLK is LRCLK (WS) signal or no.
Someone can help me?
  Reply With Quote
Old 18th January 2016, 04:59 PM   #2
jirm is offline jirm  Spain
diyAudio Member
 
Join Date: Dec 2014
Location: Catalonia-Spain
Hi Giachi.

Are you the same guy "Giachi" that post on the OPI forum about i2s question?

HiFi DACs for Orange Pi - page 3 - Add-ons - OrangePi - Powered by Discuz!

Im still wating receibe my opi board (mini 2) and too I would use with some dac attached trougth i2s but incredible that seems no one are triyed i2s conection at that moment.

Seems that i2s output are only enabled on some OPI boards (mini) and not for any like opi pc or others models because some shared gpio functions that miss i2s to gain other funtionality to same gpio pins...so i hope some can confirm that really are some OPI model that can work the i2s bus.

I believe that OPI can do like rpi a great job for audio and a half cost but his softw developement are still really really poor and so much caotic mainly with because of lack of manufacturer support for his softw and there is no minimally organized community do for that hardware developments on the other hand OPI is in my opinion an excellent design and hardware build with many many possibilities. Things of Chinese products ...

Last edited by jirm; 18th January 2016 at 05:04 PM.
  Reply With Quote
Old 19th January 2016, 09:36 AM   #3
Giachi is offline Giachi
diyAudio Member
 
Join Date: Dec 2015
Location: Vicenza, Veneto
Hi Jirm,
yes, i am the same Giachi!
OPI mini has Allwinner A20, and OPI 2 or OPI PC have H3.
Yes, OPI can has big potentiality, more then Raspberry PI 2, but we are alone, without manufacturer support!
The manufacturer want make 2 new cheap board, with a goor hardware, but if he would invest more resource in tecnical support would be better!
Hope i2s will work :-)
  Reply With Quote
Old 19th January 2016, 11:46 AM   #4
skyunlimited is offline skyunlimited  Germany
diyAudio Member
 
Join Date: Aug 2009
I have got the Orange PI PC (H3) and the DAC shown above. If you tell me on which PINs i will find the GPIOs Numbers, 5v and ground i will check it out.

Regards
  Reply With Quote
Old 19th January 2016, 02:28 PM   #5
Giachi is offline Giachi
diyAudio Member
 
Join Date: Dec 2015
Location: Vicenza, Veneto
Hi skyunlimited! I am waitinig Orange PI PC too.
I made this pic where is shown the interface with Teradak ES9023 i2s DAC
Click the image to open in full size.
If you can try, wery well!
  Reply With Quote
Old 19th January 2016, 10:07 PM   #6
skyunlimited is offline skyunlimited  Germany
diyAudio Member
 
Join Date: Aug 2009
Thanks for the pic, i got home from work now and i am too tired to give it a try this evening. I will test it tomorrow.

Regards
  Reply With Quote
Old 20th January 2016, 01:03 AM   #7
CharlieLaub is offline CharlieLaub  United States
diyAudio Member
 
Join Date: Mar 2007
Location: California
i2s connection - Orange/Dac
I hope this is not too off topic for this thread...

I'd like to know how you communicate with the DAC once you have made the proper connections to the I2S lines? Do you need custom code for this?

The reason I am asking is that I have an Orange Pi PC. I have gone as far as downloading a couple of versions of their OS ports and finally got one to work but then put it down and have been working mainly with the Raspberry Pi 2. I use USB DACs and find these to work well and they are NOT expensive. I stick to 48kHz 16 bit playback (which I find totally fine) and higher rates and bit depths may demand too much from the R-Pi USB bus...

Please post more details about this effort if and when you get it going. I would like to learn from your example.
__________________
Visit my Audio Web Page <<--CLICK TO LEARN MORE-->> Get my LADSPA plugins
  Reply With Quote
Old 20th January 2016, 09:09 AM   #8
Giachi is offline Giachi
diyAudio Member
 
Join Date: Dec 2015
Location: Vicenza, Veneto
Quote:
Originally Posted by skyunlimited View Post
Thanks for the pic, i got home from work now and i am too tired to give it a try this evening. I will test it tomorrow.

Regards
You are wellcome!
What OS will you try?
  Reply With Quote
Old 20th January 2016, 09:33 AM   #9
Giachi is offline Giachi
diyAudio Member
 
Join Date: Dec 2015
Location: Vicenza, Veneto
Quote:
Originally Posted by CharlieLaub View Post
I hope this is not too off topic for this thread...

I'd like to know how you communicate with the DAC once you have made the proper connections to the I2S lines? Do you need custom code for this?

The reason I am asking is that I have an Orange Pi PC. I have gone as far as downloading a couple of versions of their OS ports and finally got one to work but then put it down and have been working mainly with the Raspberry Pi 2. I use USB DACs and find these to work well and they are NOT expensive. I stick to 48kHz 16 bit playback (which I find totally fine) and higher rates and bit depths may demand too much from the R-Pi USB bus...

Please post more details about this effort if and when you get it going. I would like to learn from your example.
For me is not off topic
What versions of OS works good? It works with your USB DAC? What mode of Dac you have?
I chose ES Sabre 9023 I2s because is cheap (10 euro) and a lot of people told it sound very good (they tell with i2s interface, for example, there is less jitter, but i haven't much experience...).
If i use USB dac I occupy one USB port too.
I want do a compact mediacenter: 500GB HD + Orange PI PC (with infrared remote control + ES9023 DAC + TPA3116 + 19VDC power supply + 5VDC power supply.
I'd like use a OS like: Openelec or Volumio.
  Reply With Quote
Old 20th January 2016, 11:32 AM   #10
skyunlimited is offline skyunlimited  Germany
diyAudio Member
 
Join Date: Aug 2009
So here is the first shot. I am using Jacers Jessie, soundcard is not recognized. the next step will be changing the script.bin. But for now i have to go to work. If somebody could edit the script.bin, i will make a second try this evening.

BTW with Jacers Image the orangepipc behaves nearly Desktop like!

Regards
  Reply With Quote

Reply


i2s connection - Orange/DacHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What are You using for an I2S Connection? Magz Digital Line Level 10 27th November 2014 03:20 AM
I2S connection problem. Teralink X-2 and Javs Dac-2 March. mikone Digital Line Level 1 21st October 2010 08:13 PM
i2s connection question stephan-schulz Digital Line Level 2 25th March 2009 05:23 PM
I2s connection for cdpro2 and pcm1704 joekjtam Digital Source 2 20th May 2006 01:13 PM
Audio Alchemy I2S connection? quantran Digital Source 4 3rd October 2004 01:46 AM


New To Site? Need Help?

All times are GMT. The time now is 11:54 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio
Wiki