Question concerning I2S clock generation on ESP32-C6 (and presumably C5) (IDFGH-14578) #15335
Open
3 tasks done
Labels
Status: In Progress
Work is in progress
Answers checklist.
General issue report
Hi, for my project I need to justify the use of the internal clock generator (vs. an external xtal oscillator) for a sample rate of 44.1 kHz in TDM256 mode. The BCLK in this case is 11.2896 MHz, which the hardware generates using a fractional divider, with a divider of 14.172336 when derived from 160 MHz or 21.258503 from 240. The C6 Hardware Technical Reference does not say which kind of fractional divider is being implemented (and I assume the C5 which I am currently playing with uses the same building block). If it's a delta-sigma based fractional divider, the jitter generated by the divider itself can be expected to be in the range of τ = 1.6 ps RMS which is negligible for audio applications, leading to a SNR of -20 log (2 pi f τ) ≈ 160 dB for f ≈ 1 kHz, i.e. way below the existing noise floor of the analog circuitry and the sampling itself. In case of a simple fractional divider switching between the two nearest integers in a more or less fixed fashion, however, the jitter would be in the range of 3 ns (!), and the SNR would be 94.5 dB, i.e. in the range of a high-quality audio ADC, reducing the effective resolution to about 15-16 bits, and thus not acceptable.
So - which one is it, and would you mind adding this information to the Technical Reference which at the moment has only some wording like "Using fractional divider may introduce some clock jitter." which from an engineering standpoint is lacking?
And while we're at it, how is the 40 / 48 MHz xtal oscillator in the WROOM modules specified as far as jitter? This jitter will have to be taken into account as well, plus some additional jitter by the PLL generating 480 MHz.
Thank you!
References:
The text was updated successfully, but these errors were encountered: