2009-03-10 01:42 AM
2011-05-17 12:58 AM
Hi everybody,
I am a newbie and I am working on a STR912 development board. I want to generate a PWM signal with a 10 pulse wave. (T1 to T10) The wave period is constant whatever the message and the gap between 2 pulses is constant as well. A longer pulse means the beginning of the signal which has a constant period. Each pulse lenght is loaded depanding the message to send. (Each value is loaded from an array) I manage to generate a PWM signal with a constant duty signal. I can not figure out how to change each pulse length independently. I think I have some difficulties with interrupts management. Can someone please HELP ! Thanks a lot. Jimmy2011-05-17 12:58 AM
Hi everybody,
I manage to generate correctly interrupts but I still can not figure out how to generate 10 pulses with different pulse length (same gap between each pulse), this every 50ms for example. I need to use 2 timers, one for the full period and one to generate each pulse. (signal output: pin 5 of GPIO6) please someone can help... regards, Jimmy