This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Generating sinewave without the use of PEC

Greeting guys

I have already made a code of generating a nice and pure sine wave using the PWM from CAPCOM1 and PEC (Peripheral Event Controller).

Now I have been asked to generate 12 sine waves. Configurating CAPCOM in order to enable 12 channels is not a problem.

I am currently facing a dilemma as my processor has maximum eight PECs. The burning question is it possible to generate 12 sinewaves without the aid of PEC?

If yes, I would love to hear from you asap

Kind regards

Arron Joshi

Parents
  • I am working on someone's software as he left no notes or details.

    It generates 512 array of sine wave data and I use the pointer to increment and point the array of data in the timer 0. Someone used PEC to generate sine wave and I don't know he did it but I believe that it is possible to implement sine wave without it. Any suggestion?

    Arron Joshi

Reply
  • I am working on someone's software as he left no notes or details.

    It generates 512 array of sine wave data and I use the pointer to increment and point the array of data in the timer 0. Someone used PEC to generate sine wave and I don't know he did it but I believe that it is possible to implement sine wave without it. Any suggestion?

    Arron Joshi

Children
No data