Post Go back to editing

AD9102 Triangle wave with 78,125 KHz

Trying to generate a Triangle wave with 78,125 KHz, 156,25 KHz, 312,5 KHz, 625 KHz, 1250 KHz, but I could not find any thing about the frequency for Triangle or Sawtooth wave.

I use the  example2_4096_ramp.txt and example4.regval file, then I have changed:

the WAVE_SEL1 0x027[5:4] to 1

the SAW_STEP1 0x037[7:2] to 4.

So I have no idea how to change the frequency. 

Actually, for the sin wave, I could easily change the frequency, by changing the DDS frequency in the DAC1 tab.

but for the Triangle wave, is vague.

Thank you in advance.



Thank you in advance.
[edited by: akbar at 11:03 AM (GMT 0) on 1 Apr 2019]
  • Dear Will,

    concerning answer #3. with RAM, can I have 1 RAM file with for instance 512 samples, then, if there is a possibility to set the reading RAM address every 2 (or 3 or 4 or more) in order to change the frequency?

    The goal is changing the frequency via our own Software and via FPGA.

    Regards,

    Akbar

  • Dear Akbar,

    Unfortunately there is no such option, otherwise it would be ideal for your application. But you can store up to 4096 samples, so you can store multiple waveforms, and change the start and stop address (and pattern period) as you change frequency.

    Regards,

    Will