| ??? 11/02/07 19:14 Read: times |
#146523 - LPC935 Timer PWM Mode |
Hi, I need to calculate the period of the PWM signal generated by the LPC935 Timer1.
Right now my TH1 = 127, which gives a 50% Duty cycle. My PWM signal witdh is 69.6 microseconds which gives me a 14.3KHz Signal. This is the first time I am trying this peripheral so I am not sure if it is right. How can I generate a signal of 100Hz using this peripheral? What is the formula for calculating the signal width so I can compare it with the one on my scope. By the way my baud generator is as follows: SCON = 0x50; SSTAT = 0x00; BRGR0 = 0xF0; BRGR1 = 0x02; BRGCON = 0x03; |
| Topic | Author | Date |
| LPC935 Timer PWM Mode | 01/01/70 00:00 | |
| can't answer | 01/01/70 00:00 | |
| 7.3728 | 01/01/70 00:00 | |
| use the CodeArchitect to figure it out | 01/01/70 00:00 | |
| Erik need some more help | 01/01/70 00:00 | |
| for that slow (100HZ) you need to | 01/01/70 00:00 | |
| Trying to follow | 01/01/70 00:00 | |
| no more spikes if .. | 01/01/70 00:00 | |
I will try your suggestion but, | 01/01/70 00:00 |



