Can both CAN & CAN2 be used in same prog?

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
drphil1969
Posts: 10
Joined: Wed Apr 15, 2009 3:50 pm
Contact:

Can both CAN & CAN2 be used in same prog?

Post by drphil1969 »

Probably a silly question... but can both CAN & CAN2 be used in the same prog?

Thanks,
Phil

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: Can both CAN & CAN2 be used in same prog?

Post by Benj »

Hello Phil

If your using CAN2 then this has all the features of the original CAN component plus the extended ID support. Therefore you should only need the CAN2 component in your program.

If you are using multiple CAN controller chips with the SPI bus then it may be possible to drive one with the CAN and the other with the CAN2. If this is what your doing then let me know and I will have a look for any potential technical difficulties that may arise and will need to be addressed.

drphil1969
Posts: 10
Joined: Wed Apr 15, 2009 3:50 pm
Contact:

Re: Can both CAN & CAN2 be used in same prog?

Post by drphil1969 »

Thanks Benj. I am ok with just using CAN2... a little confusion on my part with getting Hi & Lo IDs using CAN2 but I got it now....
Phil

Post Reply