Home > Arduino, Code > S/W Control for ES9018K2M

S/W Control for ES9018K2M

Here is the initial public release of the s/w control code for the NEW ES9018K2M DAC [link]. This project was completed at this (early) time due to the insistence of “syllable” at diyaudio who is running a group buy for his DAC board [link].

Download the code here [link]


The code is based on the ES9018 code and supports revision V of the chip (“E” marking in the third row of the text). It is also based on the 5/15/14 version of the official data sheet (available through authorized distributors and under NDA)



(As compared to what is available in the older ES9018 DAC)

  • Support for a minimum phase FIR filter
  • Support for separate DPLL settings for I2S and DSD (16 settings for each)
  • Support for FIR filter (oversampling) bypass AND IIR filter bypass
  • Exposed De-emphasis filters
  • Enabled balance control in 0.5 db increment


I will be using the diyinhk implementation of the ES9018K2M (it is already populated and ready to use. I realize that I am getting to lazy to start with bare boards and some the surface mount chips I cannot properly solder).

The power supply is an older quad-supply board also from diyinhk which I’ve hacked to also provide +/14.x v. in order to power the opamp


Using my latest favorite Arduino clone (only $10) [link]. The two small boards hanging on the pins are a LCD backlight control and a 5V to 3.3V level converter. As I realize that this audio diy hobby is never ending, I figure doing things the easy way trumps doing things the neat way (like for example using an Arduino shield) so I soldered the wires directly on pins that I plug into the board.


  1. June 13, 2014 at 16:27

    Thanks for posting this 🙂 Can you access the I2C pins on the diyinhk-board? I have been thinking about buying it, but I can’t see from the board pics if it is possible to control via external SW?


  2. BlgGear
    June 13, 2014 at 17:29

    I have not done it yet, but yes, there is access to the I2C pins. I am waiting for the 5v to 3.3v level converter (the pins might be 5V tolerant, but the datasheet doesn’t say so) to connect it.

    • December 31, 2014 at 15:37


      I just bought a buono uno which can operate in 3.3V. Does this mean that I don’t need the level converter?

      Thank you in advance.

  3. danzup
    June 18, 2014 at 10:04

    Thank you very much ! You are awesome , but you know this by now . danzup

  4. Somek
    June 23, 2014 at 19:17

    How does it sound? I’m wondering if it is worth the price and how it stands up to competition.

    • BlgGear
      June 24, 2014 at 06:19

      Still testing the code.

  5. September 14, 2016 at 15:39

    Greece maps street view

  6. September 14, 2016 at 17:25

    shrub removal

  7. September 14, 2016 at 17:52

    partagas cigars

  8. September 14, 2016 at 17:55

    forms of coq10

  9. September 14, 2016 at 18:36

    peixoto bikini

  10. September 17, 2016 at 07:41

    Thank you for the sensible critique. Me and my neighbor were just preparing to do some research on this. We got a grab a book from our local library but I think I learned more clear from this post. I’m very glad to see such wonderful information being shared freely out there.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s