Post Go back to editing

Regarding achieve low frequency waveform using ad9106 sram with stm32h745

Category: Software
Product Number: AD9106

hello team,
I want to generate square waveform from 10khz to 10mhz continuously using dac ad9106 SRAM with stm32h745.. now got output for 50khz to 20Mhz but also want to minimum frequency upto 1khz, 5khz and 10khz. suggest any register value changes or any SPI frequency changes... how can i achieve minimum frequency.

  • Hi  ,

    The SRAM just reads the data from the 4096 SRAM addresses (0x6000 to 0x6FFF). However, there's no register setting in AD9106 to change the frequency of the SRAM data. The data vector will have to be generated externally. There is the DPG Lite or the ACE Vector Generator (Installation: ACE - Getting Started) that can generate the data vector based on the user's requirements. Just make sure to choose the correct DAC resolution (AD9106 has 12-bit resolution) and make sure the data is in Two's complement format. 

    Attached is a sample of a 1kHz data vector at a DAC frequency of 1 MHz. This was generated using the ACE Vector Generator. What's your target application? The 1-10kHz frequencies are not the normal frequencies generated with AD9106. It was designed originally for ultrasound applications, which operate at higher frequencies (~several kHz to MHz range).

    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    -2047
    

    Regards,
    Marco

  • hello  ,

    Thanks for your reply... I generate waveform same as by putting vector as ACE tool. but I achieve from 50khz-20mhz... I also want to 1khz, 10khz frequency. And there are some delays between two pulses. how can i generate continuous without start stop delay.

  • Hi  ,

    The vectors can be generated in any way, ACE Vector Generator or DPG Lite are just example softwares that ADI has to generate the vectors. If you are using ACE Vector Generator Tool, the capture below is what the UI would look like and you can play around with the values to generate the desired waveform. 

    Below is the square waveform with 1MHz DAC frequency and 1kHz output frequency. The resolution is changed to 12 (for 12-bit DAC), and record length is set to 3000 for a 3-cycle square waveform. Unsigned Data is unchecked for two's complement data format. 

    To generate a continuous waveform without delays between each pulse, the pattern period set in Register 0x29 must be equal to the length of the waveform in the SRAM. 

    Regards,
    Marco

  • hello  ,

    I want to generate different types of waveoform like staircase, trapezoidal, arbitrary waveforms.  so i put samples in range -2047 to 2048 for amplitude. i acheive this but i want to again more duration of waveform like 1ms, 2ms etc. means slow frequency waveform..

       

    above waveform genarated using store samples in DAC AD9106 SRAM.   so how can i achieve more waveform duration?

    with whole stored 4095 samples in sram acquire 420uS period for single waveform.  

    Is it possible to generate long time/ Slow frequency waveform using AD9106 Sram?

  • Hi  ,

    You can increase the value in Hold field (Register 0x28 [11:8]). This register specifies how long a data sample (in SRAM) is held in terms of DAC CLK periods. Nominally, this field is set to 1 (i.e. each sample in SRAM is held for 1 DAC CLK period), and increasing this bitfield increases the time the sample is held. This will decrease the output frequency of the SRAM and increase the duration of the waveform. 

    Best regards,
    Marco

  • Hi  

    I put value in Time control register 0x28=0x0000, and Pattern period register 0x29=0x1FFF, so using that i acquire window upto 50ns to 430us.

    So what value i need to put for access full window.

  • In ACE software what is meaning of this    

    if i put this value greater than 420uS then it showing error 

  • Hi  ,

    The formula for the pattern period of a waveform is below. This information is already added to the list being added to the datasheet and the datasheet is currently being revised.

    The register you are changing is the Pattern period register (0x29) which is only one part of the actual pattern period. You can increase the value of that register in ACE Memory Map to its maximum (0xFFFF). You did the correct thing with setting PAT_TIMEBASE (Register 0x28) to 0x0000 - this sets the value of PAT_PERIOD_BASE to 16 DAC clock periods per PATTERN_PERIOD LSB.

    If you have say 10 MHz of DAC clock frequency and have set PAT_PERIOD and PAT_PERIOD_BASE to their maximum, you will get a pattern period of 104.86 ms for the waveform (from the formula above). If you require a longer pattern period, the only thing to do is to decrease the DAC clock frequency. 

    Best regards,
    Marco

  • hello  

    I'm trying with changing value in PAT_TIMEBASE(0x28=0xffff) Reg and PAT_PERIOD(0x29=0xffff)reg that time period in increase upto 6.5ms but waveform using 4095 samples in sram got same only upto 420uS 

    and if PAT_TIMEBASE(0x28=0x0000) Reg and PAT_PERIOD(0x29=0x1fff)reg that time period upto 870us but waveform using 4095 samples in sram got same only upto 420uS

    and if PAT_TIMEBASE(0x28=0x0000) Reg and PAT_PERIOD(0x29=0x0fff)reg that time period upto 112ms but waveform using 4095 samples in sram got same only upto 420uS

    can you please suggest exact value to store both register? or any calculation of both. I used DAC external oscillator of 150mhz.  

    I want to increase window of pulse 

    i select below register with values. and sample store in SRAM(-2047 to 2048 and store with 2s compli)

     uint16_t reg_addr[]=		 {0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x001F,0x0020,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,0x003E,0x003F,0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,0x0060,0x001E,0x001D};
    	    uint16_t sramsquare_regval[]={0x0000,0x0e00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x1f00,0x1f00,0x1f00,0x1f00,0x0000,0x4000,0x0000,0x000e,0x0000,0x0000,0x0000,0x0000,0x3030,0x3030,0x0000,0x1fff,0x0101,0x0101,0x0003,0x0000,0x8003,vset_hex,0x8003,0x8003,0x4000,0x4000,0x4000,0x4000,0x0001,0x0200,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x07d0,0x0000,0xFFF0,0x0000,0x0FFF,0x0000,0xFFF0,0x0000,0x0bb8,0x0000,0xFFF0,0x0000,0x0fa0,0x0000,0xFFF0,0x0000,0x0000,0x0001,0x0001};
    

  • Hi  ,

    I'll try this and provide a sample. Just to confirm, since the pulse width of the pulse you are generating is ~420 us, and with that register setting in Hold (0xF = 15 DAC clock periods per sample), are you generating a 35.8 kHz signal? Do you have a target output frequency or are you targeting 1-2ms of pulse width? 

    Best regards,
    Marco