Project 3: read out/write data (over I2C) via the onboard mcu ES9038Q2M/-ES9028Q2M

so folks 😉 ,
essabre-90xx-rpi.sfb2.com needs your help 😉
as i just want to read out some data from the mcu on these boards like data-rate (192khz,384khz and so on), data-format (PCM,DSD) and maybe the HW-Volume for just displaying it on a small 3,5″ display for example (or use it to display it via some app/tool on a raspi/web etc..) “we” have now to find a way to solve this..



as we now have the possibility to access the I2C-bus via the new connection on an ES9038Q2M (they used it also to display/change some values via their hardware) we have to find a way to simple control/change/read-out data over it..
the normal “adresses” on an ES9038Q2M must be/are “hidden” due to some NDA-bla bla, and the real register-adresses are “encrypted”/are only in the mcu..

but how can i/we connect a raspberry/Arduino/ESP32 to it via I2C ?

i think we have now here to make a really long tutorial to get such “experimental setup” to work. how to exactly connect and to which pins, which tools/commands to use (python/i2c-set and so on)..
i will make a new thread in the forum->”Project 3: controlling the onboard mcu on an ES9038Q2M/-9028Q2M
there i will make this tutorial but i first to have to gather all possible informations about it and there u come in !! ;-)
so please post all your informations/experiences concerning this topic in the forum or here in the comment-section !!

