News for hackers. Stuff that matters.
Re:Teensy 4.1 Development Board by MuffinFlavored on Monday May 11, 2020 @01:45PM (#23144831)
What would it take to make CAN work with this? https://en.wikipedia.org/wiki/CAN_bus
Re:Teensy 4.1 Development Board by linarism on Monday May 11, 2020 @01:53PM (#23144926)
It is supported in hardware for multiple protocols: CAN1.0, CAN2.0, and CANFD. I'm pretty sure there are 3 ports that can be used simultaneously and independently. I only use 2 with CAN1.0.

Edit: By hardware support I mean that a CAN transciever connects to two GPIO pins with access to CAN chip hardware. No SPI interface needed.

Re:Teensy 4.1 Development Board by MuffinFlavored on Thursday May 14, 2020 @07:33PM (#23187014)
Do you need a CAN controller and a CAN transceiver or just a transceiver?
Re:Teensy 4.1 Development Board by mhh__ on Monday May 11, 2020 @01:50PM (#23144889)
A CAN transceiver? A few dollars + an SPI bus at a glance.

https://www.digikey.com/catalog/en/partgroup/can-transceiver...

Re:Teensy 4.1 Development Board by MuffinFlavored on Monday May 11, 2020 @08:46PM (#23149327)
Do you need a CAN controller and a CAN transceiver or just a transceiver?
Re:Teensy 4.1 Development Board by kettro on Monday May 11, 2020 @01:48PM (#23144869)
I'd likely buy a small CAN chip and just connect over SPI. CAN as a protocol is a complicated mess, so having HW support is important.