| ??? 09/01/03 08:47 Read: times |
#53788 - PCA/PWM: only fixed freqs? |
Let say, MCU (T89...) is clocked by 20Mhz. So maximal PCA clock is 10Mhz (1/2 input mode). Now, maximal PWM reload freq is 10Mhz/256 ~= 39Khz. If we reload PWM every second cycle then it is ~18Khz, every 3rd - 13Khz, every 4th - 9.8Khz etc.
Now the question: what should I do if I need nor 13Khz neither 18kHz but, let say, 15kHz instead? Okay, I may change OSC, but the question is widen: is it possible to tune PWM output freq flexibly? Maybe with any software tricks even? Thank you! |
| Topic | Author | Date |
| PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: Raghunathan | 01/01/70 00:00 | |
| RE: PCA/PWM: Raghunathan | 01/01/70 00:00 | |
| RE: PCA/PWM: Raghunathan | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
| RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 | |
RE: PCA/PWM: only fixed freqs? | 01/01/70 00:00 |



