Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/07/04 06:13
Read: times


 
#62057 - PWM assembly code for 5 PWM signals
I am doing a project in 8051 mc in which I have to generate atleast 5 PWM signals with varying both period and duration using the software method. I have the assmebly code for the generation of one PWM signal to get it on p1.0 using the timer0. I want to generate some more PWM signals in p1.1, p1.2, p1.3,p1.4 . I don't want a very fast system. The period can be even upto 2 second. But the duration of each PWM varies about 20-100ms. I have to write the assembly code for getting these PWM signals. Actually, I want that both period and duration of all the 5 PWMs to be different. The values for duration and period for 5 signals(5*2=10 values) should be taken from some memory location where we are already stored the corresponding values for period and duration. Is it possible to have such a system? Is it possible using only one timer or should I use other timer also? Can anyone explain some logic for that. Is anyone having the assembly code in 8051 or in C language for this? If so please send it to me at epey2p158@nitc.ac.in
thanks in advance.

I am also in search of getting the 'C' code for the generation of single PWM signal also.

List of 24 messages in thread
TopicAuthorDate
PWM assembly code for 5 PWM signals            01/01/70 00:00      
   RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
      RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
   RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
      RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
   What was wrong with the answer on Keil?            01/01/70 00:00      
      RE: What was wrong with the answer on Keil?            01/01/70 00:00      
         RE: What was wrong with the answer on Keil?            01/01/70 00:00      
         RE: What was wrong with the answer on Keil?            01/01/70 00:00      
   RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
   RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
      RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
         RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
            RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
               RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
                  RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
                     RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
                     RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
   RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
      RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
         RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
            RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
               RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      
                  RE: PWM assembly code for 5 PWM signals            01/01/70 00:00      

Back to Subject List