Asynchronous I2S FIFO project, an ultimate weapon to fight the jitter

When played and measured square 1khz at the DAC output, I noticed a ringing like this:
That wasn't exactly ringing. It's Gibbs effect: https://en.wikipedia.org/wiki/Gibbs_phenomenon

Its because you are trying to play back a square wave that violates the sampling theorem.

Thing is, in the time domain time can't work backwards. Rather, time can only move forward. Ringing is an oscillatory behavior which is damped (decreased in amplitude) as time goes by after the event that initiated the oscillatory energy. Therefore it always gets smaller as viewed from left to right on a scope display.

OTOH, most of the time when a oscillation seems to build up out of nothing as time goes by from left to right on a scope display, there has to be be something else going on. In the case of Gibbs Phenomenon, there are some missing Fourier components (as viewed in the frequency domain) which would be needed to complete the right angle corners of a square wave (because the sample rate is not high enough to keep up with the square wave generator). The missing frequency components create an appearance which kind of resembles ringing even though that's not what it is.

Also tried without DAC connected measuring at GPIO18 (pulled down with 10k), but looks the same...
Actually, it doesn't look exactly the same. There are lots of problems with trying to measure RF with a scope if its not done correctly and if the RF is not properly terminated according to transmission line theory.

First thing, always use 10x scope probes that have been calibrated using the calibration square wave signal usually found on the front panel of the scope. Then use the shortest possible ground lead for the scope probe (spring grounds are probably best). Please see the section on grounding starting on page 40 of the document at: https://download.tek.com/document/ABCs-of-Probes-Primer-60W-6053-17.pdf
 
Last edited:
  • Like
Reactions: ljufa
@Clausen
From Hifi Collective.
Originals values are 511 Ohms. Lower value means less output volume but, I believe, easier impedance to drive for the dac current output.
So I have tested : Vishay Metal film Charcroft Z-Foil resistors 510 Ohms and Audionote silver robium 470 ohms 2W (my preferred). Both are available at Hifi Collective. The Vishay seems to be more precise and the AN seems to me more musical. It's a kind of compromise.
 
  • Like
Reactions: Clausen
Hello everyone,
I would like to know if the following configuration is the best possible setup using only Ian Canada components for both streaming and power supply. Here is the full list:
ModuleRecommended Power Supply
Raspberry Pi 5LifePO4 Mini or PurePi ,which one?
FifoPi Q7UC Conditioner 3.3V
TransportPi AESUC Conditioner 5V
HDMIpi ProUC Conditioner 5V
Has anyone built a streamer with this configuration using the Raspberry Pi 5? Were all the modules recognized correctly, and did the drivers work without any issues?
Thanks!
 
  • Like
Reactions: MathieuDoe
I guess I'm having a conversation with myself! 🙂 Anyway, it's funny how one small detail makes all the difference in something working or not. On the Project tab of the 4D IDE the destination must be set to Flash not RAM. I knew there must be someplace to perform the flash. Once I found it and changed it from the default of RAM, everything made sense and it worked. Touch screen works and I've got it displaying controller information too. Here's an image of my rebuilt-stack. I still need to bring a USB jack out to the back panel. Then I'll have all the inputs I use available. Of course, I have to mount the screen on the front panel as well and put the finishing touches on everything.

View attachment 1076487 View attachment 1076489
How did you get the clock speed to show, mine just has the button select, no lower right information.
 
Hello everyone,
I would like to know if the following configuration is the best possible setup using only Ian Canada components for both streaming and power supply. Here is the full list:
ModuleRecommended Power Supply
Raspberry Pi 5LifePO4 Mini or PurePi ,which one?
FifoPi Q7UC Conditioner 3.3V
TransportPi AESUC Conditioner 5V
HDMIpi ProUC Conditioner 5V
Has anyone built a streamer with this configuration using the Raspberry Pi 5? Were all the modules recognized correctly, and did the drivers work without any issues?
Thanks!
What about products like Shield_Pi, Station_Pi, SC Pure, ReClockPi, etc.? Don't realize why you need them, or you already have that covered? This is assuming you really do want the best possible setup, of course.
 
Last edited:
  • Like
Reactions: MathieuDoe
Nope, there on Parts Connexion for the same price...and sold out BTW. I'm reading about them now. I know what a difference crossover components make, so I guess I'm in the market for these very hi-end resistors now...
Has anyone built a streamer with this configuration using the Raspberry Pi 5
I am using a Pi5 myself, I was using a single UCPi for the 5v and I was able to get a UCPure for the 3.3 in the swap meat. I have been having issues with my UCPure cutting out and dropping voltage after some time so I added a Raspberry Pi PSU (I have a Station SMT,) and power up the 5V on the Q7 with that. I am trying to sort out the issue with Ian and waiting to hear back. He suggested I take a video and send it to him, which I'll try to do this weekend.


