CAN pinout - double check me

Status
Not open for further replies.

bschena

Active member
So, I'm trying to hook up a T4.1 to a WaveShare CAN transceiver board.

Pins 22 (TX1) and 23 (RX1) look like the right place on the Teensy side.
My Waveshare board has RX and TX pins.
So, I assume (like RS232) the hookup goes:

TX1 --> WaveShare RX
RX2 <-- WaveShare TX

Yes?

CAN.jpg

BTW, I found a nice pinout (still a work in progress, report and issues you see on the bug list): https://github.com/KurtE/TeensyDocuments/blob/master/Teensy4.1 Pins.pdf - in case others haven't seen it. Kudos to KurtE!

Thanks!
 
CAN is a multi drop bus. Not like UART Serial with one end Tx and the other end Rx between two devices.

So all connections use the same line for Rx and the same line for Tx. Then follow the rules for communication over those shared common lines.
 
CAN is a multi drop bus. Not like UART Serial with one end Tx and the other end Rx between two devices.

So all connections use the same line for Rx and the same line for Tx. Then follow the rules for communication over those shared common lines.

Got it, thanks. This is my first rodeo with CAN.

Oh, and I'm at the "now what?" stage - I've got the T4.1 hooked up to a Waveshare SN65HVD230 CAN transceiver board. Does anyone have any suggestions on what library to use with this to talk via CAN1?
 
Status
Not open for further replies.
Back
Top