Author |
Message |
Topic: Can't get 18LF2620 below 500uA, can anyone help. |
ljb
Replies: 8
Views: 8686
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 6:32 am Subject: Can't get 18LF2620 below 500uA, can anyone help. |
The source is listed below, and the schematic is of a 2620 with a 3v4 battery connected, once the serial link is removed.
//------System------
#include <18F2620>
#fuses INTRC_IO,NOWDT,NOPRO ... |
Topic: Can't get 18LF2620 below 500uA, can anyone help. |
ljb
Replies: 8
Views: 8686
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 6:05 am Subject: Can't get 18LF2620 below 500uA, can anyone help. |
Hi,
I had the code in a loop sending a msg over a ttl serial link, then inserted a sleep in the loop. Running the code, the msg displayed once, I then disconnected the link so that the only thing con ... |
Topic: Can't get 18LF2620 below 500uA, can anyone help. |
ljb
Replies: 8
Views: 8686
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 4:42 am Subject: Can't get 18LF2620 below 500uA, can anyone help. |
Hi,
I am running an 18LF2620 at just over 3v @ 1Mhz internal clock.
I have got the code down to outputing a serial message as a test that the code is running, then passing into sleep mode.
I am not ... |
Topic: rs232 not working at 115k2bd baud. |
ljb
Replies: 5
Views: 5833
|
Forum: General CCS C Discussion Posted: Wed Oct 11, 2006 7:21 am Subject: rs232 not working at 115k2bd baud. |
Oop's the code is below.
I have had a look at the link from the reply above, and the problem is very similar if not the same. I have version 2.349, would any later versions cure this?
//------Syst ... |
Topic: rs232 not working at 115k2bd baud. |
ljb
Replies: 5
Views: 5833
|
Forum: General CCS C Discussion Posted: Wed Oct 11, 2006 6:14 am Subject: rs232 not working at 115k2bd baud. |
Hi,
Does anybody have any ideas why the following code does not work at 115k2bd or 57k6bd. It works fine at 38k4bd and lower.
The ext xtal is dead on 8mhz (measured with a freq counter).
I have had ... |
Topic: Has anybody had success with the LTC1865 ADC |
ljb
Replies: 0
Views: 3468
|
Forum: General CCS C Discussion Posted: Thu Sep 14, 2006 8:48 am Subject: Has anybody had success with the LTC1865 ADC |
Hi,
When running the code below, I don't seem to get two inependent chan's.
Any ideas as to what could be wrong, or if anyone has working code I could try would be great.
Many thanks
Les
//---- ... |
Topic: Preloading eeprom with data |
ljb
Replies: 2
Views: 5182
|
Forum: General CCS C Discussion Posted: Wed Sep 13, 2006 4:11 am Subject: Preloading eeprom with data |
Many thanks - works great. |
Topic: Preloading eeprom with data |
ljb
Replies: 2
Views: 5182
|
Forum: General CCS C Discussion Posted: Tue Sep 12, 2006 11:20 am Subject: Preloading eeprom with data |
Hi,
During power up I read values from eeprom, that can be changed during operation and the new values read on the next power up.
How can I preload some initial values into eeprom for the first powe ... |
Topic: problem with multiple streams |
ljb
Replies: 1
Views: 4100
|
Forum: General CCS C Discussion Posted: Tue Sep 12, 2006 11:14 am Subject: problem with multiple streams |
Now solved.
After renaming the stream id's and all references from 'disp' to 'lcd' and 'radio' to 'rfmod', the code in the listing was generated for all streams and all now works fine. Very odd !! |
Topic: problem with multiple streams |
ljb
Replies: 1
Views: 4100
|
Forum: General CCS C Discussion Posted: Tue Sep 12, 2006 4:43 am Subject: problem with multiple streams |
I have 5 data streams (1h/w and 4 s/w). Only one tx's or rx's at a time.
Version = PCWH 3.249
Using the code below, the 'disp' stream gets redirected onto the 'com1' stream??
I'm not very good wi ... |
Topic: Has anyone got experience connecting GPRS modules to pics |
ljb
Replies: 6
Views: 7168
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2005 9:42 am Subject: Has anyone got experience connecting GPRS modules to pics |
Hi John,
I am moving about 10kb of data every 5min (only at certain times due to call costs), but the ideal would be near real time (200bytes every 10sec). It could be from any location in the UK.
a ... |
Topic: Has anyone got experience connecting GPRS modules to pics |
ljb
Replies: 6
Views: 7168
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2005 8:44 am Subject: Has anyone got experience connecting GPRS modules to pics |
Hi,
I would like to establish a permanent connection to a PIC that is collecting data rather than dialing it up as I am doing at the moment with a GSM link. Ideally I would like to transfere data eve ... |
Topic: timer1 interrupt on overflow |
ljb
Replies: 4
Views: 6111
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2005 11:07 am Subject: timer1 interrupt on overflow |
Thats great Andrew,
I try it tomorrow.
Thanks for your help
Les |
Topic: timer1 interrupt on overflow |
ljb
Replies: 4
Views: 6111
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2005 10:27 am Subject: timer1 interrupt on overflow |
Let me see if I have this straight;
If I clear the interrupt with clear_interrupt(timer1) after entering the isr, then if the isr is still running a task when another overflow on timer1 occures the i ... |
Topic: timer1 interrupt on overflow |
ljb
Replies: 4
Views: 6111
|
Forum: General CCS C Discussion Posted: Tue Sep 27, 2005 7:57 am Subject: timer1 interrupt on overflow |
My prog uses timer1 to interrupt on overflow, this increments a task counter which is tested by a case block to run the next task.
I am using an 18f2620 and trying to accomplish the following :
... |
|