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.

ES9038Q2M Board
ES9038Q2M Board
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
Thread Tools Search this Thread
Old 15th December 2018, 12:37 AM   #3371
terry22 is offline terry22
diyAudio Member
Join Date: May 2017
Ok Mark, I think I forgot to edit some system file...
I thought that Moode audio will detect it once copied in the right directory.
Have a good evening.
  Reply With Quote
Old 15th December 2018, 01:18 AM   #3372
Markw4 is offline Markw4  United States
diyAudio Member
Join Date: Jul 2016
Location: California
Getting back to DPLL stability, I tried another bit of testing today. Reinstalled my 1st modded dac into the test system. Also, yesterday I tried putting a couple of layers of copper foil under the test setup board in the server case. One layer of copper foil was attached to the bottom of the test perfboard that everything else is mounted on. Another layer of copper was attached to the bottom inside of the steel case. There is a air gap separating the two copper foil layers. The copper foil on the bottom of the perfboard is insulated from the steel case and I brought up a ground wire with alligator clip to see if grounding one layer of copper had any effect.

With both the new modded dac and the 1st modded dac, the layers of copper foil don't help at all, not does grounding or floating the insulted copper layer. Unfortunately, the copper layers are not thick enough to fully attenuate RF, as they would have to be a few skin depths thick at the lowest clock frequency of 22MHz.

Behavior of the 1st modded dac with respect to DPLL tuning is exactly the same as the 2nd (new) modded dac. I confirmed that flexing of the whole test setup perfboard has the most effect on DPLL tuning. A weaker secondary effect is by loosely coupling the cases of the 100MHz clock on the dac board and the case of one of the two clocks on the AK4137 board with two fingers of one hand. Very lightly touching the clock cases tends to pull DPLL into stability, but more firm touching does not, nor does touching with a wire. For more firm touching, it could be more perfboard flexing occured than clock case coupling, so the flexing effect may have overpowered the coupling effect.

Probably the next tests will be run with the test perfboard outside of the steel case. I will have to reconfigure a few minor things for that to work.

My guess at this point would be that only using 2-layer PCBs for the dac and AK4137 board does not allow sufficient containment of RF fields for reliable tuning stability to be possible in a steel case. That's too bad because steel is very effective for attenuating external RFI/EMI that might cause the dac to produce unwanted distortion. However, its all a big experiment to see what is possible starting from modding some low cost Chinese boards. Also, to see what we can learn along the way, and in addition I am kind of hoping that I am demonstrating a way of diy experimenting that others can do too that doesn't leave out people who may not have a lot of test equipment and or who may be a little mathematically challenged, as it were. Heck, I have even been trying to avoid using LTSpice.

Okay then, more to follow after the next experiments...

Last edited by Markw4; 15th December 2018 at 01:21 AM.
  Reply With Quote
Old 15th December 2018, 05:21 AM   #3373
eslei is offline eslei  New Zealand
diyAudio Member
Join Date: Jul 2011
Originally Posted by Markw4 View Post

Hopefully, eslei will have a bit more to say pretty soon about getting the driver working. If I were to guess, and I know little about RPi, the driver may need to be copied to some directory and a system file edited to tell it to load the driver. Seems to me I had to do something like that for the first review testing of Allo Katana to install the driver. Does that sound familiar to you (or anyone else around here), or am I way off base?

I would also like to hear from eslei about whatever else he may have observed about DPLL stability in however he has his boards physically arranged, wired together, and powered. In other words, anything and everything that might be relevant. More about my own continuing efforts a little later.
hi, there,

to make it easier i'm posting some photo rather than typing.
  Reply With Quote
Old 15th December 2018, 05:25 AM   #3374
eslei is offline eslei  New Zealand
diyAudio Member
Join Date: Jul 2011
freshly installed volumio 2.513, unzip and copy ' ko ' ( have 4 files now ) to /boot.

