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

Need CAN Bus source code or example for 18f452

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



Joined: 16 Jun 2004
Posts: 4

View user's profile Send private message

Need CAN Bus source code or example for 18f452
PostPosted: Wed Jun 16, 2004 2:36 am     Reply with quote

Hello ....

I need CAN Bus source code or example for 18f452

Thanks for your help

Very Happy
Guest








PostPosted: Wed Jun 16, 2004 4:12 am     Reply with quote

Maybe you could try to do a little work yourself? Confused

This forum has a search engine
MartyL
Guest







PostPosted: Wed Jun 16, 2004 5:56 am     Reply with quote

The 18F452 does not support CAN. Will you be using an 18F452 with an MCP2515 or an 18F458?
MartyL
Guest







PostPosted: Wed Jun 16, 2004 5:56 am     Reply with quote

The 18F452 does not support CAN. Will you be using an 18F452 with an MCP2515 or an 18F458?
Guest








PostPosted: Wed Jun 16, 2004 7:51 am     Reply with quote

CCS provides these examples and drivers. If you don't have CCS and you're just looking for someone else to do your work then I hope no one answers you.
hiromasakoh



Joined: 16 Jun 2004
Posts: 4

View user's profile Send private message

PostPosted: Thu Jun 17, 2004 7:41 am     Reply with quote

I use Microchip APP001 board to do my project

and they (Taiwan Microchip) say 18f452 can work CAN bus

but must work with MCP2551...

I had use search engine to search ''CAN " before....but no any

result...so ask this question...

Hope someone has a experience about this...

^____^

Thanks Exclamation
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 17, 2004 11:39 am     Reply with quote

Quote:
I use Microchip APP001 board to do my project.
and they (Taiwan Microchip) say 18f452 can work CAN bus
but must work with MCP2551...

The documentation for the APP001 board is here:
http://www.microchip.com.tw/Workshop%20ZIP%20files/WAP001%20Workshop%20%20Board.zip

If you look at the schematics in MCU.pdf and Com.pdf, they
do not show an external CAN controller chip. They only
show the CAN transceiver chip (MCP2551). Therefore,
I believe they want you to buy a 18F458 chip and put it
in the main socket, instead of a 18F452.

Then you need to write code for it. If you buy the CCS PCH
compiler, you get all their CAN bus driver files.
hiromasakoh



Joined: 16 Jun 2004
Posts: 4

View user's profile Send private message

PostPosted: Thu Jun 17, 2004 8:09 pm     Reply with quote

Today I ask Taiwan Microchip about this board...they suggetion to use

18F458. they say MCP 2551 is just only CAN Tranceiver .

So....Now I have a all version of CCS Compiler

and I also have a question about Routine of Instraction about CAN

where can find these data ??

Thanks for your helps...

^________^

student: Herry Wink
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 17, 2004 9:56 pm     Reply with quote

Here is a list of the CCS example and driver files.
Press Ctrl-F and search for "CAN" to find all files for the CAN bus.
http://www.ccsinfo.com/exlist.shtml
If you have the CCS compiler, look in these two directories for the files:
c:\Program Files\Picc\Examples
c:\Program Files\Picc\Drivers
mkent



Joined: 09 Sep 2003
Posts: 37
Location: TN, USA

View user's profile Send private message

PostPosted: Fri Jun 18, 2004 12:04 pm     Reply with quote

PCM programmer, You are a gracious gentleman and I thank-you again and again.
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