View previous topic :: View next topic |
Author |
Message |
maj81uk
Joined: 27 Jan 2004 Posts: 4 Location: UK
|
Controller Area Networks |
Posted: Mon Feb 09, 2004 9:23 am |
|
|
I'm attempting a project using a PIC16F84A and a MCP2515 microcontroller and wondered if anyone could help with any suggestions as to how to program my PIC to communicate, in this situation.
I have seen that there use to be an Ex_can.c file that was supplied with the CCS C compiler, which no longers exists. Does anyone have a copy I could have a look at?
Any help on this subject would be greatfully appreciated. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Feb 10, 2004 7:06 pm |
|
|
Quote: | I have seen that there use to be an Ex_can.c file that was
supplied with the CCS C compiler, which no longers exists. |
It does exist. As a test, I just did a fresh install of PCM 3.184 after
wiping the Examples and Drivers directories. It's there, after the install.
Quote: | Does anyone have a copy I could have a look at? |
If you have EX_CAN.C, that's only part of it. It calls CAN routines
in other CCS files. You'd need those files too, to do any good:
can-18xxx8.c
can-18xxx8.h
can-mcp2510.c
can-mcp2510.h
If you have the compiler, you should email CCS and see if they
will send them to you. |
|
|
|