Post Go back to editing

Change frequency

Category: Datasheet/Specs
Product Number: AD9106 BCPZ

Hey, I am using   AD9106 and trying to change the frequency. In datasheet there is  two registers 0x3E and 0x3F  who are the responsible for wave frequency ,i changed that but still get constant frequency. so, my question is why it give constant frequency and how I can change it??

Top Replies

Parents
  • Hi  ,

    Registers 0x3E and 0x3F is for configuring the DDS Tuning Word, which is one of the waveform selections for each DAC output. To output from DDS, configure registers 0x26 (WAV4_3CONFIG) and 0x27 (WAV2_1CONFIG) registers to prestored waveform - DDSx output. For example, if you will output the DDS frequency to DAC1, set the value of register 0x27 to 0x31 (Prestored waveform, DDS1 output). More details can be found in page 26-27 and page 50 of the datasheet

    Regards,


    Marco

  • Hey i am using following value to generate the sawtooth frequency but frequency is same and i want to know that should i generate sqaure wave with changing values, If yes please help me with example or tutorial.

    uint16_t Valu[]={0x0000,0x0E00,0x0000,0x0000,0x4000,0x4000,0x4000,0x4000,0x0000,0x1F00,0x1F00,0x1F00,0x1F00,0x0000,0x0000,0x0000,0x000E,0x0000,0x0000,0x0000,0x0000,0x1212,0x1232,0x0121,0xFFFF,0x0101,0x0101,0x0003,0x0000,0x0000,0x0000,0x0000,0x0000,0x4000,0x4000,0x4000,0x4000,0x1011,0x0600,0x0036,0x9D00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x07D0,0x0000,0x0000,0x0001,0x03E8,0x0000,0x0000,0x0100,0x03E8,0x0000,0x0000,0x0001,0x0FA0,0x0000,0x0000,0x16FF,0x0004,0x0001,0x0001};

    Thanks,

  • Hi  ,

    To generate sawtooth waveforms, there are 2 options: (a) use the on-chip sawtooth generator or (b) use the on-chip SRAM.

    If you want to use option a, refer to FAQ17 in AD9106 / AD9102 Low-Power DAC and Waveform Generator: FAQs


    If you want to use option b, refer to FAQ 10 in AD9106 / AD9102 Low-Power DAC and Waveform Generator: FAQs


    Regards,
    Shine

Reply Children