The RPi5 was weird though, I could not get it to power up with the stock Raspberry Pi Power adapter run through the UCPi. It just wouldn't do anything. Because I have the Station SMT I wasn't mounting anything on top of the UCPi, I was running wire too it, and the only issue I can think of is the power cord from the RPi is too long. I'm needing to sort out my PSU situation, but in the beginning I was just trying to get sound. I sold my Bluesound Node and got a lot less than I had hoped, and a lot less to finance this build, so it's taking longer than I'd hoped. But I have music, so there's that. And I have no doubt it's defiantly better than the Node was.
 
I assume you mean these?

https://www.hificollective.co.uk/catalog/470r-2w-audio-note-silver-niobium-resistor.html


That's quite the price for a couple of resistors! I'll have to see if I can find that in the states, I 'm guessing you'd say it's worth it?
That’s it. Well, I found it expensive too (and you need to add shipping and customs fees) but compared to the whole project it is still acceptable. And it worth it.
You need to know that you have to solder it in on the surface as the original hole is too small. So take care of having the solder connecting the top and the bottom of each hole.

(Yes this is a bit ridiculous to have such big resistors, but I compared 0.5W version and 2W version… and 2W are better. Believe me or not…)
 

Attachments

  • IMG_5653.jpeg
    IMG_5653.jpeg
    652.2 KB · Views: 62
  • Like
Reactions: Clausen
What about products like Shield_Pi, Station_Pi, SC Pure, ReClockPi, etc.? Don't realize why you need them, or you already have that covered? This is assuming you really do want the best possible setup, of course.
I would like some help in choosing the best possible configuration, so I would like to ask: what are Shield_Pi, Station_Pi, SC Pure, ReClockPi, and what do they do? Should I include them in the configuration?if yes, where?
 
  • Like
Reactions: MathieuDoe
@riccaficca
I had the same questions a few time ago and here are the answers from Ian to build the best :

1 So this kit is were to start (balanced output) :
https://iancanada.ca/products/flagship-full-function-sync-clock-mode-ess-dac
If you need unbalanced outputs, please add this board : https://iancanada.ca/products/7b-transformer-i-v-fully-finished-assembled

2 And this clocks :
https://iancanada.ca/products/sc-pure-extremely-low-phase-noise-audio-clock
You need #80A and #80B

3 a Rpi 3B or 4B

4 Power supplies
You’ll need for unbalanced :
5V and 3.3V
https://iancanada.ca/products/5v-3-3v-power-supplies-solution (I use #96D)

And for balanced outputs with OPA 861 :
You need to add +/-5V
https://iancanada.ca/products/high-quality-5v-power-supply-solutions (#96K)

You will need to buy separately ultra capacitors for 3.3V and toroidals transformers.

6 Improvements
To upgrade, I have found that powering the Rpi and the audio section with different +5V brings a lot. It is easy to do with StationPi.

I also have found that changing the i/v resistors on i/v transformer board enhance a lot (see my previous post).

I hope this help !

On my side I am wondering how to go further.
  • I have ordered Ivan’s i/v transformers board
  • I will probably power the dac board with a separated +3.3V for DVCC and AVCC

And I’m looking for other clever improvements ideas.
 
Last edited:
  • Like
Reactions: Clausen
I noticed the same with FIfoPiMa 1.5, regardless of S2 jumper (DoP on/off) on the board it always converts to PCM, I think this is related to configured dtoverlay in /boot/firmware/config.txt. For me RPI4 only works with hifiberry-dacplus. I know that for RPI5 hifiberry-dacplus-std is recommended now. If you have rpi5 you can try it...
Some good news, I was able to modify/hack linux driver used by hifiberry-dacplus dtoverlay to support DSD formats playback.
Now I can play DSD on RPI4 + FifiPima without conversion up to DSD256.
If someone is interested I can provide modification instructions or some kind of binary package...
 
@riccaficca
I had the same questions a few time ago and here are the answers from Ian to build the best :

1 So this kit is were to start (balanced output) :
https://iancanada.ca/products/flagship-full-function-sync-clock-mode-ess-dac
If you need unbalanced outputs, please add this board : https://iancanada.ca/products/7b-transformer-i-v-fully-finished-assembled

2 And this clocks :
https://iancanada.ca/products/sc-pure-extremely-low-phase-noise-audio-clock
You need #80A and #80B

3 a Rpi 3B or 4B

4 Power supplies
You’ll need for unbalanced :
5V and 3.3V
https://iancanada.ca/products/5v-3-3v-power-supplies-solution (I use #96D)

And for balanced outputs with OPA 861 :
You need to add +/-5V
https://iancanada.ca/products/high-quality-5v-power-supply-solutions (#96K)

You will need to buy separately ultra capacitors for 3.3V and toroidals transformers.

6 Improvements
To upgrade, I have found that powering the Rpi and the audio section with different +5V brings a lot. It is easy to do with StationPi.

I also have found that changing the i/v resistors on i/v transformer board enhance a lot (see my previous post).

I hope this help !

On my side I am wondering how to go further.
  • I have ordered Ivan’s i/v transformers board
  • I will probably power the dac board with a separated +3.3V for DVCC and AVCC

And I’m looking for other clever improvements ideas.
Thank you so much for your detailed response! I really appreciate the insights and the recommendations. I will contact you privately to discuss further.


Thanks again!
 
  • Like
Reactions: MathieuDoe