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 126 matches
CCS Forum Index
Author Message
  Topic: Best recent compiler version for 18F2431 series
SteveS

Replies: 3
Views: 6900

PostForum: General CCS C Discussion   Posted: Tue Jun 07, 2005 6:46 am   Subject: best compiler
Thanks to both of you!

sseidman - I have seen your posts and thanks for code! I've had to 'fix' my present version to handle things it didn't do, so I know it's not a big deal.

ckielstra - Kno ...
  Topic: Best recent compiler version for 18F2431 series
SteveS

Replies: 3
Views: 6900

PostForum: General CCS C Discussion   Posted: Fri Jun 03, 2005 7:08 am   Subject: Best recent compiler version for 18F2431 series
Hi all,

I've been away from PIC stuff for a bit but I have a new project that may use one of the 18F2431 series (for the quadrature input feature). I'm still back in V3.182 which doesn't support i ...
  Topic: SIOW CCS RS485
SteveS

Replies: 1
Views: 5151

PostForum: General CCS C Discussion   Posted: Thu Nov 11, 2004 3:51 pm   Subject: SIOW CCS RS485
Anyone know anything about the CCS RS485 mode (under Configuration in SIOW)?

I assume it allows talking to a PIC via 485 (using a 232-485 converter), but there is no help on it - like what's used f ...
  Topic: A bit off topic: MMC Card Stuff
SteveS

Replies: 7
Views: 15974

PostForum: General CCS C Discussion   Posted: Thu Nov 04, 2004 7:57 am   Subject: 3.3v display
On the display subject, you may want to look at the Nokia 3310 display. It's very thin and small, 2-something to 3.3V, B&W, graphical (84 x 48), serial interface. You can do 6 lines by 14 characte ...
  Topic: ICD-U40 with 3.3V target
SteveS

Replies: 1
Views: 27601

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Sep 02, 2004 12:59 pm   Subject: ICD-U40 and 3.3 target - Resolved
I sent an email about this to CCS and got a reply within a hour:

There are two separate issues.

1. The ICD-U40 can supply 5V to your target if you install a jumper inside the unit. As shipped t ...
  Topic: ICD-U40 with 3.3V target
SteveS

Replies: 1
Views: 27601

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Sep 02, 2004 6:58 am   Subject: ICD-U40 with 3.3V target
I'm getting ready to change a board over to 3.3V supply. I've read thru the posts on using the ICD-U40 at 3.3V and the CCS documentation but I'm still a bit confused.

As I understand it, the Vdd pi ...
  Topic: Filters (long)
SteveS

Replies: 9
Views: 96264

PostForum: Code Library   Posted: Thu Jul 01, 2004 9:44 am   Subject: Filters (long)
DOH!

I do that all the time. I also do this:

x>>2;

thinking

x= x>>2;

Fixed.
  Topic: 40MHz just ISN'T fast enough!
SteveS

Replies: 10
Views: 19568

PostForum: General CCS C Discussion   Posted: Thu Jul 01, 2004 9:42 am   Subject: 40MHz just ISN'T fast enough!
I'm not real hot at PIC assembly (which is why I use CCS!), but couldn't the "while(loop--)" code be replaced with assembly like this:


decfsz loop_l // loop_l is the low order byte of loop ...
  Topic: file system/removeable media PIC data to PC
SteveS

Replies: 3
Views: 8436

PostForum: General CCS C Discussion   Posted: Tue Jun 29, 2004 5:57 am   Subject: Compact Flash Code
And for CF:

http://www.walrus.com/~raphael/html/mp3.html

This is read only and is geared towards MP3, but can be extended to support general rd/wr. I have used it and modified it - seem to work ...
  Topic: Soldering down PLCC PICs
SteveS

Replies: 11
Views: 23570

PostForum: General CCS C Discussion   Posted: Mon Jun 28, 2004 12:39 pm   Subject: Soldering down PLCC PICs

Solder braid is your friend for doing fine pitch soldering. I often solder on chips with down to 0.5mm pitch by hand using a regular weller iron. shorts all over, then clean up with solder braid, m ...
  Topic: How to handle multiplication overflows?
SteveS

Replies: 18
Views: 36657

PostForum: General CCS C Discussion   Posted: Mon Jun 28, 2004 8:25 am   Subject: How to handle multiplication overflows?
Yes val2.w[1] - sorry 'bout that.

On the error; the faster way may cause some truncation error. I thought the method I proposed would not cause a problem. I just simulated it on a PC and found no v ...
  Topic: How to handle multiplication overflows?
SteveS

Replies: 18
Views: 36657

PostForum: General CCS C Discussion   Posted: Fri Jun 25, 2004 7:18 am   Subject: How to handle multiplication overflows?
Yes, I did it like this:


int8 m0;
int8 m1;
int8 m2;
int8 m3;

int32 quot;
int32 quot2;
int16 proda16;
int16 prodb16;

union
{
int16 w[2];
int32 d;
} val;

union ...
  Topic: How to handle multiplication overflows?
SteveS

Replies: 18
Views: 36657

PostForum: General CCS C Discussion   Posted: Thu Jun 24, 2004 1:57 pm   Subject: faster divide by 1e6
Ok, here is a way to speed things up I think.

Basically division is slow (except for powers of 2). So, instead of dividing by 1e6, multiply by 4295/2^32 which is close to /1e6

But, since your fo ...
  Topic: How to handle multiplication overflows?
SteveS

Replies: 18
Views: 36657

PostForum: General CCS C Discussion   Posted: Wed Jun 23, 2004 3:19 pm   Subject: How to handle multiplication overflows?
You can always find something to optimize the code - it just takes time. I remember spending a month or so on about 50 lines of code (a filter) on the first TI DSP (oops I'm dating myself). But each l ...
  Topic: How to handle multiplication overflows?
SteveS

Replies: 18
Views: 36657

PostForum: General CCS C Discussion   Posted: Wed Jun 23, 2004 6:40 am   Subject: How to handle multiplication overflows?
oops, sorry 'bout that. Did you use a 32 by 16 divide routine? If you use the 32 by 32 it would be slower and bigger.

- SteveS
 
Page 1 of 9 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group