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 31st May 2018, 04:02 PM   #21
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
ok i have one more question.


case 0: // Auto detect which supports "32bit I2S, DSD or SPDIF"
// This is default conf. SPDIF can be connected to DATA_CLK line
bitClear(reg11S,4); // Default setting for SPDIF
bitClear(reg11S,5); // Default setting for SPDIF
bitClear(reg11S,6); // Default setting for SPDIF
writeSabreReg(0x0B,reg11S); // Reg 11: x 0 0 0 x x x x
writeSabreReg(0x01,0x8C); // Set to auto mode: 1 0 0 0 1 1 0 0
lcd.print("AUT");
break;


This screch do not setup format, yes?
I add new line:


case 3: // Auto detect which supports "32bit I2S, DSD or SPDIF"
// This is default conf. SPDIF can be connected to DATA_CLK line
bitClear(reg11S,4); // Default setting for SPDIF
bitClear(reg11S,5); // Default setting for SPDIF
bitClear(reg11S,6); // Default setting for SPDIF
writeSabreReg(0x0B,reg11S); // Reg 11: x 0 0 0 x x x x
writeSabreReg(0x01,0x8C); // Set to auto mode: 1 0 0 0 1 1 0 0
writeSabreReg(0x0A,0xDE);
lcd.print("RJA");
break;
case 4: // Auto detect which supports "32bit I2S, DSD or SPDIF"
// This is default conf. SPDIF can be connected to DATA_CLK line
bitClear(reg11S,4); // Default setting for SPDIF
bitClear(reg11S,5); // Default setting for SPDIF
bitClear(reg11S,6); // Default setting for SPDIF
writeSabreReg(0x0B,reg11S); // Reg 11: x 0 0 0 x x x x
writeSabreReg(0x01,0x8C); // Set to auto mode: 1 0 0 0 1 1 0 0
writeSabreReg(0x0A,0xEE);
lcd.print("LJA");
break;


Correct?
Register #10: Mode Control 1 (default = 8b11001110)


[7:6] : 24/20/16 Bit for Serial Data Modes.
2b00 = 24Bit
2b01 = 20Bit
2b10 = 16Bit
2b11 = 32Bit

[5:4] : LJ/I2S/RJ Serial Data Modes.
2b00 = I2S
2b01 = LJ
2b10 = RJ
2b11 = I2S

[3] : RESERVED Must be set to 1b1 for normal operation.
[2] : JITTER_REDUCTION_ENABLE.

7 6 5 4 3 2 1 0 bit
x x x x x x x x pos

1 1 0 0 1 1 1 0 def is2 0xCE
1 1 0 1 1 1 1 0 LJ 0xDE
1 1 1 0 1 1 1 0 RJ 0xEE
  Reply With Quote
Old 31st May 2018, 08:26 PM   #22
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
Hmm..this not work, only noise.
Strange is bitrate, what lcd show..35k
I see 44.1kHz on oscilograph on bit clock.
Only left justified works..i need right for final test my device..
  Reply With Quote
Old 1st June 2018, 10:41 AM   #23
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
it is look this:
YouTube


sorry for sound, near speaker
  Reply With Quote
Old 1st June 2018, 12:40 PM   #24
keilau is offline keilau  United States
diyAudio Member
 
Join Date: Mar 2013
Location: Windy City, US
Default Power supply for ESS DAC

Quote:
Originally Posted by fluid View Post
I thought I would post some pictures and info about the diyinhk ES9018k2m DAC that I just finished building.

I have an older board so there is 3.3v and 5v diyink TPS7A4700 power supplies. The opamp is powered by a fairly basic bipolar LT1084 supply from Analog Metric.
I am updating the PSU for a ES9038Q2M based DAC.
s-l1600d.jpg s-l1600b.jpg

My search led me to the same LDO regulator IC that fluid used, but I got PSU boards from Chinese sellers and toroidal transformer from Antek. It is interesting to see how the power supply dominate the enclosure in fluid's picture. In my setup, the transformer and LT1084CP PSU will be in a separate box.
  Reply With Quote
Old 2nd June 2018, 11:44 AM   #25
fluid is offline fluid  Australia
diyAudio Member
 
Join Date: Jan 2009
Quote:
Originally Posted by wchpikus
ok i have one more question.
I'm not sure what it is exactly that you are trying to set.

It might be easier to just write a simple sketch that only sets the basic registers to the values that you want and change them until you get it working. Once you know the right values you could easily put them into the hifiduino code if you want the menu and volume control etc.
  Reply With Quote
Old 2nd June 2018, 11:52 AM   #26
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
I have to have in menu RJ for my purpose.
I tested this 10 register but do not work.
This dac is not used for listen music, only for testing enduser device before sending.
At this moment i do not have any dac support RJ and i test then to LJ (wt32) and after sending i switch i2s on the wt32 to RJ (without confirm correct setup).
It will be great to test RJ to be sure,if all is ok.

Could you help to add this?
  Reply With Quote
Old 10th June 2018, 04:47 AM   #27
fluid is offline fluid  Australia
diyAudio Member
 
Join Date: Jan 2009
Register 10 is the one that will change the format of the signal the DAC is looking for. If that isn't working then it is possible the data coming out is not what the DAC expects to find and so it won't play. In the 9018 data sheet it has a diagram of the structure of the different types of data, short of trying the other types or analysing the data from the device to see what format it really is I don't have any other ideas, sorry.
  Reply With Quote
Old 10th June 2018, 08:02 AM   #28
wchpikus is offline wchpikus
diyAudio Member
 
Join Date: Mar 2016
Hello
I campare two datasheet es9018 and 90182km.
On datasheet of 2km is no any info about RJ only LJ. Is it possible to no support for this format? Also no info about registers 10.
Mayby 2km is to pure for this?
  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 03:57 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