Author |
Message |
Topic: TMR2 Jitter |
c_bellsham
Replies: 1
Views: 12121
|
Forum: General CCS C Discussion Posted: Wed Mar 08, 2006 4:21 am Subject: TMR2 Jitter |
Hi,
We're using an 18F452 in PLL mode driven by a 10MHz clock.
We've set TMR2 running using the Period Register to give us a 100us system tick (using interrups).
When we scope up a pin that is togg ... |
Topic: Writng an Interupt handler |
c_bellsham
Replies: 3
Views: 6644
|
Forum: General CCS C Discussion Posted: Thu Nov 17, 2005 8:06 am Subject: Writng an Interupt handler |
This is really starting to get on my wick.
I've added the line:-
#device PIC18F452 ICD=TRUE HIGH_INTS=TRUE
and I get the following error:-
Error 104 Extra Characters on the preprocessor command ... |
Topic: 18F452 Interrupt Probelm |
c_bellsham
Replies: 12
Views: 17340
|
Forum: General CCS C Discussion Posted: Thu Nov 17, 2005 8:05 am Subject: 18F452 Interrupt Probelm |
This is really starting to get on my wick.
I've added the line:-
#device PIC18F452 ICD=TRUE HIGH_INTS=TRUE
and I get the following error:-
Error 104 Extra Characters on the preprocessor command ... |
Topic: Writng an Interupt handler |
c_bellsham
Replies: 3
Views: 6644
|
Forum: General CCS C Discussion Posted: Tue Nov 15, 2005 9:41 am Subject: Writng an Interupt handler |
Is anyone able to tell me, simply, how I can write my own interrupt handler.
I will have 1 high priority interrupt which must over rule all others and then I will have 4 low priority interrupts.
For ... |
Topic: 18F452 Interrupt Probelm |
c_bellsham
Replies: 12
Views: 17340
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2005 8:05 am Subject: 18F452 Interrupt Probelm |
Firstly, Many thanks for your help, I appreciate it!
We are trying to use both high and low priority interrupts.
Is there a way of telling the compiler that we are trying to use priority interru ... |
Topic: 18F452 Interrupt Probelm |
c_bellsham
Replies: 12
Views: 17340
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2005 4:59 am Subject: 18F452 Interrupt Probelm |
0008: MOVWF 05------------Saving W
000A: MOVFF FD8,06-------Saving Status
000E: MOVF FE9,W
0010: MOVWF 07
0012: MOVF FEA,W
0014: MOVWF 08
0016: MOVF FE1,W
0018: MOVWF 09----- ... |
Topic: 18F452 Interrupt Probelm |
c_bellsham
Replies: 12
Views: 17340
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2005 3:03 am Subject: 18F452 Interrupt Probelm |
Hi,
We are using CCS PCWH 3.212 for a PIC 18F452 project.
We think we've found a problem (that you may already be aware of) with the Low Priority interrupt.
It appears that the code generated for ... |
|