CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 35 matches
CCS Forum Index
Author Message
  Topic: Sine wave using PWM and LPF
Konrad

Replies: 11
Views: 26779

PostForum: General CCS C Discussion   Posted: Wed Sep 16, 2009 5:27 pm   Subject: similar idea
http://www.edn.com/article/CA6662631.html?spacedesc=designideas&industryid=44217
  Topic: Program Metrics
Konrad

Replies: 7
Views: 11252

PostForum: General CCS C Discussion   Posted: Tue Jul 10, 2007 3:16 pm   Subject: Program metrics
I knew the meaning of cyclomatic complexity but did wonder what the others were. Thanks PCM programmer.
If Darren reads this post, copy and paste the link into the help files.
  Topic: timeout in #use_i2c
Konrad

Replies: 5
Views: 12712

PostForum: General CCS C Discussion   Posted: Wed Mar 28, 2007 3:48 pm   Subject: Shame CCS I2C does not have a TIMEOUT
You must write your own I2C routines. It is a shame that CCS have no TIMEOUT for I2C as they do for RS232.

If you take I2C out of the box checkout Philips I2C bus extenders. Using the bus extende ...
  Topic: Version 4 Comments
Konrad

Replies: 270
Views: 439374

PostForum: General CCS C Discussion   Posted: Sat Jan 27, 2007 9:07 pm   Subject: ICD broken in version 022
I bought a years maintenance in anticipation of DSPic support.
I have been a user of v3 since it was released. I knew that when v4 was released, the compiler may be 6 months before being stable. I ...
  Topic: 400MHz with PLL
Konrad

Replies: 8
Views: 10022

PostForum: General CCS C Discussion   Posted: Wed Dec 06, 2006 3:25 pm   Subject: Check the LMX2326 driver
CCS provide an example driver, LMX2326, which is very similar.

You just need a small PIC e.g. 12F635
I assume you are at home with RF synths and it is just the MCU you are asking about.
Alternati ...
  Topic: Version 4 Comments
Konrad

Replies: 270
Views: 439374

PostForum: General CCS C Discussion   Posted: Thu Nov 02, 2006 7:36 pm   Subject: DSPic support
I have been asking CCS about 33F and 24F support. I have a project that needs 3 external timers and 1 internal timer, and it is currently on a PIC17 using Microchip C17 compiler.
Waiting for CCS (al ...
  Topic: strange i2c issues...
Konrad

Replies: 16
Views: 21291

PostForum: General CCS C Discussion   Posted: Wed Nov 01, 2006 5:13 pm   Subject: strange i2c issues...
Check the pinouts of the MAX517, they are wrong

http://datasheets.maxim-ic.com/en/ds/MAX517-MAX519.pdf

Pin 7 must be VDD

Also, delete the line setup_spi(FALSE);
  Topic: elongating the ICD cable.
Konrad

Replies: 2
Views: 6389

PostForum: General CCS C Discussion   Posted: Mon May 22, 2006 4:50 pm   Subject: add filter caps?
I have just started messing with a dsPIC. On the Microchip forum people recommend adding 100pF caps to the prog and data lines to stop crosstalk. They even meantion problems with some 18F parts. My ...
  Topic: Sine wave using PWM and LPF
Konrad

Replies: 11
Views: 26779

PostForum: General CCS C Discussion   Posted: Tue Apr 11, 2006 2:16 pm   Subject: Simple Sine Wave
I found this a very simple way to generate a very accurate sine wave,

use a summing amplifier to give 5 points on a sine wave,

RD0 -20K--
|
RD1 -62K-- -----10K------
| ...
  Topic: Samsung KS0108
Konrad

Replies: 14
Views: 24949

PostForum: General CCS C Discussion   Posted: Tue Feb 14, 2006 12:59 pm   Subject: update
visit

http://www.compsys1.com/workbench/

I have not done much work since, I found out that actually ccs glcd example is actually for the KS0108, though they didn't say so
hope this helps

ps ...
  Topic: Achieving 1Mbps w/ 32MHz oscillator
Konrad

Replies: 3
Views: 5713

PostForum: General CCS C Discussion   Posted: Thu Dec 08, 2005 3:11 pm   Subject: read the errata
I seem to remember a note in the errata from microchip saying the baud rates on the 18F1320 can be flaky causing framing errors. If i have remembered correctly, running so fast may exacerbate these f ...
  Topic: Tokens.txt for IDE
Konrad

Replies: 1
Views: 4215

PostForum: General CCS C Discussion   Posted: Sat Aug 13, 2005 8:04 am   Subject: Tokens.txt for IDE
Anyone worked out how the new option of TOKENS.txt is used with PCWH IDE?
Question
  Topic: Interfacing Technique
Konrad

Replies: 14
Views: 18807

PostForum: General CCS C Discussion   Posted: Sat Aug 06, 2005 5:21 am   Subject: bit bang using timers
The simplest way to bit bang (or bit capture) with specific timing is to use the timer interrupts.




//timer 2 is used to time recieve
#int_timer2
timer2_isr()
{
if(--inte ...
  Topic: Defining a structure in CCS
Konrad

Replies: 1
Views: 6089

PostForum: General CCS C Discussion   Posted: Wed Jun 01, 2005 5:03 pm   Subject: pointerss to structures
I assume that this was a quick post, but your syntax is no quite right-

struct a *ptr ; //declare a pointer to a structure
ptr = &a[1];

theVar = ptr->b[5]; //access variable

int16 * ...
  Topic: standalone ?
Konrad

Replies: 3
Views: 10016

PostForum: General CCS C Discussion   Posted: Tue May 31, 2005 3:58 pm   Subject: Use CCS ICD.EXE stand alone program
Use the stand alone ICD program.
Make sure you have the icd define off before you compile.
You can run the program with the ICD connected, or simply disconnect the ICD.
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group