Regarding sine wave generation and sinusoidal pulse width modulation, I have written quite a few articles and have posted them on my blog. You can find them here:


Generation and Implementation of Sine Wave Table
http://tahmidmc.blogspot.com/2011/01...n-of-sine.html

Smart Sine - Software to generate sine table
http://tahmidmc.blogspot.com/2012/10...rate-sine.html

Generation of sine wave using SPWM in PIC16F684
http://tahmidmc.blogspot.com/2012/10...pwm-in_10.html

600W 50Hz sine wave inverter test circuit
http://tahmidmc.blogspot.com/2012/10...rter-test.html

Feedback in sine wave inverter (PIC16F series based)
http://tahmidmc.blogspot.com/2012/11...er-pic16f.html

Demystifying The Use of Table Pointer in SPWM - Application in Sine Wave Inverter
http://tahmidmc.blogspot.com/2013/02...ointer-in.html

Sine Wave Generation without ECCP - Using single CCP Module of PIC16F877A
http://tahmidmc.blogspot.com/2013/02...t-eccp_16.html

Sine Wave Generation with "Fast PWM Mode" of AVR - using ATmega16
http://tahmidmc.blogspot.com/2013/02...mode_2525.html

I hope everyone finds these articles/tutorials helpful.

Regards,
Tahmid.