View previous topic :: View next topic |
Author |
Message |
hiromasakoh
Joined: 16 Jun 2004 Posts: 4
|
Need CAN Bus source code or example for 18f452 |
Posted: Wed Jun 16, 2004 2:36 am |
|
|
Hello ....
I need CAN Bus source code or example for 18f452
Thanks for your help
|
|
|
Guest
|
|
Posted: Wed Jun 16, 2004 4:12 am |
|
|
Maybe you could try to do a little work yourself?
This forum has a search engine |
|
|
MartyL Guest
|
|
Posted: Wed Jun 16, 2004 5:56 am |
|
|
The 18F452 does not support CAN. Will you be using an 18F452 with an MCP2515 or an 18F458? |
|
|
MartyL Guest
|
|
Posted: Wed Jun 16, 2004 5:56 am |
|
|
The 18F452 does not support CAN. Will you be using an 18F452 with an MCP2515 or an 18F458? |
|
|
Guest
|
|
Posted: Wed Jun 16, 2004 7:51 am |
|
|
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
|
|
Posted: Thu Jun 17, 2004 7:41 am |
|
|
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 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jun 17, 2004 11:39 am |
|
|
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
|
|
Posted: Thu Jun 17, 2004 8:09 pm |
|
|
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 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jun 17, 2004 9:56 pm |
|
|
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
|
|
Posted: Fri Jun 18, 2004 12:04 pm |
|
|
PCM programmer, You are a gracious gentleman and I thank-you again and again. |
|
|
|