Author |
Message |
Topic: PIC16F685 - PIC16F690 missing Interrupts |
Richi
Replies: 11
Views: 15622
|
Forum: General CCS C Discussion Posted: Tue Jan 09, 2007 9:17 am Subject: PIC16F685 - PIC16F690 missing Interrupts |
Am I�m right or wrong .... if right I will send a mail to CCS to solve this problem.
If wrong - please show me my error... |
Topic: PIC16F685 - PIC16F690 missing Interrupts |
Richi
Replies: 11
Views: 15622
|
Forum: General CCS C Discussion Posted: Sat Jan 06, 2007 4:50 am Subject: PIC16F685 - PIC16F690 missing Interrupts |
Hi Ttlmah,
I�m sorry to say that but: you are wrong! The right thing is: yes, you can set RABIF with INT_RB and INT_RA. But why does the compiler set all flags in the IOCA. when I set RABIF? How ca ... |
Topic: PIC16F685 - PIC16F690 missing Interrupts |
Richi
Replies: 11
Views: 15622
|
Forum: General CCS C Discussion Posted: Fri Jan 05, 2007 9:21 am Subject: PIC16F685 - PIC16F690 missing Interrupts |
Now I did following, it sets the registers right:
#asm BSF 0x0B,3 #endasm
#asm BCF 0x0B,3 #endasm
#asm BSF 0x116,5 #endasm
#asm BCF 0x116,5 #endasm
But how do I get the program jump to my ISR ... |
Topic: PIC16F685 - PIC16F690 missing Interrupts |
Richi
Replies: 11
Views: 15622
|
Forum: General CCS C Discussion Posted: Fri Jan 05, 2007 7:33 am Subject: PIC16F685 - PIC16F690 missing Interrupts |
Now I got a Update to Version 4.020. Now all interupts are implemented - But not working. Here is the list from .h file PIC16F890 (shortened):
ENABLE_INTERRUPTS(INT_RB) should only enable Bit 3 fro ... |
Topic: Faster Division |
Richi
Replies: 4
Views: 5926
|
Forum: General CCS C Discussion Posted: Thu Dec 21, 2006 5:27 pm Subject: Faster Division |
... I�m still using a PIC16F819 you meant: use a PIC18F...?
I would, but no space. Now I try to use the internal clock - 8MHz
What about the assembler? I can implement assembler code- so do you ... |
Topic: Faster Division |
Richi
Replies: 4
Views: 5926
|
Forum: General CCS C Discussion Posted: Thu Dec 21, 2006 3:40 pm Subject: Faster Division |
Hi Guys,
anyone an idea how I can do that faster:
output_high(OUTPUT_2);
MERKER_16_2 = MERKER_32 / MERKER_16_1;
output_low(OUTPUT_2);
I measured the time between with the Oscilloscope
16 ... |
|