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 CCS Technical Support

Search found 20 matches
CCS Forum Index
Author Message
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Mon Mar 02, 2015 11:55 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
okay i think i found it, PTMRPS is the post scale value
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Mon Mar 02, 2015 11:43 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
answer to Ttelmah
i need to pass this two signals into the gates of a full bridge DC to DC converter. i have read a paper about this which says phase shifted signal into the gates of a DC to DC conve ...
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Mon Mar 02, 2015 11:22 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
this is the formula to calculate power PWM period in Datasheet for 4431

TPWM = [(PTPER - 1) * PTMRPS] / (Fosc / 4)

i suppose PTPER is 249 in your code?

and i searched through data sheet for ...
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Sun Mar 01, 2015 11:58 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
Hey Ttelmah,
Thanks for your code. I am currently trying to decipher your code. Some of the things are going way over my head for a second year student like me. So i am trying understand the datashee ...
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Mon Feb 23, 2015 9:28 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
here is the answer to temtronics question (as much as i know until now)

1)as you know i want to generate two PWM signals with phase shift among them.
2) i want to use a 20 MHz crystal generating 2 ...
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Sun Feb 22, 2015 11:06 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
i thought you said i have to use a power pwm control module to produce shifting signal in pic18f4431. thats why i am trying 1st to find out how the power control pwm works and how to generate them. th ...
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Sun Feb 22, 2015 9:23 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
Ttelmah and temtronic,
i want to generate a power PWM signal in pic18f4431. i am very much new to this PIC and power PWM.i want to generate a 20khz pwm (using a crystal 20Mhz) frequency with 50 perce ...
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Sat Feb 21, 2015 10:43 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
does the PWM modules of PIC18F4431 have different timer? Is it possible with this PIC to generate two PWM with phase shift?
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Tue Feb 17, 2015 11:46 am   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
I understand what you guys mean about taking an advance technology and throwing out the old one. Problem is my prof is little bit old school kind of guy. He does not want to change. He is giving me al ...
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Mon Feb 16, 2015 1:55 pm   Subject: Operating CCP1 and CCP2 of PIC 16F877A using C programming
is there any other way to generate this kind of signals using this microcontroller without using the CCP modules?
  Topic: Operating CCP1 and CCP2 of PIC 16F877A using C programming
safwat

Replies: 27
Views: 48796

PostForum: General CCS C Discussion   Posted: Mon Feb 16, 2015 12:16 pm   Subject: PWM phase shifting
a new topic
I want to generate two PWM signal using CCP1 and CCP2. The catch is CCP 2 signal should be phase shifted with CCP 1. If i generate 20khz PWM signal (for both CCP1 and CCP2) then the perio ...
  Topic: Configuring external oscillator
safwat

Replies: 6
Views: 10198

PostForum: General CCS C Discussion   Posted: Thu Feb 12, 2015 10:26 am   Subject: Configuring external oscillator
yeah thanks both of you. table 8.3 solved the problem
  Topic: Configuring external oscillator
safwat

Replies: 6
Views: 10198

PostForum: General CCS C Discussion   Posted: Thu Feb 12, 2015 7:31 am   Subject: Configuring external oscillator
so i can get a maximum PWM frequency of maximum 5000 Hz right? what if i want to increase the PWM frequency much higher than that?
  Topic: Configuring external oscillator
safwat

Replies: 6
Views: 10198

PostForum: General CCS C Discussion   Posted: Thu Feb 12, 2015 12:23 am   Subject: Configuring external oscillator
sorry for being trivial but do i have to add anything in the code to initialize the oscillator ?
  Topic: Configuring external oscillator
safwat

Replies: 6
Views: 10198

PostForum: General CCS C Discussion   Posted: Thu Feb 12, 2015 12:14 am   Subject: Configuring external oscillator
How can i configure an external oscillator (crystal) in pic 16F877A? what is the highest frequency that can be achieved with a crystal oscillator?
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group