CAN2 Component with 18F2550

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
MW
Posts: 38
Joined: Mon Feb 26, 2007 2:04 am
Has thanked: 4 times
Been thanked: 2 times

CAN2 Component with 18F2550

Post by MW »

Hello,

I have been using the Can2 Component with an 18F2580 and an external Can controller with great success. As I would now like to include a USB port I am considering changing to a micro with USB functionality such as the 18F2550. Looking at the data sheet for this device however I notice that unlike other devices I have used with the CAN component the SPI peripheral on the 18F2550 is spread over two ports SDI and SCK being on the B port and SDO being on the C port.

My questions are; will the CAN component still work on this device and if so, will the CS and interrupt bits be RB6 and RB0 or RC6 and RC0?

Thanks & Regards
MW

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: CAN2 Component with 18F2550

Post by Benj »

Hello,

Yes the CAN component will still work with the split port SPI. You will need to connect the E-block to PortB, move the jumpers on the E-block to enable the patch system, use wires to connect up the portB signals and then use another wire to bus across the SDO signal from portC.

Post Reply