Post Go back to editing

ADAU196XAZ test, i can't get a digital input 24bit signal by the sigmastudio or the ARWB

HI

i bought the board EVAL-ADAU196XAZ, and want to get a pure analog output using this board.

the inportant thing is to generate a 24bit digital input signal, i see other DAC use the sigmastudio to program the board easily to get a input signal.

but in this board EVAL-ADAU196XAZ, when i use the sigmastudio, there is no schematic workspace, so can't add the input.

the ARWB can only control the register of the chip ADAU1966A, this software can't generate a 24bit digital input signal.

my question is how can we get a digital input to the EVAL-ADAU196XAZ, can ypu help provide some software to help generate the digital input?

thanks

Shangzheng

Parents
  • Hello Shangzheng,

    The SigmaStudio interface is only for controlling and setting the registers. Once all the settings are correct for your application it is easy to copy all the register settings so your system controller can properly program the part. This is the use of SigmaStudio with this part to give you real time control of the part.

    Audio has nothing to do with SigmaStudio. There is no way to get audio in or out. This is true even with a DSP.

    This evaluation board does not have an analog input. All the inputs are digital. The easiest way is to use an S/PDIF signal and send that to the board. There are provisions on the board to route this audio to all the outputs or only to selected outputs.

    The board can also be setup to receive an I2S or a TDM signal from some other digital source. This is often a DSP evaluation board. Do you have any of our DSP evaluation boards?

    I have also attached an updated user guide that is still a preliminary guide. It covers the old revision in the first half of the document and the new revision in the second half of the document.

    Dave T

    PDF

Reply
  • Hello Shangzheng,

    The SigmaStudio interface is only for controlling and setting the registers. Once all the settings are correct for your application it is easy to copy all the register settings so your system controller can properly program the part. This is the use of SigmaStudio with this part to give you real time control of the part.

    Audio has nothing to do with SigmaStudio. There is no way to get audio in or out. This is true even with a DSP.

    This evaluation board does not have an analog input. All the inputs are digital. The easiest way is to use an S/PDIF signal and send that to the board. There are provisions on the board to route this audio to all the outputs or only to selected outputs.

    The board can also be setup to receive an I2S or a TDM signal from some other digital source. This is often a DSP evaluation board. Do you have any of our DSP evaluation boards?

    I have also attached an updated user guide that is still a preliminary guide. It covers the old revision in the first half of the document and the new revision in the second half of the document.

    Dave T

    PDF

