Author |
Message |
Topic: RDA int problem |
turbo2ltr
Replies: 2
Views: 5131
|
Forum: General CCS C Discussion Posted: Tue Feb 06, 2007 5:42 pm Subject: RDA int problem |
I thought about that after I posted. I have some other timing critical interrupts and was hoping that I didn't have to read the byte right away, but could just set a flag to read later. Guess I'll at ... |
Topic: RDA int problem |
turbo2ltr
Replies: 2
Views: 5131
|
Forum: General CCS C Discussion Posted: Tue Feb 06, 2007 4:27 pm Subject: RDA int problem |
I'm sure it's something stupid but I can't seem to figure it out.
I enable the int_rda interrupt. My program works fine until a byte is received in the UART. Then the RDA interrupt runs continuous ... |
Topic: CCP1 on 16F690 bug? |
turbo2ltr
Replies: 4
Views: 5955
|
Forum: General CCS C Discussion Posted: Fri Jan 26, 2007 3:58 pm Subject: CCP1 on 16F690 bug? |
Code works great if you replace the setup_cpp1 with the asm is creates, sans the error. |
Topic: CCP1 on 16F690 bug? |
turbo2ltr
Replies: 4
Views: 5955
|
Forum: General CCS C Discussion Posted: Fri Jan 26, 2007 3:57 pm Subject: CCP1 on 16F690 bug? |
CCS PCM C Compiler, Version 3.227 |
Topic: CCP1 on 16F690 bug? |
turbo2ltr
Replies: 4
Views: 5955
|
Forum: General CCS C Discussion Posted: Fri Jan 26, 2007 3:09 pm Subject: CCP1 on 16F690 bug? |
I'm trying to figure out why my CCP is not generating interrupts. I look at the dissasembly and find this:
223: setup_ccp1(CCP_CAPTURE_FE); // capture falling edge
... |
Topic: Timer overflow handling using both CCP modules |
turbo2ltr
Replies: 11
Views: 16474
|
Forum: General CCS C Discussion Posted: Thu Apr 07, 2005 8:26 am Subject: Timer overflow handling using both CCP modules |
dammit I really didn't want to post that as a guest.
I was going to edit it and add to the main routine.
int32 lowbyte;
int32 temp;
if(CCP1Update)
{
CapFinish1 = CapFinish1b ... |
Topic: Timer overflow handling using both CCP modules |
turbo2ltr
Replies: 11
Views: 16474
|
Forum: General CCS C Discussion Posted: Wed Apr 06, 2005 11:37 am Subject: Timer overflow handling using both CCP modules |
See this thread. It has code to fix the Timer1 problem.
http://www.ccsinfo.com/forum/viewtopic.php?t=906
Thanks, while not exactly what I needed, it pointed me in the right direction to get my v ... |
Topic: Timer overflow handling using both CCP modules |
turbo2ltr
Replies: 11
Views: 16474
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2005 4:44 pm Subject: Timer overflow handling using both CCP modules |
The code you posted does not help the problem I'm having. Adding the second CCP module makes a big difference in how the timer has to be handled. You just cant stop it in the CCP ISR like you are do ... |
Topic: Timer overflow handling using both CCP modules |
turbo2ltr
Replies: 11
Views: 16474
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2005 4:34 pm Subject: Timer overflow handling using both CCP modules |
It really helps if you put your code within code tags |
Topic: Timer overflow handling using both CCP modules |
turbo2ltr
Replies: 11
Views: 16474
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2005 3:52 pm Subject: Timer overflow handling using both CCP modules |
I'm trying to use the free running 16bit timer 1 and the CCP modules in capture mode to capture the pulsewidth of two external (async) signal. Everything is working except for a glitch every so often. ... |
Topic: 16C73 to a F873 |
turbo2ltr
Replies: 2
Views: 6160
|
Forum: General CCS C Discussion Posted: Thu Jan 27, 2005 11:56 pm Subject: 16C73 to a F873 |
Just figured it out.. My Picstart Plus Programmer is too old!!
The programing doesn't fail, but it doesn't actually program either.
Thanks!
-Mike |
Topic: 16C73 to a F873 |
turbo2ltr
Replies: 2
Views: 6160
|
Forum: General CCS C Discussion Posted: Thu Jan 27, 2005 11:30 pm Subject: 16C73 to a F873 |
Anyone have any pointers on migrating code from a 16C73 to a 16F873?
I have a fairly simple program that works fine on a 73 but doesn't do anything on an F873.
Thanks,
-Mike |
|