Author |
Message |
Topic: wake up from sleep by timer1 in SSOP package |
[email protected]
Replies: 11
Views: 10494
|
Forum: General CCS C Discussion Posted: Sat Apr 20, 2013 3:48 am Subject: Dear Ttelmah and Mike |
Thank you so much for your advices ....
Dear Ttelmah I added the exact lines as you had suggested but still it is not running... I forgot to tell you that I have pull down all three external interru ... |
Topic: wake up from sleep by timer1 in SSOP package |
[email protected]
Replies: 11
Views: 10494
|
Forum: General CCS C Discussion Posted: Sat Apr 20, 2013 2:17 am Subject: Ttelmah |
Hi Sir,
I do not think so, Because, Firstly in my compiler this instruction does not exist, secondly, the system is working well in DIP28 package... and also other program as I already mentioned in ... |
Topic: wake up from sleep by timer1 in SSOP package |
[email protected]
Replies: 11
Views: 10494
|
Forum: General CCS C Discussion Posted: Sat Apr 20, 2013 2:10 am Subject: Mike |
Hi Mike,
Thanks for your reply.
But, I have tested the system with many other programs, such as sleep and waking up by external interrupt, and it works fine. But in this case it does not work..., ... |
Topic: wake up from sleep by timer1 in SSOP package |
[email protected]
Replies: 11
Views: 10494
|
Forum: General CCS C Discussion Posted: Fri Apr 19, 2013 11:20 pm Subject: wake up from sleep by timer1 in SSOP package |
Hi every one, I am really confused, Because I have tried to wake up the PIC18F24K22 by timer1 interruption , actually I did it via DIP28 Package on bread board but when I struggled to run the same pr ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Sun Mar 31, 2013 7:30 pm Subject: Ttelmah |
Thank you so much for your great and complete answer. yes, exactly, I want to use another crystal as the main clock source when the PIC is working, and whenever the PIC is set to sleep mode the Timer1 ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Sun Mar 31, 2013 12:13 am Subject: temtronic |
Hi guys,
as I said in previous post, eventually, the problem of LP crystal was solved just for external osc... whereas I need it to work as timer1 OSC clock, for being used as the main clock source ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Wed Mar 27, 2013 11:42 am Subject: Timer1 Oscillator using as System Clock in PIC18 problem |
Hi guys. Eventually, the external oscillator worked in my pic. I did this because I wanted to be sure that my crystal is working fine. But , when I wrote a blinking program and execute it, the frequ ... |
Topic: Internal 31khz oscillator problem |
[email protected]
Replies: 8
Views: 12198
|
Forum: General CCS C Discussion Posted: Tue Mar 26, 2013 12:19 am Subject: Internal 31khz oscillator problem |
I have a PIC18F24K20. I am trying to run the internal 31khz Lp oscillator.
But its not running, I have written a simple program to blink an LED on RA0 pin to test the timing and also operation of int ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Sun Mar 24, 2013 2:44 am Subject: Ttelmah |
Hi Sir,
Yes, I did exactly you had guided in last post, but it did not work. Indeed, I am sure after changing the source of processor's clock, if switching is not completely accomplished (might be ca ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Sat Mar 23, 2013 11:22 pm Subject: Timer1 Oscillator using as System Clock in PIC18 problem |
It was suggested to use the code below for switching from primary oscillator to secondary oscillator (timer1). I tried it but I could not what the problem is. It should be very simple and easy but whe ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Fri Mar 22, 2013 3:19 am Subject: Timer1 Oscillator using as System Clock in PIC18 problem |
Thank you so much Sir, l am gonna check it and I will post the result back... what version do you suggest to work???
thanks |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Fri Mar 22, 2013 2:09 am Subject: Timer1 Oscillator using as System Clock in PIC18 problem |
Hi, Ttelmah
I wrote exact program that you posted, but it didn't work
the version of the softwre that I am working is PCWHD Compiler ver. 4.104
So if there is any thing that I am do ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Fri Mar 22, 2013 1:49 am Subject: Timer1 Oscillator using as System Clock in PIC18 problem |
Hey guys, in my previous post I said that the timer1 oscillator is not working as expected.
actually I did some tests that prove my expectation about processor clock which is being supplied by anothe ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Fri Mar 22, 2013 12:45 am Subject: Timer1 Oscillator using as System Clock in PIC18 problem |
Hi, Ttelmah
I have tried to config the timer1 oscillator as the processor clock (secondary Osc), I read again the data sheet and found a lot of information that helped me to understand what is goin ... |
Topic: Timer1 Oscillator using as System Clock in PIC18 problem |
[email protected]
Replies: 23
Views: 42166
|
Forum: General CCS C Discussion Posted: Thu Mar 21, 2013 7:44 pm Subject: Timer1 Oscillator using as System Clock in PIC18 problem |
Hi, and thank you so much for your replies, I found something from the data sheet. Your reply helped me very much... let me check it and then I put my experience in this post...
|
|