geneting pulses at 0.5 duty cycle

Status
Not open for further replies.

gedza

New Member
Can you please help me with the instructions that are used to generate 2 alternating pulses at 0.5 duty cycle whilst the pic is executing sinusoidal pwm using PIC 16F877 OR 16F887 IN ASM OR MICROBASIC.I need the pulses at 200khz.
 
Last edited:
Draw a timing diagram of what you require. It sounds like a divide-by-two flip-flop might do it, but I dont get your requirement?
 
yes it is a pwm signal .I have managed to use the ccp module to produce a sinusoidal pwm but i'm failing to incorporate the program to produce other two pulses of 0.5 duty cycle.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…