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 13 matches
CCS Forum Index
Author Message
  Topic: CAN bus interrupts...
tedlarson

Replies: 2
Views: 7221

PostForum: General CCS C Discussion   Posted: Thu Jun 09, 2005 2:23 pm   Subject: CAN bus interrupts...
Thanks! I guess it helps to look at the device specific header file for the interrupts missing from the documentation. Looks like there are all kinds of nicely supported CAN interrupts in there. I ...
  Topic: CAN bus interrupts...
tedlarson

Replies: 2
Views: 7221

PostForum: General CCS C Discussion   Posted: Thu Jun 09, 2005 12:37 pm   Subject: CAN bus interrupts...
I have been fooling with CAN bus. I finally have some nice test programs written, that work well.

I am stuck trying to build an interrupt driven receive.....what is the easiest way to process the ...
  Topic: Floating point precision
tedlarson

Replies: 1
Views: 6108

PostForum: General CCS C Discussion   Posted: Fri Mar 25, 2005 11:35 pm   Subject: Floating point precision
I have an application that needs to do alot of floating point calculations, and the round-off and truncation error is killing it. By the time the calcs are done I get the wrong answer completely.

...
  Topic: Sine Function....
tedlarson

Replies: 7
Views: 21873

PostForum: General CCS C Discussion   Posted: Thu Sep 23, 2004 3:50 pm   Subject: Sine Function....
Anyone know where I can find some 'C' source for a sine function that uses a larger lookup table for more accurate results? I am using the sin function built-into the CCS C compiler, and the results ...
  Topic: Bootloader (loader.c) troubles...
tedlarson

Replies: 6
Views: 22728

PostForum: General CCS C Discussion   Posted: Tue Dec 09, 2003 8:36 pm   Subject: Bootloader (loader.c) troubles...
Ok....CCS tech support replied with an answer to the problem. I thought I would post my results, so the next guy who has the same trouble will know what to do.

LOADER_SIZE is incorrect for the PCH ...
  Topic: Bootloader (loader.c) troubles...
tedlarson

Replies: 6
Views: 22728

PostForum: General CCS C Discussion   Posted: Tue Dec 02, 2003 11:59 am   Subject: Bootloader (loader.c) troubles...
Those are ram based and the problem you are having is rom shortage. sometimes moving variables around reduces the code size due to the bank switching instructions.

That is what I thought too. Alt ...
  Topic: Bootloader (loader.c) troubles...
tedlarson

Replies: 6
Views: 22728

PostForum: General CCS C Discussion   Posted: Mon Dec 01, 2003 5:00 pm   Subject: Bootloader (loader.c) troubles...
Whew!

After lots of looking at the list file, and breaking things up more....still no luck. Then, I started commenting things out until it would compile.

I isolated the problem to the following ...
  Topic: Bootloader (loader.c) troubles...
tedlarson

Replies: 6
Views: 22728

PostForum: General CCS C Discussion   Posted: Mon Dec 01, 2003 2:16 pm   Subject: Bootloader (loader.c) troubles...
I used the CCS bootloader sample, loader.c to make a simple boot loader for a PIC18F252. It seems to work very well when working with a toy/example program.

I went and tried to retrofit an existin ...
  Topic: I2C slave writing troubles....
tedlarson

Replies: 9
Views: 31626

PostForum: General CCS C Discussion   Posted: Wed Oct 08, 2003 12:47 pm   Subject: I2C slave writing troubles....
Do a test where you send only one byte and then stop (simulating some sort of error). Then try and do a correct sequence. I believe that you will find their state machine gets trashed! That is why ...
  Topic: I2C slave writing troubles....
tedlarson

Replies: 9
Views: 31626

PostForum: General CCS C Discussion   Posted: Wed Oct 08, 2003 12:09 pm   Subject: I2C slave writing troubles....
CCS tech support just sent me the following code.
It works very well. My problem is now solved. You can send 2 bytes up, and get 2 bytes back, with a 1 byte address...although it would be easy to e ...
  Topic: I2C slave writing troubles....
tedlarson

Replies: 9
Views: 31626

PostForum: General CCS C Discussion   Posted: Wed Oct 08, 2003 9:55 am   Subject: I2C slave writing troubles....
One other thing, does SLAVE_ADDR == MOTORBOARD? If not, that will also be a problem.

Yes...they are the same. Thanks for the reply!

After LOTs of fiddling with the ex_slave.c code, I was able ...
  Topic: I2C slave writing troubles....
tedlarson

Replies: 9
Views: 31626

PostForum: General CCS C Discussion   Posted: Sat Oct 04, 2003 5:08 pm   Subject: I2C slave writing troubles....
I am really starting to get frustrated....

After fiddling with this problem for 2 days straight now....I am getting the feeling that the #use i2c stuff in the compiler doesn't work properly for bui ...
  Topic: I2C slave writing troubles....
tedlarson

Replies: 9
Views: 31626

PostForum: General CCS C Discussion   Posted: Fri Oct 03, 2003 3:19 pm   Subject: I2C slave writing troubles....
I have been trying to write a simple I2C master/slave communications program, and I am having all kinds of difficulties.

Both are PIC18F252's. I am on CCS PCH 3.155.
I am using the hardware I2C, ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group