Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

PWM

Who has the PWM example design(a zip file)?

Could you send a copy to me ?

Thank you very much!

my email: icmaster_0@sohu.com

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Is there anyone who has a PWM IP for the NIOS II which can be added by the SOPC Builder?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    PWM is very easy to make yourself :

    One register is used to store the value written by the cpu.

    One counter is continuous running

    One comparator is looking for the value of the counter to be bigger or smaller than the register value --> the output og the PWM is the output of the comparator.

    Stefaan