Prompted by this thread by Mr RB asking for help designing a precision 1kHz sine-wave generator, I looked around and came across this chip, the AD5165 digital potentiometer from Analog Devices (datasheet here). It gives you 256 linear resistance steps (I think the standard resistance is 100KΩ).
So wouldn't it be possible to use this to generate the steps of a sine wave, driven by a PIC with a 256-step table in memory? It uses a 3-wire interface, which I have no experience whatsoever with, so I don't know how hard it would be to get a PIC to talk to it, but it seems do-able.
The maximum bandwidth of the chip is ~50kHz, but since Mr RB wants just a 1kHz wave, that shouldn't be a problem.
So if one were to use this method, how would the results compare with using a D-to-A converter?
So wouldn't it be possible to use this to generate the steps of a sine wave, driven by a PIC with a 256-step table in memory? It uses a 3-wire interface, which I have no experience whatsoever with, so I don't know how hard it would be to get a PIC to talk to it, but it seems do-able.
The maximum bandwidth of the chip is ~50kHz, but since Mr RB wants just a 1kHz wave, that shouldn't be a problem.
So if one were to use this method, how would the results compare with using a D-to-A converter?