Teensy 4.1 CAN pin question

johnr2k

New member
I am getting a lot of mixed and confusing info about which pins on the Teensy 4.1 are tied to CAN1 and which are tied to CAN2. I was originally told that although the Teensy 4.1 has multiple RX and TX pins only specific ones are tied to the CAN. But I just seem to get mixed info about which pins it is. Some places say CAN1 is 22 and 23 and CAN2 Primary pins are 0 and 1 but alternate pins (to avoid USB serial conflict) is 7 and 8. But then other places were saying other pins.

Can someone kindly confirm what's the actual correct info?
 
If you look at the card that was supplied with 4.1, look for the pins labelled CTX1/CRX1, CTX2/CRX2, CTX3/CRX3
 
Thank you for that. So from the card diagram. CAN1 pins are 22 and 23 (CTX1 and CRX1), then CAN2 is 0 and 1 (CRX2 and CTX2) and finally there is CAN3 which is pins 30 and 31 (CRX3 and CTX3).

So i'm thinking to stick to CAN1 and CAN2. But AI tool said that pin 0 and 1 is also shared with USB Serial Communication, meaning that if I plug in a USB to update the code etc then it can conflict with the CAN pins. Is this true? So should I use CAN3 instead which is pins 30 and 31 (CRX3 and CTX3)? AI confused me further by saying CAN3 is not the Standard CAN and that apparently it is CAN FD, is this true? If so, can I not use CAN FD for ordinary CAN stuff that I would normally do on Standard CAN?

Thank you
 
But AI tool said that pin 0 and 1 is also shared with USB Serial Communication
AI (Artificial Inintelligence!) has got it wrong. Some Arduino boards share pins 0 and 1 (Rx/Tx) with USB BUT Teensy does NOT.
Teensy USB is completely separate from Serial (pins 0 and 1).
Some confusion creeps in as USB is called Serial (for compatibility with Arduino) and UART Serial is Serial1,2,3 etc.
I just wish the USB was called USBSerial which would d0 away with all the confusion.
 
AI (Artificial Inintelligence!) has got it wrong. Some Arduino boards share pins 0 and 1 (Rx/Tx) with USB BUT Teensy does NOT.
Teensy USB is completely separate from Serial (pins 0 and 1).
Some confusion creeps in as USB is called Serial (for compatibility with Arduino) and UART Serial is Serial1,2,3 etc.
I just wish the USB was called USBSerial which would d0 away with all the confusion.

Thank you. That makes a lot more sense now. So it's safe to proceed with using 0,1 as CAN2 and ignore the AI misinformation?
 
Back
Top