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

CAN bus support

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

CAN bus support
PostPosted: Fri Apr 29, 2005 3:30 am     Reply with quote

Folks,

I'm lookig for a bus, which could tie 12 PICs and a PC/104 together. So far the CAN bus looks most lucrative. My question is: does CCS compiler has canned (no pun intended) functions for thr PICs with built-in CAN transceiver (e.g. 18F458)?

THanks,
Nick
Douglas Richard



Joined: 08 Sep 2003
Posts: 49
Location: Concord NH

View user's profile Send private message Send e-mail Visit poster's website

CAN support
PostPosted: Fri Apr 29, 2005 6:42 am     Reply with quote

Yes.
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Fri Apr 29, 2005 2:03 pm     Reply with quote

Douglas,

Could you point me to the sample code for the CAN bus?

Thanks,
Nick
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 29, 2005 4:06 pm     Reply with quote

Those files come with the compiler and CCS doesn't want us to
post them on this board.

If you do a search with Google for two of the function names in
those files, you get two hits. Search for this: can_getd can_putd
Neither article is in English but the code is, so you might still get
some idea of how to use the CCS routines.

You could also look at the source code for Microchip's AN738.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011822
The CCS routines appear to be roughly based on the AN738 code,
though there are a lot of differences in terms of coding style.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group