This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

High Freq PWM with duty cycle shifting

Other Parts Discussed in Thread: TMS320C6742

dear E2E community,

In our project we are planning to use TMS320C6742 DSP (core frequency 200 Mhz).

i need to build somekind of sine wave signal generator with frequency up to 230 KHz.

i wish to generate it using the High Resolution PWM submodule.

I'd like to have 10 or better 20 samples for period. This means that in the worst case PWM frequency will be 230 KHz * 20 = 4.6 MHz.

So, I need to change the PWM duty cycle every 1/4.6Mhz=0.217 us. Is this time too short to execute the ISR in order modify the duty cycle? It corresponds at only 43 cpu clocks...

If I should lower the PWM frquency, which is the maximum value I could use?

any help would be very appreciated..

Kind Regards,

Paolo