Author |
Message |
Topic: PIC18F67K22 TIMER1 using External Clock |
P2
Replies: 7
Views: 8010
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2012 7:46 pm Subject: PIC18F67K22 TIMER1 using External Clock |
Great... I think that sounds very much like what the problem has been ( + my head space issues of course )
I searched every reference to TIMER1 in the data sheet, and I can now see they ne ... |
Topic: PIC18F67K22 TIMER1 using External Clock |
P2
Replies: 7
Views: 8010
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2012 6:47 pm Subject: PIC18F67K22 TIMER1 using External Clock |
OK I have a work-around but I'm not happy with this.
#byte T1CON = 0XFCD
T1CON = 0X8B; // turn on the Crystal Oscillator but still feed PIN C1 with the output of the MAXIM Oscillator.
It's ... |
Topic: PIC18F67K22 TIMER1 using External Clock |
P2
Replies: 7
Views: 8010
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2012 6:34 pm Subject: PIC18F67K22 TIMER1 using External Clock |
OK here are the fuses I'm using.
#fuses NOWDT, WDT128, HSM, PLLEN, NOPROTECT, CCP2E7, NOBROWNOUT, BORV27, PUT, NOCPD, STVREN, NODEBUG, NOWRT, NOCPB, NOEBTR, NOWRTD, NOWRTC, NOWRTB
Here are the ... |
Topic: PIC18F67K22 TIMER1 using External Clock |
P2
Replies: 7
Views: 8010
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2012 5:30 pm Subject: PIC18F67K22 TIMER1 using External Clock |
I think it's a configuration issue... ! |
Topic: PIC18F67K22 TIMER1 using External Clock |
P2
Replies: 7
Views: 8010
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2012 1:52 pm Subject: PIC18F67K22 TIMER1 using External Clock |
PIC18F67K22 TIMER1 using External Clock 32KHz Oscillator (MAXIM DS32KHz) to drive pin RC1 Pin RC0 is not used.
Using PCWH 4.130
int32 n32Tick, n32OldTick;
#int_TIMER1
void TIMER1_isr(voi ... |
|