Post Go back to editing

Change sample rate on board EVAL ADAU1452 REVBZ AD1938 to 96Khz

Category: Software
Product Number: ADAU1452 AND AD1938, ADAU1452 , ADAU1452
Software Version: SIGMA STUDIO 4.7

I am trying to change the sample rate from 48khz to 96khz, i use CODEC AD1938 on EVAL ADAU1452, it was working at sample rate 48khz stand alone mode, reading pdf EVAL-ADAU1452REVBZ-UG-1662 i made modifications to the board according instructions (page 26 to 33).

After doing the rework on EVAL ADUSB2Z board and  on EVAL ADA1452 this i was able to read setting on CODEC AD1938, i assume this means the fix is allowing communication between sigma studio and AD1938.

I have read  RE: Different sample rates , tried it and didn't work 

I followed these instructions, it didn't work for me.  Changing the Hardware sample rate on EVAL-ADAU1452REVBZ  

On the next link i couldn't find ADAU1452, https://ez.analog.com/dsp/sigmadsp/w/documents/5214/how-do-i-change-the-sample-rate-of-my-sigmastudio-system, so i only followed partial (setting fs and all the object to 96khz).

After trying to set to 96khz i tried to set to 48khz, its not working, please share more information and schematic connection, maybe its not only software my problem.

TEST AD1938 SAMPLE RATE CHANGE.dspproj

  • Hello Leithor,

    The instructions in the user guide are for having SigmaStudio control the codec not the DSP. I think I mention it in there somewhere that you could modify it so the DSP could boot up the codec but that complicate the program a little. 

    So you should be able to read the settings of the codec and do something like mute the ADC or the DACs from the register settings and the codec will follow. Or change the clock setting and see the clock conflict with the DSP or some other reaction. However, since you can read data it looks like that is all working great.

    I will attach the actual program I used when I wrote the user guide. So this was tested and worked when I did the mod and took the pictures. Some of the other posts you read explain about setting up the sampling rate in SigmaStudio and there are a few details to take care of. Test this first and then we can look at your project once we know the hardware is working properly. 

    I did not look at your project. I noticed your post when I went onto my computer for something else. It is 8PM here on the east coast. :) So try this project and see what happens. 

    Dave T

    Basic Test Project with Codec at 96kHz I2S.dspproj

  • Hello Dave, Sorry to interrupt.

    I'm currently working on a 96KHz project, so I thought I could share the project and settings quickly.

    Hi Leithor,

    This is applicable if all the modifications for controlling the codec mentioned in ADAU1452 user guide were done. please refer the below settings.

    DSP as Master and CODEC as slave. please look below.

    ADC as Master and serial input port as slave and serial output port as master and DAC as slave. please look at the below settings.

    Please look at the ADC's LRCLK out:

    If you want to put the board in standalone mode (if slave), then you have to ground the SPI pins. Please look below.

    project_at_96KHz.dspproj

    Regards,

    Harish

  • Thank you so much Harish, this information solved the configuration issue with the CODEC AD1938