Children
  • Hi Dave

    thank you for your reply, I still have some question.

    our main goal is to use this EVAL-ADAU196XAZ board to get a high quality sinewave output signal about 3-20KHz which is more than 90dB.  and we hope use the sigmastudio or the ARWB(automated register window building) to control theregister, and  to get this high quality sinewave output.

    1. in my old experience, in the sigmastudio once we put a chip model to the workspace, there will generate a schematic function in the workspace, so that we can choose the IO(see the below picture), but for the ADAU1966A, there is no schematic function in the workspace,

     

    2. for the software ARWB(automated register window building), we hope this software can control the register to get a analog output, means write the 24bit digital code directly to the register, then get the digital ouput.  but we can see, the ARWB seems can only change some control register, still no help to generate the sinewave output,  we want this board get a sinewave analog output without other input.

    3. if the sigmastudio and the ARWB really can't help, what about use the matlab to generate a 24bit code, and then write this code to the register in EVAL-ADAU196XAZ,  so that the board can get a high quality output sinewave signal, do you have some idea about how to connect the board with the matlab?

    all we want is to using this board get a pure analog sinewave output, what about your idea.

    thanks for your help

    Shangzheng

  • Hi Dave

    I am afraid i don't say clearly in the last reply,

    i am not trying to send ab audio signal, i am trying to use sigmastudio to create the code for high resolution sinewave that can be output from the ADAU1966A, the adau1966a is actually supposed to CREATE the audio frequency sinusoid(it is not an audio signal).

    1. i have the impression that i can use either sigmastudio(easiest) or the ARWB program (harder) to creat the digital code of a high quality 16/20/24 bit sinusoid@192/94/48Ksps and directly load this to the DAC via the little daughter card(connected to jumper J4 or whatever that interface to the PC)

    2. i don't want to have to load the digital signal through the external data ports.

    3. after configure well, i still unable to see the ADAU1966 DLL in sigmastudio, means there is no schematic workspace in this one, you can see last reply, so that i can't add the I/O, where are things break down, 

    4. finally, if this method isn't possible, if there is an available source of document to connect the matlab - as an alternative way of creating the digital representation of the sinusoid if it is not possible to do this using sigmastudio, or if this is easier than using the ARWB software.

    at last, if there is a newer version of the sigmastudio user's guide or document tation or an application note that might have an example that's fairly close to what i am trying to accomplish.

    thaks advancd

    Shangzheng

  • Hello Shangzheng,

    This part is a DAC and only a DAC. It does not have any kind of processor like a DSP inside of it. So it cannot "run" any code so there is no reason to have the schematic tab and no way to create a sine wave signal. 

    Let me use an example. If you purchase a printer and hook it up at home. You will not be able to edit or create any kind of document with only a printer. You MUST have a computer to generate the signals that the printer will use to print the document. The printer only prints what is sent to it. Yes, it is smart and has some firmware it runs and sometimes it will do some smoothing but it does not create anything. 

    A DAC is basically, an audio printer. It reproduces, transforms, the digital signal into an analog signal that can be sent to an amplifier and then to a speaker so we can hear it. The DAC cannot create any signals, you MUST use a DSP or other source for the audio to send it to the DAC.

    Perhaps you should look at the ADAU1701 eval board or the ADAU1452RevB eval board. The ADAU1701 is a DSP that has built in ADC and DAC. So you can internally generate the sine wave and then send it to the on-chip DAC. Really easy.

    The EVAL-ADAU1452RevB is has a more powerful DSP, the ADAU1452, but it requires an external DAC. The evaluation board had a codec that has four channels of ADCs and 8 channels of DAC and it is connected to the DSP. So the connections are already made for you. You can connect a 3.5mm stereo cable to your speakers and it is done.

    Then if you require more channels you can connect the EVAL-ADAU1966 eval board to the serial ports of the ADAU1452 eval board but it would get a little more complicated.

    I hope this helps and I am sorry for the confusion.

    Dave T

     

  • Hello Dave

    Thanks for your reply. I will try to use other sources to generate this signal.

    Best regrades

    Shangzheng

  • Hi Dave

    I have some other question. 

    we have the EVAL-ADAU196XAZ board, and the supply voltage is 3.3v, because this big vdd, this board can have a good linearity.

    if i use the board ADAU1701, there is two DAC integrated in the chip, maybe the linearity of the DAC in ADAU1701 is worse than ADAU1966, is it right?

    i can see the ADAU1452 is a good choose, and i can programn the DSP(without external input) to get a digital output of the EVAL-ADAU1452REVBZ, And then send this digital signal and clock to ADAU1966, so that i can get a high quality analog output.

    and what's the difference between ADAU1452, ADAU1451,ADAU1450, ADAU1462, ADAU1463, ADAU1466, I can see they are one family, so which one is most easy to program, and most easy to connect with the ADAU1966, and most suitable?

    thanks advance

    Shangzheng

  • Hello Shangzheng,

    The ADAU1701 also uses an AVDD of 3.3V. The part was designed many years before the ADAU1966 so the 1966 has some improvement with the performance.

    The ADAU1966 with no "A" can use an AVDD of 5V if you are interested. 

    what's the difference between ADAU1452, ADAU1451,ADAU1450, ADAU1462, ADAU1463, ADAU1466

    This is a bit of a detailed question... The 146x parts are newer and have a lot more memory. There are a few more small differences with one of them being that the SPDIF ports can run at 192kHz and the I2C also can run faster, I think 1MHz? 

    The 145x parts are very similar to each other. If you are only generating a sine wave then the ADAU1450 would be enough. It has less program memory and runs at a slower speed but it still is very powerful. If you get the evaluation board it will have the 1452 on it. 

    Dave T

  • Hi Dave

    thanks a lot for your guide.

    and I use another board to generate the Master clock, bit clock, LRCLK and the serial digital I2S signal to the EVAL-ADAU196XAZ.

    you can see the set of the board, i set the s3-6 and s3-2 all to return, means allow the external input.

    i set the s6-2 to DSDATA1, and set s4 and s5 to DSDATAx

    i set the s8-4 on, means get the MCLK from the external, and set the s8-6 on, means the msater clock input to the adau1996a, i set the s8-7 on, means use the MCLK as the source of pll.

    i sset the s9 all to 0, set the s10 all to 0, set the s7 all to 0 except the s7-4 to 1.

    this is some important set of the register.

    then i do a measurement in the right position board, means the port OUT1P, OUT1N, OUT2P, OUT2N, i use the oscilloscope to test those port, but there is no output signal.

    can you help have a look about my setting? i have checked lots of times but not find the problem.

    i know maybe this problem is too detail, but hope can get reply from you.

    thanks

    Shangzheng

  • Hello ShangZheng,

    Your setup on the eval board looks correct.

    I copied your settings and went into the lab. I connected the I2S outputs of the Audio Precision and opened up SigmaStudio. 

    Then I setup a project and all I did was click on two buttons. Power, and Unmute and I had audio with all the default settings. 

    So what is the master clock frequency are you sending to the evaluation board?

    What is the format of the signal? I am assuming I2S due to your earlier posts.

    So what is the sample rate?

    What is the bit clock rate?

    Another thing I noticed in your pictures is that you do not have a ground running with each signal jumper wire. This is important to try to do. At 48kHz you can sometimes get away without it but you are also using a 12.288MHz master clock and without a ground running with it the signal integrity will be very bad.

    Even without this detail, I did not see any ground wire at all. You will need to ground the two boards. The USB connection is not a reliable ground.

    Here is my SigmaStudio project file. All you have to do is click link/compile/download or click the download all button.

    ADAU196x Eval Board Setup Clock slave I2S.zip

    Here are a few pictures:

    This first one is a closeup of the SDATA connector so you can see how I have a ground and a signal wire. Sorry that the pictures are rotated, this is an iPhone to Windows incompatibility. 

    This next one is all the external connections:

    This last picture is my entire setup. 

     

    Dave T

  • Hi Dave

    thaks for your reply.

    in the DAC board adau1966a, i set the sampling clock in EVAL-ADAU196XAZ to be 192kHz, and the adau1966a DAC oversampling rate select the 126 x fs DAC oversampling.also tne internal board  PLL of adau1966a select the MCLK as the sourece clock.

    for the external input clock, all the data is I2S mode,  i set the EXT LRCLK IN to be 192kHz, and the EXT BCLK IN to be 192k*48=9216k=9.216MHz, i set the EXT MCLK IN to be 192k*48*3=27.648MHz

    another thing is the external I2S signal, this signal is generate by matlab, sampling from a 

    5.8125kHz sinewave, this freq is choose by the equation Fin=(prime*Fs)/NFFT,  the signal range is -1 to 1, then i use matlab to sample this sinewave signal, the sample freq is 192k. and sample point is 1024. after that i store this data in a board and send in I2Smode to the adau1966a DSDATA1.

    the last thing is how can i test the quality signal, there is a mini headphone, but i want this output sinewave signal go to a SMA port of another board(a ADC), also can i use the oscillascope to test this output sinewave of the adad1966a?

    thanks advance

    Shangzheng

  • Hi Dave

     i have added the ground in the port. connect the ground of two board.

    and then i keep the board set of eval-adau196xaz, and then use the sigmastudio file (ADAU196x Eval Board Setup Clock slave I2S.zip), and download all the set. and  click on two buttons. Power, and Unmute.

    then i use the oscilloscope to test the port OUT1P, OUT1N, OUT2P, OUT2N, also use the mini hearphone, there is still nothing in the output. i can't get the sinwwave output recently. i wonder if my clock setting is wrong? please help check it.

    the clock set detail  is in the last reply.

    thanks

    Shangzheng