hello
im trying to design a digital to analog converter (sine wave generator) and show the output signal on Oscilloscope.
im using DAC0808 and a 68008 microprocessor
my question is how to control the frequency of the sin wave shown in the oscilloscope
In a DAC system, each part of the cycle is produced by a number being converted into a voltage. If you want to change the frequency you have to adjust the speed at which the numbers are written to the DAC. The faster you write to it, the higher the frequency will be.
Yes, a coding thing!
I worked for Motorola for long enough to know not to use their procesors so I can't help with the code. Somewhere there will be a timing routine that paces the bytes being sent to the DAC, you need to adjust the timing to make diffeent frequencies come out.