Hi all, I decided I wanted to try making a function generator, but after some dead ends, I'm not sure what direction I should go.
My first thought was to use an arduino board. First thing I tried was an SPI DAC, but that was far too slow, so I went to an R-2R ladder. I ditched the Arduino IDE for AVR Studio, and got program execution down to five clock cycles, but even then I could only get an 8-bit triangle wave to 6KHz or so.
I know there are some dedicated function gen ICs, I have one that goes up to 1MHz, but I like the idea of possibly doing arbitrary waveform generation.
What do "real" lab function gens use? FPGA? DSP? I'm sure it'd be easy to buy a China Special off ebay, but in part I want to do this to improve my coding. Any idea where I should start?