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

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

ES9018k2m Build Completed
ES9018k2m Build Completed
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 29th May 2018, 09:22 AM   #11
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
Mayby this dac ( sebre ) need master clock about 11MHz? If my clock is 2.82MHz i have 64fps..
This table shows how is clock fps and data..
Sample rate 44.1KHz..
8688.CLK_5F00_TAS57XX.jpeg
  Reply With Quote
Old 29th May 2018, 11:09 AM   #12
fluid is offline fluid  Australia
diyAudio Member
 
Join Date: Jan 2009
The Sabre doesn't need MCLK as it can run asynchronously.

I followed the guide at Hifiduino, I made a basic shield to attach the rotary trimmers etc. and connected a screen, rotary encoder with pushbutton to the arduino and loaded up the k2m code from hifiduino's website. Connected via i2c and I was able to control the DAC straight away, the only issue I had was related to the remote control from my apple remote as it was not recognised by the stock code, but that shouldn't be an issue for you if you just want audio.

If the bluetooth is outputting right justified data then you will need to change the register settings to get audio as it is not set to that as standard.

Register 10 sets that data here are some screen shots from the ES9018 manual that show the values they should be the same for the k2m.

ES9018k2m Build Completed-screen-shot-2018-05-29-8-55-43-pm-png

ES9018k2m Build Completed-screen-shot-2018-05-29-8-56-04-pm-png

This is from the hifiduino code where you can see the value that has been set for register 10. Changing that value should allow you to set it to right justified. There is another section in the code where the I2S type can be changed so if you look through it you may be able to make those changes elsewhere to work in with the menu structure.

ES9018k2m Build Completed-screen-shot-2018-05-29-9-00-06-pm-png

I haven't looked at this sort of stuff for a while and it was all new to me when I built this DAC so I can't offer much more help
Attached Images
File Type: png Screen Shot 2018-05-29 at 8.55.43 pm.png (97.4 KB, 326 views)
File Type: png Screen Shot 2018-05-29 at 8.56.04 pm.png (158.2 KB, 311 views)
File Type: png Screen Shot 2018-05-29 at 9.00.06 pm.png (107.9 KB, 182 views)
  Reply With Quote
Old 29th May 2018, 11:32 AM   #13
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
I tryed this register 10 ( i know c) so i analized this code.
This registers not help.
So question is, what else is need to i2s decode?
Input source setup?
Other things?
Regards
  Reply With Quote
Old 29th May 2018, 08:57 PM   #14
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
hi again
i read the data sheet and i am a litle crestfallen, how to read this.
An externally hosted image should be here but it is no longer accessible. Please upload images instead of linking to them to prevent this.


I have to setup register 8 input as i2s.(arduinohifi has SPDIF)"
byte reg8=0x81; // GPIO configuration. GPIO1 set to DPLL Lock; GPIO2 set to input (for SPDIF).
default is 00010000 = 10 hex.
81 = 10000001.

ES9018-2M DS Rev 0.9_????
could someone explain what author has on main write this doc?
There is 15 values, from 4'd0 to 4'd15.
3:0 this is GPIO1 7:4 GPIO 2
15 = f hex = 1111.
i need 4'd9, so i have to setup for GPIO 2 =>10010000 ?? (1001=9).
this doc is strange


but away, software k2m051 do not work with i2s, only spdif..
all project is only for spdif, or setup is only for this input.

Last edited by wchpikus; 29th May 2018 at 09:02 PM.
  Reply With Quote
Old 30th May 2018, 03:52 PM   #15
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
ok i bought new dac and this works..but as Fluid said only left justified..
so default setup works without controller.
20180530 174314 — imgbb.com - data and ws

20180530 174753 — imgbb.com - new board

20180530 174802 — imgbb.com - ak dac


To remember...this board do not have resistors on input lines.
I2S and digital signal path - in-line resistors?
without resistors can't lock.

Last edited by wchpikus; 30th May 2018 at 03:58 PM.
  Reply With Quote
Old 30th May 2018, 05:01 PM   #16
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
ok old dac works, only left but with controller.
I will work with menu to change l and R justified.
20180530 190004 — imgbb.com
20180530 182119 — imgbb.com
  Reply With Quote
Old 31st May 2018, 06:25 AM   #17
fluid is offline fluid  Australia
diyAudio Member
 
Join Date: Jan 2009
Quote:
Originally Posted by wchpikus View Post

but away, software k2m051 do not work with i2s, only spdif..
all project is only for spdif, or setup is only for this input.
I'm not sure from your last few posts if you have it working or not, but I can select spdif or i2s with the hifiduino code from the menu and it works fine.

Register 8 sets the input as you say and register 10 the type of data to decode.

From line 905 onwards in the k2m051 code you can see the case switches for the different input options in the menu these change both registers to adjust the settings.
  Reply With Quote
Old 31st May 2018, 07:47 AM   #18
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
Yea, i had some other problems with this dac board and this post i wrote to fast
Now i see what i had to correct (add resistors on i2s lines ).
Now works, but i have some strange things.
After power up controller stops on the start message, i thing the es is not ready yet.
Did you have the same?
When i wait some time without power on all works after power on.
I'll check it to next step.
The first add RJ to menu.
  Reply With Quote
Old 31st May 2018, 10:42 AM   #19
fluid is offline fluid  Australia
diyAudio Member
 
Join Date: Jan 2009
I can't remember if the dac needed to be powered up before the controller or the other way round. I did have a similar issue but it has been a long time since I switched my DAC on to know.

Most arduino's have inbuilt pull up resistors so strange you would need extras.
  Reply With Quote
Old 31st May 2018, 10:54 AM   #20
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
I wrote resistors on the i2s line not in arduino (dac boards has pullup resistors on i2c line).
Without resistors on i2s line i have oscilation when digital level changed, this resistors eliminate this isue (30ohm serial on clock,ws,data lines).
After added this 30ohm signals looks better (no oscilations) and dac lock to signal.
  Reply With Quote

Reply


ES9018k2m Build CompletedHide 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
Pass B1 CLONE build completed and happy omishra Pass Labs 12 30th October 2012 05:23 PM
Completed build, for inspiration.. Elbert Subwoofers 14 2nd November 2011 09:00 PM
Completed LM1875 Stereo build bobsagat666 Chip Amps 12 15th July 2011 07:08 PM
First build completed tonga Solid State 2 18th February 2005 10:26 PM


New To Site? Need Help?

All times are GMT. The time now is 01:53 PM.


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