ssh to volumio 2.513

sudo cp -r /boot/ko/hifibunny-codec.ko /lib/modules/4.14.71-v7+/kernel/sound/soc/codecs/hifibunny-codec.ko
sudo cp -r /boot/ko/hifibunny-q2m.ko /lib/modules/4.14.71-v7+/kernel/sound/soc/bcm/hifibunny-q2m.ko
sudo cp -r /boot/ko/hifibunny-q2m.dtbo /boot/overlays/hifibunny-q2m.dtbo

sudo depmod -a

sudo rm -r /volumio/app/plugins/system_controller/i2s_dacs/dacs.json
sudo cp -r /boot/ko/dacs.json /volumio/app/plugins/system_controller/i2s_dacs/dacs.json
sudo nano /volumio/app/plugins/system_controller/i2s_dacs/dacs.json

sudo reboot


install this volumio plugin


setting 12s

volume setting


dsd setting

plugin volume setting
plugin volume.jpg

digital filter dosn't work, don't touch it.

both pcm and dsd allow to lowest. great sound quality, modification on the dac boad is optional.

dpll.jpg 01.jpg 02.jpg


Attached Files
File Type: zip ko.zip (8.9 KB, 85 views)
  Reply With Quote
Old 15th December 2018, 05:57 AM   #3375
Markw4 is offline Markw4  United States
diyAudio Member
Join Date: Jul 2016
Location: California
Thank you for all that work!

Please post your results if you decide to try the RPi driver. I'm sure there will interest on the part of the other readers to hear about how you like it.
  Reply With Quote
Old 15th December 2018, 03:02 PM   #3376
redjr is offline redjr  United States
diyAudio Member
Join Date: May 2011
Location: CT
ES9038Q2M Board
Originally Posted by terry22 View Post
Hi Mark, I knew a little connecting cards, using Gnd/Data/bclk/lrck.
I know a little SPI and I2C on Rpi.

The Hardware connections will be To connect RPI GPIO to SDA and SCL on the 9038q2m?

If it is right, then I only need instructions on adding the Driver in Raspbian.
Terry - You may find some interest in DietPi since you're messing with the Pi. Maybe you are already aware of it.

  Reply With Quote
Old 16th December 2018, 07:26 PM   #3377
PJN is offline PJN  United States
diyAudio Member
Join Date: Dec 2004
Location: Pa, USA
I finally got my copy of the board set up and playing. I've got version 1.07. The power inlet has a line filter built in. I'm using a Kubota psu at =/- 15vdc to feed the board, and a LT1084 psu at 5vdc to feed a wavio usb to I2S board. Only played on optical in so far, I had to fix the source selector switch that came with the board it wasn't set up properly but it's working now. Using slow rolloff min phase reconstruction filter. I let it burn in for a few hours without touching anything, it sounded pretty nice off of the bat. I swapped the I/V opamp out to a LME49720 which resulted in a definite improvement, also swapped in a THS4032, also sounded good but can't really tell if it sounded better than the LME49720. I'll need to listen for a while then swap back to the LME49720. I compared it to two DACs I had in my workshop on optical input. A cheap NOS AD1865 Chinese dac, and a ES9023 based Subbu dac. The ES9038Q2M board was the clear winner, it had a similar family sound with the Subbu, but had a more expansive sound stage, more 3D, more low level detail. I was very surprised. My next step will be to remove the coupling caps, but I need to read up more closely how to adjust the DC offset by adjusting/adding resistors. I also will be testing the wavio input and higher sample rate settings.
Attached Images
File Type: jpg setup.jpg (161.5 KB, 942 views)
  Reply With Quote
