We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am doing a project in 8051 mc in which I have to generate atleast 5 PWM signals with varying period and duration. Is it possible? What is the logic to be used. 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.
Nah. I'm sure Graham's software method would work perfectly reliably - just not very fast Ok, OK agreed; however if a scheme is concocted where one timer drives 5 PWM's - and try to go fast - I have no doubt that setup will stumble frequently. Erik
ONCE MORE 1) Throw your uC out and get one with a PCA. 2) Look at the PCA cookbook 3) smile and be happy. Erik