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 9 matches
CCS Forum Index
Author Message
  Topic: PIC16F877: PWM with less than 250Hz possible?
Brian

Replies: 18
Views: 31883

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2010 11:57 am   Subject: PIC16F877: PWM with less than 250Hz possible?
Everything is working now and makes sense.

Thanks!
  Topic: PIC16F877: PWM with less than 250Hz possible?
Brian

Replies: 18
Views: 31883

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2010 2:11 pm   Subject: PIC16F877: PWM with less than 250Hz possible?
Perhaps its because I'm not using an external crystal, just the internal clock..?..

Also, could you explain how the interrupt logic works here?


if(--loop == 0)
{
loop = ...
  Topic: How to use 8 Mhz clock to generate slow PWM Frequencies
Brian

Replies: 2
Views: 4136

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2010 1:28 pm   Subject: How to use 8 Mhz clock to generate slow PWM Frequencies
Thanks very much. I posted an additional question on one of the threads already created here:

http://www.ccsinfo.com/forum/viewtopic.php?p=137266#137266

Thanks.
  Topic: PIC16F877: PWM with less than 250Hz possible?
Brian

Replies: 18
Views: 31883

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2010 1:27 pm   Subject: PIC16F877: PWM with less than 250Hz possible?
I am using the PIC18f2480, and this code generates a 11.95 Hz PWM frequency. Simiarily, uncommenting the debug code shows that the interrupt rate is 598 Hz, not 2.5 Khz. Not sure why?

Also, I'm ...
  Topic: How to use 8 Mhz clock to generate slow PWM Frequencies
Brian

Replies: 2
Views: 4136

PostForum: General CCS C Discussion   Posted: Mon Aug 30, 2010 1:30 pm   Subject: How to use 8 Mhz clock to generate slow PWM Frequencies
Hi,

I am using the PIC18F2480 and one of the goals of my project is to output PWM signals with slow frequencies (between 10 - 100 Hz). I know how to accomplish this through setting the internal osc ...
  Topic: Pic24: External Crystal not working
Brian

Replies: 7
Views: 9696

PostForum: General CCS C Discussion   Posted: Fri Jul 02, 2010 10:28 am   Subject: Pic24: External Crystal not working
Thanks guys. Got it working with an external 8Mhz crystal. The caps I were using were more suited for that crystal rather than the 25 Mhz.

I'm still having trouble sending CAN packets, I thought ...
  Topic: Pic24: External Crystal not working
Brian

Replies: 7
Views: 9696

PostForum: General CCS C Discussion   Posted: Wed Jun 30, 2010 3:41 pm   Subject: Pic24: External Crystal not working
Sorry was in a rush. It's the PIC24HJ64GP506.

Here are two pictures of what you asked. One is zoomed in of the PIC connections and the other is more zoomed out to include the additional power cir ...
  Topic: Pic24: External Crystal not working
Brian

Replies: 7
Views: 9696

PostForum: General CCS C Discussion   Posted: Wed Jun 30, 2010 10:37 am   Subject: Pic24: External Crystal not working
Sorry fixed that. Same result though. No LED's are even blinking. It seems like the PIC is not able to run any code.
  Topic: Pic24: External Crystal not working
Brian

Replies: 7
Views: 9696

PostForum: General CCS C Discussion   Posted: Tue Jun 29, 2010 6:05 pm   Subject: Pic24: External Crystal not working
Hi,

I am using the pic24hjgp506 PIC and I am trying to get the external crystal to work. I have tried using various different crystals. Currently I am trying a 25 Mhz, 18pF crystal (Part # : se34 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group