Old 16th December 2018, 07:51 PM   #3378
Markw4 is offline Markw4  United States
diyAudio Member
Join Date: Jul 2016
Location: California
Put the test perfboard assembly (still with 1st modded dac) into an aluminum case with the lid off. Basic symptoms are about the same as in the steel case, until I start perturbing it mechanically, that is. A little sensitivity to mechanical flexing remains, at the moment more so at the AK4137 board near the clocks. Also, DPLL stability seems better with some loose coupling between dac and AK4137 board clock sections, kind of similar to before but easier to adjust and keep stable. Between loose coupling with my fingers and some minor flexing, tuning of DPLL stability doesn't seem excessively sensitive in the aluminum case.

I still would like to see if I can find out what is happening with that tuning when DPLL is better stabilized. What I am thinking is that I would like to look at the dac clock relative to the incoming DSD clock line on the dac board I2S connector and watch what happens there as I flex and couple DPLL stability into tune. About all it can be is frequency and phase of incoming signals relative to the dac clock. Main question might be on what time frame changes in those variables occur. If they change slowly enough then I might be able to see something on a scope. If they occur entirely as jitter, probably the scope will not be useful.

Also, took another look at the jitter meter on loan from Richard Marsh. I misspoke last time about its resolution, turns out it only goes down to 100pS. Compare that to, say, the 45fS jitter claimed for Crane Song Solaris dac clocking and its easy to imagine why I might not be able to get a good picture of what is really going on with DPLL stability if the only potentially observable change to my tuning perturbations is in some jitter time frame.

Of course, if I understood the tuning phenomenon better then I might be able to rig up something to adjust it into good stability, even with some kind of servoing if necessary. Hard to do though when if no useful means of measurement.

Anyway, I was thinking of configuring the dac chip to output its MCLK signal on a gpio pin and comparing that to the incoming DSD clock. I am further thinking of attaching some ufl connectors to the dac board as scope test points. I don't think I would be able to hold scope probes and fiddle around with loose clock coupling, and maybe a little AK4137 board flexing all at the same time.

Last edited by Markw4; 16th December 2018 at 07:55 PM.
  Reply With Quote
Old 16th December 2018, 08:01 PM   #3379
Markw4 is offline Markw4  United States
diyAudio Member
Join Date: Jul 2016
Location: California
Interesting to see what you did there. Thanks for posting the pic. Hope you won't mind if I ask if you have any thoughts about maybe doing some modding, or if you plan to use the dac pretty much as you have it now?
  Reply With Quote
Old 16th December 2018, 08:04 PM   #3380
eslei is offline eslei  New Zealand
diyAudio Member
Join Date: Jul 2011
my modification on the 9028q2m boad, all photos are hi resolution, download and zoom it in to see more details.

1st, why 9028q2m?

ES9018K2M, ES9028Q2M, 9038Q2M DSD/I2S DAC HATs for Raspberry Pi

ES9018K2M, ES9028Q2M, 9038Q2M DSD/I2S DAC HATs for Raspberry Pi

ES9018K2M, ES9028Q2M, 9038Q2M DSD/I2S DAC HATs for Raspberry Pi

taking out the mcu is optional, it's easy to cut anywhere along the red, soldering on yellow.
Attached Images
File Type: jpg pcb.jpg (853.7 KB, 906 views)
  Reply With Quote


ES9038Q2M BoardHide 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
My Cambridge 500SE, needs an output board (to replace internal DAC Board) slbender Digital Source 1 11th July 2018 02:43 AM
JLSounds XMOS USB board + AK4396 board + Direct DSD PCB ravid Swap Meet 1 29th December 2016 11:36 AM
Unknown Board DC12V TPA3116 amplifier board DIY L163-9 AUS Ben Class D 0 8th December 2016 04:05 AM
FS: Ian FIFO i2s-to-PCM board, Single XO clock board trung224 Swap Meet 3 26th November 2016 02:18 PM
Lost 1 Zv4 ckt board..looking to buy 1 circuit board Blues Pass Labs 1 22nd March 2004 10:09 PM

New To Site? Need Help?

All times are GMT. The time now is 08:02 AM.

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