Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

[SOLVED] How to Reverse PWM Signal?

Status
Not open for further replies.

mvliege

Junior Member level 2
Junior Member level 2
Joined
Jan 13, 2014
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Turkey
Visit site
Activity points
1,456
Hi all,

I have a project that it needs pwm signal which is reverse.

I have used PIC18F46K22 and ccs c programmer.

I mean that two different pwm signal should be reverse or symmetry.

Could you please help me? or could you please give me some value advice?

The signals should look as this picture below;
pwm.JPG
 

hello,


just read datasheet in details ...

14.4 PWM (Enhanced Mode)
The enhanced PWM function described in this section is
available for CCP modules ECCP1, ECCP2 and
ECCP3, with any differences between modules noted.
The enhanced PWM mode generates a Pulse-Width
Modulation (PWM) signal on up to four different output
pins with up to ten bits of resolution
 

Try getting PWM signal fro CCP1 pin and also get inverted PWM by connecting NOT gate to CCP1 pin. See if it works.
 

Thank you for kind message milan,
But I don't want to use any gate due to cost increase and harmonics. And also I want to change both amplitude and frequency as changing PWM code.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top