Page 1 of 1

CAN2 Component with 18F2550

Posted: Fri Apr 29, 2011 5:48 am
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

Re: CAN2 Component with 18F2550

Posted: Tue May 03, 2011 10:12 am
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.