• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

XMOS ES9822 ADC Audio Analyzer

Lufia

Member
Joined
Sep 6, 2024
Messages
14
Likes
24
Hello, I’m new here, and this is my first time posting on this forum.

I’m currently working on building an audio analyzer using XMOS 316 and the ES9822 ADC, with the ES9822 as a slave device. It works perfectly at frequencies up to 352.8kHz, and its performance is excellent.

Due to the limitations of the Topping D10B, I can only measure up to -116dB THD+N, which is the standard spec for the Topping D10B. I don’t have a better DAC at the moment, so this might not be the ES9822’s limit.

The only issue I’m facing right now is that the ES9822 is not working with XMOS at 384kHz, even though 352.8kHz works fine.

Does anyone have any ideas?
Device Photo_2.jpg
 
And here are XMOS_316 with ES9822_ADC Background Noise. (around -160dB)

XMOS ES9822 Background Noise.png
 
Last edited:
These are photos of the devices: the XMOS XU316 EVB and the ES9822 ADC EVB.

They are still in the evaluation board stage, but the performance is already quite good.

I’m using them in my microphone data collection research project.

These won’t be commercialized; they’re just projects I’m working on for fun. However, I’m really looking forward to seeing the performance of the final version.

Device Photo_3.jpg

Testing with Topping D10B.jpg
 
Last edited:
Just a silly question,but is XMOS fed with enough power?
Sometimes that's the limit of higher sample rates,USB power is not enough for it.
 
Just a silly question,but is XMOS fed with enough power?
Sometimes that's the limit of higher sample rates,USB power is not enough for it.
Compared to its predecessor, the power consumption of the XU316 has been significantly reduced. The peak power consumption of the entire system (including the ES9822) is around 1.2W, approximately 230mA. The USB port can fully operate and even support DAC operation at 768kHz.
 
Compared to its predecessor, the power consumption of the XU316 has been significantly reduced. The peak power consumption of the entire system (including the ES9822) is around 1.2W, approximately 230mA. The USB port can fully operate and even support DAC operation at 768kHz.
Hmm.I guess it's been a while I have measured X2XX version consuming up to 700mA at high sample rates.
I had to push a Salas reflector d to its limits to work.
That's quite an improvement!
Can you please point me to the datasheet if you have it handy?
 
ES9822 hooked to RPi4 works well up to 768kHz
1725610306440.png


DAC 350kHz @ -160dB 32bit:

1725610375130.png


Of course it took some bit alignment settings on both sides of I2S because at these speeds the I2S data vs. clk skew are not negligible.

BTW did you check XMOS 384kHz clock-data alignment with a scope? Maybe there is the issue?
 
ES9822 hooked to RPi4 works well up to 768kHz
View attachment 390548

DAC 350kHz @ -160dB 32bit:

View attachment 390549

Of course it took some bit alignment settings on both sides of I2S because at these speeds the I2S data vs. clk skew are not negligible.

BTW did you check XMOS 384kHz clock-data alignment with a scope? Maybe there is the issue?
Thank you for your reply! Those results look great. May I ask if your ES9822 is running in slave mode or master mode? Also, are you using a 24MHz or 49MHz crystal?

I haven’t checked the clock-data alignment on the XMOS with a scope yet, as the digital loopback works fine at 384kHz.
I’ll make sure to take a closer look.
 
Last edited:
I am using clock generator Si5340D for all the clock signals including MCLK for DAC & ADC, controlled via I2C from RPi. I.e. all I2S interfaces are slaves, on both sides. For 384kHz the MCLK must be 49MHz (128fs). 45MHz crystal would work only for 44.1kHz multiples.
 
Backup images for the problematic sample rate.
384k_digital_loop.png
768k_digital_loop.png
768k_digital_loop2.png
 
Maybe the waveform/scope view would tell more. IMHO some bitshift already occurs and the waveform is corrupted. That's my experience with I2S at these high samplerates. But just a guess...
 
Where do you get those boards? My searches for xk-xu316-kit and xk-es9822-evb are turning up other boards, not those.
 
Hello, I’m new here, and this is my first time posting on this forum.

I’m currently working on building an audio analyzer using XMOS 316 and the ES9822 ADC, with the ES9822 as a slave device. It works perfectly at frequencies up to 352.8kHz, and its performance is excellent.

Due to the limitations of the Topping D10B, I can only measure up to -116dB THD+N, which is the standard spec for the Topping D10B. I don’t have a better DAC at the moment, so this might not be the ES9822’s limit.

The only issue I’m facing right now is that the ES9822 is not working with XMOS at 384kHz, even though 352.8kHz works fine.

Does anyone have any ideas?

I can't offer any technical help here, but I can ask the question:

Does it matter for your project? 96kHz is already massive overkill for audible bandwidth, and probably for most audio microphones. 192kHz would cover the rest. Do you need to worry about 384kHz for your project?

On the other hand if you just "want to make it work properly" then I get that.
 
I can't offer any technical help here, but I can ask the question:

Does it matter for your project? 96kHz is already massive overkill for audible bandwidth, and probably for most audio microphones. 192kHz would cover the rest. Do you need to worry about 384kHz for your project?

On the other hand if you just "want to make it work properly" then I get that.
we use this for a special high frequency condenser microphone which BW up to 240kHz
 
we use this for a special high frequency condenser microphone which BW up to 240kHz
OK, you win.

What on earth is the application for this microphone? Possibly recording bats or similar?
 
OK, you win.

What on earth is the application for this microphone? Possibly recording bats or similar?
This is a 1/8-inch measurement-grade scientific microphone, and you can find its prototype in IEC61094. We use it in the field of ultrasound detection.
 
Back
Top Bottom