I have the same doubt as of that asked in this thread.
"I'll be using 3 ePWM modules. PWM is brought about comparing the value of CMPA/CMPB to the TBCTR. The value of CMPA is modulated according to a sine wave of the desired frequency, while the triangular wave is the TBCTR counting up to TBPRD and down again (using Up-Down counter). Now, some of the code snippets I've seen around here use a 512 point look-up table which gives a 915 Hz sine signal, but I'm aiming for a 50-60 Hz signal. My switching frequency/PWM frequency is 10kHz. Assuming 60 Hz signal and 10 kHz PWM frequency, I'll need 167 data points, which I'm not sure how to get. "
Question 1. To obtain a sine wave of frequency 50Hz using the 512 point look-up table restricts us to use a carrier wave frequency (Triangular Wave) of 25600Hz as (512)*(Time Period of the carrier wave) = (Timer Period of desired sine wave=0.02 seconds in my case). In case I want greater flexibility in choosing any desired sampling frequency "HOW IS IT POSSIBLE"?