CAN on board

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times
Contact:

CAN on board

Post by Ron »

Hello,

Will Flowcode be supporting CAN that is built on board many of the newer PICs? 18F4680/18F2680 are the version I am looking at using. I want to be able to communicate using an 18F4680 as the master and 18F2680 as slaves.

I am using V3 and hope to upgrade someday to V4 of Flowocde.

Thank you,

Ron

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: CAN on board

Post by Spanish_dude »

Hi,

Read the datasheet of your PIC programmer. There's a list of all the PIC's you can program.

Nicolas

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: CAN on board

Post by Benj »

Hello

Flowcode v4 does not currently support the internal CAN. However the current CAN component uses almost identical registers onboard the external CAN device so it should be a fairly simple task to alter the component to use the internal peripheral instead.

Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times
Contact:

Re: CAN on board

Post by Ron »

Hi Ben,

Can these same changes be made to V3?

Thank you,

Ron

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: CAN on board

Post by Benj »

Hello Ron

Yes the V3 C code for the CAN component should work in the same way though you will have to edit the component code by hand. Remember to make a backup if your going to give this a go.

Post Reply