Ok so to produce a sine wave from a lookup array id isr at ech pulse and update the compare register .. however if i try to change the frequency as well wont this have an effect on the pulse widths? How is this compensated for ?
Usually, the low frequency motor drive sine waves, are created by modulating the PWM frequency, with 50% giving 0V on all phases.
if you want to vary both the frequency and amplitude the peak modulation depth sets the amplitude, and the rate of modulation sets the frequency.
A question on the design, is what feedback & control do you plan to use ?
For experiments, you could load a large Flash device up with many combinations of Frequency and modulation depth to load into the PWM - basically like a playback system.
If you want to do this more 'live', with feedback, then a more powerful chip with multiplies would make your testing simpler, as it is fast enough to generate live sine modulation