Teensy canbus master slave

Status
Not open for further replies.

vlelectroniclab

Active member
Goodmorning everyone,
I have to do a project that has 25 digital inputs and outputs these 25 outputs. The problem lies in the fact that I have to use two teensy with canbus master and slave communication.
The two modules are placed 5 meters from each other.
Can anyone help me?:confused:
 
theres 3 libraries you can try:

1) CollinK’s FlexCAN Library with mailbox only support

2) Pawelsky’s FlexCAN Library fork with FIFO only support

3) IFCT, which is new, supports both, and has alot of advanced capabilities that are easy to use

in any case, all 3 libraries are capable for your use case. Just make sure you have a transceiver on each teensy, and make sure the transceiver has proper 120ohm terminations, and also that the transceiver is asserted in hardware or software otherwise you wont be able to transmit/receive frames

Tony
 
Status
Not open for further replies.
Back
Top