Using two CAN connections on 30F6012A

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

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

Using two CAN connections on 30F6012A

Post by beambase »

This has maybe been asked before, but is it possible to use both CANBUS modules on a 30F6012A chip? I can successfully use 1 but if I add another CAN component to Flowcode i can't compile to HEX. Is it possible to map each CAN component to a specific CAN module on the chip?

Thanks

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: Using two CAN connections on 30F6012A

Post by Benj »

Hello,

Yes this might be possible, I have added two CAN components to the attached program below and used the code customisation to reroute the CAN1 component to internal CAN channel 2.
CanTest.fcf_pic16
(43.72 KiB) Downloaded 282 times
It compiles but there may be more issues lurking.

Flowcode v6 should support multiple internal CAN components out the box on this device so this could be an option if you run into problems.

Let me know how you get on.

Post Reply