Author |
Message |
Topic: measure frequency ccp1 - measuring twice the value |
fvnktion
Replies: 5
Views: 7859
|
Forum: General CCS C Discussion Posted: Fri Aug 28, 2009 11:28 am Subject: measure frequency ccp1 - measuring twice the value |
I have see the example and based this code off of it. The example talks about the overhead calculations as follows.
// CCP_1 is the time the pulse went high
} // ... |
Topic: measure frequency ccp1 - measuring twice the value |
fvnktion
Replies: 5
Views: 7859
|
Forum: General CCS C Discussion Posted: Fri Aug 28, 2009 9:21 am Subject: measure frequency ccp1 - measuring twice the value |
Here is the updated code that i used to measure a 32khz signal with the processor running at 32Mhz. Attached is also the output of period showing a periodic 2X measurement.
Using compiler: 4.083
... |
Topic: measure frequency ccp1 - measuring twice the value |
fvnktion
Replies: 5
Views: 7859
|
Forum: General CCS C Discussion Posted: Fri Aug 28, 2009 9:17 am Subject: measure frequency ccp1 - measuring twice the value |
Thanks for the info PCM.
I made the changes and the pll is now working. However i still get the same problem of a period measuring twice what it should.
I am trying to figure out what the max ... |
Topic: measure frequency ccp1 - measuring twice the value |
fvnktion
Replies: 5
Views: 7859
|
Forum: General CCS C Discussion Posted: Thu Aug 27, 2009 3:34 pm Subject: measure frequency ccp1 - measuring twice the value |
Just trying to figure out why I am occasionally getting twice the expected value for a measured rising edges of a pulse.
Below is the code and terminal output of the measured pulse time, (not act ... |
Topic: PCD Compiler - explorer 16 pic24 - bugs? |
fvnktion
Replies: 6
Views: 7405
|
Forum: General CCS C Discussion Posted: Fri Aug 14, 2009 3:59 pm Subject: PCD Compiler - explorer 16 pic24 - bugs? |
Very helpful.
Thank you. |
Topic: PCD Compiler - explorer 16 pic24 - bugs? |
fvnktion
Replies: 6
Views: 7405
|
Forum: General CCS C Discussion Posted: Fri Aug 14, 2009 1:23 pm Subject: PCD Compiler - explorer 16 pic24 - bugs? |
Thanks for the reply. I will look into the timing setting of the registers.
My understanding, based on the ccs manual is that the %3f used in my printf should represent a precision of 3 and typ ... |
Topic: PCD Compiler - explorer 16 pic24 - bugs? |
fvnktion
Replies: 6
Views: 7405
|
Forum: General CCS C Discussion Posted: Fri Aug 14, 2009 9:24 am Subject: PCD Compiler - explorer 16 pic24 - bugs? |
I would really like to get a general consensus on how much the PCD compiler is used and how well it is supported. I really dont want to dive too deeply here with the PCD if I am not going to be getti ... |
Topic: PCD Compiler - explorer 16 pic24 - bugs? |
fvnktion
Replies: 6
Views: 7405
|
Forum: General CCS C Discussion Posted: Thu Aug 13, 2009 4:17 pm Subject: PCD Compiler - explorer 16 pic24 - bugs? |
I am just getting started with the PIC24 and its compiler. I am using version 4.083. I have just begun testing on the explorer 16 board and have run into the following issues:
#use delay must be ... |
Topic: measure audio level with ADC |
fvnktion
Replies: 3
Views: 4227
|
Forum: General CCS C Discussion Posted: Wed Aug 12, 2009 4:38 pm Subject: measure audio level with ADC |
I'll have a look at the links.
Do you have a definition for the audio signal? Frequency Range? Periodic or not?
The signal will be the output stage of an audio amp from an MP3 player. The ... |
Topic: measure audio level with ADC |
fvnktion
Replies: 3
Views: 4227
|
Forum: General CCS C Discussion Posted: Wed Aug 12, 2009 1:13 pm Subject: measure audio level with ADC |
I have a requirement to be able to be able to measure the audio level of an audio line. I am wondering if anyone has done anything like this using an adc of of PIC?
I am thinking about setting up ... |
Topic: PLL VCO error voltage resources on PIC |
fvnktion
Replies: 1
Views: 3601
|
Forum: General CCS C Discussion Posted: Thu Jul 23, 2009 11:51 am Subject: PLL VCO error voltage resources on PIC |
Another key comment to make is that I will need to be able to decode modulated signals outside of the standard 30 - 56khz, which have handy little IR receivers already all packaged up for use. |
Topic: PLL VCO error voltage resources on PIC |
fvnktion
Replies: 1
Views: 3601
|
Forum: General CCS C Discussion Posted: Thu Jul 23, 2009 11:48 am Subject: PLL VCO error voltage resources on PIC |
I am looking into a new project that requires the use of demodulating basic digital modulated signals such as Pulse width - position or manchester type of coding. I dont want to do all of the proces ... |
Topic: 4 pwm output suggestions - dsPIC33 |
fvnktion
Replies: 1
Views: 4995
|
Forum: General CCS C Discussion Posted: Fri Jul 17, 2009 4:01 pm Subject: 4 pwm output suggestions - dsPIC33 |
I am getting ready for a project that will require 4 pwm outputs. I have up to this point been using the PIC18 series MCU's.
I don't see any option for PWM outputs up to 4 in the pic18's, but do ... |
Topic: icd2 icd3 in CCS IDE |
fvnktion
Replies: 0
Views: 3248
|
Forum: General CCS C Discussion Posted: Wed May 20, 2009 9:21 am Subject: icd2 icd3 in CCS IDE |
I am now having trouble using the ICD2 and ICD3 in the ccs ide. Is there any documentation on using the debuggers and setting them up? I have seen the FAQ and taken the steps listed there. I have d ... |
Topic: ISR always entered at startup |
fvnktion
Replies: 7
Views: 7627
|
Forum: General CCS C Discussion Posted: Fri May 15, 2009 9:55 am Subject: ISR always entered at startup |
Thanks for all the great input. Wish I could keep that dang data sheet memorized .
Cheers |
|