Author |
Message |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Sun Jan 24, 2010 5:38 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
Hi,
but i really do want to reboot because my code is stucking somewhere. |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Sat Jan 23, 2010 9:49 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
Thanks for your reply ELCouz by i already tried that and didnt work.
Here's my code:
#include <18F2580.H>
#include <can-18xxx8.c>
#fuses HS, WDT1024
#use delay(clock=2000000 ... |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Fri Jan 22, 2010 7:54 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
New question eheh!
I'm getting problems on WDT and the output.
Example:
Output: 32
Output: 32
Output: 32
Output: 32
Output: 32
Output: 32
WDT
Output: weird value
Output: 32
Output: 3 ... |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Wed Jan 06, 2010 9:10 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
I increase the frequency from 10Hz to 100Hz, while the output is
increasing sometimes im getting weird values. Like getting 10Hz
output when the frequency is reaching 80Hz.
You could use a Med ... |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Fri Dec 18, 2009 9:06 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
anyone ?  |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Tue Dec 15, 2009 10:58 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
I return to 20Mhz Xtal because that problem.
In tests, while i change the frequency sometimes the output pull to a different value.
Example:
I increase the frequency from 10Hz to 100Hz, while t ... |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Fri Oct 16, 2009 8:23 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
I recently switch from external 20MHz xtal to the internal osc 4Mhz...and now i dont know why, the program just stop.
Im debugging via rs232 and around 100Hz+ to 300Hz input, it stops sending data ... |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Wed Sep 30, 2009 2:07 pm Subject: CCP / 24 bit timer / 1hz to 150 hz range |
The problem is probably because:
1. The voltage levels of your input signal are too low. They need
to be at least 0v to 4v levels. (For a PIC running at 5v).
2. Your input frequency m ... |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Wed Sep 30, 2009 8:32 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
I just change the fuses to #fuses HS and its working now
but only at 1Hz im getting on terminal:
1 Hz
no signal
1 hz
no signal
no signal
1Hz
and so on...
why ? |
Topic: CCP / 24 bit timer / 1hz to 150 hz range |
Macas
Replies: 75
Views: 229784
|
Forum: General CCS C Discussion Posted: Wed Sep 30, 2009 8:05 am Subject: CCP / 24 bit timer / 1hz to 150 hz range |
Dear PCM,
I just tried your code and it doesnt worked for me. Im using pic 18f2580 with external oscillator 20MHz.
In rs232 not even print "Non signal". What is wrong with this?
#in ... |
Topic: ADC sampling |
Macas
Replies: 6
Views: 9758
|
Forum: General CCS C Discussion Posted: Wed Jun 10, 2009 7:24 am Subject: ADC sampling |
bump! |
Topic: ADC sampling |
Macas
Replies: 6
Views: 9758
|
Forum: General CCS C Discussion Posted: Tue Jun 09, 2009 4:24 pm Subject: ADC sampling |
Thanks for your help but I already read it. I want to send the samples via CAN bus in order to manage a vehicle acceleration. |
Topic: ADC sampling |
Macas
Replies: 6
Views: 9758
|
Forum: General CCS C Discussion Posted: Tue Jun 09, 2009 4:06 pm Subject: ADC sampling |
hi, I'm newbie with this and my english isn't the best but hope I can learn something with you.
the question is, I'm using PIC18F2580 and want to do an ADC with 8 bits, but my problem is that I wan ... |
|