AK4493 at oct/hex sampling speeds - oversampling filter issue?

Here is the AK4490 dac output of 88kHz sine at 384kHz. I think KSTR is right about the NOS mode.
/Martti
 

Attachments

  • ak4490_oct_dac.jpg
    ak4490_oct_dac.jpg
    369.5 KB · Views: 124
Series of waveforms at fs/4, from 48kHz to 384kHz (NOS filter mode selected for <=192kHz). Direct chip output.


Klaus, that looks like they use MCLK=FSx64 (=>oct/hex) for all samplerates in this mode. Otherwise I do not see how they could get those distortions on <384kHz samplerates. But that still requires 2x oversampling (32bit sample x 2 => 64bits in sigma-delta.
 
Klaus, that looks like they use MCLK=FSx64 (=>oct/hex) for all samplerates in this mode. Otherwise I do not see how they could get those distortions on <384kHz samplerates. But that still requires 2x oversampling (32bit sample x 2 => 64bits in sigma-delta.
I don't think this is distortion, rather it is fully expected behaviour.
I'll check MCLK pin (a bit difficult to access in the RME).
 
Please can you run just a single shot (if you scope allows that)? But it looks just like our distorted waveforms...

No can do. Single shot does not seem to work. I need to get a new scope.

bohrok2610 - please what is your analog filter cut-off freq?

Fc=99.2kHz. Straight from the AK4490 datasheet (figure 40). However AK4137 also has a filter so I'm running 2 filters.
 
I tried that but no change to output.

Same with me. But your DAC output is same as mine (in oct mode), it's your analog filter which cleans the signal. My analog filter is at 440kHz because I am testing higher frequencies. I am afraid you are getting the very same signal. Please try 96kHz instead of 88kHz, that will keep your output waveform static.


It may well be that AK4137 filter cleans things up in my case.

Your resampler outputs clean 88kHz at 384kHz. Just like my signal generated directly at 384kHz by sox. The filter in AK4137 has really no effect on that, it's part of the x2 resampler.
 
Same with me. But your DAC output is same as mine (in oct mode), it's your analog filter which cleans the signal. My analog filter is at 440kHz because I am testing higher frequencies. I am afraid you are getting the very same signal. Please try 96kHz instead of 88kHz, that will keep your output waveform static.

You are correct. At 96kHz the dac output looks like yours. However the filter output looks like a clean sine so I'm not sure if there is any issue.
 
It's not NOS mode literally. Still oversampling but rather than filtering, they just repeat the same sample value N times which is effectively NOS.


You are right. So let's call that setting NOS.

But I am still totally confused. What does the oversampling actually do?

NOS at 192kHz samplerate figure 4 (signal fs/4 48kHz) - does it mean the DAC does no oversampling starting from 192kHz? Because I do not see any midpoints added, only the original 192kHz samples (4 per period).

Yet with NOS off (filter slow instead of super-slow) the output is properly resampled, nice sine. What samples does the digital filter actually filter?

The output conversion runs always at 12.5MHz, regardless the MCLK. 12.5MHz/32bits = 384kHz - x2 oversampling must have occured, IIUC. But what was oversampled to what?

BTW the final-conversion rate stays at 12.5MHz even for 768kHz, where the 32bit bitrate is already 24MHz - that means the DAC must be dropping precision

Fig1 - final conversion for 192kHz, MCLK x256 49MHz
Fig2 - final conversion for 192kHz, MCLK x128 24.5MHz
Fig3 - final conversion for 768kHz, MCLK x64 49MHz

In all cases it is 12.5MHz.
 

Attachments

  • NewFile20.png
    NewFile20.png
    38.4 KB · Views: 129
  • NewFile21.png
    NewFile21.png
    38.2 KB · Views: 131
  • NewFile22.png
    NewFile22.png
    36.9 KB · Views: 124
  • NewFile23.png
    NewFile23.png
    40 KB · Views: 514