a good start for now are these (new) “VinnyLorrin“-repositories at github->https://github.com/VinnyLorrin
->”ES9028Q2M-controller”,”ES9038Q2M-Linux_Driver”,”ES9028-controller-PCB” and so on..very good, first, informations about it…
(many many thx btw. to “eslei” at the diyaudio-forum for getting first infos/an entry->https://www.diyaudio.com/forums/digital-line-level/314935-es9038q2m-board-322.html

thread in the forum->http://essabre-90xx-rpi.sfb2.com/forum/forumdisplay.php?fid=86
greets for now 😉

ESP32S + 3.5″ TFT-display (480×320) (par.) ILI9481 Bodmer/TFT_eSPI

yeah, 😉
got it finally to work !!
so, another important step in the way of (building) your own DIY-DAC !! hooray !! (and thats what this site is all about, see “Introduction”) 😉
(YouTube-link->https://youtu.be/zjiCJ8Jtsug)
so II,
after the ESP32S is a much more powerful thing than an Arduino (the main advantage is also the great SPiffs/Flash-Ram of about 4MB(32Mb) for storing little images/icons like DSD64 and so on) and its a little bit difficult to get normal tft-displays on an ESP32S to work (different pin-layout and so on),i´ve bought this second tft (this time 3.5″) and only for ca. 6€->Ebay (Link)


main problem on these “cheap” 3.5″ is that some must be parallel connected (and not via SPI) so u have to find a way to solve this..
i´ve used the famous “Bodmer/TFT_eSPI”-library (works for some displays in parallel mode + on an ESP32)->https://github.com/Bodmer/TFT_eSPI
u only have to change some values in the “User_Setup.h” + “User_Setup_Select.h” to match your needs->other pin-definitions + the right tft-driver-selection (post maybe a link to these 2 files here or in the forum)..
here it works fine with the “ILI9481”-tft-chipset:

so III,
i can now use the ESP32S for the HW-digi-poti, for the filter-settings and so on, all with a very nice gui via wlan..(or bluetooth or via mqtt with an app par example (see all the posts before))..very nice 😉

greets for now 😉

New Moode V4.3 out – now as an image (.img) / ESP32S factory-reset/flash

so, 😉
a new “Moode” V4.3 is out; now as an image (.img); u dont have to set it up/compile it for yourself anymore->Moodeaudio.org
first impressions: (all in relation to “our” ES9038Q2M-“chinese-boards”):

choose first the “I2S-generic”-settings; runs okay, no problems..

used then the “Audiophonics ES9028Q2M” setting->for me better, not so “harsh”, got the feel it has more room, more “exact”, think its maybe about the specialized register-adressing of the ESS-chips (but don´t know for sure if they “fine-tune” it for the chip, guess so)…used then to cross-check the “hifiberry-dac” settings; the same there; for me absolutely to “harsh”, too much treble (not such a “fine resolution” as the AudiophonicsES9028-setting..)
(the “Allo Katana”-setting (at contrary to Volumio) works also NOT !! (on the ES9038Q2M (chinese)))

stayed with the ES9028Q2M-setting, then tested for DSD(DoP): works, Moode said “Encoded to DoP 352.800khz”, but the DSD-Led on the ES9038Q2M was NOT lit !!

disabled the software-mixer, resampling-options, but still no DSD-light..

i´ve mentioned it in this post/article before-> http://essabre-90xx-rpi.sfb2.com/2018/09/volumio-now-at-v2-452-did-it-dsd-lock-light-on-es9038q2m-alsamixer-archphile-xmos-usb-audio-etc/

the first time i´ve got the feel of real DSD/DoP (and the DSD-Led was lit of course) was in/with “Volumio”; foobar2000 also said ASIO-active (pcm-mode) 352.800khz and so on, but the DSD-Led was also not lit !!

conclusion for now (for “our” lovely chinese-ES9038Q2Ms 😉 ):

true/real DSD/DoP (DSD-Led lit) only on Volumio (V2.452 and up) (and meanwhile i think thats the point: with the “Allo Katana”-settings !!so far !!

by that, in listening here Moode is very very close to Volumio (maybe a little better at present IMO) (but as said, this is an absolutely personal/subjective impression).

also my ESP32S Geekcreit (Doit.am 36 pin) was not functional anymore, couldnt run/upload a sketch, tried everything, found now a way (and mainly with the right hex-adresses for the espressif-flashtool) to made it functional again->long Tut here (at the forum/at the end of the post)->LINK

greets for now 😉

New XMOS-USB audio driver (V4.47) / SMSL 8A V3 / Winbond W25Q64 (Qxx) Arduino/ESP32S SPIflash

so, 😉
there´s apparently a new XMOS-USB audio driver, V4.47 (Link) (08-06-2018) out; found it first by reading some reviews for the Sabaj DA3 (->https://www.audiocircle.com/index.php?PHPSESSID=ktk1k2hchrlfmloktc0k3c5og0&topic=152638.340 ) and yesterday at an Audiophonics-Ad concerning the new SMSL 8A V3->https://www.audiophonics.fr/en/dac-without-volume/smsl-m8a-v3-usb-dac-es9038q2m-32bit-768khz-dsd-xmos-xu208-p-12934.html and also directly at Theyscon->current release : V4.47..
by that there´s also a new V4.41 from Thesycon/Jlsounds->Link forum..)
also the new SMSL 8A V3 has a “2nd generation XU208” (259€)->

by that i´ve bought some new “Winbond W25Q64” (64Mbit/8MByte) SPI-“serial flash-memory” (only 1,29$ par example->Aliexpress) to use it maybe on an Arduino to display some graphics on the TFT-display and because the Arduino by example has a very low ram-amount (32kB !!) i wanted to extend the memory to store some data for the bitmaps..

On an ESP32S its not soo critical (4MB); u can store the bitmaps in the SPIFFS-subsystem but anyway i didnt find a “SPI-flash”-library for the ESP32S and the Arduino in general !! searched thousand hours on google and yesterday i found per chance this SPI-flash/library/tools on “RinkyDinkElectronics”->Link, the same guy who made this beautiful UTFT-library !! and which i used before ! 😉 ->Library : SPIflash

connected and it runs fabulously 😉

and hooray !! 😉 , i´ve finally ordered an “ES9038Q2M”-“Green” V1.07, (i have a “Blue”-one here) to check finally out if there´s a “shitty” PCB/components-problem on the “Blue” or if they sound the same..

by that, next OP-Amp will be the “OPA627“(AU)->”The Bugatti Veyron on the Op-Amps” 😉

many greets and more to come !! 😉

 

 

ESP32S: combined ES9038Q2M web-/BT control / filter+source-settings + HW-volume

so, 😉
in reading my (this) own blog, its really lately almost the same/repeating 😉 ..
but anyway, its a “blog” and so today an update of this ES9038Q2M web-/BT-control..
i included now the complete “Bluetooth-control/block” in the ESP32s-sketch..
by that i´ve included a NTP-time server function in the sketch/on the GUI..

i´ll post the sketch also in the forum->LINK, and i´ve learned a lot about the ESP32S, the usable (and which) GPIOs, setup different hardware.serials and so on..
its still a little bit difficult to get some really useful information/sketches for the ESP32S, so i post the sketch there too and maybe someone will find something useful information in it..(+general thoughts/hints)
the web-control GUI itself is now with the HW (Digi-Poti MCP4131)-control in max/min, 10,4 and 1 steps..(max/min,+10/-10,+4/-4,+1/-1)..(the “slider”(HW-volume)-function is in progress 😉 )
also the filter control is still working..

(the layout/fonts on the Mega2560 based 3.5″ display is btw. absolutely horrible and really shitty, cause i must use the “normal” Adadruit.gfx-library with a super shitty command-set..before (with the other 2.8″ display i could use the “UTFT“-library->much much better/absolutely more comfortable+better looking)
greets for now and more to come 😉

ES9038Q2M: HW-Volume Control MCP4131+Arduino Uno (sketch)..

so, 😉
at waiting for my 2 AD797s i just finished my long planned “ES9038Q2M-HW-volume control” via some MCP4131+ an Arduino..
i originally wanted it to “combine/implement” it with my “ES9038Q2M-filter-web-control” on an ESP32S but there i have to first find out the right SPI-software/libraries and the pinouts; so not at present..
i took an Arduino Uno, one BT-Modul (HC-06), a 1602LCD and as said this MCP4131-digi-poti (1$ Ebay/Aliexpress)..

first post about it is here->http://essabre-90xx-rpi.sfb2.com/2018/02/es9038q2m-project-2-building-a-bt-controlled-hw-volume-control-digital-pot-10kohm-mcp4131/ and i used this very helpful article about controlling the MCP4131 via SPI from here:->http://www.learningaboutelectronics.com/Articles/MCP4131-digital-potentiometer-circuit.php





this mcp4131 has 128 steps and the usable “range” on this ES9038Q2M is about 64-128; as also posted by someone else before, only after 50% you can hear any difference..
the sketch (via BT as said now) is “full-up” (+128), “full-down” (+85), and in 4 point steps (+4 and -4) example: 124,120 and so on and in 1 point steps(+1,-1)..
the “main”-point in the sketch is this:

int digitalPotWrite(int value)
{
digitalWrite(CS, LOW);
SPI.transfer(address);
SPI.transfer(value);
digitalWrite(CS, HIGH);
}

(its after the loop and u call the function simply with: “digitalPotWrite(i);”; where “i” is the value (from 0-128))

Link (sketch) here + at the forum;

works here all very well and so u have another choice to adjust the volume (i use Volumio here without any software-mixer and therefore on 100% volume) than only via your amplifier and so u have some “finer” adjustments..
nice thing (but as said, i will try to “pair” it with my ESP32S-web-filter-control in future..),
many greets for now 😉

Moode/Volumio on a raspberry pi vs. Samsung Bluray-player (spdif-coax) Impressions..+SRC4392 (+beta “Project 2”)

hi there, 😉
long time not seen..its a little bit silent here lately but absolutely no worry/problem..
okay,
i´have here some Samsung Bluray-Player (BD-H5500); not the worst; only with some spdif-coax output..
some days ago i thought the only, true,real good sound is via some very good CD-transporter/drive/device + directly via spdif into the ES9038Q2M and go 😉 ..
but as i heard today again the ES9038Q2M with the raspberry pi (Model 3B) and some flacs i felt its really a class of its own !!
1-2 level (soundwise) higher !!
(at present btw. i think Volumio (hated it a long time) has a very good sound/tune; a bit better than Moode 4.1 (then picoreplayer and so on)..DietPi (V6.8 now) is still “in the lead” (IMO) but usability-wise Volumio is great..)
so, back to topic: i really don´t know why the flacs on a pi (and via I2S) had a such great sound/tune in comparison to some “normal” CD-spdif-combos (IMO)..absolutely don´t know why; but it is (and this is said by really a lot of people in the “Hifi-world” ;-)..(maybe its because of this delta-sigma-conversion and the “required preliminaries”)..
by that i think meanwhile the spdif-“conversion” on the ES9038Q2M could be a problem; its not soo high-class/hi-fi as expected..(spdif-receiver-side)
in my praised DIY-audio-forum->http://www.diyaudio.com/forums/digital-line-level/314935-es9038q2m-board-129.html, they are looking lately for some “SBC 4392” asynchron frequency decoder boards for spdif/usb decoding with 144 db !! thd and ultra-low jitter too..

Link (60$-90$)
think absolutely the same here and because only of “hearing” out the “distortion/jitter” via the spdif-receive-unit/decoding on the ES9038Q2M..
(so to see u must use such a SRC4392 before your ES9038Q2M and then via I2S in it, bypassing the onboard-spdif..)..
so, by that i definitively want to try out some AD797 in future (have now some Muses8920 in it) and i also want to buy definitively a new, “Green” ES9038Q2M V1.07 because i still think the “Blue”-ones (have one here) sound really not so hi-fi as they could/expected (we discussed it here a few weeks ago)..

by that i revive my “Project 2” a little bit; means BT/Web-control for the different-filter+HW-Volume settings on an ES9038Q2M (u can meanwhile buy it as “set/package” with display and rotary encoder/apple-remote but nevertheless)
this time i used some “Geekcreit ESP32S Devkit-V1“-board (links/first thoughts about also at the forum-> link-FORUM ) (first post)

(ESP32S connected to a PCF8754 via some 5-3.3V logic-level-converter, controlling a 4-port relay and then to the 4 jumper on the ES9038Q2M..HW-volume via some MCP4131 will come hopefully later..)

but as said earlier, i hear almost no differences between the filter settings on these ES9038Q2M, but when, i would prefer JP3+JP6=”linear phase fast roll-off

(as said, here now listening to it with this filter-setting on a pi with Moode 4.1; and so “dry“; absolutely low latencies, perfect (but as said, Volumio/DietPi sound a little bit better (IMO))
many greets for now 😉

 

Wonderful pics -> DIY-project by Terry (ES9038Q2M+Kali reclocker) + LME49720 impressions + ESP32S

first, 😉
here is some beautiful pic by “Terry” again on his DIY-audio project (an ES9038Q2M+Kali reclocker i guess); wonderfulst !!
also the attached TFTLCD-solution->the layout of the screen and so on..
a treasure chest on ideas for other user in building their own DACs !! fabulous !! so many thx again !! (we´ll maybe get more pictures in future !)

second,
the LME49720 just arrived; i tested it here on an ES9028Q2M (DietPi-ympd, I-Sabre-k2M overlay):
for me too “thin“; it had a lot of air and liveliness/agility but absolutely, as said: “thin”..
after i put my Muses8920 back in i´ve got the feel: thats really hi-fi (with the Muses.)
but meanwhile thats all “whining” on a high level and it really depends on your personal taste (on this high level->one wants to have more “push”, prefered more “rock”, the other one prefered more “classical” music/tune and so on..)..
but nevertheless i would prefer the Muses8920 in comparison to the LME49720 by 15-20% 😉
(had not the possibility here right now to check it against the OPA2134/NE5532)..

third,
the Geekcreit ESP32S arrived here yesterday (Link) (5,50€); 2 cores, wlan b/g/n, bluetooth on board, 4 !! spi-s and so on..think about how to use it for the DAC-control (spi-display,source-selection,filter-settings, HW-volume etc.)..

greets for now 😉

1 2 3 4