Author |
Message |
Topic: PWM by software |
jaguar
Replies: 5
Views: 5560
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2008 3:26 pm Subject: PWM by software |
Configure a timer to operate at some multiple of your desired frequency.
The more duty cycle resolution you want, the higher the multiple.
Then in the timer isr, use a incrementing variable to c ... |
Topic: PWM by software |
jaguar
Replies: 5
Views: 5560
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2008 3:18 pm Subject: PWM by software |
Tell us the maximum PIC oscillator frequency that you will permit in your
design (4 MHz, 20 MHz, etc.), and tell us the resolution of the PWM that
you require (either in number of bits, or number of ... |
Topic: PWM by software |
jaguar
Replies: 5
Views: 5560
|
Forum: General CCS C Discussion Posted: Wed Sep 10, 2008 3:59 pm Subject: PWM by software |
Hi!
I need to generate three independent PWM signals (by software) with a frequency of 100 Hz or 150 Hz. Each signal with different duty cycle which can be modified using several values saved in PI ... |
|