Flowcode ds24

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times

Flowcode ds24

Post by beambase »

Hello
I am using Flowcode ds24 latest 4.4 release and I want to use the CAN component and take advatage of the built in CAN controller built in to the 30F6012A chip. But the CAN component does not have the "Use internal CAN" as in Flowcode 4.5. Is there a fix for this until Flowcode ds24 V 4.5 arrives?

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: Flowcode ds24

Post by Benj »

Hello,

Select the CAN component on the panel and then select the custom code menu item.

Select the defines code section and click edit.

Find this line in the code.

#define INTERNAL_CAN_ENABLE %n

and change it to this

#define INTERNAL_CAN_ENABLE 1

The code should now compile for the internal CAN on the dsPIC30F device.

Please also note that internal CAN feature is only currently supported for dsPIC30F devices.

Let me know how you get on.

Post Reply