View previous topic :: View next topic |
Author |
Message |
Padraig OConnor Guest
|
CAN BUS |
Posted: Tue Mar 11, 2003 4:14 am |
|
|
Has anyone managed to implement the CAN Bus on the PIC18F series?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12522 |
|
|
trean Guest
|
Re: CAN BUS |
Posted: Tue Mar 11, 2003 5:14 am |
|
|
It's basically the same as using MCP2510 but with internal registers instead having to access them thru SPI. Do a google search and you will find sample source code in C that you could use.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12524 |
|
|
Dale Herman Guest
|
Code here (bootloader available) |
Posted: Tue Mar 11, 2003 4:12 pm |
|
|
<font face="Courier New" size=-1>Hi,
I ported the Microchip C code for the CCS compiler. Also, I have written a CAN based bootloader for the 18F458.
You can download the can library at the link.
Please email me for info on the bootloader.
Dale</font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 12547 |
|
|
PsI
Joined: 09 Jul 2004 Posts: 6
|
Microchip C code for the CCS compiler |
Posted: Fri Jul 09, 2004 3:33 pm |
|
|
Does anyone have a copy of Dale Herman's CAN files? I really need a ported version of the Microchip CAN drivers.
Keeping my fingers Crossed...
-PsI |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
CAN Files |
Posted: Fri Jul 09, 2004 3:49 pm |
|
|
There are a set of CAN drivers and examples in the CCS Drivers and Examples directories that were ported from the Microchip code |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Jul 09, 2004 3:56 pm |
|
|
Quote: | Does anyone have a copy of Dale Herman's CAN files? I really need a
ported version of the Microchip CAN drivers. |
Check this page. It's got a 4.6MB Zip file, with tons of Dale Herman's
CAN driver code. I don't know if contains exactly what you need,
because I don't have time to check it. (Gotta ship some product this
afternoon). But it may have the ported drivers. Look for the link
down at the bottom, where it says "Full entry & software".
http://www.circuitcellar.com/flash2002/first.htm |
|
|
PsI
Joined: 09 Jul 2004 Posts: 6
|
|
Posted: Fri Jul 09, 2004 4:49 pm |
|
|
Thanks for the response guys.
PCM programmer - I have those files that you're talking about, but they're an older version of Dale Herman's driver. He used to have them posted on his website but their site seems to have disappeared :/ Does anyone know if they changed domain names or moved their files to another server?
dyeatman - As regards the CCS CAN drivers, they don't make much sense to me. If it's a ported version of the Microchip Driver why did they have to change the function names and the way they work?
I'm hopeful someone out there still has these drivers or can point me in the right direction
-PsI |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
PsI
Joined: 09 Jul 2004 Posts: 6
|
|
Posted: Sat Jul 10, 2004 4:43 am |
|
|
PCM programmer - Thanks for the address, yeah that looks like it's their site. I've sent them a mail, I'll let you know what happens. |
|
|
dara hayes
Joined: 26 Nov 2003 Posts: 12 Location: Ireland
|
|
Posted: Tue Sep 07, 2004 10:39 am |
|
|
PsI wrote: | PCM programmer - Thanks for the address, yeah that looks like it's their site. I've sent them a mail, I'll let you know what happens. :wi :arrow: nk: |
Hello did you get anywhere looking for those drivers ?? been following thus thread |
|
|
|