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
CAN2 Component with 18F2550
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel