I am building a waveform generator using a DSK6416 board (TMS320C6416T DSP and TLV320AUX23B codec). I would like to be able to vary the output frequency by just changing the rate at which the DSP sends samples (over McBSP) to the codec. I have the codec fixed at 96KHz.
This doesn't seem to work right - the output looks ugly on a scope. The codec datasheet doesn't have any details on how the DAC behaves in this usage - e.g. the codec is expecting two samples (left and right) every 10.4 usec. If I give it pairs of samples at longer intervals, does it not just hold the last provided value and update the output as soon as a new value is provided?