Author |
Message |
Topic: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
E_KARVELAs
Replies: 7
Views: 9213
|
Forum: General CCS C Discussion Posted: Tue Apr 28, 2009 3:37 am Subject: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
Let me say first of all thank you E_KARVELA for your work on this.
The question I have is over the TMR1H and T1CON values which I see that are being set to 0xFCF and 0xFCD respectively. What is th ... |
Topic: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
E_KARVELAs
Replies: 7
Views: 9213
|
Forum: General CCS C Discussion Posted: Thu Apr 17, 2008 9:30 am Subject: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
Not on this chip.....
The PLL, is not available on the internal oscillator on this chip. On some other chips, there is an internal software switchable PLL, which can be enabled (the 2480 for example) ... |
Topic: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
E_KARVELAs
Replies: 7
Views: 9213
|
Forum: General CCS C Discussion Posted: Thu Apr 17, 2008 8:51 am Subject: Thanks goes to Neutone. |
Code Now improved for more performance and accuracy
This will improve performance and accuracy. There will be no error introduced by setting the timer to 32768 after the timer has incremented to ... |
Topic: TIMER1 1sec int external 32.768 Real-Time Clock |
E_KARVELAs
Replies: 10
Views: 98789
|
Forum: Code Library Posted: Thu Apr 17, 2008 8:48 am Subject: Thanks goes to Neutone. |
Code Now improved for more performance and accuracy Thanks to Neutone
#include <18F2550.h>
#device ICD=TRUE
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 ... |
Topic: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
E_KARVELAs
Replies: 7
Views: 9213
|
Forum: General CCS C Discussion Posted: Thu Apr 17, 2008 8:28 am Subject: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
An I missing something? The internal osc is 8Mhz and the pll takes it up to 32Mhz but your use delay is 8Mhz. Now I know there aren't any situations in your code where the use delay would be critical ... |
Topic: TIMER1 1sec int external 32.768 Real-Time Clock |
E_KARVELAs
Replies: 10
Views: 98789
|
Forum: Code Library Posted: Wed Apr 16, 2008 10:12 am Subject: TIMER1 1sec int external 32.768 Real-Time Clock |
HI
I'm posting this code as help for people who need some help starting with Real-Time Clock. Counts seconds, minutes using interrupt TIMER1 with External asynchronous crystal 32.768Khz and 33pF ca ... |
Topic: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
E_KARVELAs
Replies: 7
Views: 9213
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 9:57 am Subject: 1s int TIMER1 external 32.768 Real-Time Clock finally work |
HI
I'm posting this code as help for people who need some help starting with Real-Time Clock Counts Seconds, Minutes using interrupt TIMER1 with External asynchronous crystal 32.768Khz and 3 ... |
Topic: Need to get exactly 10ms int with internal TIMER1 18f4523 |
E_KARVELAs
Replies: 4
Views: 6025
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2008 1:35 pm Subject: Need to get exactly 10ms int with internal TIMER1 18f4523 |
Hi again
Searching the forum along time for this issue i found some good info on this issue:
reading it or writing it because it's working on asynchronus mode. Still not sure what to do
:confuse ... |
Topic: Need to get exactly 10ms int with internal TIMER1 18f4523 |
E_KARVELAs
Replies: 4
Views: 6025
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2008 12:07 pm Subject: Can't have 1 sec external TIMER1 int with 18f2550 |
Hi
I have changed the hardware im using external (32.768KHz crystal with 33pF )to produce
1 sec interrupt but im going forward 1 sec every min. very strange i done everyt ... |
Topic: Need to get exactly 10ms int with internal TIMER1 18f4523 |
E_KARVELAs
Replies: 4
Views: 6025
|
Forum: General CCS C Discussion Posted: Sat Apr 12, 2008 7:10 pm Subject: Need to get exactly 10ms int with internal TIMER1 18f4523 |
Check table 26-8 in the datasheet. Typical accuracy of the internal RC oscillator is 1%, but can be as bad as 2%.
2% of 1minute = 1.2 seconds.
If you want to improve on this you will have to use a ... |
Topic: Need to get exactly 10ms int with internal TIMER1 18f4523 |
E_KARVELAs
Replies: 4
Views: 6025
|
Forum: General CCS C Discussion Posted: Sat Apr 12, 2008 6:13 pm Subject: Need to get exactly 10ms int with internal TIMER1 18f4523 |
Hi
I need to get exactly 10ms int with internal TIMER1 on PIC18F4523 but some how i lose 1 sec every minute.
#include <18F4523.h>
#device ICD=TRUE
#FUSES NOWDT ... |
Topic: DS1307 Driver |
E_KARVELAs
Replies: 4
Views: 5760
|
Forum: General CCS C Discussion Posted: Fri Apr 04, 2008 7:03 am Subject: DS1307 Driver |
Hi
Does anyone have the DS1307 driver??
Can't find it inside Driver folder .
Thanks |
Topic: Need to type a formula |
E_KARVELAs
Replies: 2
Views: 4246
|
Forum: General CCS C Discussion Posted: Wed Apr 02, 2008 5:50 pm Subject: Need to type a formula |
Download the CCS manual. Keep it on your Windows desktop.
http://www.ccsinfo.com/downloads/CReferenceManual.pdf
Look in this section:
BUILT-IN-FUNCTIONS
STANDARD
C MATH
You will see a list ... |
Topic: Need to type a formula |
E_KARVELAs
Replies: 2
Views: 4246
|
Forum: General CCS C Discussion Posted: Wed Apr 02, 2008 5:05 pm Subject: Need to type a formula |
HI
i need to type the formula http://upload.wikimedia.org/math/1/6/4/1646d2ccddcab84bbf31bbe3b588fe0f.png
But i have errors:
float altimeter;
long garo_long;
altimete ... |
Topic: Need Driver for MCP3202. |
E_KARVELAs
Replies: 0
Views: 3183
|
Forum: General CCS C Discussion Posted: Tue Mar 04, 2008 5:07 pm Subject: Need Driver for MCP3202. |
Hi
Does anyone have driver for MCP3202 2-channel ADC 12bit??
I can find for MCP3204-8 inside the driver folder but not for MCP3202.
Thanks |
|