Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about producing PWM pulses

Status
Not open for further replies.

jerryvdk

Member level 1
Joined
Sep 25, 2010
Messages
33
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,549
Hi,
I want to generate pulses of frequency 250Khz.Actually i want 5 cycles of pulses then o/p must remain idle for some time and then repeats itself...
Im using pic16f72.Can i do it using pwm module or i have to design using timers?
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,221
Helped
1,147
Reputation
2,313
Reaction score
1,123
Trophy points
1,403
Location
Brazil
Activity points
53,681
Re: producing pwm pulses

I may be wrong, but think it is better to perform with timer comparator, controlled by interruption .
Not sure if it is possible to guarantee proper PWM start/stop syncronized to firmware.

+++
 

olumide.toyosi

Newbie level 4
Joined
Mar 21, 2011
Messages
6
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Nigeria
Activity points
1,311
Re: producing pwm pulses

Hi,
I want to generate pulses of frequency 250Khz.Actually i want 5 cycles of pulses then o/p must remain idle for some time and then repeats itself...
Im using pic16f72.Can i do it using pwm module or i have to design using timers?


You can the PWM module of your PIC
do you need the code?
 

jerryvdk

Member level 1
Joined
Sep 25, 2010
Messages
33
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,549
Re: producing pwm pulses

yes I want the code.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top