Post Go back to editing

How to give constant value to AD9106?

Category: Software
Product Number: ad9106
Software Version: Latest

Hello,

I have to give the constant DC value in between 1 to 5v to AD9106. If I have to give the 2v value to DAC of AD9106 how i can give that,

which register that I need to use, In the SRAM if i gave the one value instead of given 4096 values these can be possible? please guide me.

  • Hello,

    What type of waveform do you want to generate out of the DAC? Please refer to FAQ numbers 4, 7, 10, 16, and 17 in AD9106 / AD9102 Low-Power DAC and Waveform Generator: FAQs.

    Regards,
    Shine

  • Right now, I just wanted to send the one digital value to DAC like 2v,1.8v like this kind of can you please help me how I can

    send the only single digital value. I need guidance.

  • Hello,

    Did you get a change to look at the document linked in my previous response?

    Regards,
    Shine

  • Hello , I went through the document linked that you shared to me. I want to send the 4 value to DAC, so In SRAM I set the value 4 and accordingly and write into register but no output is come on DAC cahnnel 1. I am sharing the register and its value.

    int16_t DC_Value[4096]={4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,  4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4,  4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4,  4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4,  4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4,4,  4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4,4, 4, 4, 4, 4, 4, 4, 4, 4,4, 4, 4};

    uint16_t AD9106_example7regval[66]= {0x0000, 0x0e00, 0x0000, 0x0000, 0x4000, 0x4000, 0x4000, 0x4000, 0x0000, 0x1f00, 0x1f00, 0x1f00, 0x1f00, 0x0000, 0x0000, 0x0000, 0x000e, 0x0000, 0x0000, 0x0000, 0x0000, 0x0202, 0x0202, 0x0111, 0xffff, 0x0101, 0x0101, 0x0003, 0x0000, 0x0140, 0x0140, 0x0140, 0x0140, 0x4000, 0x4000, 0x4000, 0x4000, 0x0001, 0x0200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0002, 0x0000, 0x0000, 0x2710, 0x0000, 0x0000, 0x0001, 0x0000, 0x0000, 0x0000, 0x0001, 0x1770, 0x0000, 0x0000, 0x0001, 0x0fa0, 0x0000, 0x0000, 0x7fff, 0x0001, 0x0001};


    uint16_t AD9106_DAC_regval[66]={0x0000, 0x0e00, 0x0000, 0x0000, 0x4000, 0x4000, 0x4000, 0x4000, 0x0000, 0x1f00, 0x1f00, 0x1f00, 0x1f00, 0x0000, 0x0000, 0x0000, 0x000e, 0x0000, 0x0000, 0x0000, 0x0000, 0x0202, 0x0202, 0x0111, 0xffff, 0x0101, 0x0101, 0x0003, 0x0000, 0x0140, 0x0140, 0x0140, 0x0140, 0x4000, 0x4000, 0x4000, 0x4000, 0x0001, 0x0200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0002, 0x0000, 0x0000, 0x2710, 0x0000, 0x0000, 0x0001, 0x0000, 0x0000, 0x0000, 0x0001, 0x1770, 0x0000, 0x0000, 0x0001, 0x0fa0, 0x0000, 0x0000, 0x7fff, 0x0001, 0x0001};

    here the register and its value. please guide me. 
     

  • Hello,

    Have you compared your schematics to one in this page? https://wiki.analog.com/resources/eval/dpg/eval-ad9106

    Regards,
    Shine

  • Yes, I compared the schematic its right.

    When I write the registes  0x0026 to 0x3232, I am try to generate DDS waveform using START and STOP delay, after I read back registers I get the 0x3230. Why these happening three registes are read wrong. What is exact reset value 0x0026?

    I am adding the excel sheet of my output please have look. I need your help.XLSX