cancel
Showing results for 
Search instead for 
Did you mean: 

On-Board Communication via CAN without transceiver

MissionYE
Associate II

Two CANs on the same board. Can I connect CAN1TX to CAN2RX and CAN1RX to CAN2TX?

7 REPLIES 7
Javier1
Principal

Never tried it myself but why not, try with some diodes and a pullup resistor.

The canbus line needs to be pulledup high when idle(pullup resistor, if your chips logic is 3v3, use 3v3 for the pullup)

The Rx and TX need to be conneted together, so we need a diode to avoid Tx lines to spill their voltage and mess with the bus.

0693W00000FB00OQAT.pnghttps://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/605836/tms320f28035-can-bus-without-transceivers-using-ecan

we dont need to firmware by ourselves, lets talk
MissionYE
Associate II

Thanks

Keil​ has white papers on this and on STM3

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Didier_G
ST Employee

The approach looks valid for low bitrates only.

Bob suggests it's certainly viable to 500 Kbps on small boards

https://www.keil.com/appnotes/files/apnt_236.pdf

Similar mechanics could be applied to UART single wire bus.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

This speed is far from being confirmed and this trick is probably not viable in production (automotive grade, noise immunity, etc ...).

Schottky diodes with fast transient response are required. The pull-up value has probably to be decreased if the number of controllers increases, for smart edges.

Best regards-Amin