CAN-Bus with PIC 18F2680

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
User avatar
tiny
Posts: 200
Joined: Wed Jul 08, 2009 8:29 am
Has thanked: 51 times
Been thanked: 93 times
Contact:

CAN-Bus with PIC 18F2680

Post by tiny »

I use PIC Micro 18F2680 with CAN-Ports. I need a connection between 4 PICs. Now I have programmed a simple CAN communication with Flowcode 4, but on the CAN port come no signal, the signal comes on SPI port and the program routine hang in CAN Init for a long time. Is the CAN function in Flowcode only for e-block? Can you help me with a sample for PIC Micro 18F2680 or any tipps how I can program a CAN connection between this PIC Micros?

Thanks, Tiny

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: CAN-Bus with PIC 18F2680

Post by Steve »

Our CAN component in Flowcode currently only works with the stand-alone MCP2550 CAN device - this allows the code produced to be portable over multiple chips and ranges.

We are looking into the possibility of implementing CAN within a dedicated CAN chip (either for the PIC or for the AVR), but we have no immediate plans for this.

Post Reply