sme7000
Newbie level 6
CCP mode for PIC16F873
i want to generate Sinusoidal pulse width modulation(SPWM), what mode is a suitable choice? CCP mode contain capture, compare and PWN mode. the SPWM is generated by comparing 2 signal wave that is sinusoidal and triangle wave. the intersection of that wave is the point where the PWM is generate '0' or '1'. i plan to use a compare mode to generate this SPWM. it is the right mode?
i want to generate Sinusoidal pulse width modulation(SPWM), what mode is a suitable choice? CCP mode contain capture, compare and PWN mode. the SPWM is generated by comparing 2 signal wave that is sinusoidal and triangle wave. the intersection of that wave is the point where the PWM is generate '0' or '1'. i plan to use a compare mode to generate this SPWM. it is the right mode?