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 7 matches
CCS Forum Index
Author Message
  Topic: timer 1 interrupt in high speed
pic16freak

Replies: 9
Views: 12016

PostForum: General CCS C Discussion   Posted: Wed Oct 12, 2011 5:18 pm   Subject: I will have to analyze it
It will take some time for me to do that and I might even need some help with that. Can we control and change the speed/PWM if I use it?
I appreciate the help.

Thanks,
  Topic: timer 1 interrupt in high speed
pic16freak

Replies: 9
Views: 12016

PostForum: General CCS C Discussion   Posted: Wed Oct 12, 2011 4:46 pm   Subject: I am trying to do a motor control
Sorry, I might have misunderstood the Timer1 config.
You are right about it.

I am trying to get PWM output using external int and timer int to control motor speed.
  Topic: timer 1 interrupt in high speed
pic16freak

Replies: 9
Views: 12016

PostForum: General CCS C Discussion   Posted: Wed Oct 12, 2011 4:34 pm   Subject: timer 1 interrupt in high speed

You didn't specify your PIC oscillator frequency.

I am using 8 MHz internal oscillator.


All timers use Fosc/4 as the base timer clock.

Datasheet says for Timer 1

Clock Source TMR1CS T ...
  Topic: timer 1 interrupt in high speed
pic16freak

Replies: 9
Views: 12016

PostForum: General CCS C Discussion   Posted: Wed Oct 12, 2011 3:25 pm   Subject: timer 1 interrupt in high speed
Hi All,
I am trying to configure timer1 overflow interrupt on PIC16F616 but i m not able to get it working.
Timer 0 is internally divided by 4 so cannot use it.
I need high speed interrupt at aroun ...
  Topic: pic16f616 timer 0 interrupt problems
pic16freak

Replies: 4
Views: 8698

PostForum: General CCS C Discussion   Posted: Mon Oct 10, 2011 1:17 pm   Subject: Thank you so much..
As soon as I added #int for the other interrupt,
and changed the data type to int16 from unsigned int, the code started working.
I appreciate the quick replies.
Thank you.
  Topic: pic16f616 timer 0 interrupt problems
pic16freak

Replies: 4
Views: 8698

PostForum: General CCS C Discussion   Posted: Mon Oct 10, 2011 12:42 pm   Subject: I have interrupt directive..
Sorry I missed "#" in the code posted..code now modified.
Still nothing works..
  Topic: pic16f616 timer 0 interrupt problems
pic16freak

Replies: 4
Views: 8698

PostForum: General CCS C Discussion   Posted: Mon Oct 10, 2011 12:18 pm   Subject: pic16f616 timer 0 interrupt problems
Hi All,
I am having problems running my code on PIC16F616.
I have following simple code where I want to use timer0 int as RTC.
Clock = 8 MHz, hardware int 0 is enabled.
Nothing is working if I ena ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group