CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Problem PWM half bridge with 20khz and 40khz output synchron

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
lucasromeiro



Joined: 27 Mar 2010
Posts: 167

View user's profile Send private message

Problem PWM half bridge with 20khz and 40khz output synchron
PostPosted: Thu Sep 26, 2013 9:04 am     Reply with quote

I have a problem to program a PIC16F616 generating a PWM half bridge with 20khz and 40khz output synchronized with that pwm on pin 3. I managed to turn the half bridge on for normal use. But this output could not activate. I know you can have as it is a synchronization module ccp. So it is always twice the half bridge. I know a manufacturer of amplifiers using this configuration but as usual the code is restricted. Forgot to mention that I am using the internal clock.

HELP!
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Thu Sep 26, 2013 12:35 pm     Reply with quote

care to post the code you have ??

no way to know what is wrong w/o it

if setup right - the PWM divisors and master Fosc should line up ok.

also what do YOU mean by synchronized?
as in both PWM signal transitions relatively aligned on zero cross
now and then ??

or something else entirely?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group