Author |
Message |
Topic: Goertzel troubles |
Richard Arroyo
Replies: 8
Views: 12026
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2007 2:25 am Subject: Goertzel troubles |
Hello,
I am too tired to go through all of your errors
but hopefully this will help you for now.
First, it appears you have forgotten one of the eight coefficients.
Your array only lists ... |
Topic: IIR Filter |
Richard Arroyo
Replies: 11
Views: 16006
|
Forum: General CCS C Discussion Posted: Tue Feb 27, 2007 7:41 pm Subject: IIR Filter |
With these requirement, it is highly unlikely to accomplish this on a 16F MCU.
You didn't mention how many poles or the passband ripple (Ap) of your Chebyshev
filter. A 2Hz Fc and 440Hz Fo requir ... |
Topic: IIR Filter |
Richard Arroyo
Replies: 11
Views: 16006
|
Forum: General CCS C Discussion Posted: Sun Feb 25, 2007 5:55 pm Subject: IIR Filter |
Hello,
I suggest to at least use an 18F MCU.
The PIC16F876A doesn't have a hardware multiplier thus
making multiplication cumbersome. Where multiplication of
IIR filer coefficients, real and ima ... |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Mon Feb 19, 2007 5:10 pm Subject: Version 4 Comments |
Hi PCM,
Thanks for the reply. So CSS made the change even though it would
break code made with 3.249.
A union does the trick just fine.
#include <18f452.h>
#device ad ... |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Mon Feb 19, 2007 1:50 pm Subject: Version 4 Comments |
Hello Folks,
Well, I thought I would give 4.025 a try to check
the progress. Besides the funny behavior of the GUI it appears
there's an issue with pointers using inline asm.
V 3.249 incr ... |
Topic: Compiler issues with PIC18F25J10 |
Richard Arroyo
Replies: 7
Views: 8700
|
Forum: General CCS C Discussion Posted: Mon Jan 22, 2007 9:55 pm Subject: Compiler issues with PIC18F25J10 |
Tell me if I am wrong but it appears the adcon registers are being set incorrectly according to the code.
Here is the output:
setup_adc(ADC_CLOCK_DIV_4 |VSS_VDD|ADC_START_AND_READ|ADC_TAD_ ... |
Topic: Compiler issues with PIC18F25J10 |
Richard Arroyo
Replies: 7
Views: 8700
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2007 6:01 pm Subject: Compiler issues with PIC18F25J10 |
Hello, Ttelmah
Correct, I have found that in the data sheet though there are typo's and missing information as usual.
The device errata states to write the configuration bits starting at 7FF4h ... |
Topic: Compiler issues with PIC18F25J10 |
Richard Arroyo
Replies: 7
Views: 8700
|
Forum: General CCS C Discussion Posted: Thu Jan 18, 2007 8:54 pm Subject: Compiler issues with PIC18F25J10 |
I have found the problem.
The ICD-U40 cannot program the j series processors correctly.
It doesn't set the configuration words correctly.
In fact, I think they are in the wrong location for this p ... |
Topic: Compiler issues with PIC18F25J10 |
Richard Arroyo
Replies: 7
Views: 8700
|
Forum: General CCS C Discussion Posted: Wed Jan 17, 2007 2:13 pm Subject: Compiler issues with PIC18F25J10 |
Complier version 3.249 was useless programming the
25j10. The ICD-U40 gave an error message saying it couldn't detect the MCU.
In version 4.20 it programs fine put the MCU does nothing. The oscillat ... |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Wed Nov 22, 2006 1:21 am Subject: Version 4 Comments |
Well, I've started using Microchip's C30 compiler and it's not all that bad; however, it's rather clunky getting everything set up for the first time.
The manuals and data sheets are spread a ... |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Tue Nov 07, 2006 7:32 pm Subject: Version 4 Comments |
I was able to find time to continue where I left off.
Somehow the .hex output file was being badly corrupted.
Today, I recompiled with v3.249 and no corruption occurred. Perhaps there was garbag ... |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Sat Nov 04, 2006 1:48 am Subject: Version 4 Comments |
I was writing a program for an 18f452 used in a test fixture to monitor a few analog lines and frequency. A few floats and 8 bit variables were used. Using PCHW 3.249 the program complied and worked ... |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Wed Nov 01, 2006 1:13 pm Subject: Version 4 Comments |
By the time it works like a beat AMC Pacer my maintenance will expire. |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Wed Aug 30, 2006 6:41 pm Subject: Version 4 Comments |
I just gave 4.007 a try and it is much faster. There is also support for the dsPic and 24H series. They have fixed most of the bugs I've found but introduced new ones. "Close" ,"Save&qu ... |
Topic: Version 4 Comments |
Richard Arroyo
Replies: 270
Views: 418342
|
Forum: General CCS C Discussion Posted: Sun Aug 27, 2006 9:48 pm Subject: Re: Version 4 tool bar |
Hi there,
Do you find that the tool bar too large?
If you are using a screen that is 19" still okay, but I am using a Laptop which is about 12".
Another thing is that tool bar cannot be t ... |
|